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_TOOLKIT_OSX_CARBON_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
892 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
893 COND_PLATFORM_MACOS_1
896 COND_PLATFORM_MSDOS_0
897 COND_PLATFORM_MSDOS_1
901 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
903 COND_PLATFORM_UNIX_1_USE_GUI_1
904 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
905 COND_PLATFORM_WIN32_0
906 COND_PLATFORM_WIN32_1
908 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
909 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
910 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
911 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
912 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
913 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
914 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
915 COND_SHARED_0_USE_STC_1
916 COND_SHARED_0_wxUSE_EXPAT_builtin
917 COND_SHARED_0_wxUSE_REGEX_builtin
918 COND_SHARED_0_wxUSE_ZLIB_builtin
920 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
923 COND_TOOLKIT_COCOA_USE_GUI_1
924 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_DFB_USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_GTK_USE_GUI_1
937 COND_TOOLKIT_MGL_USE_GUI_1
939 COND_TOOLKIT_MOTIF_USE_GUI_1
940 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
942 COND_TOOLKIT_MSW_USE_GUI_1
943 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW_WXUNIV_0
945 COND_TOOLKIT_OSX_CARBON
946 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
947 COND_TOOLKIT_OSX_COCOA
948 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
949 COND_TOOLKIT_OSX_IPHONE
951 COND_TOOLKIT_PM_USE_GUI_1
952 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
954 COND_TOOLKIT_WINCE_USE_GUI_1
955 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE_WXUNIV_0
958 COND_TOOLKIT_X11_USE_GUI_1
960 COND_USE_EXCEPTIONS_0
961 COND_USE_EXCEPTIONS_1
964 COND_USE_GUI_1_USE_OPENGL_1
965 COND_USE_GUI_1_WXUNIV_0
966 COND_USE_GUI_1_WXUNIV_1
967 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
968 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
969 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
970 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
971 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
972 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
978 COND_USE_SOTWOSYMLINKS_1
979 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
980 COND_USE_SOVERLINUX_1
982 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
983 COND_USE_SOVERSOLARIS_1
988 COND_WINDOWS_IMPLIB_1
989 COND_WITH_PLUGIN_SDL_1
992 COND_WXUSE_EXPAT_BUILTIN
993 COND_WXUSE_LIBJPEG_BUILTIN
994 COND_WXUSE_LIBPNG_BUILTIN
995 COND_WXUSE_LIBTIFF_BUILTIN
996 COND_WXUSE_REGEX_BUILTIN
997 COND_WXUSE_ZLIB_BUILTIN
998 COND_wxUSE_EXPAT_builtin
999 COND_wxUSE_LIBJPEG_builtin
1000 COND_wxUSE_LIBPNG_builtin
1001 COND_wxUSE_LIBTIFF_builtin
1002 COND_wxUSE_REGEX_builtin
1003 COND_wxUSE_ZLIB_builtin
1006 WX_LIBRARY_BASENAME_NOGUI
1007 WX_LIBRARY_BASENAME_GUI
1026 WXCONFIG_LDFLAGS_GUI
1038 WX_RESOURCES_MACOSX_ASCII
1039 WX_RESOURCES_MACOSX_DATA
1049 ac_precious_vars
='build_alias
1073 LIBGNOMEPRINTUI_CFLAGS
1074 LIBGNOMEPRINTUI_LIBS
1085 ac_subdirs_all
='src/tiff
1088 # Initialize some variables set by options.
1090 ac_init_version
=false
1091 # The variables have the same names as the options, with
1092 # dashes changed to underlines.
1093 cache_file
=/dev
/null
1100 program_transform_name
=s
,x
,x
,
1108 # Installation directory options.
1109 # These are left unexpanded so users can "make install exec_prefix=/foo"
1110 # and all the variables that are supposed to be based on exec_prefix
1111 # by default will actually change.
1112 # Use braces instead of parens because sh, perl, etc. also accept them.
1113 # (The list follows the same order as the GNU Coding Standards.)
1114 bindir
='${exec_prefix}/bin'
1115 sbindir
='${exec_prefix}/sbin'
1116 libexecdir
='${exec_prefix}/libexec'
1117 datarootdir
='${prefix}/share'
1118 datadir
='${datarootdir}'
1119 sysconfdir
='${prefix}/etc'
1120 sharedstatedir
='${prefix}/com'
1121 localstatedir
='${prefix}/var'
1122 includedir
='${prefix}/include'
1123 oldincludedir
='/usr/include'
1124 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1125 infodir
='${datarootdir}/info'
1130 libdir
='${exec_prefix}/lib'
1131 localedir
='${datarootdir}/locale'
1132 mandir
='${datarootdir}/man'
1138 # If the previous option needs an argument, assign it.
1139 if test -n "$ac_prev"; then
1140 eval $ac_prev=\
$ac_option
1146 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1150 # Accept the important Cygnus configure options, so we can diagnose typos.
1152 case $ac_dashdash$ac_option in
1156 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1158 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1159 bindir
=$ac_optarg ;;
1161 -build | --build | --buil | --bui | --bu)
1162 ac_prev
=build_alias
;;
1163 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1164 build_alias
=$ac_optarg ;;
1166 -cache-file | --cache-file | --cache-fil | --cache-fi \
1167 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1168 ac_prev
=cache_file
;;
1169 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1170 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1171 cache_file
=$ac_optarg ;;
1173 --config-cache | -C)
1174 cache_file
=config.cache
;;
1176 -datadir | --datadir | --datadi | --datad)
1178 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1179 datadir
=$ac_optarg ;;
1181 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1182 | --dataroo | --dataro | --datar)
1183 ac_prev
=datarootdir
;;
1184 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1185 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1186 datarootdir
=$ac_optarg ;;
1188 -disable-* | --disable-*)
1189 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1192 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1193 { (exit 1); exit 1; }; }
1194 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1195 eval enable_
$ac_feature=no
;;
1197 -docdir | --docdir | --docdi | --doc | --do)
1199 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1200 docdir
=$ac_optarg ;;
1202 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1204 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1205 dvidir
=$ac_optarg ;;
1207 -enable-* | --enable-*)
1208 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1209 # Reject names that are not valid shell variable names.
1210 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1211 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1212 { (exit 1); exit 1; }; }
1213 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1214 eval enable_
$ac_feature=\
$ac_optarg ;;
1216 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1217 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1218 | --exec | --exe | --ex)
1219 ac_prev
=exec_prefix
;;
1220 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1221 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1222 | --exec=* | --exe=* | --ex=*)
1223 exec_prefix
=$ac_optarg ;;
1225 -gas | --gas | --ga | --g)
1226 # Obsolete; use --with-gas.
1229 -help | --help | --hel | --he | -h)
1230 ac_init_help
=long
;;
1231 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1232 ac_init_help
=recursive
;;
1233 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1234 ac_init_help
=short
;;
1236 -host | --host | --hos | --ho)
1237 ac_prev
=host_alias
;;
1238 -host=* | --host=* | --hos=* | --ho=*)
1239 host_alias
=$ac_optarg ;;
1241 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1243 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1245 htmldir
=$ac_optarg ;;
1247 -includedir | --includedir | --includedi | --included | --include \
1248 | --includ | --inclu | --incl | --inc)
1249 ac_prev
=includedir
;;
1250 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1251 | --includ=* | --inclu=* | --incl=* | --inc=*)
1252 includedir
=$ac_optarg ;;
1254 -infodir | --infodir | --infodi | --infod | --info | --inf)
1256 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1257 infodir
=$ac_optarg ;;
1259 -libdir | --libdir | --libdi | --libd)
1261 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1262 libdir
=$ac_optarg ;;
1264 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1265 | --libexe | --libex | --libe)
1266 ac_prev
=libexecdir
;;
1267 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1268 | --libexe=* | --libex=* | --libe=*)
1269 libexecdir
=$ac_optarg ;;
1271 -localedir | --localedir | --localedi | --localed | --locale)
1272 ac_prev
=localedir
;;
1273 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1274 localedir
=$ac_optarg ;;
1276 -localstatedir | --localstatedir | --localstatedi | --localstated \
1277 | --localstate | --localstat | --localsta | --localst | --locals)
1278 ac_prev
=localstatedir
;;
1279 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1280 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1281 localstatedir
=$ac_optarg ;;
1283 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1285 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1286 mandir
=$ac_optarg ;;
1288 -nfp | --nfp | --nf)
1289 # Obsolete; use --without-fp.
1292 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1293 | --no-cr | --no-c | -n)
1296 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1297 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1300 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1301 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1302 | --oldin | --oldi | --old | --ol | --o)
1303 ac_prev
=oldincludedir
;;
1304 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1305 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1306 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1307 oldincludedir
=$ac_optarg ;;
1309 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1311 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1312 prefix
=$ac_optarg ;;
1314 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1315 | --program-pre | --program-pr | --program-p)
1316 ac_prev
=program_prefix
;;
1317 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1318 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1319 program_prefix
=$ac_optarg ;;
1321 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1322 | --program-suf | --program-su | --program-s)
1323 ac_prev
=program_suffix
;;
1324 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1325 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1326 program_suffix
=$ac_optarg ;;
1328 -program-transform-name | --program-transform-name \
1329 | --program-transform-nam | --program-transform-na \
1330 | --program-transform-n | --program-transform- \
1331 | --program-transform | --program-transfor \
1332 | --program-transfo | --program-transf \
1333 | --program-trans | --program-tran \
1334 | --progr-tra | --program-tr | --program-t)
1335 ac_prev
=program_transform_name
;;
1336 -program-transform-name=* | --program-transform-name=* \
1337 | --program-transform-nam=* | --program-transform-na=* \
1338 | --program-transform-n=* | --program-transform-=* \
1339 | --program-transform=* | --program-transfor=* \
1340 | --program-transfo=* | --program-transf=* \
1341 | --program-trans=* | --program-tran=* \
1342 | --progr-tra=* | --program-tr=* | --program-t=*)
1343 program_transform_name
=$ac_optarg ;;
1345 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1347 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1348 pdfdir
=$ac_optarg ;;
1350 -psdir | --psdir | --psdi | --psd | --ps)
1352 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1355 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1356 | -silent | --silent | --silen | --sile | --sil)
1359 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1361 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1363 sbindir
=$ac_optarg ;;
1365 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1366 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1367 | --sharedst | --shareds | --shared | --share | --shar \
1369 ac_prev
=sharedstatedir
;;
1370 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1371 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1372 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1374 sharedstatedir
=$ac_optarg ;;
1376 -site | --site | --sit)
1378 -site=* | --site=* | --sit=*)
1381 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1383 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1384 srcdir
=$ac_optarg ;;
1386 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1387 | --syscon | --sysco | --sysc | --sys | --sy)
1388 ac_prev
=sysconfdir
;;
1389 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1390 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1391 sysconfdir
=$ac_optarg ;;
1393 -target | --target | --targe | --targ | --tar | --ta | --t)
1394 ac_prev
=target_alias
;;
1395 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1396 target_alias
=$ac_optarg ;;
1398 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1401 -version | --version | --versio | --versi | --vers | -V)
1402 ac_init_version
=: ;;
1405 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1406 # Reject names that are not valid shell variable names.
1407 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1408 { echo "$as_me: error: invalid package name: $ac_package" >&2
1409 { (exit 1); exit 1; }; }
1410 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1411 eval with_
$ac_package=\
$ac_optarg ;;
1413 -without-* | --without-*)
1414 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1415 # Reject names that are not valid shell variable names.
1416 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1417 { echo "$as_me: error: invalid package name: $ac_package" >&2
1418 { (exit 1); exit 1; }; }
1419 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1420 eval with_
$ac_package=no
;;
1423 # Obsolete; use --with-x.
1426 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1427 | --x-incl | --x-inc | --x-in | --x-i)
1428 ac_prev
=x_includes
;;
1429 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1430 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1431 x_includes
=$ac_optarg ;;
1433 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1434 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1435 ac_prev
=x_libraries
;;
1436 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1437 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1438 x_libraries
=$ac_optarg ;;
1440 -*) { echo "$as_me: error: unrecognized option: $ac_option
1441 Try \`$0 --help' for more information." >&2
1442 { (exit 1); exit 1; }; }
1446 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1447 # Reject names that are not valid shell variable names.
1448 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1449 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1450 { (exit 1); exit 1; }; }
1451 eval $ac_envvar=\
$ac_optarg
1452 export $ac_envvar ;;
1455 # FIXME: should be removed in autoconf 3.0.
1456 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1457 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1458 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1459 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1465 if test -n "$ac_prev"; then
1466 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1467 { echo "$as_me: error: missing argument to $ac_option" >&2
1468 { (exit 1); exit 1; }; }
1471 # Be sure to have absolute directory names.
1472 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1473 datadir sysconfdir sharedstatedir localstatedir includedir \
1474 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1475 libdir localedir mandir
1477 eval ac_val
=\$
$ac_var
1479 [\\/$
]* | ?
:[\\/]* ) continue;;
1480 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1482 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1483 { (exit 1); exit 1; }; }
1486 # There might be people who depend on the old broken behavior: `$host'
1487 # used to hold the argument of --host etc.
1488 # FIXME: To remove some day.
1491 target
=$target_alias
1493 # FIXME: To remove some day.
1494 if test "x$host_alias" != x
; then
1495 if test "x$build_alias" = x
; then
1496 cross_compiling
=maybe
1497 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1498 If a cross compiler is detected then cross compile mode will be used." >&2
1499 elif test "x$build_alias" != "x$host_alias"; then
1505 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1507 test "$silent" = yes && exec 6>/dev
/null
1510 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1511 ac_ls_di
=`ls -di .` &&
1512 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1513 { echo "$as_me: error: Working directory cannot be determined" >&2
1514 { (exit 1); exit 1; }; }
1515 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1516 { echo "$as_me: error: pwd does not report name of working directory" >&2
1517 { (exit 1); exit 1; }; }
1520 # Find the source files, if location was not specified.
1521 if test -z "$srcdir"; then
1522 ac_srcdir_defaulted
=yes
1523 # Try the directory containing this script, then the parent directory.
1524 ac_confdir
=`$as_dirname -- "$0" ||
1525 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1526 X"$0" : 'X\(//\)[^/]' \| \
1527 X"$0" : 'X\(//\)$' \| \
1528 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1548 if test ! -r "$srcdir/$ac_unique_file"; then
1552 ac_srcdir_defaulted
=no
1554 if test ! -r "$srcdir/$ac_unique_file"; then
1555 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1556 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1557 { (exit 1); exit 1; }; }
1559 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1561 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1562 { (exit 1); exit 1; }; }
1564 # When building in place, set srcdir=.
1565 if test "$ac_abs_confdir" = "$ac_pwd"; then
1568 # Remove unnecessary trailing slashes from srcdir.
1569 # Double slashes in file names in object file debugging info
1570 # mess up M-x gdb in Emacs.
1572 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1574 for ac_var
in $ac_precious_vars; do
1575 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1576 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1577 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1578 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1582 # Report the --help message.
1584 if test "$ac_init_help" = "long"; then
1585 # Omit some internal or obsolete options to make the list less imposing.
1586 # This message is too long to be a string in the A/UX 3.1 sh.
1588 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1590 Usage: $0 [OPTION]... [VAR=VALUE]...
1592 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1593 VAR=VALUE. See below for descriptions of some of the useful variables.
1595 Defaults for the options are specified in brackets.
1598 -h, --help display this help and exit
1599 --help=short display options specific to this package
1600 --help=recursive display the short help of all the included packages
1601 -V, --version display version information and exit
1602 -q, --quiet, --silent do not print \`checking...' messages
1603 --cache-file=FILE cache test results in FILE [disabled]
1604 -C, --config-cache alias for \`--cache-file=config.cache'
1605 -n, --no-create do not create output files
1606 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1608 Installation directories:
1609 --prefix=PREFIX install architecture-independent files in PREFIX
1610 [$ac_default_prefix]
1611 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1614 By default, \`make install' will install all the files in
1615 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1616 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1617 for instance \`--prefix=\$HOME'.
1619 For better control, use the options below.
1621 Fine tuning of the installation directories:
1622 --bindir=DIR user executables [EPREFIX/bin]
1623 --sbindir=DIR system admin executables [EPREFIX/sbin]
1624 --libexecdir=DIR program executables [EPREFIX/libexec]
1625 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1626 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1627 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1628 --libdir=DIR object code libraries [EPREFIX/lib]
1629 --includedir=DIR C header files [PREFIX/include]
1630 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1631 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1632 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1633 --infodir=DIR info documentation [DATAROOTDIR/info]
1634 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1635 --mandir=DIR man documentation [DATAROOTDIR/man]
1636 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1637 --htmldir=DIR html documentation [DOCDIR]
1638 --dvidir=DIR dvi documentation [DOCDIR]
1639 --pdfdir=DIR pdf documentation [DOCDIR]
1640 --psdir=DIR ps documentation [DOCDIR]
1646 --x-includes=DIR X include files are
in DIR
1647 --x-libraries=DIR X library files are
in DIR
1650 --build=BUILD configure
for building on BUILD
[guessed
]
1651 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1655 if test -n "$ac_init_help"; then
1656 case $ac_init_help in
1657 short
| recursive
) echo "Configuration of wxWidgets 2.9.1:";;
1662 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1663 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1664 --disable-gui don
't build GUI parts of the library
1665 --enable-monolithic build wxWidgets as single library
1666 --enable-plugins build parts of wxWidgets as loadable components
1667 --enable-official_build official build of wxWidgets (win32 DLL only)
1668 --enable-vendor=VENDOR vendor name (win32 DLL only)
1669 --disable-all-features disable all optional features to build minimal library
1670 --enable-universal use wxWidgets GUI controls instead of native ones
1671 --enable-nanox use NanoX
1672 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1673 --enable-gpe use GNOME PDA Environment features if possible
1674 --enable-debug build library for debugging
1675 --disable-debug_flag disable all debugging support
1676 --enable-debug_info generate debug information
1677 --enable-debug_gdb create code with extra GDB debugging information
1678 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1679 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1680 --disable-shared create static library instead of shared
1681 --enable-stl use STL for containers
1682 --enable-std_iostreams use standard C++ stream classes
1683 --enable-std_string use standard C++ string classes
1684 --disable-unicode compile without Unicode support
1685 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1686 --enable-utf8 use UTF-8 representation for strings (Unix only)
1687 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1688 --enable-extended_rtti use extended RTTI (XTI)
1689 --enable-omf use OMF object format
1690 --disable-optimise compile without optimisations
1691 --enable-profile create code with profiling information
1692 --enable-no_rtti create code without RTTI information
1693 --enable-no_exceptions create code without C++ exceptions handling
1694 --enable-permissive compile code disregarding strict ANSI
1695 --enable-no_deps create code without dependency information
1696 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1697 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1698 --enable-compat26 enable wxWidgets
2.6 compatibility
1699 --disable-compat28 disable wxWidgets
2.8 compatibility
1700 --disable-rpath disable use of rpath
for uninstalled builds
1701 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1702 --disable-visibility disable use of ELF symbols visibility even
if supported
1703 --disable-tls disable use of compiler TLS support
1704 --enable-intl use internationalization system
1705 --enable-xlocale use x
-locale support
(requires wxLocale
)
1706 --enable-config use wxConfig
(and derived
) classes
1707 --enable-protocols use wxProtocol and derived classes
1708 --enable-ftp use wxFTP
(requires wxProtocol
1709 --enable-http use wxHTTP
(requires wxProtocol
1710 --enable-fileproto use wxFileProto class
(requires wxProtocol
1711 --enable-sockets use socket
/network classes
1712 --enable-ipv6 enable IPv6 support
in wxSocket
1713 --enable-ole use OLE classes
(Win32 only
)
1714 --enable-dataobj use data object classes
1715 --enable-ipc use interprocess communication
(wxSocket etc.
)
1716 --enable-baseevtloop use event loop
in console programs too
1717 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1718 --enable-selectloop use wxSelectDispatcher class
1719 --enable-any use wxAny class
1720 --enable-apple_ieee use the Apple IEEE codec
1721 --enable-arcstream use wxArchive streams
1722 --enable-base64 use base64 encoding
/decoding functions
1723 --enable-backtrace use wxStackWalker class
for getting backtraces
1724 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1725 --enable-cmdline use wxCmdLineParser class
1726 --enable-datetime use wxDateTime class
1727 --enable-debugreport use wxDebugReport class
1728 --enable-dialupman use dialup network classes
1729 --enable-dynlib use wxLibrary class
for DLL loading
1730 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1731 --enable-exceptions build exception
-safe library
1732 --enable-ffile use wxFFile class
1733 --enable-file use wxFile class
1734 --enable-filesystem use virtual
file systems classes
1735 --enable-fontenum use wxFontEnumerator class
1736 --enable-fontmap use font encodings conversion classes
1737 --enable-fs_archive use virtual archive filesystems
1738 --enable-fs_inet use virtual HTTP
/FTP filesystems
1739 --enable-fs_zip now replaced by fs_archive
1740 --enable-geometry use geometry class
1741 --enable-log use logging system
1742 --enable-longlong use wxLongLong class
1743 --enable-mimetype use wxMimeTypesManager
1744 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1745 --enable-snglinst use wxSingleInstanceChecker class
1746 --enable-sound use wxSound class
1747 --enable-stdpaths use wxStandardPaths class
1748 --enable-stopwatch use wxStopWatch class
1749 --enable-streams use wxStream etc classes
1750 --enable-sysoptions use wxSystemOptions
1751 --enable-tarstream use wxTar streams
1752 --enable-textbuf use wxTextBuffer class
1753 --enable-textfile use wxTextFile class
1754 --enable-timer use wxTimer class
1755 --enable-variant use wxVariant class
1756 --enable-zipstream use wxZip streams
1757 --enable-url use wxURL class
1758 --enable-protocol use wxProtocol class
1759 --enable-protocol-http HTTP support
in wxProtocol
1760 --enable-protocol-ftp FTP support
in wxProtocol
1761 --enable-protocol-file FILE support
in wxProtocol
1762 --enable-threads use threads
1763 --enable-iniconf use wxIniConfig
(Win32 only
)
1764 --enable-regkey use wxRegKey class
(Win32 only
)
1765 --enable-docview use document view architecture
1766 --enable-help use
help subsystem
1767 --enable-mshtmlhelp use MS HTML Help
(win32
)
1768 --enable-html use wxHTML sub
-library
1769 --enable-htmlhelp use wxHTML
-based help
1770 --enable-xrc use XRC resources sub
-library
1771 --enable-aui use AUI docking library
1772 --enable-propgrid use wxPropertyGrid library
1773 --enable-ribbon use wxRibbon library
1774 --enable-stc use wxStyledTextCtrl library
1775 --enable-constraints use layout
-constraints system
1776 --enable-loggui use standard GUI logger
1777 --enable-logwin use wxLogWindow
1778 --enable-logdialog use wxLogDialog
1779 --enable-mdi use multiple document interface architecture
1780 --enable-mdidoc use docview architecture with MDI
1781 --enable-mediactrl use wxMediaCtrl class
1782 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1783 --enable-webkit use wxWebKitCtrl
(Mac
)
1784 --enable-richtext use wxRichTextCtrl
1785 --enable-graphics_ctx use graphics context
2D drawing API
1786 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1787 --enable-printarch use printing architecture
1788 --enable-svg use wxSVGFileDC device context
1789 --enable-clipboard use wxClipboard class
1790 --enable-dnd use Drag
'n'Drop classes
1791 --enable-metafile use win32 metafiles
1792 --disable-controls disable compilation of all standard controls
1793 --enable-accel use accelerators
1794 --enable-animatectrl use wxAnimationCtrl class
1795 --enable-bmpbutton use wxBitmapButton class
1796 --enable-bmpcombobox use wxBitmapComboBox class
1797 --enable-button use wxButton class
1798 --enable-calendar use wxCalendarCtrl class
1799 --enable-caret use wxCaret class
1800 --enable-checkbox use wxCheckBox class
1801 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1802 --enable-choice use wxChoice class
1803 --enable-choicebook use wxChoicebook class
1804 --enable-collpane use wxCollapsiblePane class
1805 --enable-colourpicker use wxColourPickerCtrl class
1806 --enable-combobox use wxComboBox class
1807 --enable-comboctrl use wxComboCtrl class
1808 --enable-dataviewctrl use wxDataViewCtrl class
1809 --enable-datepick use wxDatePickerCtrl class
1810 --enable-detect_sm use code to detect X11 session manager
1811 --enable-dirpicker use wxDirPickerCtrl class
1812 --enable-display use wxDisplay class
1813 --enable-editablebox use wxEditableListBox class
1814 --enable-filectrl use wxFileCtrl class
1815 --enable-filepicker use wxFilePickerCtrl class
1816 --enable-fontpicker use wxFontPickerCtrl class
1817 --enable-gauge use wxGauge class
1818 --enable-grid use wxGrid class
1819 --enable-headerctrl use wxHeaderCtrl class
1820 --enable-hyperlink use wxHyperlinkCtrl class
1821 --enable-imaglist use wxImageList class
1822 --enable-infobar use wxInfoBar class
1823 --enable-listbook use wxListbook class
1824 --enable-listbox use wxListBox class
1825 --enable-listctrl use wxListCtrl class
1826 --enable-notebook use wxNotebook class
1827 --enable-notifmsg use wxNotificationMessage class
1828 --enable-odcombobox use wxOwnerDrawnComboBox class
1829 --enable-popupwin use wxPopUpWindow class
1830 --enable-radiobox use wxRadioBox class
1831 --enable-radiobtn use wxRadioButton class
1832 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1833 --enable-sash use wxSashWindow class
1834 --enable-scrollbar use wxScrollBar class and scrollable windows
1835 --enable-searchctrl use wxSearchCtrl class
1836 --enable-slider use wxSlider class
1837 --enable-spinbtn use wxSpinButton class
1838 --enable-spinctrl use wxSpinCtrl class
1839 --enable-splitter use wxSplitterWindow class
1840 --enable-statbmp use wxStaticBitmap class
1841 --enable-statbox use wxStaticBox class
1842 --enable-statline use wxStaticLine class
1843 --enable-stattext use wxStaticText class
1844 --enable-statusbar use wxStatusBar class
1845 --enable-taskbaricon use wxTaskBarIcon class
1846 --enable-tbarnative use native wxToolBar class
1847 --enable-textctrl use wxTextCtrl class
1848 --enable-tipwindow use wxTipWindow class
1849 --enable-togglebtn use wxToggleButton class
1850 --enable-toolbar use wxToolBar class
1851 --enable-toolbook use wxToolbook class
1852 --enable-treebook use wxTreebook class
1853 --enable-treectrl use wxTreeCtrl class
1854 --enable-commondlg use all common dialogs
1855 --enable-aboutdlg use wxAboutBox
1856 --enable-choicedlg use wxChoiceDialog
1857 --enable-coldlg use wxColourDialog
1858 --enable-filedlg use wxFileDialog
1859 --enable-finddlg use wxFindReplaceDialog
1860 --enable-fontdlg use wxFontDialog
1861 --enable-dirdlg use wxDirDialog
1862 --enable-msgdlg use wxMessageDialog
1863 --enable-numberdlg use wxNumberEntryDialog
1864 --enable-splash use wxSplashScreen
1865 --enable-textdlg use wxTextDialog
1866 --enable-tipdlg use startup tips
1867 --enable-progressdlg use wxProgressDialog
1868 --enable-wizarddlg use wxWizard
1869 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1870 --enable-miniframe use wxMiniFrame class
1871 --enable-tooltips use wxToolTip class
1872 --enable-splines use spline drawing code
1873 --enable-mousewheel use mousewheel
1874 --enable-validators use wxValidator and derived classes
1875 --enable-busyinfo use wxBusyInfo
1876 --enable-joystick use wxJoystick
1877 --enable-metafiles use wxMetaFile
(Win32 only
)
1878 --enable-dragimage use wxDragImage
1879 --enable-accessibility enable accessibility support
1880 --enable-palette use wxPalette class
1881 --enable-image use wxImage class
1882 --enable-gif use gif images
(GIF
file format
)
1883 --enable-pcx use pcx images
(PCX
file format
)
1884 --enable-tga use tga images
(TGA
file format
)
1885 --enable-iff use iff images
(IFF
file format
)
1886 --enable-pnm use pnm images
(PNM
file format
)
1887 --enable-xpm use xpm images
(XPM
file format
)
1888 --enable-ico_cur use Windows ICO and CUR formats
1889 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1890 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1891 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1892 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1893 --enable-wxdib use wxDIB class
(Win32 only
)
1894 --enable-autoidman use automatic ids management
1895 --disable-largefile omit support
for large files
1896 --disable-gtktest do not try to compile and run a
test GTK
+ program
1897 --disable-gtktest Do not try to compile and run a
test GTK program
1898 --disable-sdltest Do not try to compile and run a
test SDL program
1899 --enable-omf use OMF object format
(OS
/2)
1900 --disable-dependency-tracking
1901 don
't use dependency tracking even if the compiler
1903 --disable-precomp-headers
1904 don't use precompiled headers even
if compiler can
1907 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1908 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1909 --without-subdirs don
't generate makefiles for samples/demos/...
1910 --with-flavour=NAME specify a name to identify this build
1911 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1912 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1913 --with-motif use Motif/Lesstif
1914 --with-osx_carbon use Mac OS X (Carbon)
1915 --with-osx_cocoa use Mac OS X (Cocoa)
1916 --with-mac use Mac OS X (Default)
1917 --with-cocoa use Cocoa
1918 --with-wine use Wine
1919 --with-msw use MS-Windows
1920 --with-pm use OS/2 Presentation Manager
1921 --with-mgl use SciTech MGL
1922 --with-directfb use DirectFB
1923 --with-microwin use MicroWindows
1925 --with-libpng use libpng (PNG image format)
1926 --with-libjpeg use libjpeg (JPEG file format)
1927 --with-libtiff use libtiff (TIFF file format)
1928 --with-libxpm use libxpm (XPM file format)
1929 --with-libiconv use libiconv (character conversion)
1930 --with-libmspack use libmspack (CHM help files loading)
1931 --without-gtkprint don't use GTK printing support
1932 --without-gnomeprint don
't use GNOME printing libraries
1933 --with-gnomevfs use GNOME VFS for associating MIME types
1934 --with-hildon use Hildon framework for Nokia 770/800/810
1935 --with-opengl use OpenGL (or Mesa)
1936 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1937 --with-sdl use SDL for audio on Unix
1938 --with-regex enable support for wxRegEx class
1939 --with-zlib use zlib for LZW compression
1940 --with-expat enable XML support using expat parser
1941 --with-macosx-sdk=PATH use an OS X SDK at PATH
1942 --with-macosx-version-min=VER build binaries which require at least this OS X version
1943 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1944 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1945 --with-x use the X Window System
1946 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1947 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1948 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1949 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1950 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1952 Some influential environment variables:
1953 CC C compiler command
1954 CFLAGS C compiler flags
1955 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1956 nonstandard directory <lib dir>
1957 LIBS libraries to pass to the linker, e.g. -l<library>
1958 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1959 you have headers in a nonstandard directory <include dir>
1961 CXX C++ compiler command
1962 CXXFLAGS C++ compiler flags
1963 PKG_CONFIG path to pkg-config utility
1965 C compiler flags for DIRECTFB, overriding pkg-config
1967 linker flags for DIRECTFB, overriding pkg-config
1968 XMKMF Path to xmkmf, Makefile generator for X Window System
1970 C compiler flags for PANGOX, overriding pkg-config
1971 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1973 C compiler flags for PANGOFT2, overriding pkg-config
1975 linker flags for PANGOFT2, overriding pkg-config
1977 C compiler flags for PANGOXFT, overriding pkg-config
1979 linker flags for PANGOXFT, overriding pkg-config
1981 C compiler flags for GTKPRINT, overriding pkg-config
1983 linker flags for GTKPRINT, overriding pkg-config
1984 LIBGNOMEPRINTUI_CFLAGS
1985 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1986 LIBGNOMEPRINTUI_LIBS
1987 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1989 C compiler flags for GNOMEVFS, overriding pkg-config
1991 linker flags for GNOMEVFS, overriding pkg-config
1993 C compiler flags for HILDON, overriding pkg-config
1994 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1996 C compiler flags for HILDON2, overriding pkg-config
1998 linker flags for HILDON2, overriding pkg-config
2000 C compiler flags for CAIRO, overriding pkg-config
2001 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2002 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2003 GST_LIBS linker flags for GST, overriding pkg-config
2005 Use these variables to override the choices made by `configure' or to
help
2006 it to
find libraries and programs with nonstandard names
/locations.
2008 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2013 if test "$ac_init_help" = "recursive"; then
2014 # If there are subdirs, report their specific --help.
2015 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2016 test -d "$ac_dir" || continue
2020 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2022 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2023 # A ".." for each directory in $ac_dir_suffix.
2024 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2025 case $ac_top_builddir_sub in
2026 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2027 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2030 ac_abs_top_builddir
=$ac_pwd
2031 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2032 # for backward compatibility:
2033 ac_top_builddir
=$ac_top_build_prefix
2036 .
) # We are building in place.
2038 ac_top_srcdir
=$ac_top_builddir_sub
2039 ac_abs_top_srcdir
=$ac_pwd ;;
2040 [\\/]* | ?
:[\\/]* ) # Absolute name.
2041 ac_srcdir
=$srcdir$ac_dir_suffix;
2042 ac_top_srcdir
=$srcdir
2043 ac_abs_top_srcdir
=$srcdir ;;
2045 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2046 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2047 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2049 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2051 cd "$ac_dir" || { ac_status
=$?
; continue; }
2052 # Check for guested configure.
2053 if test -f "$ac_srcdir/configure.gnu"; then
2055 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2056 elif test -f "$ac_srcdir/configure"; then
2058 $SHELL "$ac_srcdir/configure" --help=recursive
2060 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2062 cd "$ac_pwd" || { ac_status
=$?
; break; }
2066 test -n "$ac_init_help" && exit $ac_status
2067 if $ac_init_version; then
2069 wxWidgets configure
2.9.1
2070 generated by GNU Autoconf
2.61
2072 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2073 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2074 This configure
script is free software
; the Free Software Foundation
2075 gives unlimited permission to copy
, distribute and modify it.
2079 cat >config.log
<<_ACEOF
2080 This file contains any messages produced by compilers while
2081 running configure, to aid debugging if configure makes a mistake.
2083 It was created by wxWidgets $as_me 2.9.1, which was
2084 generated by GNU Autoconf 2.61. Invocation command line was
2096 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2097 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2098 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2099 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2100 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2102 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2103 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2105 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2106 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2107 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2108 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2109 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2110 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2111 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2119 test -z "$as_dir" && as_dir
=.
2120 echo "PATH: $as_dir"
2136 # Keep a trace of the command line.
2137 # Strip out --no-create and --no-recursion so they do not pile up.
2138 # Strip out --silent because we don't want to record it for future runs.
2139 # Also quote any args containing shell meta-characters.
2140 # Make two passes to allow for proper duplicate-argument suppression.
2144 ac_must_keep_next
=false
2150 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2152 | -silent | --silent | --silen | --sile | --sil)
2155 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2158 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2160 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2161 if test $ac_must_keep_next = true
; then
2162 ac_must_keep_next
=false
# Got value, back to normal.
2165 *=* | --config-cache | -C | -disable-* | --disable-* \
2166 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2167 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2168 | -with-* | --with-* | -without-* | --without-* | --x)
2169 case "$ac_configure_args0 " in
2170 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2173 -* ) ac_must_keep_next
=true
;;
2176 ac_configure_args
="$ac_configure_args '$ac_arg'"
2181 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2182 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2184 # When interrupted or exit'd, cleanup temporary files, and complete
2185 # config.log. We remove comments because anyway the quotes in there
2186 # would cause problems or look ugly.
2187 # WARNING: Use '\'' to represent an apostrophe within the trap.
2188 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2189 trap 'exit_status=$?
2190 # Save into config.log some information that might help in debugging.
2195 ## ---------------- ##
2196 ## Cache variables. ##
2197 ## ---------------- ##
2200 # The following way of writing the cache mishandles newlines in values,
2202 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2203 eval ac_val=\$$ac_var
2207 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2208 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2211 _ | IFS | as_nl) ;; #(
2212 *) $as_unset $ac_var ;;
2217 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2218 *${as_nl}ac_space=\ *)
2220 "s/'\''/'\''\\\\'\'''\''/g;
2221 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2224 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2232 ## ----------------- ##
2233 ## Output variables. ##
2234 ## ----------------- ##
2237 for ac_var in $ac_subst_vars
2239 eval ac_val=\$$ac_var
2241 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2243 echo "$ac_var='\''$ac_val'\''"
2247 if test -n "$ac_subst_files"; then
2249 ## ------------------- ##
2250 ## File substitutions. ##
2251 ## ------------------- ##
2254 for ac_var
in $ac_subst_files
2256 eval ac_val
=\$
$ac_var
2258 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2260 echo "$ac_var='\''$ac_val'\''"
2265 if test -s confdefs.h; then
2275 test "$ac_signal" != 0 &&
2276 echo "$as_me: caught signal $ac_signal"
2277 echo "$as_me: exit $exit_status"
2279 rm -f core *.core core.conftest.* &&
2280 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2283 for ac_signal
in 1 2 13 15; do
2284 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2288 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2289 rm -f -r conftest
* confdefs.h
2291 # Predefined preprocessor variables.
2293 cat >>confdefs.h
<<_ACEOF
2294 #define PACKAGE_NAME "$PACKAGE_NAME"
2298 cat >>confdefs.h
<<_ACEOF
2299 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2303 cat >>confdefs.h
<<_ACEOF
2304 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2308 cat >>confdefs.h
<<_ACEOF
2309 #define PACKAGE_STRING "$PACKAGE_STRING"
2313 cat >>confdefs.h
<<_ACEOF
2314 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2318 # Let the site file select an alternate cache file if it wants to.
2319 # Prefer explicitly selected file to automatically selected ones.
2320 if test -n "$CONFIG_SITE"; then
2321 set x
"$CONFIG_SITE"
2322 elif test "x$prefix" != xNONE
; then
2323 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2325 set x
"$ac_default_prefix/share/config.site" \
2326 "$ac_default_prefix/etc/config.site"
2331 if test -r "$ac_site_file"; then
2332 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2333 echo "$as_me: loading site script $ac_site_file" >&6;}
2334 sed 's/^/| /' "$ac_site_file" >&5
2339 if test -r "$cache_file"; then
2340 # Some versions of bash will fail to source /dev/null (special
2341 # files actually), so we avoid doing that.
2342 if test -f "$cache_file"; then
2343 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2344 echo "$as_me: loading cache $cache_file" >&6;}
2346 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2347 *) .
"./$cache_file";;
2351 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2352 echo "$as_me: creating cache $cache_file" >&6;}
2356 # Check that the precious variables saved in the cache have kept the same
2358 ac_cache_corrupted
=false
2359 for ac_var
in $ac_precious_vars; do
2360 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2361 eval ac_new_set
=\
$ac_env_${ac_var}_set
2362 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2363 eval ac_new_val
=\
$ac_env_${ac_var}_value
2364 case $ac_old_set,$ac_new_set in
2366 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2367 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2368 ac_cache_corrupted
=: ;;
2370 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2371 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2372 ac_cache_corrupted
=: ;;
2375 if test "x$ac_old_val" != "x$ac_new_val"; then
2376 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2377 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2378 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2379 echo "$as_me: former value: $ac_old_val" >&2;}
2380 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2381 echo "$as_me: current value: $ac_new_val" >&2;}
2382 ac_cache_corrupted
=:
2385 # Pass precious variables to config.status.
2386 if test "$ac_new_set" = set; then
2388 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2389 *) ac_arg
=$ac_var=$ac_new_val ;;
2391 case " $ac_configure_args " in
2392 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2393 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2397 if $ac_cache_corrupted; then
2398 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2399 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2400 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2401 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2402 { (exit 1); exit 1; }; }
2430 ac_cpp
='$CPP $CPPFLAGS'
2431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2440 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2441 if test -f "$ac_dir/install-sh"; then
2443 ac_install_sh
="$ac_aux_dir/install-sh -c"
2445 elif test -f "$ac_dir/install.sh"; then
2447 ac_install_sh
="$ac_aux_dir/install.sh -c"
2449 elif test -f "$ac_dir/shtool"; then
2451 ac_install_sh
="$ac_aux_dir/shtool install -c"
2455 if test -z "$ac_aux_dir"; then
2456 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2457 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2458 { (exit 1); exit 1; }; }
2461 # These three variables are undocumented and unsupported,
2462 # and are intended to be withdrawn in a future Autoconf release.
2463 # They can cause serious problems if a builder's source tree is in a directory
2464 # whose full name contains unusual characters.
2465 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2466 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2467 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2470 # Make sure we can run config.sub.
2471 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2472 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2473 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2474 { (exit 1); exit 1; }; }
2476 { echo "$as_me:$LINENO: checking build system type" >&5
2477 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2478 if test "${ac_cv_build+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 ac_build_alias
=$build_alias
2482 test "x$ac_build_alias" = x
&&
2483 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2484 test "x$ac_build_alias" = x
&&
2485 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2486 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2487 { (exit 1); exit 1; }; }
2488 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2489 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2490 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2491 { (exit 1); exit 1; }; }
2494 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2495 echo "${ECHO_T}$ac_cv_build" >&6; }
2496 case $ac_cv_build in
2498 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2499 echo "$as_me: error: invalid value of canonical build" >&2;}
2500 { (exit 1); exit 1; }; };;
2503 ac_save_IFS
=$IFS; IFS
='-'
2509 # Remember, the first character of IFS is used to create $*,
2510 # except with old shells:
2513 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2516 { echo "$as_me:$LINENO: checking host system type" >&5
2517 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2518 if test "${ac_cv_host+set}" = set; then
2519 echo $ECHO_N "(cached) $ECHO_C" >&6
2521 if test "x$host_alias" = x
; then
2522 ac_cv_host
=$ac_cv_build
2524 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2525 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2526 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2527 { (exit 1); exit 1; }; }
2531 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2532 echo "${ECHO_T}$ac_cv_host" >&6; }
2535 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2536 echo "$as_me: error: invalid value of canonical host" >&2;}
2537 { (exit 1); exit 1; }; };;
2540 ac_save_IFS
=$IFS; IFS
='-'
2546 # Remember, the first character of IFS is used to create $*,
2547 # except with old shells:
2550 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2554 if test "$cross_compiling" != "no"; then
2555 HOST_PREFIX
="${host_alias}-"
2556 HOST_SUFFIX
="-$host_alias"
2563 wx_major_version_number
=2
2564 wx_minor_version_number
=9
2566 wx_subrelease_number
=0
2568 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2569 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2570 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2572 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2575 wx_top_builddir
="`pwd`"
2588 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2594 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2600 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2602 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2604 DEFAULT_wxUSE_COCOA
=0
2606 DEFAULT_wxUSE_OSX_CARBON
=0
2607 DEFAULT_wxUSE_OSX_COCOA
=0
2609 DEFAULT_wxUSE_MICROWIN
=0
2610 DEFAULT_wxUSE_MOTIF
=0
2616 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2617 DEFAULT_DEFAULT_wxUSE_GTK
=0
2618 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2619 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2620 DEFAULT_DEFAULT_wxUSE_MGL
=0
2621 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2622 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2623 DEFAULT_DEFAULT_wxUSE_MSW
=0
2624 DEFAULT_DEFAULT_wxUSE_PM
=0
2625 DEFAULT_DEFAULT_wxUSE_X11
=0
2626 DEFAULT_DEFAULT_wxUSE_DFB
=0
2630 DYLIB_RPATH_INSTALL
=
2631 DYLIB_RPATH_POSTLINK
=
2633 DEFAULT_STD_FLAG
=yes
2638 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2639 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2640 cat >>confdefs.h
<<\_ACEOF
2645 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2649 cat >>confdefs.h
<<\_ACEOF
2654 if test "x$TMP" = "xalpha"; then
2656 cat >>confdefs.h
<<\_ACEOF
2661 DEFAULT_DEFAULT_wxUSE_GTK
=1
2663 *-*-gnu* | *-*-k*bsd
*-gnu )
2666 if test "x$TMP" = "xalpha"; then
2668 cat >>confdefs.h
<<\_ACEOF
2673 DEFAULT_DEFAULT_wxUSE_GTK
=1
2675 *-*-irix5* | *-*-irix6* )
2678 cat >>confdefs.h
<<\_ACEOF
2682 cat >>confdefs.h
<<\_ACEOF
2686 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2692 cat >>confdefs.h
<<\_ACEOF
2696 cat >>confdefs.h
<<\_ACEOF
2697 #define __SOLARIS__ 1
2700 cat >>confdefs.h
<<\_ACEOF
2704 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2705 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2711 cat >>confdefs.h
<<\_ACEOF
2715 cat >>confdefs.h
<<\_ACEOF
2719 cat >>confdefs.h
<<\_ACEOF
2723 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2728 cat >>confdefs.h
<<\_ACEOF
2729 #define __FREEBSD__ 1
2732 cat >>confdefs.h
<<\_ACEOF
2736 DEFAULT_DEFAULT_wxUSE_GTK
=1
2738 *-*-openbsd*|*-*-mirbsd*)
2741 cat >>confdefs.h
<<\_ACEOF
2742 #define __OPENBSD__ 1
2745 cat >>confdefs.h
<<\_ACEOF
2749 DEFAULT_DEFAULT_wxUSE_GTK
=1
2754 cat >>confdefs.h
<<\_ACEOF
2755 #define __NETBSD__ 1
2758 cat >>confdefs.h
<<\_ACEOF
2762 DEFAULT_DEFAULT_wxUSE_GTK
=1
2763 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2765 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2770 cat >>confdefs.h
<<\_ACEOF
2774 cat >>confdefs.h
<<\_ACEOF
2778 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2779 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2784 cat >>confdefs.h
<<\_ACEOF
2788 cat >>confdefs.h
<<\_ACEOF
2792 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2797 cat >>confdefs.h
<<\_ACEOF
2801 cat >>confdefs.h
<<\_ACEOF
2805 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2811 cat >>confdefs.h
<<\_ACEOF
2815 cat >>confdefs.h
<<\_ACEOF
2819 cat >>confdefs.h
<<\_ACEOF
2823 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2830 cat >>confdefs.h
<<\_ACEOF
2831 #define __UNIXWARE__ 1
2836 *-*-cygwin* | *-*-mingw32* )
2838 DEFAULT_DEFAULT_wxUSE_MSW
=1
2844 cat >>confdefs.h
<<\_ACEOF
2849 DEFAULT_DEFAULT_wxUSE_MGL
=1
2852 *-pc-os2_emx | *-pc-os2-emx )
2853 cat >>confdefs.h
<<\_ACEOF
2858 cat >>confdefs.h
<<\_ACEOF
2863 DEFAULT_DEFAULT_wxUSE_PM
=1
2865 LDFLAGS
="$LDFLAGS -Zcrtdll"
2866 ac_executable_extensions
=".exe"
2867 export ac_executable_extensions
2871 for ac_dir
in $PATH; do
2873 if test -z "$ac_TEMP_PATH"; then
2874 ac_TEMP_PATH
="$ac_dir"
2876 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2879 export PATH
="$ac_TEMP_PATH"
2887 cat >>confdefs.h
<<\_ACEOF
2891 cat >>confdefs.h
<<\_ACEOF
2892 #define __DARWIN__ 1
2895 cat >>confdefs.h
<<\_ACEOF
2896 #define TARGET_CARBON 1
2899 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2904 cat >>confdefs.h
<<\_ACEOF
2911 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2912 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2913 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2914 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2916 DEFAULT_DEFAULT_wxUSE_X11
=1
2917 DEFAULT_wxUSE_SHARED
=no
2922 DEFAULT_wxUSE_ALL_FEATURES
=yes
2924 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2925 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2927 DEFAULT_wxUSE_DMALLOC
=no
2928 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2929 DEFAULT_wxUSE_LIBHILDON
=no
2930 DEFAULT_wxUSE_LIBHILDON2
=no
2931 DEFAULT_wxUSE_LIBMSPACK
=no
2932 DEFAULT_wxUSE_LIBSDL
=no
2934 DEFAULT_wxUSE_ACCESSIBILITY
=no
2935 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2936 DEFAULT_wxUSE_IPV6
=no
2937 DEFAULT_wxUSE_GSTREAMER8
=no
2939 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2940 DEFAULT_wxUSE_OPENGL
=auto
2941 DEFAULT_wxUSE_MEDIACTRL
=auto
2942 DEFAULT_wxUSE_COMPILER_TLS
=auto
2944 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2946 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2948 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2950 DEFAULT_wxUSE_GTK2
=yes
2952 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2958 enablestring
=disable
2960 if test -z "$defaultval"; then
2961 if test x
"$enablestring" = xdisable
; then
2968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2969 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2970 # Check whether --enable-gui was given.
2971 if test "${enable_gui+set}" = set; then
2972 enableval
=$enable_gui;
2973 if test "$enableval" = yes; then
2974 wx_cv_use_gui
='wxUSE_GUI=yes'
2976 wx_cv_use_gui
='wxUSE_GUI=no'
2981 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2986 eval "$wx_cv_use_gui"
2988 if test x"$enablestring" = xdisable; then
2989 if test $wxUSE_GUI = no; then
2998 { echo "$as_me:$LINENO: result: $result" >&5
2999 echo "${ECHO_T}$result" >&6; }
3004 if test -z "$defaultval"; then
3005 if test x"$enablestring" = xdisable; then
3012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3013 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3014 # Check whether --enable-monolithic was given.
3015 if test "${enable_monolithic+set}" = set; then
3016 enableval=$enable_monolithic;
3017 if test "$enableval" = yes; then
3018 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3020 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3025 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3030 eval "$wx_cv_use_monolithic"
3032 if test x"$enablestring" = xdisable; then
3033 if test $wxUSE_MONOLITHIC = no; then
3039 result=$wxUSE_MONOLITHIC
3042 { echo "$as_me:$LINENO: result
: $result" >&5
3043 echo "${ECHO_T}$result" >&6; }
3048 if test -z "$defaultval"; then
3049 if test x"$enablestring" = xdisable; then
3056 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3057 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3058 # Check whether --enable-plugins was given.
3059 if test "${enable_plugins+set}" = set; then
3060 enableval=$enable_plugins;
3061 if test "$enableval" = yes; then
3062 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3064 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3069 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3074 eval "$wx_cv_use_plugins"
3076 if test x
"$enablestring" = xdisable
; then
3077 if test $wxUSE_PLUGINS = no
; then
3083 result
=$wxUSE_PLUGINS
3086 { echo "$as_me:$LINENO: result: $result" >&5
3087 echo "${ECHO_T}$result" >&6; }
3091 defaultval
=$wxUSE_ALL_FEATURES
3092 if test -z "$defaultval"; then
3093 if test x
"$withstring" = xwithout
; then
3099 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3100 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3102 # Check whether --with-subdirs was given.
3103 if test "${with_subdirs+set}" = set; then
3104 withval
=$with_subdirs;
3105 if test "$withval" = yes; then
3106 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3108 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3113 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3118 eval "$wx_cv_use_subdirs"
3120 if test x"$withstring" = xwithout; then
3121 if test $wxWITH_SUBDIRS = yes; then
3127 result=$wxWITH_SUBDIRS
3130 { echo "$as_me:$LINENO: result: $result" >&5
3131 echo "${ECHO_T}$result" >&6; }
3134 # Check whether --with-flavour was given.
3135 if test "${with_flavour+set}" = set; then
3136 withval=$with_flavour; WX_FLAVOUR="$withval"
3142 if test -z "$defaultval"; then
3143 if test x"$enablestring" = xdisable; then
3150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3151 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3152 # Check whether --enable-official_build was given.
3153 if test "${enable_official_build+set}" = set; then
3154 enableval=$enable_official_build;
3155 if test "$enableval" = yes; then
3156 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3158 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3163 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3168 eval "$wx_cv_use_official_build"
3170 if test x"$enablestring" = xdisable; then
3171 if test $wxUSE_OFFICIAL_BUILD = no; then
3177 result=$wxUSE_OFFICIAL_BUILD
3180 { echo "$as_me:$LINENO: result
: $result" >&5
3181 echo "${ECHO_T}$result" >&6; }
3183 # Check whether --enable-vendor was given.
3184 if test "${enable_vendor+set}" = set; then
3185 enableval=$enable_vendor; VENDOR="$enableval"
3188 if test "x
$VENDOR" = "x
"; then
3193 enablestring=disable
3195 if test -z "$defaultval"; then
3196 if test x"$enablestring" = xdisable; then
3203 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3204 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3205 # Check whether --enable-all-features was given.
3206 if test "${enable_all_features+set}" = set; then
3207 enableval=$enable_all_features;
3208 if test "$enableval" = yes; then
3209 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3211 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3216 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3221 eval "$wx_cv_use_all_features"
3223 if test x
"$enablestring" = xdisable
; then
3224 if test $wxUSE_ALL_FEATURES = no
; then
3230 result
=$wxUSE_ALL_FEATURES
3233 { echo "$as_me:$LINENO: result: $result" >&5
3234 echo "${ECHO_T}$result" >&6; }
3237 if test "$wxUSE_ALL_FEATURES" = "no"; then
3238 DEFAULT_wxUSE_MEDIACTRL
=no
3242 if test "$wxUSE_GUI" = "yes"; then
3247 if test -z "$defaultval"; then
3248 if test x
"$enablestring" = xdisable
; then
3255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3256 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3257 # Check whether --enable-universal was given.
3258 if test "${enable_universal+set}" = set; then
3259 enableval
=$enable_universal;
3260 if test "$enableval" = yes; then
3261 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3263 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3268 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3273 eval "$wx_cv_use_universal"
3275 if test x"$enablestring" = xdisable; then
3276 if test $wxUSE_UNIVERSAL = no; then
3282 result=$wxUSE_UNIVERSAL
3285 { echo "$as_me:$LINENO: result: $result" >&5
3286 echo "${ECHO_T}$result" >&6; }
3288 if test "$wxUSE_UNIVERSAL" = "yes"; then
3290 # Check whether --with-themes was given.
3291 if test "${with_themes+set}" = set; then
3292 withval=$with_themes; wxUNIV_THEMES="$withval"
3298 # Check whether --with-gtk was given.
3299 if test "${with_gtk+set}" = set; then
3300 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3304 # Check whether --with-motif was given.
3305 if test "${with_motif+set}" = set; then
3306 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3310 # Check whether --with-osx_carbon was given.
3311 if test "${with_osx_carbon+set}" = set; then
3312 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3316 # Check whether --with-osx_cocoa was given.
3317 if test "${with_osx_cocoa+set}" = set; then
3318 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3322 # Check whether --with-mac was given.
3323 if test "${with_mac+set}" = set; then
3324 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3328 # Check whether --with-cocoa was given.
3329 if test "${with_cocoa+set}" = set; then
3330 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3334 # Check whether --with-wine was given.
3335 if test "${with_wine+set}" = set; then
3336 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3340 # Check whether --with-msw was given.
3341 if test "${with_msw+set}" = set; then
3342 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3346 # Check whether --with-pm was given.
3347 if test "${with_pm+set}" = set; then
3348 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3352 # Check whether --with-mgl was given.
3353 if test "${with_mgl+set}" = set; then
3354 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3358 # Check whether --with-directfb was given.
3359 if test "${with_directfb+set}" = set; then
3360 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3364 # Check whether --with-microwin was given.
3365 if test "${with_microwin+set}" = set; then
3366 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3370 # Check whether --with-x11 was given.
3371 if test "${with_x11+set}" = set; then
3372 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3378 if test -z "$defaultval"; then
3379 if test x"$enablestring" = xdisable; then
3386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3387 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3388 # Check whether --enable-nanox was given.
3389 if test "${enable_nanox+set}" = set; then
3390 enableval=$enable_nanox;
3391 if test "$enableval" = yes; then
3392 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3394 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3399 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3404 eval "$wx_cv_use_nanox"
3406 if test x"$enablestring" = xdisable; then
3407 if test $wxUSE_NANOX = no; then
3416 { echo "$as_me:$LINENO: result
: $result" >&5
3417 echo "${ECHO_T}$result" >&6; }
3420 # Check whether --enable-gtk2 was given.
3421 if test "${enable_gtk2+set}" = set; then
3422 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3428 if test -z "$defaultval"; then
3429 if test x"$enablestring" = xdisable; then
3436 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3437 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3438 # Check whether --enable-gpe was given.
3439 if test "${enable_gpe+set}" = set; then
3440 enableval=$enable_gpe;
3441 if test "$enableval" = yes; then
3442 wx_cv_use_gpe='wxUSE_GPE=yes'
3444 wx_cv_use_gpe='wxUSE_GPE=no'
3449 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3454 eval "$wx_cv_use_gpe"
3456 if test x
"$enablestring" = xdisable
; then
3457 if test $wxUSE_GPE = no
; then
3466 { echo "$as_me:$LINENO: result: $result" >&5
3467 echo "${ECHO_T}$result" >&6; }
3471 { echo "$as_me:$LINENO: checking for toolkit" >&5
3472 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3476 # In Wine, we need to default to MSW, not GTK or MOTIF
3477 if test "$wxUSE_WINE" = "yes"; then
3478 DEFAULT_DEFAULT_wxUSE_GTK
=0
3479 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3480 DEFAULT_DEFAULT_wxUSE_MSW
=1
3487 if test "$wxUSE_GUI" = "yes"; then
3489 if test "$USE_BEOS" = 1; then
3490 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3491 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3492 { (exit 1); exit 1; }; }
3495 if test "$TOOLKIT_GIVEN" = 1; then
3496 for toolkit
in $ALL_TOOLKITS; do
3498 eval "value=\$${var}"
3499 if test "x$value" = "xno"; then
3501 elif test "x$value" != "x"; then
3505 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3506 eval "wx${toolkit}_VERSION=$value"
3510 for toolkit
in $ALL_TOOLKITS; do
3511 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3512 eval "wxUSE_$toolkit=\$${var}"
3516 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3517 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3518 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3521 *-pc-os2_emx | *-pc-os2-emx )
3522 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3525 case "$NUM_TOOLKITS" in
3529 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3530 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3531 { (exit 1); exit 1; }; }
3534 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3535 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3536 { (exit 1); exit 1; }; }
3539 # to be removed when --disable-gtk2 isn't needed
3540 if test "x$wxUSE_GTK2" = "xyes"; then
3542 elif test "x$wxUSE_GTK2" = "xno"; then
3546 for toolkit
in $ALL_TOOLKITS; do
3548 eval "value=\$${var}"
3549 if test "$value" = 1; then
3550 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3551 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3552 echo "${ECHO_T}$toolkit_echo" >&6; }
3556 if test "x$host_alias" != "x"; then
3557 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3558 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3560 { echo "$as_me:$LINENO: result: base only" >&5
3561 echo "${ECHO_T}base only" >&6; }
3566 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3572 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3573 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3575 # Check whether --with-libpng was given.
3576 if test "${with_libpng+set}" = set; then
3577 withval
=$with_libpng;
3578 if test "$withval" = yes; then
3579 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3580 elif test "$withval" = no
; then
3581 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3582 elif test "$withval" = sys
; then
3583 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3584 elif test "$withval" = builtin; then
3585 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3588 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3589 { (exit 1); exit 1; }; }
3594 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3599 eval "$wx_cv_use_libpng"
3601 if test "$wxUSE_LIBPNG" = yes; then
3602 { echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6; }
3604 elif test "$wxUSE_LIBPNG" = no; then
3605 { echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6; }
3607 elif test "$wxUSE_LIBPNG" = sys; then
3608 { echo "$as_me:$LINENO: result: system version" >&5
3609 echo "${ECHO_T}system version" >&6; }
3610 elif test "$wxUSE_LIBPNG" = builtin; then
3611 { echo "$as_me:$LINENO: result: builtin version" >&5
3612 echo "${ECHO_T}builtin version" >&6; }
3614 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3616 { (exit 1); exit 1; }; }
3620 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3621 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3623 # Check whether --with-libjpeg was given.
3624 if test "${with_libjpeg+set}" = set; then
3625 withval=$with_libjpeg;
3626 if test "$withval" = yes; then
3627 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3628 elif test "$withval" = no; then
3629 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3630 elif test "$withval" = sys; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3632 elif test "$withval" = builtin; then
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3642 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3647 eval "$wx_cv_use_libjpeg"
3649 if test "$wxUSE_LIBJPEG" = yes; then
3650 { echo "$as_me:$LINENO: result
: yes" >&5
3651 echo "${ECHO_T}yes" >&6; }
3652 elif test "$wxUSE_LIBJPEG" = no; then
3653 { echo "$as_me:$LINENO: result
: no
" >&5
3654 echo "${ECHO_T}no
" >&6; }
3655 elif test "$wxUSE_LIBJPEG" = sys; then
3656 { echo "$as_me:$LINENO: result
: system version
" >&5
3657 echo "${ECHO_T}system version
" >&6; }
3658 elif test "$wxUSE_LIBJPEG" = builtin; then
3659 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3660 echo "${ECHO_T}builtin version
" >&6; }
3662 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3663 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3664 { (exit 1); exit 1; }; }
3668 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3669 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3671 # Check whether --with-libtiff was given.
3672 if test "${with_libtiff+set}" = set; then
3673 withval=$with_libtiff;
3674 if test "$withval" = yes; then
3675 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3676 elif test "$withval" = no; then
3677 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3678 elif test "$withval" = sys; then
3679 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3680 elif test "$withval" = builtin; then
3681 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3683 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3684 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3685 { (exit 1); exit 1; }; }
3690 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3695 eval "$wx_cv_use_libtiff"
3697 if test "$wxUSE_LIBTIFF" = yes; then
3698 { echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6; }
3700 elif test "$wxUSE_LIBTIFF" = no
; then
3701 { echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6; }
3703 elif test "$wxUSE_LIBTIFF" = sys
; then
3704 { echo "$as_me:$LINENO: result: system version" >&5
3705 echo "${ECHO_T}system version" >&6; }
3706 elif test "$wxUSE_LIBTIFF" = builtin; then
3707 { echo "$as_me:$LINENO: result: builtin version" >&5
3708 echo "${ECHO_T}builtin version" >&6; }
3710 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3711 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3712 { (exit 1); exit 1; }; }
3716 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3717 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3719 # Check whether --with-libxpm was given.
3720 if test "${with_libxpm+set}" = set; then
3721 withval
=$with_libxpm;
3722 if test "$withval" = yes; then
3723 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3724 elif test "$withval" = no
; then
3725 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3726 elif test "$withval" = sys
; then
3727 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3728 elif test "$withval" = builtin; then
3729 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3738 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3743 eval "$wx_cv_use_libxpm"
3745 if test "$wxUSE_LIBXPM" = yes; then
3746 { echo "$as_me:$LINENO: result: yes" >&5
3747 echo "${ECHO_T}yes" >&6; }
3748 elif test "$wxUSE_LIBXPM" = no; then
3749 { echo "$as_me:$LINENO: result: no" >&5
3750 echo "${ECHO_T}no" >&6; }
3751 elif test "$wxUSE_LIBXPM" = sys; then
3752 { echo "$as_me:$LINENO: result: system version" >&5
3753 echo "${ECHO_T}system version" >&6; }
3754 elif test "$wxUSE_LIBXPM" = builtin; then
3755 { echo "$as_me:$LINENO: result: builtin version" >&5
3756 echo "${ECHO_T}builtin version" >&6; }
3758 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3759 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3760 { (exit 1); exit 1; }; }
3765 defaultval=$wxUSE_ALL_FEATURES
3766 if test -z "$defaultval"; then
3767 if test x"$withstring" = xwithout; then
3773 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3774 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3776 # Check whether --with-libiconv was given.
3777 if test "${with_libiconv+set}" = set; then
3778 withval=$with_libiconv;
3779 if test "$withval" = yes; then
3780 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3782 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3787 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3792 eval "$wx_cv_use_libiconv"
3794 if test x"$withstring" = xwithout; then
3795 if test $wxUSE_LIBICONV = yes; then
3801 result=$wxUSE_LIBICONV
3804 { echo "$as_me:$LINENO: result
: $result" >&5
3805 echo "${ECHO_T}$result" >&6; }
3809 defaultval=$wxUSE_ALL_FEATURES
3810 if test -z "$defaultval"; then
3811 if test x"$withstring" = xwithout; then
3817 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3818 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3820 # Check whether --with-libmspack was given.
3821 if test "${with_libmspack+set}" = set; then
3822 withval=$with_libmspack;
3823 if test "$withval" = yes; then
3824 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3826 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3831 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3836 eval "$wx_cv_use_libmspack"
3838 if test x
"$withstring" = xwithout
; then
3839 if test $wxUSE_LIBMSPACK = yes; then
3845 result
=$wxUSE_LIBMSPACK
3848 { echo "$as_me:$LINENO: result: $result" >&5
3849 echo "${ECHO_T}$result" >&6; }
3853 defaultval
=$wxUSE_ALL_FEATURES
3854 if test -z "$defaultval"; then
3855 if test x
"$withstring" = xwithout
; then
3861 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3862 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3864 # Check whether --with-gtkprint was given.
3865 if test "${with_gtkprint+set}" = set; then
3866 withval
=$with_gtkprint;
3867 if test "$withval" = yes; then
3868 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3870 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3875 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3880 eval "$wx_cv_use_gtkprint"
3882 if test x"$withstring" = xwithout; then
3883 if test $wxUSE_GTKPRINT = yes; then
3889 result=$wxUSE_GTKPRINT
3892 { echo "$as_me:$LINENO: result: $result" >&5
3893 echo "${ECHO_T}$result" >&6; }
3897 defaultval=$wxUSE_ALL_FEATURES
3898 if test -z "$defaultval"; then
3899 if test x"$withstring" = xwithout; then
3905 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3906 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3908 # Check whether --with-gnomeprint was given.
3909 if test "${with_gnomeprint+set}" = set; then
3910 withval=$with_gnomeprint;
3911 if test "$withval" = yes; then
3912 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3914 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3919 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3924 eval "$wx_cv_use_gnomeprint"
3926 if test x"$withstring" = xwithout; then
3927 if test $wxUSE_LIBGNOMEPRINT = yes; then
3933 result=$wxUSE_LIBGNOMEPRINT
3936 { echo "$as_me:$LINENO: result
: $result" >&5
3937 echo "${ECHO_T}$result" >&6; }
3941 defaultval=$wxUSE_ALL_FEATURES
3942 if test -z "$defaultval"; then
3943 if test x"$withstring" = xwithout; then
3949 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3950 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3952 # Check whether --with-gnomevfs was given.
3953 if test "${with_gnomevfs+set}" = set; then
3954 withval=$with_gnomevfs;
3955 if test "$withval" = yes; then
3956 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3958 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3963 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3968 eval "$wx_cv_use_gnomevfs"
3970 if test x
"$withstring" = xwithout
; then
3971 if test $wxUSE_LIBGNOMEVFS = yes; then
3977 result
=$wxUSE_LIBGNOMEVFS
3980 { echo "$as_me:$LINENO: result: $result" >&5
3981 echo "${ECHO_T}$result" >&6; }
3985 defaultval
=$wxUSE_ALL_FEATURES
3986 if test -z "$defaultval"; then
3987 if test x
"$withstring" = xwithout
; then
3993 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3994 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3996 # Check whether --with-hildon was given.
3997 if test "${with_hildon+set}" = set; then
3998 withval
=$with_hildon;
3999 if test "$withval" = yes; then
4000 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4002 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4007 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4012 eval "$wx_cv_use_hildon"
4014 if test x"$withstring" = xwithout; then
4015 if test $wxUSE_LIBHILDON = yes; then
4021 result=$wxUSE_LIBHILDON
4024 { echo "$as_me:$LINENO: result: $result" >&5
4025 echo "${ECHO_T}$result" >&6; }
4029 defaultval=$wxUSE_ALL_FEATURES
4030 if test -z "$defaultval"; then
4031 if test x"$withstring" = xwithout; then
4037 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4038 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4040 # Check whether --with-opengl was given.
4041 if test "${with_opengl+set}" = set; then
4042 withval=$with_opengl;
4043 if test "$withval" = yes; then
4044 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4046 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4051 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4056 eval "$wx_cv_use_opengl"
4058 if test x"$withstring" = xwithout; then
4059 if test $wxUSE_OPENGL = yes; then
4065 result=$wxUSE_OPENGL
4068 { echo "$as_me:$LINENO: result
: $result" >&5
4069 echo "${ECHO_T}$result" >&6; }
4076 defaultval=$wxUSE_ALL_FEATURES
4077 if test -z "$defaultval"; then
4078 if test x"$withstring" = xwithout; then
4084 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4085 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4087 # Check whether --with-dmalloc was given.
4088 if test "${with_dmalloc+set}" = set; then
4089 withval=$with_dmalloc;
4090 if test "$withval" = yes; then
4091 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4093 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4098 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4103 eval "$wx_cv_use_dmalloc"
4105 if test x
"$withstring" = xwithout
; then
4106 if test $wxUSE_DMALLOC = yes; then
4112 result
=$wxUSE_DMALLOC
4115 { echo "$as_me:$LINENO: result: $result" >&5
4116 echo "${ECHO_T}$result" >&6; }
4120 defaultval
=$wxUSE_ALL_FEATURES
4121 if test -z "$defaultval"; then
4122 if test x
"$withstring" = xwithout
; then
4128 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4129 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4131 # Check whether --with-sdl was given.
4132 if test "${with_sdl+set}" = set; then
4134 if test "$withval" = yes; then
4135 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4137 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4142 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4147 eval "$wx_cv_use_sdl"
4149 if test x"$withstring" = xwithout; then
4150 if test $wxUSE_LIBSDL = yes; then
4156 result=$wxUSE_LIBSDL
4159 { echo "$as_me:$LINENO: result: $result" >&5
4160 echo "${ECHO_T}$result" >&6; }
4163 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4164 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4166 # Check whether --with-regex was given.
4167 if test "${with_regex+set}" = set; then
4168 withval=$with_regex;
4169 if test "$withval" = yes; then
4170 wx_cv_use_regex='wxUSE_REGEX
=yes'
4171 elif test "$withval" = no; then
4172 wx_cv_use_regex='wxUSE_REGEX
=no
'
4173 elif test "$withval" = sys; then
4174 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4175 elif test "$withval" = builtin; then
4176 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4178 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4179 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4180 { (exit 1); exit 1; }; }
4185 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4190 eval "$wx_cv_use_regex"
4192 if test "$wxUSE_REGEX" = yes; then
4193 { echo "$as_me:$LINENO: result
: yes" >&5
4194 echo "${ECHO_T}yes" >&6; }
4195 elif test "$wxUSE_REGEX" = no; then
4196 { echo "$as_me:$LINENO: result
: no
" >&5
4197 echo "${ECHO_T}no
" >&6; }
4198 elif test "$wxUSE_REGEX" = sys; then
4199 { echo "$as_me:$LINENO: result
: system version
" >&5
4200 echo "${ECHO_T}system version
" >&6; }
4201 elif test "$wxUSE_REGEX" = builtin; then
4202 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4203 echo "${ECHO_T}builtin version
" >&6; }
4205 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4206 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4207 { (exit 1); exit 1; }; }
4211 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4212 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4214 # Check whether --with-zlib was given.
4215 if test "${with_zlib+set}" = set; then
4217 if test "$withval" = yes; then
4218 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4219 elif test "$withval" = no; then
4220 wx_cv_use_zlib='wxUSE_ZLIB=no'
4221 elif test "$withval" = sys; then
4222 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4223 elif test "$withval" = builtin; then
4224 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4226 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4227 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4228 { (exit 1); exit 1; }; }
4233 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4238 eval "$wx_cv_use_zlib"
4240 if test "$wxUSE_ZLIB" = yes; then
4241 { echo "$as_me:$LINENO: result: yes" >&5
4242 echo "${ECHO_T}yes" >&6; }
4243 elif test "$wxUSE_ZLIB" = no
; then
4244 { echo "$as_me:$LINENO: result: no" >&5
4245 echo "${ECHO_T}no" >&6; }
4246 elif test "$wxUSE_ZLIB" = sys
; then
4247 { echo "$as_me:$LINENO: result: system version" >&5
4248 echo "${ECHO_T}system version" >&6; }
4249 elif test "$wxUSE_ZLIB" = builtin; then
4250 { echo "$as_me:$LINENO: result: builtin version" >&5
4251 echo "${ECHO_T}builtin version" >&6; }
4253 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4254 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4255 { (exit 1); exit 1; }; }
4259 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4260 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4262 # Check whether --with-expat was given.
4263 if test "${with_expat+set}" = set; then
4264 withval
=$with_expat;
4265 if test "$withval" = yes; then
4266 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4267 elif test "$withval" = no
; then
4268 wx_cv_use_expat
='wxUSE_EXPAT=no'
4269 elif test "$withval" = sys
; then
4270 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4271 elif test "$withval" = builtin; then
4272 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4274 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4275 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4276 { (exit 1); exit 1; }; }
4281 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4286 eval "$wx_cv_use_expat"
4288 if test "$wxUSE_EXPAT" = yes; then
4289 { echo "$as_me:$LINENO: result: yes" >&5
4290 echo "${ECHO_T}yes" >&6; }
4291 elif test "$wxUSE_EXPAT" = no; then
4292 { echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6; }
4294 elif test "$wxUSE_EXPAT" = sys; then
4295 { echo "$as_me:$LINENO: result: system version" >&5
4296 echo "${ECHO_T}system version" >&6; }
4297 elif test "$wxUSE_EXPAT" = builtin; then
4298 { echo "$as_me:$LINENO: result: builtin version" >&5
4299 echo "${ECHO_T}builtin version" >&6; }
4301 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4302 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4303 { (exit 1); exit 1; }; }
4307 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4308 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4310 # Check whether --with-macosx-sdk was given.
4311 if test "${with_macosx_sdk+set}" = set; then
4312 withval=$with_macosx_sdk;
4313 wxUSE_MACOSX_SDK=$withval
4314 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4318 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4319 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4321 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4322 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4324 # Check whether --with-macosx-version-min was given.
4325 if test "${with_macosx_version_min+set}" = set; then
4326 withval=$with_macosx_version_min;
4327 wxUSE_MACOSX_VERSION_MIN=$withval
4328 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4332 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4333 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4336 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4337 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4338 # Check whether --enable-debug was given.
4339 if test "${enable_debug+set}" = set; then
4340 enableval=$enable_debug;
4341 if test "$enableval" = yes; then
4343 elif test "$enableval" = no; then
4345 elif test "$enableval" = max; then
4347 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4349 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4350 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4351 { (exit 1); exit 1; }; }
4360 case "$wxUSE_DEBUG" in
4362 DEFAULT_wxUSE_DEBUG_FLAG=yes
4363 DEFAULT_wxUSE_DEBUG_INFO=yes
4365 DEFAULT_wxUSE_OPTIMISE=no
4369 DEFAULT_wxUSE_DEBUG_FLAG=no
4370 DEFAULT_wxUSE_DEBUG_INFO=no
4374 DEFAULT_wxUSE_DEBUG_FLAG=yes
4375 DEFAULT_wxUSE_DEBUG_INFO=no
4380 enablestring=disable
4382 if test -z "$defaultval"; then
4383 if test x"$enablestring" = xdisable; then
4390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4391 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4392 # Check whether --enable-debug_flag was given.
4393 if test "${enable_debug_flag+set}" = set; then
4394 enableval=$enable_debug_flag;
4395 if test "$enableval" = yes; then
4396 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4398 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4403 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4408 eval "$wx_cv_use_debug_flag"
4410 if test x"$enablestring" = xdisable; then
4411 if test $wxUSE_DEBUG_FLAG = no; then
4417 result=$wxUSE_DEBUG_FLAG
4420 { echo "$as_me:$LINENO: result
: $result" >&5
4421 echo "${ECHO_T}$result" >&6; }
4426 if test -z "$defaultval"; then
4427 if test x"$enablestring" = xdisable; then
4434 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4435 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4436 # Check whether --enable-debug_info was given.
4437 if test "${enable_debug_info+set}" = set; then
4438 enableval=$enable_debug_info;
4439 if test "$enableval" = yes; then
4440 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4442 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4447 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4452 eval "$wx_cv_use_debug_info"
4454 if test x
"$enablestring" = xdisable
; then
4455 if test $wxUSE_DEBUG_INFO = no
; then
4461 result
=$wxUSE_DEBUG_INFO
4464 { echo "$as_me:$LINENO: result: $result" >&5
4465 echo "${ECHO_T}$result" >&6; }
4472 if test -z "$defaultval"; then
4473 if test x
"$enablestring" = xdisable
; then
4480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4482 # Check whether --enable-debug_gdb was given.
4483 if test "${enable_debug_gdb+set}" = set; then
4484 enableval
=$enable_debug_gdb;
4485 if test "$enableval" = yes; then
4486 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4488 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4493 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4498 eval "$wx_cv_use_debug_gdb"
4500 if test x"$enablestring" = xdisable; then
4501 if test $wxUSE_DEBUG_GDB = no; then
4507 result=$wxUSE_DEBUG_GDB
4510 { echo "$as_me:$LINENO: result: $result" >&5
4511 echo "${ECHO_T}$result" >&6; }
4516 if test -z "$defaultval"; then
4517 if test x"$enablestring" = xdisable; then
4524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4526 # Check whether --enable-debug_cntxt was given.
4527 if test "${enable_debug_cntxt+set}" = set; then
4528 enableval=$enable_debug_cntxt;
4529 if test "$enableval" = yes; then
4530 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4532 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4537 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4542 eval "$wx_cv_use_debug_cntxt"
4544 if test x"$enablestring" = xdisable; then
4545 if test $wxUSE_DEBUG_CONTEXT = no; then
4551 result=$wxUSE_DEBUG_CONTEXT
4554 { echo "$as_me:$LINENO: result
: $result" >&5
4555 echo "${ECHO_T}$result" >&6; }
4560 if test -z "$defaultval"; then
4561 if test x"$enablestring" = xdisable; then
4568 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4569 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4570 # Check whether --enable-mem_tracing was given.
4571 if test "${enable_mem_tracing+set}" = set; then
4572 enableval=$enable_mem_tracing;
4573 if test "$enableval" = yes; then
4574 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4576 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4581 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4586 eval "$wx_cv_use_mem_tracing"
4588 if test x
"$enablestring" = xdisable
; then
4589 if test $wxUSE_MEM_TRACING = no
; then
4595 result
=$wxUSE_MEM_TRACING
4598 { echo "$as_me:$LINENO: result: $result" >&5
4599 echo "${ECHO_T}$result" >&6; }
4604 enablestring
=disable
4606 if test -z "$defaultval"; then
4607 if test x
"$enablestring" = xdisable
; then
4614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4616 # Check whether --enable-shared was given.
4617 if test "${enable_shared+set}" = set; then
4618 enableval
=$enable_shared;
4619 if test "$enableval" = yes; then
4620 wx_cv_use_shared
='wxUSE_SHARED=yes'
4622 wx_cv_use_shared
='wxUSE_SHARED=no'
4627 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4632 eval "$wx_cv_use_shared"
4634 if test x"$enablestring" = xdisable; then
4635 if test $wxUSE_SHARED = no; then
4641 result=$wxUSE_SHARED
4644 { echo "$as_me:$LINENO: result: $result" >&5
4645 echo "${ECHO_T}$result" >&6; }
4650 if test -z "$defaultval"; then
4651 if test x"$enablestring" = xdisable; then
4658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4660 # Check whether --enable-stl was given.
4661 if test "${enable_stl+set}" = set; then
4662 enableval=$enable_stl;
4663 if test "$enableval" = yes; then
4664 wx_cv_use_stl='wxUSE_STL
=yes'
4666 wx_cv_use_stl='wxUSE_STL
=no
'
4671 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4676 eval "$wx_cv_use_stl"
4678 if test x"$enablestring" = xdisable; then
4679 if test $wxUSE_STL = no; then
4688 { echo "$as_me:$LINENO: result
: $result" >&5
4689 echo "${ECHO_T}$result" >&6; }
4694 if test -z "$defaultval"; then
4695 if test x"$enablestring" = xdisable; then
4702 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4703 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4704 # Check whether --enable-std_iostreams was given.
4705 if test "${enable_std_iostreams+set}" = set; then
4706 enableval=$enable_std_iostreams;
4707 if test "$enableval" = yes; then
4708 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4710 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4715 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4720 eval "$wx_cv_use_std_iostreams"
4722 if test x
"$enablestring" = xdisable
; then
4723 if test $wxUSE_STD_IOSTREAM = no
; then
4729 result
=$wxUSE_STD_IOSTREAM
4732 { echo "$as_me:$LINENO: result: $result" >&5
4733 echo "${ECHO_T}$result" >&6; }
4738 if test -z "$defaultval"; then
4739 if test x
"$enablestring" = xdisable
; then
4746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4747 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4748 # Check whether --enable-std_string was given.
4749 if test "${enable_std_string+set}" = set; then
4750 enableval
=$enable_std_string;
4751 if test "$enableval" = yes; then
4752 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4754 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4759 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4764 eval "$wx_cv_use_std_string"
4766 if test x"$enablestring" = xdisable; then
4767 if test $wxUSE_STD_STRING = no; then
4773 result=$wxUSE_STD_STRING
4776 { echo "$as_me:$LINENO: result: $result" >&5
4777 echo "${ECHO_T}$result" >&6; }
4780 enablestring=disable
4782 if test -z "$defaultval"; then
4783 if test x"$enablestring" = xdisable; then
4790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4791 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4792 # Check whether --enable-unicode was given.
4793 if test "${enable_unicode+set}" = set; then
4794 enableval=$enable_unicode;
4795 if test "$enableval" = yes; then
4796 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4798 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4803 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4808 eval "$wx_cv_use_unicode"
4810 if test x"$enablestring" = xdisable; then
4811 if test $wxUSE_UNICODE = no; then
4817 result=$wxUSE_UNICODE
4820 { echo "$as_me:$LINENO: result
: $result" >&5
4821 echo "${ECHO_T}$result" >&6; }
4826 if test -z "$defaultval"; then
4827 if test x"$enablestring" = xdisable; then
4834 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4835 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4836 # Check whether --enable-mslu was given.
4837 if test "${enable_mslu+set}" = set; then
4838 enableval=$enable_mslu;
4839 if test "$enableval" = yes; then
4840 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4842 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4847 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4852 eval "$wx_cv_use_mslu"
4854 if test x
"$enablestring" = xdisable
; then
4855 if test $wxUSE_UNICODE_MSLU = no
; then
4861 result
=$wxUSE_UNICODE_MSLU
4864 { echo "$as_me:$LINENO: result: $result" >&5
4865 echo "${ECHO_T}$result" >&6; }
4869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4870 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4871 # Check whether --enable-utf8 was given.
4872 if test "${enable_utf8+set}" = set; then
4873 enableval
=$enable_utf8;
4874 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4878 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4883 eval "$wx_cv_use_utf8"
4885 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4886 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4891 if test -z "$defaultval"; then
4892 if test x
"$enablestring" = xdisable
; then
4899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4901 # Check whether --enable-utf8only was given.
4902 if test "${enable_utf8only+set}" = set; then
4903 enableval
=$enable_utf8only;
4904 if test "$enableval" = yes; then
4905 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4907 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4912 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4917 eval "$wx_cv_use_utf8only"
4919 if test x"$enablestring" = xdisable; then
4920 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4926 result=$wxUSE_UNICODE_UTF8_LOCALE
4929 { echo "$as_me:$LINENO: result: $result" >&5
4930 echo "${ECHO_T}$result" >&6; }
4935 if test -z "$defaultval"; then
4936 if test x"$enablestring" = xdisable; then
4943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4945 # Check whether --enable-extended_rtti was given.
4946 if test "${enable_extended_rtti+set}" = set; then
4947 enableval=$enable_extended_rtti;
4948 if test "$enableval" = yes; then
4949 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
4951 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
4956 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4961 eval "$wx_cv_use_extended_rtti"
4963 if test x"$enablestring" = xdisable; then
4964 if test $wxUSE_EXTENDED_RTTI = no; then
4970 result=$wxUSE_EXTENDED_RTTI
4973 { echo "$as_me:$LINENO: result
: $result" >&5
4974 echo "${ECHO_T}$result" >&6; }
4976 if test "$USE_OS2" = 1; then
4977 DEFAULT_wxUSE_OMF=no
4981 if test -z "$defaultval"; then
4982 if test x"$enablestring" = xdisable; then
4989 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
4990 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
4991 # Check whether --enable-omf was given.
4992 if test "${enable_omf+set}" = set; then
4993 enableval=$enable_omf;
4994 if test "$enableval" = yes; then
4995 wx_cv_use_omf='wxUSE_OMF=yes'
4997 wx_cv_use_omf='wxUSE_OMF=no'
5002 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5007 eval "$wx_cv_use_omf"
5009 if test x
"$enablestring" = xdisable
; then
5010 if test $wxUSE_OMF = no
; then
5019 { echo "$as_me:$LINENO: result: $result" >&5
5020 echo "${ECHO_T}$result" >&6; }
5025 enablestring
=disable
5027 if test -z "$defaultval"; then
5028 if test x
"$enablestring" = xdisable
; then
5035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5036 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5037 # Check whether --enable-optimise was given.
5038 if test "${enable_optimise+set}" = set; then
5039 enableval
=$enable_optimise;
5040 if test "$enableval" = yes; then
5041 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5043 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5048 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5053 eval "$wx_cv_use_optimise"
5055 if test x"$enablestring" = xdisable; then
5056 if test $wxUSE_OPTIMISE = no; then
5062 result=$wxUSE_OPTIMISE
5065 { echo "$as_me:$LINENO: result: $result" >&5
5066 echo "${ECHO_T}$result" >&6; }
5072 if test -z "$defaultval"; then
5073 if test x"$enablestring" = xdisable; then
5080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5082 # Check whether --enable-profile was given.
5083 if test "${enable_profile+set}" = set; then
5084 enableval=$enable_profile;
5085 if test "$enableval" = yes; then
5086 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5088 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5093 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5098 eval "$wx_cv_use_profile"
5100 if test x"$enablestring" = xdisable; then
5101 if test $wxUSE_PROFILE = no; then
5107 result=$wxUSE_PROFILE
5110 { echo "$as_me:$LINENO: result
: $result" >&5
5111 echo "${ECHO_T}$result" >&6; }
5116 if test -z "$defaultval"; then
5117 if test x"$enablestring" = xdisable; then
5124 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5125 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5126 # Check whether --enable-no_rtti was given.
5127 if test "${enable_no_rtti+set}" = set; then
5128 enableval=$enable_no_rtti;
5129 if test "$enableval" = yes; then
5130 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5132 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5137 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5142 eval "$wx_cv_use_no_rtti"
5144 if test x
"$enablestring" = xdisable
; then
5145 if test $wxUSE_NO_RTTI = no
; then
5151 result
=$wxUSE_NO_RTTI
5154 { echo "$as_me:$LINENO: result: $result" >&5
5155 echo "${ECHO_T}$result" >&6; }
5160 if test -z "$defaultval"; then
5161 if test x
"$enablestring" = xdisable
; then
5168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5169 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5170 # Check whether --enable-no_exceptions was given.
5171 if test "${enable_no_exceptions+set}" = set; then
5172 enableval
=$enable_no_exceptions;
5173 if test "$enableval" = yes; then
5174 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5176 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5181 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5186 eval "$wx_cv_use_no_exceptions"
5188 if test x"$enablestring" = xdisable; then
5189 if test $wxUSE_NO_EXCEPTIONS = no; then
5195 result=$wxUSE_NO_EXCEPTIONS
5198 { echo "$as_me:$LINENO: result: $result" >&5
5199 echo "${ECHO_T}$result" >&6; }
5204 if test -z "$defaultval"; then
5205 if test x"$enablestring" = xdisable; then
5212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5214 # Check whether --enable-permissive was given.
5215 if test "${enable_permissive+set}" = set; then
5216 enableval=$enable_permissive;
5217 if test "$enableval" = yes; then
5218 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5220 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5225 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5230 eval "$wx_cv_use_permissive"
5232 if test x"$enablestring" = xdisable; then
5233 if test $wxUSE_PERMISSIVE = no; then
5239 result=$wxUSE_PERMISSIVE
5242 { echo "$as_me:$LINENO: result
: $result" >&5
5243 echo "${ECHO_T}$result" >&6; }
5248 if test -z "$defaultval"; then
5249 if test x"$enablestring" = xdisable; then
5256 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5257 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5258 # Check whether --enable-no_deps was given.
5259 if test "${enable_no_deps+set}" = set; then
5260 enableval=$enable_no_deps;
5261 if test "$enableval" = yes; then
5262 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5264 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5269 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5274 eval "$wx_cv_use_no_deps"
5276 if test x
"$enablestring" = xdisable
; then
5277 if test $wxUSE_NO_DEPS = no
; then
5283 result
=$wxUSE_NO_DEPS
5286 { echo "$as_me:$LINENO: result: $result" >&5
5287 echo "${ECHO_T}$result" >&6; }
5290 enablestring
=disable
5292 if test -z "$defaultval"; then
5293 if test x
"$enablestring" = xdisable
; then
5300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5301 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5302 # Check whether --enable-vararg_macros was given.
5303 if test "${enable_vararg_macros+set}" = set; then
5304 enableval
=$enable_vararg_macros;
5305 if test "$enableval" = yes; then
5306 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5308 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5313 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5318 eval "$wx_cv_use_vararg_macros"
5320 if test x"$enablestring" = xdisable; then
5321 if test $wxUSE_VARARG_MACROS = no; then
5327 result=$wxUSE_VARARG_MACROS
5330 { echo "$as_me:$LINENO: result: $result" >&5
5331 echo "${ECHO_T}$result" >&6; }
5335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5337 # Check whether --enable-universal_binary was given.
5338 if test "${enable_universal_binary+set}" = set; then
5339 enableval=$enable_universal_binary;
5340 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5344 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5349 eval "$wx_cv_use_universal_binary"
5351 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5352 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5358 if test -z "$defaultval"; then
5359 if test x"$enablestring" = xdisable; then
5366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5367 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5368 # Check whether --enable-compat26 was given.
5369 if test "${enable_compat26+set}" = set; then
5370 enableval=$enable_compat26;
5371 if test "$enableval" = yes; then
5372 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5374 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5379 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5384 eval "$wx_cv_use_compat26"
5386 if test x"$enablestring" = xdisable; then
5387 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5393 result=$WXWIN_COMPATIBILITY_2_6
5396 { echo "$as_me:$LINENO: result
: $result" >&5
5397 echo "${ECHO_T}$result" >&6; }
5400 enablestring=disable
5402 if test -z "$defaultval"; then
5403 if test x"$enablestring" = xdisable; then
5410 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5411 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5412 # Check whether --enable-compat28 was given.
5413 if test "${enable_compat28+set}" = set; then
5414 enableval=$enable_compat28;
5415 if test "$enableval" = yes; then
5416 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5418 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5423 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5428 eval "$wx_cv_use_compat28"
5430 if test x
"$enablestring" = xdisable
; then
5431 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5437 result
=$WXWIN_COMPATIBILITY_2_8
5440 { echo "$as_me:$LINENO: result: $result" >&5
5441 echo "${ECHO_T}$result" >&6; }
5445 enablestring
=disable
5447 if test -z "$defaultval"; then
5448 if test x
"$enablestring" = xdisable
; then
5455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5456 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5457 # Check whether --enable-rpath was given.
5458 if test "${enable_rpath+set}" = set; then
5459 enableval
=$enable_rpath;
5460 if test "$enableval" = yes; then
5461 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5463 wx_cv_use_rpath
='wxUSE_RPATH=no'
5468 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5473 eval "$wx_cv_use_rpath"
5475 if test x"$enablestring" = xdisable; then
5476 if test $wxUSE_RPATH = no; then
5485 { echo "$as_me:$LINENO: result: $result" >&5
5486 echo "${ECHO_T}$result" >&6; }
5492 if test -z "$defaultval"; then
5493 if test x"$enablestring" = xdisable; then
5500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5501 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5502 # Check whether --enable-objc_uniquifying was given.
5503 if test "${enable_objc_uniquifying+set}" = set; then
5504 enableval=$enable_objc_uniquifying;
5505 if test "$enableval" = yes; then
5506 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5508 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5513 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5518 eval "$wx_cv_use_objc_uniquifying"
5520 if test x"$enablestring" = xdisable; then
5521 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5527 result=$wxUSE_OBJC_UNIQUIFYING
5530 { echo "$as_me:$LINENO: result
: $result" >&5
5531 echo "${ECHO_T}$result" >&6; }
5535 enablestring=disable
5537 if test -z "$defaultval"; then
5538 if test x"$enablestring" = xdisable; then
5545 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5546 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5547 # Check whether --enable-visibility was given.
5548 if test "${enable_visibility+set}" = set; then
5549 enableval=$enable_visibility;
5550 if test "$enableval" = yes; then
5551 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5553 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5558 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5563 eval "$wx_cv_use_visibility"
5565 if test x
"$enablestring" = xdisable
; then
5566 if test $wxUSE_VISIBILITY = no
; then
5572 result
=$wxUSE_VISIBILITY
5575 { echo "$as_me:$LINENO: result: $result" >&5
5576 echo "${ECHO_T}$result" >&6; }
5579 enablestring
=disable
5581 if test -z "$defaultval"; then
5582 if test x
"$enablestring" = xdisable
; then
5589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5590 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5591 # Check whether --enable-tls was given.
5592 if test "${enable_tls+set}" = set; then
5593 enableval
=$enable_tls;
5594 if test "$enableval" = yes; then
5595 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5597 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5602 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5607 eval "$wx_cv_use_tls"
5609 if test x"$enablestring" = xdisable; then
5610 if test $wxUSE_COMPILER_TLS = no; then
5616 result=$wxUSE_COMPILER_TLS
5619 { echo "$as_me:$LINENO: result: $result" >&5
5620 echo "${ECHO_T}$result" >&6; }
5626 defaultval=$wxUSE_ALL_FEATURES
5627 if test -z "$defaultval"; then
5628 if test x"$enablestring" = xdisable; then
5635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5636 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5637 # Check whether --enable-intl was given.
5638 if test "${enable_intl+set}" = set; then
5639 enableval=$enable_intl;
5640 if test "$enableval" = yes; then
5641 wx_cv_use_intl='wxUSE_INTL
=yes'
5643 wx_cv_use_intl='wxUSE_INTL
=no
'
5648 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5653 eval "$wx_cv_use_intl"
5655 if test x"$enablestring" = xdisable; then
5656 if test $wxUSE_INTL = no; then
5665 { echo "$as_me:$LINENO: result
: $result" >&5
5666 echo "${ECHO_T}$result" >&6; }
5670 defaultval=$wxUSE_ALL_FEATURES
5671 if test -z "$defaultval"; then
5672 if test x"$enablestring" = xdisable; then
5679 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5680 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5681 # Check whether --enable-xlocale was given.
5682 if test "${enable_xlocale+set}" = set; then
5683 enableval=$enable_xlocale;
5684 if test "$enableval" = yes; then
5685 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5687 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5692 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5697 eval "$wx_cv_use_xlocale"
5699 if test x
"$enablestring" = xdisable
; then
5700 if test $wxUSE_XLOCALE = no
; then
5706 result
=$wxUSE_XLOCALE
5709 { echo "$as_me:$LINENO: result: $result" >&5
5710 echo "${ECHO_T}$result" >&6; }
5714 defaultval
=$wxUSE_ALL_FEATURES
5715 if test -z "$defaultval"; then
5716 if test x
"$enablestring" = xdisable
; then
5723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5724 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5725 # Check whether --enable-config was given.
5726 if test "${enable_config+set}" = set; then
5727 enableval
=$enable_config;
5728 if test "$enableval" = yes; then
5729 wx_cv_use_config
='wxUSE_CONFIG=yes'
5731 wx_cv_use_config
='wxUSE_CONFIG=no'
5736 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5741 eval "$wx_cv_use_config"
5743 if test x"$enablestring" = xdisable; then
5744 if test $wxUSE_CONFIG = no; then
5750 result=$wxUSE_CONFIG
5753 { echo "$as_me:$LINENO: result: $result" >&5
5754 echo "${ECHO_T}$result" >&6; }
5759 defaultval=$wxUSE_ALL_FEATURES
5760 if test -z "$defaultval"; then
5761 if test x"$enablestring" = xdisable; then
5768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5769 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5770 # Check whether --enable-protocols was given.
5771 if test "${enable_protocols+set}" = set; then
5772 enableval=$enable_protocols;
5773 if test "$enableval" = yes; then
5774 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5776 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5781 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5786 eval "$wx_cv_use_protocols"
5788 if test x"$enablestring" = xdisable; then
5789 if test $wxUSE_PROTOCOL = no; then
5795 result=$wxUSE_PROTOCOL
5798 { echo "$as_me:$LINENO: result
: $result" >&5
5799 echo "${ECHO_T}$result" >&6; }
5803 defaultval=$wxUSE_ALL_FEATURES
5804 if test -z "$defaultval"; then
5805 if test x"$enablestring" = xdisable; then
5812 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5813 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5814 # Check whether --enable-ftp was given.
5815 if test "${enable_ftp+set}" = set; then
5816 enableval=$enable_ftp;
5817 if test "$enableval" = yes; then
5818 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5820 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5825 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5830 eval "$wx_cv_use_ftp"
5832 if test x
"$enablestring" = xdisable
; then
5833 if test $wxUSE_PROTOCOL_FTP = no
; then
5839 result
=$wxUSE_PROTOCOL_FTP
5842 { echo "$as_me:$LINENO: result: $result" >&5
5843 echo "${ECHO_T}$result" >&6; }
5847 defaultval
=$wxUSE_ALL_FEATURES
5848 if test -z "$defaultval"; then
5849 if test x
"$enablestring" = xdisable
; then
5856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5858 # Check whether --enable-http was given.
5859 if test "${enable_http+set}" = set; then
5860 enableval
=$enable_http;
5861 if test "$enableval" = yes; then
5862 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5864 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5869 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5874 eval "$wx_cv_use_http"
5876 if test x"$enablestring" = xdisable; then
5877 if test $wxUSE_PROTOCOL_HTTP = no; then
5883 result=$wxUSE_PROTOCOL_HTTP
5886 { echo "$as_me:$LINENO: result: $result" >&5
5887 echo "${ECHO_T}$result" >&6; }
5891 defaultval=$wxUSE_ALL_FEATURES
5892 if test -z "$defaultval"; then
5893 if test x"$enablestring" = xdisable; then
5900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5902 # Check whether --enable-fileproto was given.
5903 if test "${enable_fileproto+set}" = set; then
5904 enableval=$enable_fileproto;
5905 if test "$enableval" = yes; then
5906 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5908 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5913 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5918 eval "$wx_cv_use_fileproto"
5920 if test x"$enablestring" = xdisable; then
5921 if test $wxUSE_PROTOCOL_FILE = no; then
5927 result=$wxUSE_PROTOCOL_FILE
5930 { echo "$as_me:$LINENO: result
: $result" >&5
5931 echo "${ECHO_T}$result" >&6; }
5935 defaultval=$wxUSE_ALL_FEATURES
5936 if test -z "$defaultval"; then
5937 if test x"$enablestring" = xdisable; then
5944 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5945 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5946 # Check whether --enable-sockets was given.
5947 if test "${enable_sockets+set}" = set; then
5948 enableval=$enable_sockets;
5949 if test "$enableval" = yes; then
5950 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5952 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5957 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5962 eval "$wx_cv_use_sockets"
5964 if test x
"$enablestring" = xdisable
; then
5965 if test $wxUSE_SOCKETS = no
; then
5971 result
=$wxUSE_SOCKETS
5974 { echo "$as_me:$LINENO: result: $result" >&5
5975 echo "${ECHO_T}$result" >&6; }
5979 defaultval
=$wxUSE_ALL_FEATURES
5980 if test -z "$defaultval"; then
5981 if test x
"$enablestring" = xdisable
; then
5988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5989 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5990 # Check whether --enable-ipv6 was given.
5991 if test "${enable_ipv6+set}" = set; then
5992 enableval
=$enable_ipv6;
5993 if test "$enableval" = yes; then
5994 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5996 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6001 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6006 eval "$wx_cv_use_ipv6"
6008 if test x"$enablestring" = xdisable; then
6009 if test $wxUSE_IPV6 = no; then
6018 { echo "$as_me:$LINENO: result: $result" >&5
6019 echo "${ECHO_T}$result" >&6; }
6023 defaultval=$wxUSE_ALL_FEATURES
6024 if test -z "$defaultval"; then
6025 if test x"$enablestring" = xdisable; then
6032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6034 # Check whether --enable-ole was given.
6035 if test "${enable_ole+set}" = set; then
6036 enableval=$enable_ole;
6037 if test "$enableval" = yes; then
6038 wx_cv_use_ole='wxUSE_OLE
=yes'
6040 wx_cv_use_ole='wxUSE_OLE
=no
'
6045 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6050 eval "$wx_cv_use_ole"
6052 if test x"$enablestring" = xdisable; then
6053 if test $wxUSE_OLE = no; then
6062 { echo "$as_me:$LINENO: result
: $result" >&5
6063 echo "${ECHO_T}$result" >&6; }
6067 defaultval=$wxUSE_ALL_FEATURES
6068 if test -z "$defaultval"; then
6069 if test x"$enablestring" = xdisable; then
6076 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6077 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6078 # Check whether --enable-dataobj was given.
6079 if test "${enable_dataobj+set}" = set; then
6080 enableval=$enable_dataobj;
6081 if test "$enableval" = yes; then
6082 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6084 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6089 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6094 eval "$wx_cv_use_dataobj"
6096 if test x
"$enablestring" = xdisable
; then
6097 if test $wxUSE_DATAOBJ = no
; then
6103 result
=$wxUSE_DATAOBJ
6106 { echo "$as_me:$LINENO: result: $result" >&5
6107 echo "${ECHO_T}$result" >&6; }
6112 defaultval
=$wxUSE_ALL_FEATURES
6113 if test -z "$defaultval"; then
6114 if test x
"$enablestring" = xdisable
; then
6121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6122 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6123 # Check whether --enable-ipc was given.
6124 if test "${enable_ipc+set}" = set; then
6125 enableval
=$enable_ipc;
6126 if test "$enableval" = yes; then
6127 wx_cv_use_ipc
='wxUSE_IPC=yes'
6129 wx_cv_use_ipc
='wxUSE_IPC=no'
6134 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6139 eval "$wx_cv_use_ipc"
6141 if test x"$enablestring" = xdisable; then
6142 if test $wxUSE_IPC = no; then
6151 { echo "$as_me:$LINENO: result: $result" >&5
6152 echo "${ECHO_T}$result" >&6; }
6157 defaultval=$wxUSE_ALL_FEATURES
6158 if test -z "$defaultval"; then
6159 if test x"$enablestring" = xdisable; then
6166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6167 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6168 # Check whether --enable-baseevtloop was given.
6169 if test "${enable_baseevtloop+set}" = set; then
6170 enableval=$enable_baseevtloop;
6171 if test "$enableval" = yes; then
6172 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6174 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6179 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6184 eval "$wx_cv_use_baseevtloop"
6186 if test x"$enablestring" = xdisable; then
6187 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6193 result=$wxUSE_CONSOLE_EVENTLOOP
6196 { echo "$as_me:$LINENO: result
: $result" >&5
6197 echo "${ECHO_T}$result" >&6; }
6201 defaultval=$wxUSE_ALL_FEATURES
6202 if test -z "$defaultval"; then
6203 if test x"$enablestring" = xdisable; then
6210 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6211 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6212 # Check whether --enable-epollloop was given.
6213 if test "${enable_epollloop+set}" = set; then
6214 enableval=$enable_epollloop;
6215 if test "$enableval" = yes; then
6216 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6218 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6223 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6228 eval "$wx_cv_use_epollloop"
6230 if test x
"$enablestring" = xdisable
; then
6231 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6237 result
=$wxUSE_EPOLL_DISPATCHER
6240 { echo "$as_me:$LINENO: result: $result" >&5
6241 echo "${ECHO_T}$result" >&6; }
6245 defaultval
=$wxUSE_ALL_FEATURES
6246 if test -z "$defaultval"; then
6247 if test x
"$enablestring" = xdisable
; then
6254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6255 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6256 # Check whether --enable-selectloop was given.
6257 if test "${enable_selectloop+set}" = set; then
6258 enableval
=$enable_selectloop;
6259 if test "$enableval" = yes; then
6260 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6262 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6267 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6272 eval "$wx_cv_use_selectloop"
6274 if test x"$enablestring" = xdisable; then
6275 if test $wxUSE_SELECT_DISPATCHER = no; then
6281 result=$wxUSE_SELECT_DISPATCHER
6284 { echo "$as_me:$LINENO: result: $result" >&5
6285 echo "${ECHO_T}$result" >&6; }
6290 defaultval=$wxUSE_ALL_FEATURES
6291 if test -z "$defaultval"; then
6292 if test x"$enablestring" = xdisable; then
6299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6301 # Check whether --enable-any was given.
6302 if test "${enable_any+set}" = set; then
6303 enableval=$enable_any;
6304 if test "$enableval" = yes; then
6305 wx_cv_use_any='wxUSE_ANY
=yes'
6307 wx_cv_use_any='wxUSE_ANY
=no
'
6312 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6317 eval "$wx_cv_use_any"
6319 if test x"$enablestring" = xdisable; then
6320 if test $wxUSE_ANY = no; then
6329 { echo "$as_me:$LINENO: result
: $result" >&5
6330 echo "${ECHO_T}$result" >&6; }
6334 defaultval=$wxUSE_ALL_FEATURES
6335 if test -z "$defaultval"; then
6336 if test x"$enablestring" = xdisable; then
6343 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6344 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6345 # Check whether --enable-apple_ieee was given.
6346 if test "${enable_apple_ieee+set}" = set; then
6347 enableval=$enable_apple_ieee;
6348 if test "$enableval" = yes; then
6349 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6351 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6356 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6361 eval "$wx_cv_use_apple_ieee"
6363 if test x
"$enablestring" = xdisable
; then
6364 if test $wxUSE_APPLE_IEEE = no
; then
6370 result
=$wxUSE_APPLE_IEEE
6373 { echo "$as_me:$LINENO: result: $result" >&5
6374 echo "${ECHO_T}$result" >&6; }
6378 defaultval
=$wxUSE_ALL_FEATURES
6379 if test -z "$defaultval"; then
6380 if test x
"$enablestring" = xdisable
; then
6387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6388 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6389 # Check whether --enable-arcstream was given.
6390 if test "${enable_arcstream+set}" = set; then
6391 enableval
=$enable_arcstream;
6392 if test "$enableval" = yes; then
6393 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6395 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6400 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6405 eval "$wx_cv_use_arcstream"
6407 if test x"$enablestring" = xdisable; then
6408 if test $wxUSE_ARCHIVE_STREAMS = no; then
6414 result=$wxUSE_ARCHIVE_STREAMS
6417 { echo "$as_me:$LINENO: result: $result" >&5
6418 echo "${ECHO_T}$result" >&6; }
6422 defaultval=$wxUSE_ALL_FEATURES
6423 if test -z "$defaultval"; then
6424 if test x"$enablestring" = xdisable; then
6431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6433 # Check whether --enable-base64 was given.
6434 if test "${enable_base64+set}" = set; then
6435 enableval=$enable_base64;
6436 if test "$enableval" = yes; then
6437 wx_cv_use_base64='wxUSE_BASE64
=yes'
6439 wx_cv_use_base64='wxUSE_BASE64
=no
'
6444 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6449 eval "$wx_cv_use_base64"
6451 if test x"$enablestring" = xdisable; then
6452 if test $wxUSE_BASE64 = no; then
6458 result=$wxUSE_BASE64
6461 { echo "$as_me:$LINENO: result
: $result" >&5
6462 echo "${ECHO_T}$result" >&6; }
6466 defaultval=$wxUSE_ALL_FEATURES
6467 if test -z "$defaultval"; then
6468 if test x"$enablestring" = xdisable; then
6475 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6476 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6477 # Check whether --enable-backtrace was given.
6478 if test "${enable_backtrace+set}" = set; then
6479 enableval=$enable_backtrace;
6480 if test "$enableval" = yes; then
6481 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6483 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6488 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6493 eval "$wx_cv_use_backtrace"
6495 if test x
"$enablestring" = xdisable
; then
6496 if test $wxUSE_STACKWALKER = no
; then
6502 result
=$wxUSE_STACKWALKER
6505 { echo "$as_me:$LINENO: result: $result" >&5
6506 echo "${ECHO_T}$result" >&6; }
6510 defaultval
=$wxUSE_ALL_FEATURES
6511 if test -z "$defaultval"; then
6512 if test x
"$enablestring" = xdisable
; then
6519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6520 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6521 # Check whether --enable-catch_segvs was given.
6522 if test "${enable_catch_segvs+set}" = set; then
6523 enableval
=$enable_catch_segvs;
6524 if test "$enableval" = yes; then
6525 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6527 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6532 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6537 eval "$wx_cv_use_catch_segvs"
6539 if test x"$enablestring" = xdisable; then
6540 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6546 result=$wxUSE_ON_FATAL_EXCEPTION
6549 { echo "$as_me:$LINENO: result: $result" >&5
6550 echo "${ECHO_T}$result" >&6; }
6554 defaultval=$wxUSE_ALL_FEATURES
6555 if test -z "$defaultval"; then
6556 if test x"$enablestring" = xdisable; then
6563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6564 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6565 # Check whether --enable-cmdline was given.
6566 if test "${enable_cmdline+set}" = set; then
6567 enableval=$enable_cmdline;
6568 if test "$enableval" = yes; then
6569 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6571 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6576 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6581 eval "$wx_cv_use_cmdline"
6583 if test x"$enablestring" = xdisable; then
6584 if test $wxUSE_CMDLINE_PARSER = no; then
6590 result=$wxUSE_CMDLINE_PARSER
6593 { echo "$as_me:$LINENO: result
: $result" >&5
6594 echo "${ECHO_T}$result" >&6; }
6598 defaultval=$wxUSE_ALL_FEATURES
6599 if test -z "$defaultval"; then
6600 if test x"$enablestring" = xdisable; then
6607 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6608 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6609 # Check whether --enable-datetime was given.
6610 if test "${enable_datetime+set}" = set; then
6611 enableval=$enable_datetime;
6612 if test "$enableval" = yes; then
6613 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6615 wx_cv_use_datetime='wxUSE_DATETIME=no'
6620 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6625 eval "$wx_cv_use_datetime"
6627 if test x
"$enablestring" = xdisable
; then
6628 if test $wxUSE_DATETIME = no
; then
6634 result
=$wxUSE_DATETIME
6637 { echo "$as_me:$LINENO: result: $result" >&5
6638 echo "${ECHO_T}$result" >&6; }
6642 defaultval
=$wxUSE_ALL_FEATURES
6643 if test -z "$defaultval"; then
6644 if test x
"$enablestring" = xdisable
; then
6651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6652 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6653 # Check whether --enable-debugreport was given.
6654 if test "${enable_debugreport+set}" = set; then
6655 enableval
=$enable_debugreport;
6656 if test "$enableval" = yes; then
6657 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6659 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6664 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6669 eval "$wx_cv_use_debugreport"
6671 if test x"$enablestring" = xdisable; then
6672 if test $wxUSE_DEBUGREPORT = no; then
6678 result=$wxUSE_DEBUGREPORT
6681 { echo "$as_me:$LINENO: result: $result" >&5
6682 echo "${ECHO_T}$result" >&6; }
6686 defaultval=$wxUSE_ALL_FEATURES
6687 if test -z "$defaultval"; then
6688 if test x"$enablestring" = xdisable; then
6695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6696 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6697 # Check whether --enable-dialupman was given.
6698 if test "${enable_dialupman+set}" = set; then
6699 enableval=$enable_dialupman;
6700 if test "$enableval" = yes; then
6701 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6703 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6708 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6713 eval "$wx_cv_use_dialupman"
6715 if test x"$enablestring" = xdisable; then
6716 if test $wxUSE_DIALUP_MANAGER = no; then
6722 result=$wxUSE_DIALUP_MANAGER
6725 { echo "$as_me:$LINENO: result
: $result" >&5
6726 echo "${ECHO_T}$result" >&6; }
6730 defaultval=$wxUSE_ALL_FEATURES
6731 if test -z "$defaultval"; then
6732 if test x"$enablestring" = xdisable; then
6739 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6740 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6741 # Check whether --enable-dynlib was given.
6742 if test "${enable_dynlib+set}" = set; then
6743 enableval=$enable_dynlib;
6744 if test "$enableval" = yes; then
6745 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6747 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6752 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6757 eval "$wx_cv_use_dynlib"
6759 if test x
"$enablestring" = xdisable
; then
6760 if test $wxUSE_DYNLIB_CLASS = no
; then
6766 result
=$wxUSE_DYNLIB_CLASS
6769 { echo "$as_me:$LINENO: result: $result" >&5
6770 echo "${ECHO_T}$result" >&6; }
6774 defaultval
=$wxUSE_ALL_FEATURES
6775 if test -z "$defaultval"; then
6776 if test x
"$enablestring" = xdisable
; then
6783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6784 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6785 # Check whether --enable-dynamicloader was given.
6786 if test "${enable_dynamicloader+set}" = set; then
6787 enableval
=$enable_dynamicloader;
6788 if test "$enableval" = yes; then
6789 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6791 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6796 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6801 eval "$wx_cv_use_dynamicloader"
6803 if test x"$enablestring" = xdisable; then
6804 if test $wxUSE_DYNAMIC_LOADER = no; then
6810 result=$wxUSE_DYNAMIC_LOADER
6813 { echo "$as_me:$LINENO: result: $result" >&5
6814 echo "${ECHO_T}$result" >&6; }
6818 defaultval=$wxUSE_ALL_FEATURES
6819 if test -z "$defaultval"; then
6820 if test x"$enablestring" = xdisable; then
6827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6828 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6829 # Check whether --enable-exceptions was given.
6830 if test "${enable_exceptions+set}" = set; then
6831 enableval=$enable_exceptions;
6832 if test "$enableval" = yes; then
6833 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6835 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6840 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6845 eval "$wx_cv_use_exceptions"
6847 if test x"$enablestring" = xdisable; then
6848 if test $wxUSE_EXCEPTIONS = no; then
6854 result=$wxUSE_EXCEPTIONS
6857 { echo "$as_me:$LINENO: result
: $result" >&5
6858 echo "${ECHO_T}$result" >&6; }
6862 defaultval=$wxUSE_ALL_FEATURES
6863 if test -z "$defaultval"; then
6864 if test x"$enablestring" = xdisable; then
6871 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6872 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6873 # Check whether --enable-ffile was given.
6874 if test "${enable_ffile+set}" = set; then
6875 enableval=$enable_ffile;
6876 if test "$enableval" = yes; then
6877 wx_cv_use_ffile='wxUSE_FFILE=yes'
6879 wx_cv_use_ffile='wxUSE_FFILE=no'
6884 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6889 eval "$wx_cv_use_ffile"
6891 if test x
"$enablestring" = xdisable
; then
6892 if test $wxUSE_FFILE = no
; then
6901 { echo "$as_me:$LINENO: result: $result" >&5
6902 echo "${ECHO_T}$result" >&6; }
6906 defaultval
=$wxUSE_ALL_FEATURES
6907 if test -z "$defaultval"; then
6908 if test x
"$enablestring" = xdisable
; then
6915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6916 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6917 # Check whether --enable-file was given.
6918 if test "${enable_file+set}" = set; then
6919 enableval
=$enable_file;
6920 if test "$enableval" = yes; then
6921 wx_cv_use_file
='wxUSE_FILE=yes'
6923 wx_cv_use_file
='wxUSE_FILE=no'
6928 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6933 eval "$wx_cv_use_file"
6935 if test x"$enablestring" = xdisable; then
6936 if test $wxUSE_FILE = no; then
6945 { echo "$as_me:$LINENO: result: $result" >&5
6946 echo "${ECHO_T}$result" >&6; }
6950 defaultval=$wxUSE_ALL_FEATURES
6951 if test -z "$defaultval"; then
6952 if test x"$enablestring" = xdisable; then
6959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6960 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6961 # Check whether --enable-filesystem was given.
6962 if test "${enable_filesystem+set}" = set; then
6963 enableval=$enable_filesystem;
6964 if test "$enableval" = yes; then
6965 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
6967 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
6972 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6977 eval "$wx_cv_use_filesystem"
6979 if test x"$enablestring" = xdisable; then
6980 if test $wxUSE_FILESYSTEM = no; then
6986 result=$wxUSE_FILESYSTEM
6989 { echo "$as_me:$LINENO: result
: $result" >&5
6990 echo "${ECHO_T}$result" >&6; }
6994 defaultval=$wxUSE_ALL_FEATURES
6995 if test -z "$defaultval"; then
6996 if test x"$enablestring" = xdisable; then
7003 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7004 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7005 # Check whether --enable-fontenum was given.
7006 if test "${enable_fontenum+set}" = set; then
7007 enableval=$enable_fontenum;
7008 if test "$enableval" = yes; then
7009 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7011 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7016 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7021 eval "$wx_cv_use_fontenum"
7023 if test x
"$enablestring" = xdisable
; then
7024 if test $wxUSE_FONTENUM = no
; then
7030 result
=$wxUSE_FONTENUM
7033 { echo "$as_me:$LINENO: result: $result" >&5
7034 echo "${ECHO_T}$result" >&6; }
7038 defaultval
=$wxUSE_ALL_FEATURES
7039 if test -z "$defaultval"; then
7040 if test x
"$enablestring" = xdisable
; then
7047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7048 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7049 # Check whether --enable-fontmap was given.
7050 if test "${enable_fontmap+set}" = set; then
7051 enableval
=$enable_fontmap;
7052 if test "$enableval" = yes; then
7053 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7055 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7060 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7065 eval "$wx_cv_use_fontmap"
7067 if test x"$enablestring" = xdisable; then
7068 if test $wxUSE_FONTMAP = no; then
7074 result=$wxUSE_FONTMAP
7077 { echo "$as_me:$LINENO: result: $result" >&5
7078 echo "${ECHO_T}$result" >&6; }
7082 defaultval=$wxUSE_ALL_FEATURES
7083 if test -z "$defaultval"; then
7084 if test x"$enablestring" = xdisable; then
7091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7093 # Check whether --enable-fs_archive was given.
7094 if test "${enable_fs_archive+set}" = set; then
7095 enableval=$enable_fs_archive;
7096 if test "$enableval" = yes; then
7097 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7099 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7104 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7109 eval "$wx_cv_use_fs_archive"
7111 if test x"$enablestring" = xdisable; then
7112 if test $wxUSE_FS_ARCHIVE = no; then
7118 result=$wxUSE_FS_ARCHIVE
7121 { echo "$as_me:$LINENO: result
: $result" >&5
7122 echo "${ECHO_T}$result" >&6; }
7126 defaultval=$wxUSE_ALL_FEATURES
7127 if test -z "$defaultval"; then
7128 if test x"$enablestring" = xdisable; then
7135 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7136 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7137 # Check whether --enable-fs_inet was given.
7138 if test "${enable_fs_inet+set}" = set; then
7139 enableval=$enable_fs_inet;
7140 if test "$enableval" = yes; then
7141 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7143 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7148 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7153 eval "$wx_cv_use_fs_inet"
7155 if test x
"$enablestring" = xdisable
; then
7156 if test $wxUSE_FS_INET = no
; then
7162 result
=$wxUSE_FS_INET
7165 { echo "$as_me:$LINENO: result: $result" >&5
7166 echo "${ECHO_T}$result" >&6; }
7170 defaultval
=$wxUSE_ALL_FEATURES
7171 if test -z "$defaultval"; then
7172 if test x
"$enablestring" = xdisable
; then
7179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7181 # Check whether --enable-fs_zip was given.
7182 if test "${enable_fs_zip+set}" = set; then
7183 enableval
=$enable_fs_zip;
7184 if test "$enableval" = yes; then
7185 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7187 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7192 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7197 eval "$wx_cv_use_fs_zip"
7199 if test x"$enablestring" = xdisable; then
7200 if test $wxUSE_FS_ZIP = no; then
7206 result=$wxUSE_FS_ZIP
7209 { echo "$as_me:$LINENO: result: $result" >&5
7210 echo "${ECHO_T}$result" >&6; }
7214 defaultval=$wxUSE_ALL_FEATURES
7215 if test -z "$defaultval"; then
7216 if test x"$enablestring" = xdisable; then
7223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7224 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7225 # Check whether --enable-geometry was given.
7226 if test "${enable_geometry+set}" = set; then
7227 enableval=$enable_geometry;
7228 if test "$enableval" = yes; then
7229 wx_cv_use_geometry='wxUSE_GEOMETRY
=yes'
7231 wx_cv_use_geometry='wxUSE_GEOMETRY
=no
'
7236 wx_cv_use_geometry='wxUSE_GEOMETRY
=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7241 eval "$wx_cv_use_geometry"
7243 if test x"$enablestring" = xdisable; then
7244 if test $wxUSE_GEOMETRY = no; then
7250 result=$wxUSE_GEOMETRY
7253 { echo "$as_me:$LINENO: result
: $result" >&5
7254 echo "${ECHO_T}$result" >&6; }
7258 defaultval=$wxUSE_ALL_FEATURES
7259 if test -z "$defaultval"; then
7260 if test x"$enablestring" = xdisable; then
7267 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-log" >&5
7268 echo $ECHO_N "checking
for --${enablestring:-enable}-log...
$ECHO_C" >&6; }
7269 # Check whether --enable-log was given.
7270 if test "${enable_log+set}" = set; then
7271 enableval=$enable_log;
7272 if test "$enableval" = yes; then
7273 wx_cv_use_log='wxUSE_LOG=yes'
7275 wx_cv_use_log='wxUSE_LOG=no'
7280 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7285 eval "$wx_cv_use_log"
7287 if test x
"$enablestring" = xdisable
; then
7288 if test $wxUSE_LOG = no
; then
7297 { echo "$as_me:$LINENO: result: $result" >&5
7298 echo "${ECHO_T}$result" >&6; }
7302 defaultval
=$wxUSE_ALL_FEATURES
7303 if test -z "$defaultval"; then
7304 if test x
"$enablestring" = xdisable
; then
7311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7312 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7313 # Check whether --enable-longlong was given.
7314 if test "${enable_longlong+set}" = set; then
7315 enableval
=$enable_longlong;
7316 if test "$enableval" = yes; then
7317 wx_cv_use_longlong
='wxUSE_LONGLONG=yes'
7319 wx_cv_use_longlong
='wxUSE_LONGLONG=no'
7324 wx_cv_use_longlong
='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7329 eval "$wx_cv_use_longlong"
7331 if test x"$enablestring" = xdisable; then
7332 if test $wxUSE_LONGLONG = no; then
7338 result=$wxUSE_LONGLONG
7341 { echo "$as_me:$LINENO: result: $result" >&5
7342 echo "${ECHO_T}$result" >&6; }
7346 defaultval=$wxUSE_ALL_FEATURES
7347 if test -z "$defaultval"; then
7348 if test x"$enablestring" = xdisable; then
7355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7356 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7357 # Check whether --enable-mimetype was given.
7358 if test "${enable_mimetype+set}" = set; then
7359 enableval=$enable_mimetype;
7360 if test "$enableval" = yes; then
7361 wx_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
7363 wx_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
7368 wx_cv_use_mimetype='wxUSE_MIMETYPE
=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7373 eval "$wx_cv_use_mimetype"
7375 if test x"$enablestring" = xdisable; then
7376 if test $wxUSE_MIMETYPE = no; then
7382 result=$wxUSE_MIMETYPE
7385 { echo "$as_me:$LINENO: result
: $result" >&5
7386 echo "${ECHO_T}$result" >&6; }
7390 defaultval=$wxUSE_ALL_FEATURES
7391 if test -z "$defaultval"; then
7392 if test x"$enablestring" = xdisable; then
7399 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printfposparam" >&5
7400 echo $ECHO_N "checking
for --${enablestring:-enable}-printfposparam...
$ECHO_C" >&6; }
7401 # Check whether --enable-printfposparam was given.
7402 if test "${enable_printfposparam+set}" = set; then
7403 enableval=$enable_printfposparam;
7404 if test "$enableval" = yes; then
7405 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7407 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7412 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7417 eval "$wx_cv_use_printfposparam"
7419 if test x
"$enablestring" = xdisable
; then
7420 if test $wxUSE_PRINTF_POS_PARAMS = no
; then
7426 result
=$wxUSE_PRINTF_POS_PARAMS
7429 { echo "$as_me:$LINENO: result: $result" >&5
7430 echo "${ECHO_T}$result" >&6; }
7434 defaultval
=$wxUSE_ALL_FEATURES
7435 if test -z "$defaultval"; then
7436 if test x
"$enablestring" = xdisable
; then
7443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7445 # Check whether --enable-snglinst was given.
7446 if test "${enable_snglinst+set}" = set; then
7447 enableval
=$enable_snglinst;
7448 if test "$enableval" = yes; then
7449 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
7451 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
7456 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7461 eval "$wx_cv_use_snglinst"
7463 if test x"$enablestring" = xdisable; then
7464 if test $wxUSE_SNGLINST_CHECKER = no; then
7470 result=$wxUSE_SNGLINST_CHECKER
7473 { echo "$as_me:$LINENO: result: $result" >&5
7474 echo "${ECHO_T}$result" >&6; }
7478 defaultval=$wxUSE_ALL_FEATURES
7479 if test -z "$defaultval"; then
7480 if test x"$enablestring" = xdisable; then
7487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7488 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7489 # Check whether --enable-sound was given.
7490 if test "${enable_sound+set}" = set; then
7491 enableval=$enable_sound;
7492 if test "$enableval" = yes; then
7493 wx_cv_use_sound='wxUSE_SOUND
=yes'
7495 wx_cv_use_sound='wxUSE_SOUND
=no
'
7500 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7505 eval "$wx_cv_use_sound"
7507 if test x"$enablestring" = xdisable; then
7508 if test $wxUSE_SOUND = no; then
7517 { echo "$as_me:$LINENO: result
: $result" >&5
7518 echo "${ECHO_T}$result" >&6; }
7522 defaultval=$wxUSE_ALL_FEATURES
7523 if test -z "$defaultval"; then
7524 if test x"$enablestring" = xdisable; then
7531 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stdpaths" >&5
7532 echo $ECHO_N "checking
for --${enablestring:-enable}-stdpaths...
$ECHO_C" >&6; }
7533 # Check whether --enable-stdpaths was given.
7534 if test "${enable_stdpaths+set}" = set; then
7535 enableval=$enable_stdpaths;
7536 if test "$enableval" = yes; then
7537 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7539 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7544 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7549 eval "$wx_cv_use_stdpaths"
7551 if test x
"$enablestring" = xdisable
; then
7552 if test $wxUSE_STDPATHS = no
; then
7558 result
=$wxUSE_STDPATHS
7561 { echo "$as_me:$LINENO: result: $result" >&5
7562 echo "${ECHO_T}$result" >&6; }
7566 defaultval
=$wxUSE_ALL_FEATURES
7567 if test -z "$defaultval"; then
7568 if test x
"$enablestring" = xdisable
; then
7575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7576 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7577 # Check whether --enable-stopwatch was given.
7578 if test "${enable_stopwatch+set}" = set; then
7579 enableval
=$enable_stopwatch;
7580 if test "$enableval" = yes; then
7581 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
7583 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
7588 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7593 eval "$wx_cv_use_stopwatch"
7595 if test x"$enablestring" = xdisable; then
7596 if test $wxUSE_STOPWATCH = no; then
7602 result=$wxUSE_STOPWATCH
7605 { echo "$as_me:$LINENO: result: $result" >&5
7606 echo "${ECHO_T}$result" >&6; }
7610 defaultval=$wxUSE_ALL_FEATURES
7611 if test -z "$defaultval"; then
7612 if test x"$enablestring" = xdisable; then
7619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7620 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7621 # Check whether --enable-streams was given.
7622 if test "${enable_streams+set}" = set; then
7623 enableval=$enable_streams;
7624 if test "$enableval" = yes; then
7625 wx_cv_use_streams='wxUSE_STREAMS
=yes'
7627 wx_cv_use_streams='wxUSE_STREAMS
=no
'
7632 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7637 eval "$wx_cv_use_streams"
7639 if test x"$enablestring" = xdisable; then
7640 if test $wxUSE_STREAMS = no; then
7646 result=$wxUSE_STREAMS
7649 { echo "$as_me:$LINENO: result
: $result" >&5
7650 echo "${ECHO_T}$result" >&6; }
7654 defaultval=$wxUSE_ALL_FEATURES
7655 if test -z "$defaultval"; then
7656 if test x"$enablestring" = xdisable; then
7663 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-system_options" >&5
7664 echo $ECHO_N "checking
for --${enablestring:-enable}-system_options...
$ECHO_C" >&6; }
7665 # Check whether --enable-system_options was given.
7666 if test "${enable_system_options+set}" = set; then
7667 enableval=$enable_system_options;
7668 if test "$enableval" = yes; then
7669 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7671 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7676 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7681 eval "$wx_cv_use_system_options"
7683 if test x
"$enablestring" = xdisable
; then
7684 if test $wxUSE_SYSTEM_OPTIONS = no
; then
7690 result
=$wxUSE_SYSTEM_OPTIONS
7693 { echo "$as_me:$LINENO: result: $result" >&5
7694 echo "${ECHO_T}$result" >&6; }
7698 defaultval
=$wxUSE_ALL_FEATURES
7699 if test -z "$defaultval"; then
7700 if test x
"$enablestring" = xdisable
; then
7707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7709 # Check whether --enable-tarstream was given.
7710 if test "${enable_tarstream+set}" = set; then
7711 enableval
=$enable_tarstream;
7712 if test "$enableval" = yes; then
7713 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
7715 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
7720 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7725 eval "$wx_cv_use_tarstream"
7727 if test x"$enablestring" = xdisable; then
7728 if test $wxUSE_TARSTREAM = no; then
7734 result=$wxUSE_TARSTREAM
7737 { echo "$as_me:$LINENO: result: $result" >&5
7738 echo "${ECHO_T}$result" >&6; }
7742 defaultval=$wxUSE_ALL_FEATURES
7743 if test -z "$defaultval"; then
7744 if test x"$enablestring" = xdisable; then
7751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7753 # Check whether --enable-textbuf was given.
7754 if test "${enable_textbuf+set}" = set; then
7755 enableval=$enable_textbuf;
7756 if test "$enableval" = yes; then
7757 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
7759 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
7764 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7769 eval "$wx_cv_use_textbuf"
7771 if test x"$enablestring" = xdisable; then
7772 if test $wxUSE_TEXTBUFFER = no; then
7778 result=$wxUSE_TEXTBUFFER
7781 { echo "$as_me:$LINENO: result
: $result" >&5
7782 echo "${ECHO_T}$result" >&6; }
7786 defaultval=$wxUSE_ALL_FEATURES
7787 if test -z "$defaultval"; then
7788 if test x"$enablestring" = xdisable; then
7795 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textfile" >&5
7796 echo $ECHO_N "checking
for --${enablestring:-enable}-textfile...
$ECHO_C" >&6; }
7797 # Check whether --enable-textfile was given.
7798 if test "${enable_textfile+set}" = set; then
7799 enableval=$enable_textfile;
7800 if test "$enableval" = yes; then
7801 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7803 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7808 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7813 eval "$wx_cv_use_textfile"
7815 if test x
"$enablestring" = xdisable
; then
7816 if test $wxUSE_TEXTFILE = no
; then
7822 result
=$wxUSE_TEXTFILE
7825 { echo "$as_me:$LINENO: result: $result" >&5
7826 echo "${ECHO_T}$result" >&6; }
7830 defaultval
=$wxUSE_ALL_FEATURES
7831 if test -z "$defaultval"; then
7832 if test x
"$enablestring" = xdisable
; then
7839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7840 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7841 # Check whether --enable-timer was given.
7842 if test "${enable_timer+set}" = set; then
7843 enableval
=$enable_timer;
7844 if test "$enableval" = yes; then
7845 wx_cv_use_timer
='wxUSE_TIMER=yes'
7847 wx_cv_use_timer
='wxUSE_TIMER=no'
7852 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7857 eval "$wx_cv_use_timer"
7859 if test x"$enablestring" = xdisable; then
7860 if test $wxUSE_TIMER = no; then
7869 { echo "$as_me:$LINENO: result: $result" >&5
7870 echo "${ECHO_T}$result" >&6; }
7874 defaultval=$wxUSE_ALL_FEATURES
7875 if test -z "$defaultval"; then
7876 if test x"$enablestring" = xdisable; then
7883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7884 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7885 # Check whether --enable-variant was given.
7886 if test "${enable_variant+set}" = set; then
7887 enableval=$enable_variant;
7888 if test "$enableval" = yes; then
7889 wx_cv_use_variant='wxUSE_VARIANT
=yes'
7891 wx_cv_use_variant='wxUSE_VARIANT
=no
'
7896 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7901 eval "$wx_cv_use_variant"
7903 if test x"$enablestring" = xdisable; then
7904 if test $wxUSE_VARIANT = no; then
7910 result=$wxUSE_VARIANT
7913 { echo "$as_me:$LINENO: result
: $result" >&5
7914 echo "${ECHO_T}$result" >&6; }
7918 defaultval=$wxUSE_ALL_FEATURES
7919 if test -z "$defaultval"; then
7920 if test x"$enablestring" = xdisable; then
7927 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-zipstream" >&5
7928 echo $ECHO_N "checking
for --${enablestring:-enable}-zipstream...
$ECHO_C" >&6; }
7929 # Check whether --enable-zipstream was given.
7930 if test "${enable_zipstream+set}" = set; then
7931 enableval=$enable_zipstream;
7932 if test "$enableval" = yes; then
7933 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7935 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7940 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7945 eval "$wx_cv_use_zipstream"
7947 if test x
"$enablestring" = xdisable
; then
7948 if test $wxUSE_ZIPSTREAM = no
; then
7954 result
=$wxUSE_ZIPSTREAM
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7963 defaultval
=$wxUSE_ALL_FEATURES
7964 if test -z "$defaultval"; then
7965 if test x
"$enablestring" = xdisable
; then
7972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7974 # Check whether --enable-url was given.
7975 if test "${enable_url+set}" = set; then
7976 enableval
=$enable_url;
7977 if test "$enableval" = yes; then
7978 wx_cv_use_url
='wxUSE_URL=yes'
7980 wx_cv_use_url
='wxUSE_URL=no'
7985 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7990 eval "$wx_cv_use_url"
7992 if test x"$enablestring" = xdisable; then
7993 if test $wxUSE_URL = no; then
8002 { echo "$as_me:$LINENO: result: $result" >&5
8003 echo "${ECHO_T}$result" >&6; }
8007 defaultval=$wxUSE_ALL_FEATURES
8008 if test -z "$defaultval"; then
8009 if test x"$enablestring" = xdisable; then
8016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8017 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8018 # Check whether --enable-protocol was given.
8019 if test "${enable_protocol+set}" = set; then
8020 enableval=$enable_protocol;
8021 if test "$enableval" = yes; then
8022 wx_cv_use_protocol='wxUSE_PROTOCOL
=yes'
8024 wx_cv_use_protocol='wxUSE_PROTOCOL
=no
'
8029 wx_cv_use_protocol='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8034 eval "$wx_cv_use_protocol"
8036 if test x"$enablestring" = xdisable; then
8037 if test $wxUSE_PROTOCOL = no; then
8043 result=$wxUSE_PROTOCOL
8046 { echo "$as_me:$LINENO: result
: $result" >&5
8047 echo "${ECHO_T}$result" >&6; }
8051 defaultval=$wxUSE_ALL_FEATURES
8052 if test -z "$defaultval"; then
8053 if test x"$enablestring" = xdisable; then
8060 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_http" >&5
8061 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_http...
$ECHO_C" >&6; }
8062 # Check whether --enable-protocol_http was given.
8063 if test "${enable_protocol_http+set}" = set; then
8064 enableval=$enable_protocol_http;
8065 if test "$enableval" = yes; then
8066 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8068 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8073 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8078 eval "$wx_cv_use_protocol_http"
8080 if test x
"$enablestring" = xdisable
; then
8081 if test $wxUSE_PROTOCOL_HTTP = no
; then
8087 result
=$wxUSE_PROTOCOL_HTTP
8090 { echo "$as_me:$LINENO: result: $result" >&5
8091 echo "${ECHO_T}$result" >&6; }
8095 defaultval
=$wxUSE_ALL_FEATURES
8096 if test -z "$defaultval"; then
8097 if test x
"$enablestring" = xdisable
; then
8104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8105 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8106 # Check whether --enable-protocol_ftp was given.
8107 if test "${enable_protocol_ftp+set}" = set; then
8108 enableval
=$enable_protocol_ftp;
8109 if test "$enableval" = yes; then
8110 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
8112 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
8117 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8122 eval "$wx_cv_use_protocol_ftp"
8124 if test x"$enablestring" = xdisable; then
8125 if test $wxUSE_PROTOCOL_FTP = no; then
8131 result=$wxUSE_PROTOCOL_FTP
8134 { echo "$as_me:$LINENO: result: $result" >&5
8135 echo "${ECHO_T}$result" >&6; }
8139 defaultval=$wxUSE_ALL_FEATURES
8140 if test -z "$defaultval"; then
8141 if test x"$enablestring" = xdisable; then
8148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8149 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8150 # Check whether --enable-protocol_file was given.
8151 if test "${enable_protocol_file+set}" = set; then
8152 enableval=$enable_protocol_file;
8153 if test "$enableval" = yes; then
8154 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
8156 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
8161 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8166 eval "$wx_cv_use_protocol_file"
8168 if test x"$enablestring" = xdisable; then
8169 if test $wxUSE_PROTOCOL_FILE = no; then
8175 result=$wxUSE_PROTOCOL_FILE
8178 { echo "$as_me:$LINENO: result
: $result" >&5
8179 echo "${ECHO_T}$result" >&6; }
8184 defaultval=$wxUSE_ALL_FEATURES
8185 if test -z "$defaultval"; then
8186 if test x"$enablestring" = xdisable; then
8193 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-threads" >&5
8194 echo $ECHO_N "checking
for --${enablestring:-enable}-threads...
$ECHO_C" >&6; }
8195 # Check whether --enable-threads was given.
8196 if test "${enable_threads+set}" = set; then
8197 enableval=$enable_threads;
8198 if test "$enableval" = yes; then
8199 wx_cv_use_threads='wxUSE_THREADS=yes'
8201 wx_cv_use_threads='wxUSE_THREADS=no'
8206 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8211 eval "$wx_cv_use_threads"
8213 if test x
"$enablestring" = xdisable
; then
8214 if test $wxUSE_THREADS = no
; then
8220 result
=$wxUSE_THREADS
8223 { echo "$as_me:$LINENO: result: $result" >&5
8224 echo "${ECHO_T}$result" >&6; }
8230 if test -z "$defaultval"; then
8231 if test x
"$enablestring" = xdisable
; then
8238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8240 # Check whether --enable-iniconf was given.
8241 if test "${enable_iniconf+set}" = set; then
8242 enableval
=$enable_iniconf;
8243 if test "$enableval" = yes; then
8244 wx_cv_use_iniconf
='wxUSE_INICONF=yes'
8246 wx_cv_use_iniconf
='wxUSE_INICONF=no'
8251 wx_cv_use_iniconf
='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8256 eval "$wx_cv_use_iniconf"
8258 if test x"$enablestring" = xdisable; then
8259 if test $wxUSE_INICONF = no; then
8265 result=$wxUSE_INICONF
8268 { echo "$as_me:$LINENO: result: $result" >&5
8269 echo "${ECHO_T}$result" >&6; }
8273 defaultval=$wxUSE_ALL_FEATURES
8274 if test -z "$defaultval"; then
8275 if test x"$enablestring" = xdisable; then
8282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8284 # Check whether --enable-regkey was given.
8285 if test "${enable_regkey+set}" = set; then
8286 enableval=$enable_regkey;
8287 if test "$enableval" = yes; then
8288 wx_cv_use_regkey='wxUSE_REGKEY
=yes'
8290 wx_cv_use_regkey='wxUSE_REGKEY
=no
'
8295 wx_cv_use_regkey='wxUSE_REGKEY
=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8300 eval "$wx_cv_use_regkey"
8302 if test x"$enablestring" = xdisable; then
8303 if test $wxUSE_REGKEY = no; then
8309 result=$wxUSE_REGKEY
8312 { echo "$as_me:$LINENO: result
: $result" >&5
8313 echo "${ECHO_T}$result" >&6; }
8316 if test "$wxUSE_GUI" = "yes"; then
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}-docview" >&5
8331 echo $ECHO_N "checking
for --${enablestring:-enable}-docview...
$ECHO_C" >&6; }
8332 # Check whether --enable-docview was given.
8333 if test "${enable_docview+set}" = set; then
8334 enableval=$enable_docview;
8335 if test "$enableval" = yes; then
8336 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8338 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8343 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8348 eval "$wx_cv_use_docview"
8350 if test x
"$enablestring" = xdisable
; then
8351 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no
; then
8357 result
=$wxUSE_DOC_VIEW_ARCHITECTURE
8360 { echo "$as_me:$LINENO: result: $result" >&5
8361 echo "${ECHO_T}$result" >&6; }
8365 defaultval
=$wxUSE_ALL_FEATURES
8366 if test -z "$defaultval"; then
8367 if test x
"$enablestring" = xdisable
; then
8374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8375 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8376 # Check whether --enable-help was given.
8377 if test "${enable_help+set}" = set; then
8378 enableval
=$enable_help;
8379 if test "$enableval" = yes; then
8380 wx_cv_use_help
='wxUSE_HELP=yes'
8382 wx_cv_use_help
='wxUSE_HELP=no'
8387 wx_cv_use_help
='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8392 eval "$wx_cv_use_help"
8394 if test x"$enablestring" = xdisable; then
8395 if test $wxUSE_HELP = no; then
8404 { echo "$as_me:$LINENO: result: $result" >&5
8405 echo "${ECHO_T}$result" >&6; }
8409 defaultval=$wxUSE_ALL_FEATURES
8410 if test -z "$defaultval"; then
8411 if test x"$enablestring" = xdisable; then
8418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8419 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8420 # Check whether --enable-mshtmlhelp was given.
8421 if test "${enable_mshtmlhelp+set}" = set; then
8422 enableval=$enable_mshtmlhelp;
8423 if test "$enableval" = yes; then
8424 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
8426 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
8431 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8436 eval "$wx_cv_use_mshtmlhelp"
8438 if test x"$enablestring" = xdisable; then
8439 if test $wxUSE_MS_HTML_HELP = no; then
8445 result=$wxUSE_MS_HTML_HELP
8448 { echo "$as_me:$LINENO: result
: $result" >&5
8449 echo "${ECHO_T}$result" >&6; }
8453 defaultval=$wxUSE_ALL_FEATURES
8454 if test -z "$defaultval"; then
8455 if test x"$enablestring" = xdisable; then
8462 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-html" >&5
8463 echo $ECHO_N "checking
for --${enablestring:-enable}-html...
$ECHO_C" >&6; }
8464 # Check whether --enable-html was given.
8465 if test "${enable_html+set}" = set; then
8466 enableval=$enable_html;
8467 if test "$enableval" = yes; then
8468 wx_cv_use_html='wxUSE_HTML=yes'
8470 wx_cv_use_html='wxUSE_HTML=no'
8475 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8480 eval "$wx_cv_use_html"
8482 if test x
"$enablestring" = xdisable
; then
8483 if test $wxUSE_HTML = no
; then
8492 { echo "$as_me:$LINENO: result: $result" >&5
8493 echo "${ECHO_T}$result" >&6; }
8497 defaultval
=$wxUSE_ALL_FEATURES
8498 if test -z "$defaultval"; then
8499 if test x
"$enablestring" = xdisable
; then
8506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8507 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8508 # Check whether --enable-htmlhelp was given.
8509 if test "${enable_htmlhelp+set}" = set; then
8510 enableval
=$enable_htmlhelp;
8511 if test "$enableval" = yes; then
8512 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
8514 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
8519 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8524 eval "$wx_cv_use_htmlhelp"
8526 if test x"$enablestring" = xdisable; then
8527 if test $wxUSE_WXHTML_HELP = no; then
8533 result=$wxUSE_WXHTML_HELP
8536 { echo "$as_me:$LINENO: result: $result" >&5
8537 echo "${ECHO_T}$result" >&6; }
8541 defaultval=$wxUSE_ALL_FEATURES
8542 if test -z "$defaultval"; then
8543 if test x"$enablestring" = xdisable; then
8550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8551 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8552 # Check whether --enable-xrc was given.
8553 if test "${enable_xrc+set}" = set; then
8554 enableval=$enable_xrc;
8555 if test "$enableval" = yes; then
8556 wx_cv_use_xrc='wxUSE_XRC
=yes'
8558 wx_cv_use_xrc='wxUSE_XRC
=no
'
8563 wx_cv_use_xrc='wxUSE_XRC
=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8568 eval "$wx_cv_use_xrc"
8570 if test x"$enablestring" = xdisable; then
8571 if test $wxUSE_XRC = no; then
8580 { echo "$as_me:$LINENO: result
: $result" >&5
8581 echo "${ECHO_T}$result" >&6; }
8585 defaultval=$wxUSE_ALL_FEATURES
8586 if test -z "$defaultval"; then
8587 if test x"$enablestring" = xdisable; then
8594 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aui" >&5
8595 echo $ECHO_N "checking
for --${enablestring:-enable}-aui...
$ECHO_C" >&6; }
8596 # Check whether --enable-aui was given.
8597 if test "${enable_aui+set}" = set; then
8598 enableval=$enable_aui;
8599 if test "$enableval" = yes; then
8600 wx_cv_use_aui='wxUSE_AUI=yes'
8602 wx_cv_use_aui='wxUSE_AUI=no'
8607 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8612 eval "$wx_cv_use_aui"
8614 if test x
"$enablestring" = xdisable
; then
8615 if test $wxUSE_AUI = no
; then
8624 { echo "$as_me:$LINENO: result: $result" >&5
8625 echo "${ECHO_T}$result" >&6; }
8629 defaultval
=$wxUSE_ALL_FEATURES
8630 if test -z "$defaultval"; then
8631 if test x
"$enablestring" = xdisable
; then
8638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8639 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8640 # Check whether --enable-propgrid was given.
8641 if test "${enable_propgrid+set}" = set; then
8642 enableval
=$enable_propgrid;
8643 if test "$enableval" = yes; then
8644 wx_cv_use_propgrid
='wxUSE_PROPGRID=yes'
8646 wx_cv_use_propgrid
='wxUSE_PROPGRID=no'
8651 wx_cv_use_propgrid
='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8656 eval "$wx_cv_use_propgrid"
8658 if test x"$enablestring" = xdisable; then
8659 if test $wxUSE_PROPGRID = no; then
8665 result=$wxUSE_PROPGRID
8668 { echo "$as_me:$LINENO: result: $result" >&5
8669 echo "${ECHO_T}$result" >&6; }
8673 defaultval=$wxUSE_ALL_FEATURES
8674 if test -z "$defaultval"; then
8675 if test x"$enablestring" = xdisable; then
8682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8683 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8684 # Check whether --enable-ribbon was given.
8685 if test "${enable_ribbon+set}" = set; then
8686 enableval=$enable_ribbon;
8687 if test "$enableval" = yes; then
8688 wx_cv_use_ribbon='wxUSE_RIBBON
=yes'
8690 wx_cv_use_ribbon='wxUSE_RIBBON
=no
'
8695 wx_cv_use_ribbon='wxUSE_RIBBON
=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8700 eval "$wx_cv_use_ribbon"
8702 if test x"$enablestring" = xdisable; then
8703 if test $wxUSE_RIBBON = no; then
8709 result=$wxUSE_RIBBON
8712 { echo "$as_me:$LINENO: result
: $result" >&5
8713 echo "${ECHO_T}$result" >&6; }
8717 defaultval=$wxUSE_ALL_FEATURES
8718 if test -z "$defaultval"; then
8719 if test x"$enablestring" = xdisable; then
8726 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stc" >&5
8727 echo $ECHO_N "checking
for --${enablestring:-enable}-stc...
$ECHO_C" >&6; }
8728 # Check whether --enable-stc was given.
8729 if test "${enable_stc+set}" = set; then
8730 enableval=$enable_stc;
8731 if test "$enableval" = yes; then
8732 wx_cv_use_stc='wxUSE_STC=yes'
8734 wx_cv_use_stc='wxUSE_STC=no'
8739 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8744 eval "$wx_cv_use_stc"
8746 if test x
"$enablestring" = xdisable
; then
8747 if test $wxUSE_STC = no
; then
8756 { echo "$as_me:$LINENO: result: $result" >&5
8757 echo "${ECHO_T}$result" >&6; }
8761 defaultval
=$wxUSE_ALL_FEATURES
8762 if test -z "$defaultval"; then
8763 if test x
"$enablestring" = xdisable
; then
8770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8771 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8772 # Check whether --enable-constraints was given.
8773 if test "${enable_constraints+set}" = set; then
8774 enableval
=$enable_constraints;
8775 if test "$enableval" = yes; then
8776 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
8778 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
8783 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8788 eval "$wx_cv_use_constraints"
8790 if test x"$enablestring" = xdisable; then
8791 if test $wxUSE_CONSTRAINTS = no; then
8797 result=$wxUSE_CONSTRAINTS
8800 { echo "$as_me:$LINENO: result: $result" >&5
8801 echo "${ECHO_T}$result" >&6; }
8805 defaultval=$wxUSE_ALL_FEATURES
8806 if test -z "$defaultval"; then
8807 if test x"$enablestring" = xdisable; then
8814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8816 # Check whether --enable-loggui was given.
8817 if test "${enable_loggui+set}" = set; then
8818 enableval=$enable_loggui;
8819 if test "$enableval" = yes; then
8820 wx_cv_use_loggui='wxUSE_LOGGUI
=yes'
8822 wx_cv_use_loggui='wxUSE_LOGGUI
=no
'
8827 wx_cv_use_loggui='wxUSE_LOGGUI
=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8832 eval "$wx_cv_use_loggui"
8834 if test x"$enablestring" = xdisable; then
8835 if test $wxUSE_LOGGUI = no; then
8841 result=$wxUSE_LOGGUI
8844 { echo "$as_me:$LINENO: result
: $result" >&5
8845 echo "${ECHO_T}$result" >&6; }
8849 defaultval=$wxUSE_ALL_FEATURES
8850 if test -z "$defaultval"; then
8851 if test x"$enablestring" = xdisable; then
8858 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logwin" >&5
8859 echo $ECHO_N "checking
for --${enablestring:-enable}-logwin...
$ECHO_C" >&6; }
8860 # Check whether --enable-logwin was given.
8861 if test "${enable_logwin+set}" = set; then
8862 enableval=$enable_logwin;
8863 if test "$enableval" = yes; then
8864 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8866 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8871 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8876 eval "$wx_cv_use_logwin"
8878 if test x
"$enablestring" = xdisable
; then
8879 if test $wxUSE_LOGWINDOW = no
; then
8885 result
=$wxUSE_LOGWINDOW
8888 { echo "$as_me:$LINENO: result: $result" >&5
8889 echo "${ECHO_T}$result" >&6; }
8893 defaultval
=$wxUSE_ALL_FEATURES
8894 if test -z "$defaultval"; then
8895 if test x
"$enablestring" = xdisable
; then
8902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8904 # Check whether --enable-logdialog was given.
8905 if test "${enable_logdialog+set}" = set; then
8906 enableval
=$enable_logdialog;
8907 if test "$enableval" = yes; then
8908 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
8910 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
8915 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8920 eval "$wx_cv_use_logdialog"
8922 if test x"$enablestring" = xdisable; then
8923 if test $wxUSE_LOGDIALOG = no; then
8929 result=$wxUSE_LOGDIALOG
8932 { echo "$as_me:$LINENO: result: $result" >&5
8933 echo "${ECHO_T}$result" >&6; }
8937 defaultval=$wxUSE_ALL_FEATURES
8938 if test -z "$defaultval"; then
8939 if test x"$enablestring" = xdisable; then
8946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8947 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8948 # Check whether --enable-mdi was given.
8949 if test "${enable_mdi+set}" = set; then
8950 enableval=$enable_mdi;
8951 if test "$enableval" = yes; then
8952 wx_cv_use_mdi='wxUSE_MDI
=yes'
8954 wx_cv_use_mdi='wxUSE_MDI
=no
'
8959 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8964 eval "$wx_cv_use_mdi"
8966 if test x"$enablestring" = xdisable; then
8967 if test $wxUSE_MDI = no; then
8976 { echo "$as_me:$LINENO: result
: $result" >&5
8977 echo "${ECHO_T}$result" >&6; }
8981 defaultval=$wxUSE_ALL_FEATURES
8982 if test -z "$defaultval"; then
8983 if test x"$enablestring" = xdisable; then
8990 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdidoc" >&5
8991 echo $ECHO_N "checking
for --${enablestring:-enable}-mdidoc...
$ECHO_C" >&6; }
8992 # Check whether --enable-mdidoc was given.
8993 if test "${enable_mdidoc+set}" = set; then
8994 enableval=$enable_mdidoc;
8995 if test "$enableval" = yes; then
8996 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8998 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9003 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9008 eval "$wx_cv_use_mdidoc"
9010 if test x
"$enablestring" = xdisable
; then
9011 if test $wxUSE_MDI_ARCHITECTURE = no
; then
9017 result
=$wxUSE_MDI_ARCHITECTURE
9020 { echo "$as_me:$LINENO: result: $result" >&5
9021 echo "${ECHO_T}$result" >&6; }
9025 defaultval
=$wxUSE_ALL_FEATURES
9026 if test -z "$defaultval"; then
9027 if test x
"$enablestring" = xdisable
; then
9034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9035 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9036 # Check whether --enable-mediactrl was given.
9037 if test "${enable_mediactrl+set}" = set; then
9038 enableval
=$enable_mediactrl;
9039 if test "$enableval" = yes; then
9040 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
9042 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
9047 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9052 eval "$wx_cv_use_mediactrl"
9054 if test x"$enablestring" = xdisable; then
9055 if test $wxUSE_MEDIACTRL = no; then
9061 result=$wxUSE_MEDIACTRL
9064 { echo "$as_me:$LINENO: result: $result" >&5
9065 echo "${ECHO_T}$result" >&6; }
9069 defaultval=$wxUSE_ALL_FEATURES
9070 if test -z "$defaultval"; then
9071 if test x"$enablestring" = xdisable; then
9078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9079 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9080 # Check whether --enable-gstreamer8 was given.
9081 if test "${enable_gstreamer8+set}" = set; then
9082 enableval=$enable_gstreamer8;
9083 if test "$enableval" = yes; then
9084 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
9086 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
9091 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9096 eval "$wx_cv_use_gstreamer8"
9098 if test x"$enablestring" = xdisable; then
9099 if test $wxUSE_GSTREAMER8 = no; then
9105 result=$wxUSE_GSTREAMER8
9108 { echo "$as_me:$LINENO: result
: $result" >&5
9109 echo "${ECHO_T}$result" >&6; }
9113 defaultval=$wxUSE_ALL_FEATURES
9114 if test -z "$defaultval"; then
9115 if test x"$enablestring" = xdisable; then
9122 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webkit" >&5
9123 echo $ECHO_N "checking
for --${enablestring:-enable}-webkit...
$ECHO_C" >&6; }
9124 # Check whether --enable-webkit was given.
9125 if test "${enable_webkit+set}" = set; then
9126 enableval=$enable_webkit;
9127 if test "$enableval" = yes; then
9128 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9130 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9135 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9140 eval "$wx_cv_use_webkit"
9142 if test x
"$enablestring" = xdisable
; then
9143 if test $wxUSE_WEBKIT = no
; then
9149 result
=$wxUSE_WEBKIT
9152 { echo "$as_me:$LINENO: result: $result" >&5
9153 echo "${ECHO_T}$result" >&6; }
9157 defaultval
=$wxUSE_ALL_FEATURES
9158 if test -z "$defaultval"; then
9159 if test x
"$enablestring" = xdisable
; then
9166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9167 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9168 # Check whether --enable-richtext was given.
9169 if test "${enable_richtext+set}" = set; then
9170 enableval
=$enable_richtext;
9171 if test "$enableval" = yes; then
9172 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
9174 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
9179 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9184 eval "$wx_cv_use_richtext"
9186 if test x"$enablestring" = xdisable; then
9187 if test $wxUSE_RICHTEXT = no; then
9193 result=$wxUSE_RICHTEXT
9196 { echo "$as_me:$LINENO: result: $result" >&5
9197 echo "${ECHO_T}$result" >&6; }
9201 defaultval=$wxUSE_ALL_FEATURES
9202 if test -z "$defaultval"; then
9203 if test x"$enablestring" = xdisable; then
9210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9211 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9212 # Check whether --enable-graphics_ctx was given.
9213 if test "${enable_graphics_ctx+set}" = set; then
9214 enableval=$enable_graphics_ctx;
9215 if test "$enableval" = yes; then
9216 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
9218 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
9223 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9228 eval "$wx_cv_use_graphics_ctx"
9230 if test x"$enablestring" = xdisable; then
9231 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9237 result=$wxUSE_GRAPHICS_CONTEXT
9240 { echo "$as_me:$LINENO: result
: $result" >&5
9241 echo "${ECHO_T}$result" >&6; }
9245 defaultval=$wxUSE_ALL_FEATURES
9246 if test -z "$defaultval"; then
9247 if test x"$enablestring" = xdisable; then
9254 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9255 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9256 # Check whether --enable-postscript was given.
9257 if test "${enable_postscript+set}" = set; then
9258 enableval=$enable_postscript;
9259 if test "$enableval" = yes; then
9260 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9262 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9267 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9272 eval "$wx_cv_use_postscript"
9274 if test x
"$enablestring" = xdisable
; then
9275 if test $wxUSE_POSTSCRIPT = no
; then
9281 result
=$wxUSE_POSTSCRIPT
9284 { echo "$as_me:$LINENO: result: $result" >&5
9285 echo "${ECHO_T}$result" >&6; }
9289 defaultval
=$wxUSE_ALL_FEATURES
9290 if test -z "$defaultval"; then
9291 if test x
"$enablestring" = xdisable
; then
9298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9300 # Check whether --enable-printarch was given.
9301 if test "${enable_printarch+set}" = set; then
9302 enableval
=$enable_printarch;
9303 if test "$enableval" = yes; then
9304 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9306 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9311 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9316 eval "$wx_cv_use_printarch"
9318 if test x"$enablestring" = xdisable; then
9319 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9325 result=$wxUSE_PRINTING_ARCHITECTURE
9328 { echo "$as_me:$LINENO: result: $result" >&5
9329 echo "${ECHO_T}$result" >&6; }
9333 defaultval=$wxUSE_ALL_FEATURES
9334 if test -z "$defaultval"; then
9335 if test x"$enablestring" = xdisable; then
9342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9344 # Check whether --enable-svg was given.
9345 if test "${enable_svg+set}" = set; then
9346 enableval=$enable_svg;
9347 if test "$enableval" = yes; then
9348 wx_cv_use_svg='wxUSE_SVG
=yes'
9350 wx_cv_use_svg='wxUSE_SVG
=no
'
9355 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9360 eval "$wx_cv_use_svg"
9362 if test x"$enablestring" = xdisable; then
9363 if test $wxUSE_SVG = no; then
9372 { echo "$as_me:$LINENO: result
: $result" >&5
9373 echo "${ECHO_T}$result" >&6; }
9379 defaultval=$wxUSE_ALL_FEATURES
9380 if test -z "$defaultval"; then
9381 if test x"$enablestring" = xdisable; then
9388 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-clipboard" >&5
9389 echo $ECHO_N "checking
for --${enablestring:-enable}-clipboard...
$ECHO_C" >&6; }
9390 # Check whether --enable-clipboard was given.
9391 if test "${enable_clipboard+set}" = set; then
9392 enableval=$enable_clipboard;
9393 if test "$enableval" = yes; then
9394 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9396 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9401 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9406 eval "$wx_cv_use_clipboard"
9408 if test x
"$enablestring" = xdisable
; then
9409 if test $wxUSE_CLIPBOARD = no
; then
9415 result
=$wxUSE_CLIPBOARD
9418 { echo "$as_me:$LINENO: result: $result" >&5
9419 echo "${ECHO_T}$result" >&6; }
9423 defaultval
=$wxUSE_ALL_FEATURES
9424 if test -z "$defaultval"; then
9425 if test x
"$enablestring" = xdisable
; then
9432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9434 # Check whether --enable-dnd was given.
9435 if test "${enable_dnd+set}" = set; then
9436 enableval
=$enable_dnd;
9437 if test "$enableval" = yes; then
9438 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
9440 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
9445 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9450 eval "$wx_cv_use_dnd"
9452 if test x"$enablestring" = xdisable; then
9453 if test $wxUSE_DRAG_AND_DROP = no; then
9459 result=$wxUSE_DRAG_AND_DROP
9462 { echo "$as_me:$LINENO: result: $result" >&5
9463 echo "${ECHO_T}$result" >&6; }
9467 defaultval=$wxUSE_ALL_FEATURES
9468 if test -z "$defaultval"; then
9469 if test x"$enablestring" = xdisable; then
9476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9477 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9478 # Check whether --enable-metafile was given.
9479 if test "${enable_metafile+set}" = set; then
9480 enableval=$enable_metafile;
9481 if test "$enableval" = yes; then
9482 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
9484 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
9489 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9494 eval "$wx_cv_use_metafile"
9496 if test x"$enablestring" = xdisable; then
9497 if test $wxUSE_METAFILE = no; then
9503 result=$wxUSE_METAFILE
9506 { echo "$as_me:$LINENO: result
: $result" >&5
9507 echo "${ECHO_T}$result" >&6; }
9511 DEFAULT_wxUSE_CONTROLS=none
9513 enablestring=disable
9515 if test -z "$defaultval"; then
9516 if test x"$enablestring" = xdisable; then
9523 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-controls" >&5
9524 echo $ECHO_N "checking
for --${enablestring:-enable}-controls...
$ECHO_C" >&6; }
9525 # Check whether --enable-controls was given.
9526 if test "${enable_controls+set}" = set; then
9527 enableval=$enable_controls;
9528 if test "$enableval" = yes; then
9529 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9531 wx_cv_use_controls='wxUSE_CONTROLS=no'
9536 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9541 eval "$wx_cv_use_controls"
9543 if test x
"$enablestring" = xdisable
; then
9544 if test $wxUSE_CONTROLS = no
; then
9550 result
=$wxUSE_CONTROLS
9553 { echo "$as_me:$LINENO: result: $result" >&5
9554 echo "${ECHO_T}$result" >&6; }
9557 if test "$wxUSE_CONTROLS" = "no"; then
9558 DEFAULT_wxUSE_ACCEL
=no
9559 DEFAULT_wxUSE_ANIMATIONCTRL
=no
9560 DEFAULT_wxUSE_BMPBUTTON
=no
9561 DEFAULT_wxUSE_BUTTON
=no
9562 DEFAULT_wxUSE_CALCTRL
=no
9563 DEFAULT_wxUSE_CARET
=no
9564 DEFAULT_wxUSE_CHECKBOX
=no
9565 DEFAULT_wxUSE_CHECKLISTBOX
=no
9566 DEFAULT_wxUSE_CHOICE
=no
9567 DEFAULT_wxUSE_CHOICEBOOK
=no
9568 DEFAULT_wxUSE_COLLPANE
=no
9569 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
9570 DEFAULT_wxUSE_COMBOBOX
=no
9571 DEFAULT_wxUSE_COMBOBOX
=no
9572 DEFAULT_wxUSE_DATAVIEWCTRL
=no
9573 DEFAULT_wxUSE_DATEPICKCTRL
=no
9574 DEFAULT_wxUSE_DETECT_SM
=no
9575 DEFAULT_wxUSE_DIRPICKERCTRL
=no
9576 DEFAULT_wxUSE_DISPLAY
=no
9577 DEFAULT_wxUSE_FILECTRL
=no
9578 DEFAULT_wxUSE_FILEPICKERCTRL
=no
9579 DEFAULT_wxUSE_FONTPICKERCTRL
=no
9580 DEFAULT_wxUSE_GAUGE
=no
9581 DEFAULT_wxUSE_GRID
=no
9582 DEFAULT_wxUSE_HEADERCTRL
=no
9583 DEFAULT_wxUSE_HYPERLINKCTRL
=no
9584 DEFAULT_wxUSE_IMAGLIST
=no
9585 DEFAULT_wxUSE_LISTBOOK
=no
9586 DEFAULT_wxUSE_LISTBOX
=no
9587 DEFAULT_wxUSE_LISTCTRL
=no
9588 DEFAULT_wxUSE_NOTEBOOK
=no
9589 DEFAULT_wxUSE_POPUPWIN
=no
9590 DEFAULT_wxUSE_RADIOBOX
=no
9591 DEFAULT_wxUSE_RADIOBTN
=no
9592 DEFAULT_wxUSE_REARRANGECTRL
=no
9593 DEFAULT_wxUSE_SASH
=no
9594 DEFAULT_wxUSE_SCROLLBAR
=no
9595 DEFAULT_wxUSE_SEARCHCTRL
=no
9596 DEFAULT_wxUSE_SLIDER
=no
9597 DEFAULT_wxUSE_SPINBTN
=no
9598 DEFAULT_wxUSE_SPINCTRL
=no
9599 DEFAULT_wxUSE_SPLITTER
=no
9600 DEFAULT_wxUSE_STATBMP
=no
9601 DEFAULT_wxUSE_STATBOX
=no
9602 DEFAULT_wxUSE_STATLINE
=no
9603 DEFAULT_wxUSE_STATUSBAR
=no
9604 DEFAULT_wxUSE_TIPWINDOW
=no
9605 DEFAULT_wxUSE_TOGGLEBTN
=no
9606 DEFAULT_wxUSE_TOOLBAR
=no
9607 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
9608 DEFAULT_wxUSE_TOOLBOOK
=no
9609 DEFAULT_wxUSE_TOOLTIPS
=no
9610 DEFAULT_wxUSE_TREEBOOK
=no
9611 DEFAULT_wxUSE_TREECTRL
=no
9616 defaultval
=$wxUSE_ALL_FEATURES
9617 if test -z "$defaultval"; then
9618 if test x
"$enablestring" = xdisable
; then
9625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9626 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9627 # Check whether --enable-accel was given.
9628 if test "${enable_accel+set}" = set; then
9629 enableval
=$enable_accel;
9630 if test "$enableval" = yes; then
9631 wx_cv_use_accel
='wxUSE_ACCEL=yes'
9633 wx_cv_use_accel
='wxUSE_ACCEL=no'
9638 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9643 eval "$wx_cv_use_accel"
9645 if test x"$enablestring" = xdisable; then
9646 if test $wxUSE_ACCEL = no; then
9655 { echo "$as_me:$LINENO: result: $result" >&5
9656 echo "${ECHO_T}$result" >&6; }
9660 defaultval=$wxUSE_ALL_FEATURES
9661 if test -z "$defaultval"; then
9662 if test x"$enablestring" = xdisable; then
9669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9670 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9671 # Check whether --enable-animatectrl was given.
9672 if test "${enable_animatectrl+set}" = set; then
9673 enableval=$enable_animatectrl;
9674 if test "$enableval" = yes; then
9675 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
9677 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
9682 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9687 eval "$wx_cv_use_animatectrl"
9689 if test x"$enablestring" = xdisable; then
9690 if test $wxUSE_ANIMATIONCTRL = no; then
9696 result=$wxUSE_ANIMATIONCTRL
9699 { echo "$as_me:$LINENO: result
: $result" >&5
9700 echo "${ECHO_T}$result" >&6; }
9704 defaultval=$wxUSE_ALL_FEATURES
9705 if test -z "$defaultval"; then
9706 if test x"$enablestring" = xdisable; then
9713 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpbutton" >&5
9714 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpbutton...
$ECHO_C" >&6; }
9715 # Check whether --enable-bmpbutton was given.
9716 if test "${enable_bmpbutton+set}" = set; then
9717 enableval=$enable_bmpbutton;
9718 if test "$enableval" = yes; then
9719 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9721 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9726 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9731 eval "$wx_cv_use_bmpbutton"
9733 if test x
"$enablestring" = xdisable
; then
9734 if test $wxUSE_BMPBUTTON = no
; then
9740 result
=$wxUSE_BMPBUTTON
9743 { echo "$as_me:$LINENO: result: $result" >&5
9744 echo "${ECHO_T}$result" >&6; }
9748 defaultval
=$wxUSE_ALL_FEATURES
9749 if test -z "$defaultval"; then
9750 if test x
"$enablestring" = xdisable
; then
9757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9758 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9759 # Check whether --enable-bmpcombobox was given.
9760 if test "${enable_bmpcombobox+set}" = set; then
9761 enableval
=$enable_bmpcombobox;
9762 if test "$enableval" = yes; then
9763 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
9765 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
9770 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9775 eval "$wx_cv_use_bmpcombobox"
9777 if test x"$enablestring" = xdisable; then
9778 if test $wxUSE_BITMAPCOMBOBOX = no; then
9784 result=$wxUSE_BITMAPCOMBOBOX
9787 { echo "$as_me:$LINENO: result: $result" >&5
9788 echo "${ECHO_T}$result" >&6; }
9792 defaultval=$wxUSE_ALL_FEATURES
9793 if test -z "$defaultval"; then
9794 if test x"$enablestring" = xdisable; then
9801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9803 # Check whether --enable-button was given.
9804 if test "${enable_button+set}" = set; then
9805 enableval=$enable_button;
9806 if test "$enableval" = yes; then
9807 wx_cv_use_button='wxUSE_BUTTON
=yes'
9809 wx_cv_use_button='wxUSE_BUTTON
=no
'
9814 wx_cv_use_button='wxUSE_BUTTON
=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9819 eval "$wx_cv_use_button"
9821 if test x"$enablestring" = xdisable; then
9822 if test $wxUSE_BUTTON = no; then
9828 result=$wxUSE_BUTTON
9831 { echo "$as_me:$LINENO: result
: $result" >&5
9832 echo "${ECHO_T}$result" >&6; }
9836 defaultval=$wxUSE_ALL_FEATURES
9837 if test -z "$defaultval"; then
9838 if test x"$enablestring" = xdisable; then
9845 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-calendar" >&5
9846 echo $ECHO_N "checking
for --${enablestring:-enable}-calendar...
$ECHO_C" >&6; }
9847 # Check whether --enable-calendar was given.
9848 if test "${enable_calendar+set}" = set; then
9849 enableval=$enable_calendar;
9850 if test "$enableval" = yes; then
9851 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9853 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9858 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9863 eval "$wx_cv_use_calendar"
9865 if test x
"$enablestring" = xdisable
; then
9866 if test $wxUSE_CALCTRL = no
; then
9872 result
=$wxUSE_CALCTRL
9875 { echo "$as_me:$LINENO: result: $result" >&5
9876 echo "${ECHO_T}$result" >&6; }
9880 defaultval
=$wxUSE_ALL_FEATURES
9881 if test -z "$defaultval"; then
9882 if test x
"$enablestring" = xdisable
; then
9889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9890 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9891 # Check whether --enable-caret was given.
9892 if test "${enable_caret+set}" = set; then
9893 enableval
=$enable_caret;
9894 if test "$enableval" = yes; then
9895 wx_cv_use_caret
='wxUSE_CARET=yes'
9897 wx_cv_use_caret
='wxUSE_CARET=no'
9902 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9907 eval "$wx_cv_use_caret"
9909 if test x"$enablestring" = xdisable; then
9910 if test $wxUSE_CARET = no; then
9919 { echo "$as_me:$LINENO: result: $result" >&5
9920 echo "${ECHO_T}$result" >&6; }
9924 defaultval=$wxUSE_ALL_FEATURES
9925 if test -z "$defaultval"; then
9926 if test x"$enablestring" = xdisable; then
9933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9934 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9935 # Check whether --enable-checkbox was given.
9936 if test "${enable_checkbox+set}" = set; then
9937 enableval=$enable_checkbox;
9938 if test "$enableval" = yes; then
9939 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
9941 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
9946 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9951 eval "$wx_cv_use_checkbox"
9953 if test x"$enablestring" = xdisable; then
9954 if test $wxUSE_CHECKBOX = no; then
9960 result=$wxUSE_CHECKBOX
9963 { echo "$as_me:$LINENO: result
: $result" >&5
9964 echo "${ECHO_T}$result" >&6; }
9968 defaultval=$wxUSE_ALL_FEATURES
9969 if test -z "$defaultval"; then
9970 if test x"$enablestring" = xdisable; then
9977 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checklst" >&5
9978 echo $ECHO_N "checking
for --${enablestring:-enable}-checklst...
$ECHO_C" >&6; }
9979 # Check whether --enable-checklst was given.
9980 if test "${enable_checklst+set}" = set; then
9981 enableval=$enable_checklst;
9982 if test "$enableval" = yes; then
9983 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9985 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9990 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9995 eval "$wx_cv_use_checklst"
9997 if test x
"$enablestring" = xdisable
; then
9998 if test $wxUSE_CHECKLST = no
; then
10004 result
=$wxUSE_CHECKLST
10007 { echo "$as_me:$LINENO: result: $result" >&5
10008 echo "${ECHO_T}$result" >&6; }
10012 defaultval
=$wxUSE_ALL_FEATURES
10013 if test -z "$defaultval"; then
10014 if test x
"$enablestring" = xdisable
; then
10021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10022 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10023 # Check whether --enable-choice was given.
10024 if test "${enable_choice+set}" = set; then
10025 enableval
=$enable_choice;
10026 if test "$enableval" = yes; then
10027 wx_cv_use_choice
='wxUSE_CHOICE=yes'
10029 wx_cv_use_choice
='wxUSE_CHOICE=no'
10034 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10039 eval "$wx_cv_use_choice"
10041 if test x"$enablestring" = xdisable; then
10042 if test $wxUSE_CHOICE = no; then
10048 result=$wxUSE_CHOICE
10051 { echo "$as_me:$LINENO: result: $result" >&5
10052 echo "${ECHO_T}$result" >&6; }
10056 defaultval=$wxUSE_ALL_FEATURES
10057 if test -z "$defaultval"; then
10058 if test x"$enablestring" = xdisable; then
10065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10067 # Check whether --enable-choicebook was given.
10068 if test "${enable_choicebook+set}" = set; then
10069 enableval=$enable_choicebook;
10070 if test "$enableval" = yes; then
10071 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
10073 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
10078 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10083 eval "$wx_cv_use_choicebook"
10085 if test x"$enablestring" = xdisable; then
10086 if test $wxUSE_CHOICEBOOK = no; then
10092 result=$wxUSE_CHOICEBOOK
10095 { echo "$as_me:$LINENO: result
: $result" >&5
10096 echo "${ECHO_T}$result" >&6; }
10100 defaultval=$wxUSE_ALL_FEATURES
10101 if test -z "$defaultval"; then
10102 if test x"$enablestring" = xdisable; then
10109 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-collpane" >&5
10110 echo $ECHO_N "checking
for --${enablestring:-enable}-collpane...
$ECHO_C" >&6; }
10111 # Check whether --enable-collpane was given.
10112 if test "${enable_collpane+set}" = set; then
10113 enableval=$enable_collpane;
10114 if test "$enableval" = yes; then
10115 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10117 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10122 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10127 eval "$wx_cv_use_collpane"
10129 if test x
"$enablestring" = xdisable
; then
10130 if test $wxUSE_COLLPANE = no
; then
10136 result
=$wxUSE_COLLPANE
10139 { echo "$as_me:$LINENO: result: $result" >&5
10140 echo "${ECHO_T}$result" >&6; }
10144 defaultval
=$wxUSE_ALL_FEATURES
10145 if test -z "$defaultval"; then
10146 if test x
"$enablestring" = xdisable
; then
10153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10155 # Check whether --enable-colourpicker was given.
10156 if test "${enable_colourpicker+set}" = set; then
10157 enableval
=$enable_colourpicker;
10158 if test "$enableval" = yes; then
10159 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
10161 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
10166 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10171 eval "$wx_cv_use_colourpicker"
10173 if test x"$enablestring" = xdisable; then
10174 if test $wxUSE_COLOURPICKERCTRL = no; then
10180 result=$wxUSE_COLOURPICKERCTRL
10183 { echo "$as_me:$LINENO: result: $result" >&5
10184 echo "${ECHO_T}$result" >&6; }
10188 defaultval=$wxUSE_ALL_FEATURES
10189 if test -z "$defaultval"; then
10190 if test x"$enablestring" = xdisable; then
10197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10198 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10199 # Check whether --enable-combobox was given.
10200 if test "${enable_combobox+set}" = set; then
10201 enableval=$enable_combobox;
10202 if test "$enableval" = yes; then
10203 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
10205 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
10210 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10215 eval "$wx_cv_use_combobox"
10217 if test x"$enablestring" = xdisable; then
10218 if test $wxUSE_COMBOBOX = no; then
10224 result=$wxUSE_COMBOBOX
10227 { echo "$as_me:$LINENO: result
: $result" >&5
10228 echo "${ECHO_T}$result" >&6; }
10232 defaultval=$wxUSE_ALL_FEATURES
10233 if test -z "$defaultval"; then
10234 if test x"$enablestring" = xdisable; then
10241 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-comboctrl" >&5
10242 echo $ECHO_N "checking
for --${enablestring:-enable}-comboctrl...
$ECHO_C" >&6; }
10243 # Check whether --enable-comboctrl was given.
10244 if test "${enable_comboctrl+set}" = set; then
10245 enableval=$enable_comboctrl;
10246 if test "$enableval" = yes; then
10247 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10249 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10254 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10259 eval "$wx_cv_use_comboctrl"
10261 if test x
"$enablestring" = xdisable
; then
10262 if test $wxUSE_COMBOCTRL = no
; then
10268 result
=$wxUSE_COMBOCTRL
10271 { echo "$as_me:$LINENO: result: $result" >&5
10272 echo "${ECHO_T}$result" >&6; }
10276 defaultval
=$wxUSE_ALL_FEATURES
10277 if test -z "$defaultval"; then
10278 if test x
"$enablestring" = xdisable
; then
10285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10286 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10287 # Check whether --enable-dataviewctrl was given.
10288 if test "${enable_dataviewctrl+set}" = set; then
10289 enableval
=$enable_dataviewctrl;
10290 if test "$enableval" = yes; then
10291 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10293 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10298 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10303 eval "$wx_cv_use_dataviewctrl"
10305 if test x"$enablestring" = xdisable; then
10306 if test $wxUSE_DATAVIEWCTRL = no; then
10312 result=$wxUSE_DATAVIEWCTRL
10315 { echo "$as_me:$LINENO: result: $result" >&5
10316 echo "${ECHO_T}$result" >&6; }
10320 defaultval=$wxUSE_ALL_FEATURES
10321 if test -z "$defaultval"; then
10322 if test x"$enablestring" = xdisable; then
10329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10331 # Check whether --enable-datepick was given.
10332 if test "${enable_datepick+set}" = set; then
10333 enableval=$enable_datepick;
10334 if test "$enableval" = yes; then
10335 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10337 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10342 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10347 eval "$wx_cv_use_datepick"
10349 if test x"$enablestring" = xdisable; then
10350 if test $wxUSE_DATEPICKCTRL = no; then
10356 result=$wxUSE_DATEPICKCTRL
10359 { echo "$as_me:$LINENO: result
: $result" >&5
10360 echo "${ECHO_T}$result" >&6; }
10364 defaultval=$wxUSE_ALL_FEATURES
10365 if test -z "$defaultval"; then
10366 if test x"$enablestring" = xdisable; then
10373 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10374 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10375 # Check whether --enable-detect_sm was given.
10376 if test "${enable_detect_sm+set}" = set; then
10377 enableval=$enable_detect_sm;
10378 if test "$enableval" = yes; then
10379 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10381 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10386 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10391 eval "$wx_cv_use_detect_sm"
10393 if test x
"$enablestring" = xdisable
; then
10394 if test $wxUSE_DETECT_SM = no
; then
10400 result
=$wxUSE_DETECT_SM
10403 { echo "$as_me:$LINENO: result: $result" >&5
10404 echo "${ECHO_T}$result" >&6; }
10408 defaultval
=$wxUSE_ALL_FEATURES
10409 if test -z "$defaultval"; then
10410 if test x
"$enablestring" = xdisable
; then
10417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10418 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10419 # Check whether --enable-dirpicker was given.
10420 if test "${enable_dirpicker+set}" = set; then
10421 enableval
=$enable_dirpicker;
10422 if test "$enableval" = yes; then
10423 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
10425 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
10430 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10435 eval "$wx_cv_use_dirpicker"
10437 if test x"$enablestring" = xdisable; then
10438 if test $wxUSE_DIRPICKERCTRL = no; then
10444 result=$wxUSE_DIRPICKERCTRL
10447 { echo "$as_me:$LINENO: result: $result" >&5
10448 echo "${ECHO_T}$result" >&6; }
10452 defaultval=$wxUSE_ALL_FEATURES
10453 if test -z "$defaultval"; then
10454 if test x"$enablestring" = xdisable; then
10461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10462 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10463 # Check whether --enable-display was given.
10464 if test "${enable_display+set}" = set; then
10465 enableval=$enable_display;
10466 if test "$enableval" = yes; then
10467 wx_cv_use_display='wxUSE_DISPLAY
=yes'
10469 wx_cv_use_display='wxUSE_DISPLAY
=no
'
10474 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10479 eval "$wx_cv_use_display"
10481 if test x"$enablestring" = xdisable; then
10482 if test $wxUSE_DISPLAY = no; then
10488 result=$wxUSE_DISPLAY
10491 { echo "$as_me:$LINENO: result
: $result" >&5
10492 echo "${ECHO_T}$result" >&6; }
10496 defaultval=$wxUSE_ALL_FEATURES
10497 if test -z "$defaultval"; then
10498 if test x"$enablestring" = xdisable; then
10505 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10506 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10507 # Check whether --enable-editablebox was given.
10508 if test "${enable_editablebox+set}" = set; then
10509 enableval=$enable_editablebox;
10510 if test "$enableval" = yes; then
10511 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10513 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10518 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10523 eval "$wx_cv_use_editablebox"
10525 if test x
"$enablestring" = xdisable
; then
10526 if test $wxUSE_EDITABLELISTBOX = no
; then
10532 result
=$wxUSE_EDITABLELISTBOX
10535 { echo "$as_me:$LINENO: result: $result" >&5
10536 echo "${ECHO_T}$result" >&6; }
10540 defaultval
=$wxUSE_ALL_FEATURES
10541 if test -z "$defaultval"; then
10542 if test x
"$enablestring" = xdisable
; then
10549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10550 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10551 # Check whether --enable-filectrl was given.
10552 if test "${enable_filectrl+set}" = set; then
10553 enableval
=$enable_filectrl;
10554 if test "$enableval" = yes; then
10555 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
10557 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
10562 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10567 eval "$wx_cv_use_filectrl"
10569 if test x"$enablestring" = xdisable; then
10570 if test $wxUSE_FILECTRL = no; then
10576 result=$wxUSE_FILECTRL
10579 { echo "$as_me:$LINENO: result: $result" >&5
10580 echo "${ECHO_T}$result" >&6; }
10584 defaultval=$wxUSE_ALL_FEATURES
10585 if test -z "$defaultval"; then
10586 if test x"$enablestring" = xdisable; then
10593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10594 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10595 # Check whether --enable-filepicker was given.
10596 if test "${enable_filepicker+set}" = set; then
10597 enableval=$enable_filepicker;
10598 if test "$enableval" = yes; then
10599 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
10601 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
10606 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10611 eval "$wx_cv_use_filepicker"
10613 if test x"$enablestring" = xdisable; then
10614 if test $wxUSE_FILEPICKERCTRL = no; then
10620 result=$wxUSE_FILEPICKERCTRL
10623 { echo "$as_me:$LINENO: result
: $result" >&5
10624 echo "${ECHO_T}$result" >&6; }
10628 defaultval=$wxUSE_ALL_FEATURES
10629 if test -z "$defaultval"; then
10630 if test x"$enablestring" = xdisable; then
10637 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10638 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10639 # Check whether --enable-fontpicker was given.
10640 if test "${enable_fontpicker+set}" = set; then
10641 enableval=$enable_fontpicker;
10642 if test "$enableval" = yes; then
10643 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10645 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10650 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10655 eval "$wx_cv_use_fontpicker"
10657 if test x
"$enablestring" = xdisable
; then
10658 if test $wxUSE_FONTPICKERCTRL = no
; then
10664 result
=$wxUSE_FONTPICKERCTRL
10667 { echo "$as_me:$LINENO: result: $result" >&5
10668 echo "${ECHO_T}$result" >&6; }
10672 defaultval
=$wxUSE_ALL_FEATURES
10673 if test -z "$defaultval"; then
10674 if test x
"$enablestring" = xdisable
; then
10681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10682 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10683 # Check whether --enable-gauge was given.
10684 if test "${enable_gauge+set}" = set; then
10685 enableval
=$enable_gauge;
10686 if test "$enableval" = yes; then
10687 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10689 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10694 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10699 eval "$wx_cv_use_gauge"
10701 if test x"$enablestring" = xdisable; then
10702 if test $wxUSE_GAUGE = no; then
10708 result=$wxUSE_GAUGE
10711 { echo "$as_me:$LINENO: result: $result" >&5
10712 echo "${ECHO_T}$result" >&6; }
10716 defaultval=$wxUSE_ALL_FEATURES
10717 if test -z "$defaultval"; then
10718 if test x"$enablestring" = xdisable; then
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10727 # Check whether --enable-grid was given.
10728 if test "${enable_grid+set}" = set; then
10729 enableval=$enable_grid;
10730 if test "$enableval" = yes; then
10731 wx_cv_use_grid='wxUSE_GRID
=yes'
10733 wx_cv_use_grid='wxUSE_GRID
=no
'
10738 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10743 eval "$wx_cv_use_grid"
10745 if test x"$enablestring" = xdisable; then
10746 if test $wxUSE_GRID = no; then
10755 { echo "$as_me:$LINENO: result
: $result" >&5
10756 echo "${ECHO_T}$result" >&6; }
10760 defaultval=$wxUSE_ALL_FEATURES
10761 if test -z "$defaultval"; then
10762 if test x"$enablestring" = xdisable; then
10769 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-headerctrl" >&5
10770 echo $ECHO_N "checking
for --${enablestring:-enable}-headerctrl...
$ECHO_C" >&6; }
10771 # Check whether --enable-headerctrl was given.
10772 if test "${enable_headerctrl+set}" = set; then
10773 enableval=$enable_headerctrl;
10774 if test "$enableval" = yes; then
10775 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10777 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10782 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10787 eval "$wx_cv_use_headerctrl"
10789 if test x
"$enablestring" = xdisable
; then
10790 if test $wxUSE_HEADERCTRL = no
; then
10796 result
=$wxUSE_HEADERCTRL
10799 { echo "$as_me:$LINENO: result: $result" >&5
10800 echo "${ECHO_T}$result" >&6; }
10804 defaultval
=$wxUSE_ALL_FEATURES
10805 if test -z "$defaultval"; then
10806 if test x
"$enablestring" = xdisable
; then
10813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10814 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10815 # Check whether --enable-hyperlink was given.
10816 if test "${enable_hyperlink+set}" = set; then
10817 enableval
=$enable_hyperlink;
10818 if test "$enableval" = yes; then
10819 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10821 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10826 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10831 eval "$wx_cv_use_hyperlink"
10833 if test x"$enablestring" = xdisable; then
10834 if test $wxUSE_HYPERLINKCTRL = no; then
10840 result=$wxUSE_HYPERLINKCTRL
10843 { echo "$as_me:$LINENO: result: $result" >&5
10844 echo "${ECHO_T}$result" >&6; }
10848 defaultval=$wxUSE_ALL_FEATURES
10849 if test -z "$defaultval"; then
10850 if test x"$enablestring" = xdisable; then
10857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10858 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10859 # Check whether --enable-imaglist was given.
10860 if test "${enable_imaglist+set}" = set; then
10861 enableval=$enable_imaglist;
10862 if test "$enableval" = yes; then
10863 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10865 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10870 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10875 eval "$wx_cv_use_imaglist"
10877 if test x"$enablestring" = xdisable; then
10878 if test $wxUSE_IMAGLIST = no; then
10884 result=$wxUSE_IMAGLIST
10887 { echo "$as_me:$LINENO: result
: $result" >&5
10888 echo "${ECHO_T}$result" >&6; }
10892 defaultval=$wxUSE_ALL_FEATURES
10893 if test -z "$defaultval"; then
10894 if test x"$enablestring" = xdisable; then
10901 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-infobar" >&5
10902 echo $ECHO_N "checking
for --${enablestring:-enable}-infobar...
$ECHO_C" >&6; }
10903 # Check whether --enable-infobar was given.
10904 if test "${enable_infobar+set}" = set; then
10905 enableval=$enable_infobar;
10906 if test "$enableval" = yes; then
10907 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
10909 wx_cv_use_infobar='wxUSE_INFOBAR=no'
10914 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
10919 eval "$wx_cv_use_infobar"
10921 if test x
"$enablestring" = xdisable
; then
10922 if test $wxUSE_INFOBAR = no
; then
10928 result
=$wxUSE_INFOBAR
10931 { echo "$as_me:$LINENO: result: $result" >&5
10932 echo "${ECHO_T}$result" >&6; }
10936 defaultval
=$wxUSE_ALL_FEATURES
10937 if test -z "$defaultval"; then
10938 if test x
"$enablestring" = xdisable
; then
10945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10947 # Check whether --enable-listbook was given.
10948 if test "${enable_listbook+set}" = set; then
10949 enableval
=$enable_listbook;
10950 if test "$enableval" = yes; then
10951 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
10953 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
10958 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10963 eval "$wx_cv_use_listbook"
10965 if test x"$enablestring" = xdisable; then
10966 if test $wxUSE_LISTBOOK = no; then
10972 result=$wxUSE_LISTBOOK
10975 { echo "$as_me:$LINENO: result: $result" >&5
10976 echo "${ECHO_T}$result" >&6; }
10980 defaultval=$wxUSE_ALL_FEATURES
10981 if test -z "$defaultval"; then
10982 if test x"$enablestring" = xdisable; then
10989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10990 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10991 # Check whether --enable-listbox was given.
10992 if test "${enable_listbox+set}" = set; then
10993 enableval=$enable_listbox;
10994 if test "$enableval" = yes; then
10995 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
10997 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11002 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11007 eval "$wx_cv_use_listbox"
11009 if test x"$enablestring" = xdisable; then
11010 if test $wxUSE_LISTBOX = no; then
11016 result=$wxUSE_LISTBOX
11019 { echo "$as_me:$LINENO: result
: $result" >&5
11020 echo "${ECHO_T}$result" >&6; }
11024 defaultval=$wxUSE_ALL_FEATURES
11025 if test -z "$defaultval"; then
11026 if test x"$enablestring" = xdisable; then
11033 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11034 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
11035 # Check whether --enable-listctrl was given.
11036 if test "${enable_listctrl+set}" = set; then
11037 enableval=$enable_listctrl;
11038 if test "$enableval" = yes; then
11039 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11041 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11046 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11051 eval "$wx_cv_use_listctrl"
11053 if test x
"$enablestring" = xdisable
; then
11054 if test $wxUSE_LISTCTRL = no
; then
11060 result
=$wxUSE_LISTCTRL
11063 { echo "$as_me:$LINENO: result: $result" >&5
11064 echo "${ECHO_T}$result" >&6; }
11068 defaultval
=$wxUSE_ALL_FEATURES
11069 if test -z "$defaultval"; then
11070 if test x
"$enablestring" = xdisable
; then
11077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11078 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11079 # Check whether --enable-notebook was given.
11080 if test "${enable_notebook+set}" = set; then
11081 enableval
=$enable_notebook;
11082 if test "$enableval" = yes; then
11083 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11085 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11090 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11095 eval "$wx_cv_use_notebook"
11097 if test x"$enablestring" = xdisable; then
11098 if test $wxUSE_NOTEBOOK = no; then
11104 result=$wxUSE_NOTEBOOK
11107 { echo "$as_me:$LINENO: result: $result" >&5
11108 echo "${ECHO_T}$result" >&6; }
11112 defaultval=$wxUSE_ALL_FEATURES
11113 if test -z "$defaultval"; then
11114 if test x"$enablestring" = xdisable; then
11121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11123 # Check whether --enable-notifmsg was given.
11124 if test "${enable_notifmsg+set}" = set; then
11125 enableval=$enable_notifmsg;
11126 if test "$enableval" = yes; then
11127 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
11129 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
11134 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11139 eval "$wx_cv_use_notifmsg"
11141 if test x"$enablestring" = xdisable; then
11142 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11148 result=$wxUSE_NOTIFICATION_MESSAGE
11151 { echo "$as_me:$LINENO: result
: $result" >&5
11152 echo "${ECHO_T}$result" >&6; }
11156 defaultval=$wxUSE_ALL_FEATURES
11157 if test -z "$defaultval"; then
11158 if test x"$enablestring" = xdisable; then
11165 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11166 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11167 # Check whether --enable-odcombobox was given.
11168 if test "${enable_odcombobox+set}" = set; then
11169 enableval=$enable_odcombobox;
11170 if test "$enableval" = yes; then
11171 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11173 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11178 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11183 eval "$wx_cv_use_odcombobox"
11185 if test x
"$enablestring" = xdisable
; then
11186 if test $wxUSE_ODCOMBOBOX = no
; then
11192 result
=$wxUSE_ODCOMBOBOX
11195 { echo "$as_me:$LINENO: result: $result" >&5
11196 echo "${ECHO_T}$result" >&6; }
11200 defaultval
=$wxUSE_ALL_FEATURES
11201 if test -z "$defaultval"; then
11202 if test x
"$enablestring" = xdisable
; then
11209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11210 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11211 # Check whether --enable-popupwin was given.
11212 if test "${enable_popupwin+set}" = set; then
11213 enableval
=$enable_popupwin;
11214 if test "$enableval" = yes; then
11215 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11217 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11222 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11227 eval "$wx_cv_use_popupwin"
11229 if test x"$enablestring" = xdisable; then
11230 if test $wxUSE_POPUPWIN = no; then
11236 result=$wxUSE_POPUPWIN
11239 { echo "$as_me:$LINENO: result: $result" >&5
11240 echo "${ECHO_T}$result" >&6; }
11244 defaultval=$wxUSE_ALL_FEATURES
11245 if test -z "$defaultval"; then
11246 if test x"$enablestring" = xdisable; then
11253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11254 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11255 # Check whether --enable-radiobox was given.
11256 if test "${enable_radiobox+set}" = set; then
11257 enableval=$enable_radiobox;
11258 if test "$enableval" = yes; then
11259 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11261 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11266 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11271 eval "$wx_cv_use_radiobox"
11273 if test x"$enablestring" = xdisable; then
11274 if test $wxUSE_RADIOBOX = no; then
11280 result=$wxUSE_RADIOBOX
11283 { echo "$as_me:$LINENO: result
: $result" >&5
11284 echo "${ECHO_T}$result" >&6; }
11288 defaultval=$wxUSE_ALL_FEATURES
11289 if test -z "$defaultval"; then
11290 if test x"$enablestring" = xdisable; then
11297 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11298 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11299 # Check whether --enable-radiobtn was given.
11300 if test "${enable_radiobtn+set}" = set; then
11301 enableval=$enable_radiobtn;
11302 if test "$enableval" = yes; then
11303 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11305 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11310 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11315 eval "$wx_cv_use_radiobtn"
11317 if test x
"$enablestring" = xdisable
; then
11318 if test $wxUSE_RADIOBTN = no
; then
11324 result
=$wxUSE_RADIOBTN
11327 { echo "$as_me:$LINENO: result: $result" >&5
11328 echo "${ECHO_T}$result" >&6; }
11332 defaultval
=$wxUSE_ALL_FEATURES
11333 if test -z "$defaultval"; then
11334 if test x
"$enablestring" = xdisable
; then
11341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11342 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11343 # Check whether --enable-rearrangectrl was given.
11344 if test "${enable_rearrangectrl+set}" = set; then
11345 enableval
=$enable_rearrangectrl;
11346 if test "$enableval" = yes; then
11347 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
11349 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
11354 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11359 eval "$wx_cv_use_rearrangectrl"
11361 if test x"$enablestring" = xdisable; then
11362 if test $wxUSE_REARRANGECTRL = no; then
11368 result=$wxUSE_REARRANGECTRL
11371 { echo "$as_me:$LINENO: result: $result" >&5
11372 echo "${ECHO_T}$result" >&6; }
11376 defaultval=$wxUSE_ALL_FEATURES
11377 if test -z "$defaultval"; then
11378 if test x"$enablestring" = xdisable; then
11385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11386 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11387 # Check whether --enable-sash was given.
11388 if test "${enable_sash+set}" = set; then
11389 enableval=$enable_sash;
11390 if test "$enableval" = yes; then
11391 wx_cv_use_sash='wxUSE_SASH
=yes'
11393 wx_cv_use_sash='wxUSE_SASH
=no
'
11398 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11403 eval "$wx_cv_use_sash"
11405 if test x"$enablestring" = xdisable; then
11406 if test $wxUSE_SASH = no; then
11415 { echo "$as_me:$LINENO: result
: $result" >&5
11416 echo "${ECHO_T}$result" >&6; }
11420 defaultval=$wxUSE_ALL_FEATURES
11421 if test -z "$defaultval"; then
11422 if test x"$enablestring" = xdisable; then
11429 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11430 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11431 # Check whether --enable-scrollbar was given.
11432 if test "${enable_scrollbar+set}" = set; then
11433 enableval=$enable_scrollbar;
11434 if test "$enableval" = yes; then
11435 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11437 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11442 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11447 eval "$wx_cv_use_scrollbar"
11449 if test x
"$enablestring" = xdisable
; then
11450 if test $wxUSE_SCROLLBAR = no
; then
11456 result
=$wxUSE_SCROLLBAR
11459 { echo "$as_me:$LINENO: result: $result" >&5
11460 echo "${ECHO_T}$result" >&6; }
11464 defaultval
=$wxUSE_ALL_FEATURES
11465 if test -z "$defaultval"; then
11466 if test x
"$enablestring" = xdisable
; then
11473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11474 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11475 # Check whether --enable-searchctrl was given.
11476 if test "${enable_searchctrl+set}" = set; then
11477 enableval
=$enable_searchctrl;
11478 if test "$enableval" = yes; then
11479 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11481 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11486 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11491 eval "$wx_cv_use_searchctrl"
11493 if test x"$enablestring" = xdisable; then
11494 if test $wxUSE_SEARCHCTRL = no; then
11500 result=$wxUSE_SEARCHCTRL
11503 { echo "$as_me:$LINENO: result: $result" >&5
11504 echo "${ECHO_T}$result" >&6; }
11508 defaultval=$wxUSE_ALL_FEATURES
11509 if test -z "$defaultval"; then
11510 if test x"$enablestring" = xdisable; then
11517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11518 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11519 # Check whether --enable-slider was given.
11520 if test "${enable_slider+set}" = set; then
11521 enableval=$enable_slider;
11522 if test "$enableval" = yes; then
11523 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11525 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11530 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11535 eval "$wx_cv_use_slider"
11537 if test x"$enablestring" = xdisable; then
11538 if test $wxUSE_SLIDER = no; then
11544 result=$wxUSE_SLIDER
11547 { echo "$as_me:$LINENO: result
: $result" >&5
11548 echo "${ECHO_T}$result" >&6; }
11552 defaultval=$wxUSE_ALL_FEATURES
11553 if test -z "$defaultval"; then
11554 if test x"$enablestring" = xdisable; then
11561 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11562 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11563 # Check whether --enable-spinbtn was given.
11564 if test "${enable_spinbtn+set}" = set; then
11565 enableval=$enable_spinbtn;
11566 if test "$enableval" = yes; then
11567 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11569 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11574 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11579 eval "$wx_cv_use_spinbtn"
11581 if test x
"$enablestring" = xdisable
; then
11582 if test $wxUSE_SPINBTN = no
; then
11588 result
=$wxUSE_SPINBTN
11591 { echo "$as_me:$LINENO: result: $result" >&5
11592 echo "${ECHO_T}$result" >&6; }
11596 defaultval
=$wxUSE_ALL_FEATURES
11597 if test -z "$defaultval"; then
11598 if test x
"$enablestring" = xdisable
; then
11605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11606 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11607 # Check whether --enable-spinctrl was given.
11608 if test "${enable_spinctrl+set}" = set; then
11609 enableval
=$enable_spinctrl;
11610 if test "$enableval" = yes; then
11611 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11613 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11618 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11623 eval "$wx_cv_use_spinctrl"
11625 if test x"$enablestring" = xdisable; then
11626 if test $wxUSE_SPINCTRL = no; then
11632 result=$wxUSE_SPINCTRL
11635 { echo "$as_me:$LINENO: result: $result" >&5
11636 echo "${ECHO_T}$result" >&6; }
11640 defaultval=$wxUSE_ALL_FEATURES
11641 if test -z "$defaultval"; then
11642 if test x"$enablestring" = xdisable; then
11649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11650 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11651 # Check whether --enable-splitter was given.
11652 if test "${enable_splitter+set}" = set; then
11653 enableval=$enable_splitter;
11654 if test "$enableval" = yes; then
11655 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11657 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11662 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11667 eval "$wx_cv_use_splitter"
11669 if test x"$enablestring" = xdisable; then
11670 if test $wxUSE_SPLITTER = no; then
11676 result=$wxUSE_SPLITTER
11679 { echo "$as_me:$LINENO: result
: $result" >&5
11680 echo "${ECHO_T}$result" >&6; }
11684 defaultval=$wxUSE_ALL_FEATURES
11685 if test -z "$defaultval"; then
11686 if test x"$enablestring" = xdisable; then
11693 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11694 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11695 # Check whether --enable-statbmp was given.
11696 if test "${enable_statbmp+set}" = set; then
11697 enableval=$enable_statbmp;
11698 if test "$enableval" = yes; then
11699 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11701 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11706 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11711 eval "$wx_cv_use_statbmp"
11713 if test x
"$enablestring" = xdisable
; then
11714 if test $wxUSE_STATBMP = no
; then
11720 result
=$wxUSE_STATBMP
11723 { echo "$as_me:$LINENO: result: $result" >&5
11724 echo "${ECHO_T}$result" >&6; }
11728 defaultval
=$wxUSE_ALL_FEATURES
11729 if test -z "$defaultval"; then
11730 if test x
"$enablestring" = xdisable
; then
11737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11738 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11739 # Check whether --enable-statbox was given.
11740 if test "${enable_statbox+set}" = set; then
11741 enableval
=$enable_statbox;
11742 if test "$enableval" = yes; then
11743 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11745 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11750 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11755 eval "$wx_cv_use_statbox"
11757 if test x"$enablestring" = xdisable; then
11758 if test $wxUSE_STATBOX = no; then
11764 result=$wxUSE_STATBOX
11767 { echo "$as_me:$LINENO: result: $result" >&5
11768 echo "${ECHO_T}$result" >&6; }
11772 defaultval=$wxUSE_ALL_FEATURES
11773 if test -z "$defaultval"; then
11774 if test x"$enablestring" = xdisable; then
11781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11782 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11783 # Check whether --enable-statline was given.
11784 if test "${enable_statline+set}" = set; then
11785 enableval=$enable_statline;
11786 if test "$enableval" = yes; then
11787 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11789 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11794 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11799 eval "$wx_cv_use_statline"
11801 if test x"$enablestring" = xdisable; then
11802 if test $wxUSE_STATLINE = no; then
11808 result=$wxUSE_STATLINE
11811 { echo "$as_me:$LINENO: result
: $result" >&5
11812 echo "${ECHO_T}$result" >&6; }
11816 defaultval=$wxUSE_ALL_FEATURES
11817 if test -z "$defaultval"; then
11818 if test x"$enablestring" = xdisable; then
11825 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11826 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11827 # Check whether --enable-stattext was given.
11828 if test "${enable_stattext+set}" = set; then
11829 enableval=$enable_stattext;
11830 if test "$enableval" = yes; then
11831 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11833 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11838 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11843 eval "$wx_cv_use_stattext"
11845 if test x
"$enablestring" = xdisable
; then
11846 if test $wxUSE_STATTEXT = no
; then
11852 result
=$wxUSE_STATTEXT
11855 { echo "$as_me:$LINENO: result: $result" >&5
11856 echo "${ECHO_T}$result" >&6; }
11860 defaultval
=$wxUSE_ALL_FEATURES
11861 if test -z "$defaultval"; then
11862 if test x
"$enablestring" = xdisable
; then
11869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11870 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11871 # Check whether --enable-statusbar was given.
11872 if test "${enable_statusbar+set}" = set; then
11873 enableval
=$enable_statusbar;
11874 if test "$enableval" = yes; then
11875 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11877 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11882 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11887 eval "$wx_cv_use_statusbar"
11889 if test x"$enablestring" = xdisable; then
11890 if test $wxUSE_STATUSBAR = no; then
11896 result=$wxUSE_STATUSBAR
11899 { echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6; }
11904 defaultval=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x"$enablestring" = xdisable; then
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11915 # Check whether --enable-taskbaricon was given.
11916 if test "${enable_taskbaricon+set}" = set; then
11917 enableval=$enable_taskbaricon;
11918 if test "$enableval" = yes; then
11919 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
11921 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
11926 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11931 eval "$wx_cv_use_taskbaricon"
11933 if test x"$enablestring" = xdisable; then
11934 if test $wxUSE_TASKBARICON = no; then
11940 result=$wxUSE_TASKBARICON
11943 { echo "$as_me:$LINENO: result
: $result" >&5
11944 echo "${ECHO_T}$result" >&6; }
11948 defaultval=$wxUSE_ALL_FEATURES
11949 if test -z "$defaultval"; then
11950 if test x"$enablestring" = xdisable; then
11957 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
11958 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
11959 # Check whether --enable-tbarnative was given.
11960 if test "${enable_tbarnative+set}" = set; then
11961 enableval=$enable_tbarnative;
11962 if test "$enableval" = yes; then
11963 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11965 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11970 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11975 eval "$wx_cv_use_tbarnative"
11977 if test x
"$enablestring" = xdisable
; then
11978 if test $wxUSE_TOOLBAR_NATIVE = no
; then
11984 result
=$wxUSE_TOOLBAR_NATIVE
11987 { echo "$as_me:$LINENO: result: $result" >&5
11988 echo "${ECHO_T}$result" >&6; }
11992 defaultval
=$wxUSE_ALL_FEATURES
11993 if test -z "$defaultval"; then
11994 if test x
"$enablestring" = xdisable
; then
12001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12002 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12003 # Check whether --enable-textctrl was given.
12004 if test "${enable_textctrl+set}" = set; then
12005 enableval
=$enable_textctrl;
12006 if test "$enableval" = yes; then
12007 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
12009 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
12014 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12019 eval "$wx_cv_use_textctrl"
12021 if test x"$enablestring" = xdisable; then
12022 if test $wxUSE_TEXTCTRL = no; then
12028 result=$wxUSE_TEXTCTRL
12031 { echo "$as_me:$LINENO: result: $result" >&5
12032 echo "${ECHO_T}$result" >&6; }
12036 defaultval=$wxUSE_ALL_FEATURES
12037 if test -z "$defaultval"; then
12038 if test x"$enablestring" = xdisable; then
12045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12046 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12047 # Check whether --enable-tipwindow was given.
12048 if test "${enable_tipwindow+set}" = set; then
12049 enableval=$enable_tipwindow;
12050 if test "$enableval" = yes; then
12051 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12053 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12058 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12063 eval "$wx_cv_use_tipwindow"
12065 if test x"$enablestring" = xdisable; then
12066 if test $wxUSE_TIPWINDOW = no; then
12072 result=$wxUSE_TIPWINDOW
12075 { echo "$as_me:$LINENO: result
: $result" >&5
12076 echo "${ECHO_T}$result" >&6; }
12080 defaultval=$wxUSE_ALL_FEATURES
12081 if test -z "$defaultval"; then
12082 if test x"$enablestring" = xdisable; then
12089 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
12090 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
12091 # Check whether --enable-togglebtn was given.
12092 if test "${enable_togglebtn+set}" = set; then
12093 enableval=$enable_togglebtn;
12094 if test "$enableval" = yes; then
12095 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12097 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12102 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12107 eval "$wx_cv_use_togglebtn"
12109 if test x
"$enablestring" = xdisable
; then
12110 if test $wxUSE_TOGGLEBTN = no
; then
12116 result
=$wxUSE_TOGGLEBTN
12119 { echo "$as_me:$LINENO: result: $result" >&5
12120 echo "${ECHO_T}$result" >&6; }
12124 defaultval
=$wxUSE_ALL_FEATURES
12125 if test -z "$defaultval"; then
12126 if test x
"$enablestring" = xdisable
; then
12133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12134 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12135 # Check whether --enable-toolbar was given.
12136 if test "${enable_toolbar+set}" = set; then
12137 enableval
=$enable_toolbar;
12138 if test "$enableval" = yes; then
12139 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
12141 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
12146 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12151 eval "$wx_cv_use_toolbar"
12153 if test x"$enablestring" = xdisable; then
12154 if test $wxUSE_TOOLBAR = no; then
12160 result=$wxUSE_TOOLBAR
12163 { echo "$as_me:$LINENO: result: $result" >&5
12164 echo "${ECHO_T}$result" >&6; }
12168 defaultval=$wxUSE_ALL_FEATURES
12169 if test -z "$defaultval"; then
12170 if test x"$enablestring" = xdisable; then
12177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12178 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12179 # Check whether --enable-toolbook was given.
12180 if test "${enable_toolbook+set}" = set; then
12181 enableval=$enable_toolbook;
12182 if test "$enableval" = yes; then
12183 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12185 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12190 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12195 eval "$wx_cv_use_toolbook"
12197 if test x"$enablestring" = xdisable; then
12198 if test $wxUSE_TOOLBOOK = no; then
12204 result=$wxUSE_TOOLBOOK
12207 { echo "$as_me:$LINENO: result
: $result" >&5
12208 echo "${ECHO_T}$result" >&6; }
12212 defaultval=$wxUSE_ALL_FEATURES
12213 if test -z "$defaultval"; then
12214 if test x"$enablestring" = xdisable; then
12221 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12222 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12223 # Check whether --enable-treebook was given.
12224 if test "${enable_treebook+set}" = set; then
12225 enableval=$enable_treebook;
12226 if test "$enableval" = yes; then
12227 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12229 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12234 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12239 eval "$wx_cv_use_treebook"
12241 if test x
"$enablestring" = xdisable
; then
12242 if test $wxUSE_TREEBOOK = no
; then
12248 result
=$wxUSE_TREEBOOK
12251 { echo "$as_me:$LINENO: result: $result" >&5
12252 echo "${ECHO_T}$result" >&6; }
12256 defaultval
=$wxUSE_ALL_FEATURES
12257 if test -z "$defaultval"; then
12258 if test x
"$enablestring" = xdisable
; then
12265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12266 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12267 # Check whether --enable-treectrl was given.
12268 if test "${enable_treectrl+set}" = set; then
12269 enableval
=$enable_treectrl;
12270 if test "$enableval" = yes; then
12271 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12273 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12278 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12283 eval "$wx_cv_use_treectrl"
12285 if test x"$enablestring" = xdisable; then
12286 if test $wxUSE_TREECTRL = no; then
12292 result=$wxUSE_TREECTRL
12295 { echo "$as_me:$LINENO: result: $result" >&5
12296 echo "${ECHO_T}$result" >&6; }
12302 defaultval=$wxUSE_ALL_FEATURES
12303 if test -z "$defaultval"; then
12304 if test x"$enablestring" = xdisable; then
12311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12312 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12313 # Check whether --enable-commondlg was given.
12314 if test "${enable_commondlg+set}" = set; then
12315 enableval=$enable_commondlg;
12316 if test "$enableval" = yes; then
12317 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12319 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12324 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12329 eval "$wx_cv_use_commondlg"
12331 if test x"$enablestring" = xdisable; then
12332 if test $wxUSE_COMMONDLGS = no; then
12338 result=$wxUSE_COMMONDLGS
12341 { echo "$as_me:$LINENO: result
: $result" >&5
12342 echo "${ECHO_T}$result" >&6; }
12346 defaultval=$wxUSE_ALL_FEATURES
12347 if test -z "$defaultval"; then
12348 if test x"$enablestring" = xdisable; then
12355 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
12356 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
12357 # Check whether --enable-aboutdlg was given.
12358 if test "${enable_aboutdlg+set}" = set; then
12359 enableval=$enable_aboutdlg;
12360 if test "$enableval" = yes; then
12361 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12363 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12368 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12373 eval "$wx_cv_use_aboutdlg"
12375 if test x
"$enablestring" = xdisable
; then
12376 if test $wxUSE_ABOUTDLG = no
; then
12382 result
=$wxUSE_ABOUTDLG
12385 { echo "$as_me:$LINENO: result: $result" >&5
12386 echo "${ECHO_T}$result" >&6; }
12390 defaultval
=$wxUSE_ALL_FEATURES
12391 if test -z "$defaultval"; then
12392 if test x
"$enablestring" = xdisable
; then
12399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12400 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12401 # Check whether --enable-choicedlg was given.
12402 if test "${enable_choicedlg+set}" = set; then
12403 enableval
=$enable_choicedlg;
12404 if test "$enableval" = yes; then
12405 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
12407 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
12412 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12417 eval "$wx_cv_use_choicedlg"
12419 if test x"$enablestring" = xdisable; then
12420 if test $wxUSE_CHOICEDLG = no; then
12426 result=$wxUSE_CHOICEDLG
12429 { echo "$as_me:$LINENO: result: $result" >&5
12430 echo "${ECHO_T}$result" >&6; }
12434 defaultval=$wxUSE_ALL_FEATURES
12435 if test -z "$defaultval"; then
12436 if test x"$enablestring" = xdisable; then
12443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12444 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12445 # Check whether --enable-coldlg was given.
12446 if test "${enable_coldlg+set}" = set; then
12447 enableval=$enable_coldlg;
12448 if test "$enableval" = yes; then
12449 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
12451 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
12456 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12461 eval "$wx_cv_use_coldlg"
12463 if test x"$enablestring" = xdisable; then
12464 if test $wxUSE_COLOURDLG = no; then
12470 result=$wxUSE_COLOURDLG
12473 { echo "$as_me:$LINENO: result
: $result" >&5
12474 echo "${ECHO_T}$result" >&6; }
12478 defaultval=$wxUSE_ALL_FEATURES
12479 if test -z "$defaultval"; then
12480 if test x"$enablestring" = xdisable; then
12487 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
12488 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
12489 # Check whether --enable-filedlg was given.
12490 if test "${enable_filedlg+set}" = set; then
12491 enableval=$enable_filedlg;
12492 if test "$enableval" = yes; then
12493 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12495 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12500 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12505 eval "$wx_cv_use_filedlg"
12507 if test x
"$enablestring" = xdisable
; then
12508 if test $wxUSE_FILEDLG = no
; then
12514 result
=$wxUSE_FILEDLG
12517 { echo "$as_me:$LINENO: result: $result" >&5
12518 echo "${ECHO_T}$result" >&6; }
12522 defaultval
=$wxUSE_ALL_FEATURES
12523 if test -z "$defaultval"; then
12524 if test x
"$enablestring" = xdisable
; then
12531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12532 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12533 # Check whether --enable-finddlg was given.
12534 if test "${enable_finddlg+set}" = set; then
12535 enableval
=$enable_finddlg;
12536 if test "$enableval" = yes; then
12537 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
12539 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
12544 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12549 eval "$wx_cv_use_finddlg"
12551 if test x"$enablestring" = xdisable; then
12552 if test $wxUSE_FINDREPLDLG = no; then
12558 result=$wxUSE_FINDREPLDLG
12561 { echo "$as_me:$LINENO: result: $result" >&5
12562 echo "${ECHO_T}$result" >&6; }
12566 defaultval=$wxUSE_ALL_FEATURES
12567 if test -z "$defaultval"; then
12568 if test x"$enablestring" = xdisable; then
12575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12576 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12577 # Check whether --enable-fontdlg was given.
12578 if test "${enable_fontdlg+set}" = set; then
12579 enableval=$enable_fontdlg;
12580 if test "$enableval" = yes; then
12581 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
12583 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
12588 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12593 eval "$wx_cv_use_fontdlg"
12595 if test x"$enablestring" = xdisable; then
12596 if test $wxUSE_FONTDLG = no; then
12602 result=$wxUSE_FONTDLG
12605 { echo "$as_me:$LINENO: result
: $result" >&5
12606 echo "${ECHO_T}$result" >&6; }
12610 defaultval=$wxUSE_ALL_FEATURES
12611 if test -z "$defaultval"; then
12612 if test x"$enablestring" = xdisable; then
12619 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
12620 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
12621 # Check whether --enable-dirdlg was given.
12622 if test "${enable_dirdlg+set}" = set; then
12623 enableval=$enable_dirdlg;
12624 if test "$enableval" = yes; then
12625 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12627 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12632 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12637 eval "$wx_cv_use_dirdlg"
12639 if test x
"$enablestring" = xdisable
; then
12640 if test $wxUSE_DIRDLG = no
; then
12646 result
=$wxUSE_DIRDLG
12649 { echo "$as_me:$LINENO: result: $result" >&5
12650 echo "${ECHO_T}$result" >&6; }
12654 defaultval
=$wxUSE_ALL_FEATURES
12655 if test -z "$defaultval"; then
12656 if test x
"$enablestring" = xdisable
; then
12663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12664 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12665 # Check whether --enable-msgdlg was given.
12666 if test "${enable_msgdlg+set}" = set; then
12667 enableval
=$enable_msgdlg;
12668 if test "$enableval" = yes; then
12669 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
12671 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
12676 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12681 eval "$wx_cv_use_msgdlg"
12683 if test x"$enablestring" = xdisable; then
12684 if test $wxUSE_MSGDLG = no; then
12690 result=$wxUSE_MSGDLG
12693 { echo "$as_me:$LINENO: result: $result" >&5
12694 echo "${ECHO_T}$result" >&6; }
12698 defaultval=$wxUSE_ALL_FEATURES
12699 if test -z "$defaultval"; then
12700 if test x"$enablestring" = xdisable; then
12707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12708 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12709 # Check whether --enable-numberdlg was given.
12710 if test "${enable_numberdlg+set}" = set; then
12711 enableval=$enable_numberdlg;
12712 if test "$enableval" = yes; then
12713 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
12715 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
12720 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12725 eval "$wx_cv_use_numberdlg"
12727 if test x"$enablestring" = xdisable; then
12728 if test $wxUSE_NUMBERDLG = no; then
12734 result=$wxUSE_NUMBERDLG
12737 { echo "$as_me:$LINENO: result
: $result" >&5
12738 echo "${ECHO_T}$result" >&6; }
12742 defaultval=$wxUSE_ALL_FEATURES
12743 if test -z "$defaultval"; then
12744 if test x"$enablestring" = xdisable; then
12751 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
12752 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
12753 # Check whether --enable-splash was given.
12754 if test "${enable_splash+set}" = set; then
12755 enableval=$enable_splash;
12756 if test "$enableval" = yes; then
12757 wx_cv_use_splash='wxUSE_SPLASH=yes'
12759 wx_cv_use_splash='wxUSE_SPLASH=no'
12764 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12769 eval "$wx_cv_use_splash"
12771 if test x
"$enablestring" = xdisable
; then
12772 if test $wxUSE_SPLASH = no
; then
12778 result
=$wxUSE_SPLASH
12781 { echo "$as_me:$LINENO: result: $result" >&5
12782 echo "${ECHO_T}$result" >&6; }
12786 defaultval
=$wxUSE_ALL_FEATURES
12787 if test -z "$defaultval"; then
12788 if test x
"$enablestring" = xdisable
; then
12795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12796 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12797 # Check whether --enable-textdlg was given.
12798 if test "${enable_textdlg+set}" = set; then
12799 enableval
=$enable_textdlg;
12800 if test "$enableval" = yes; then
12801 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
12803 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
12808 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12813 eval "$wx_cv_use_textdlg"
12815 if test x"$enablestring" = xdisable; then
12816 if test $wxUSE_TEXTDLG = no; then
12822 result=$wxUSE_TEXTDLG
12825 { echo "$as_me:$LINENO: result: $result" >&5
12826 echo "${ECHO_T}$result" >&6; }
12830 defaultval=$wxUSE_ALL_FEATURES
12831 if test -z "$defaultval"; then
12832 if test x"$enablestring" = xdisable; then
12839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12840 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12841 # Check whether --enable-tipdlg was given.
12842 if test "${enable_tipdlg+set}" = set; then
12843 enableval=$enable_tipdlg;
12844 if test "$enableval" = yes; then
12845 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
12847 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
12852 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12857 eval "$wx_cv_use_tipdlg"
12859 if test x"$enablestring" = xdisable; then
12860 if test $wxUSE_STARTUP_TIPS = no; then
12866 result=$wxUSE_STARTUP_TIPS
12869 { echo "$as_me:$LINENO: result
: $result" >&5
12870 echo "${ECHO_T}$result" >&6; }
12874 defaultval=$wxUSE_ALL_FEATURES
12875 if test -z "$defaultval"; then
12876 if test x"$enablestring" = xdisable; then
12883 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
12884 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
12885 # Check whether --enable-progressdlg was given.
12886 if test "${enable_progressdlg+set}" = set; then
12887 enableval=$enable_progressdlg;
12888 if test "$enableval" = yes; then
12889 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12891 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12896 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12901 eval "$wx_cv_use_progressdlg"
12903 if test x
"$enablestring" = xdisable
; then
12904 if test $wxUSE_PROGRESSDLG = no
; then
12910 result
=$wxUSE_PROGRESSDLG
12913 { echo "$as_me:$LINENO: result: $result" >&5
12914 echo "${ECHO_T}$result" >&6; }
12918 defaultval
=$wxUSE_ALL_FEATURES
12919 if test -z "$defaultval"; then
12920 if test x
"$enablestring" = xdisable
; then
12927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12928 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12929 # Check whether --enable-wizarddlg was given.
12930 if test "${enable_wizarddlg+set}" = set; then
12931 enableval
=$enable_wizarddlg;
12932 if test "$enableval" = yes; then
12933 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
12935 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
12940 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12945 eval "$wx_cv_use_wizarddlg"
12947 if test x"$enablestring" = xdisable; then
12948 if test $wxUSE_WIZARDDLG = no; then
12954 result=$wxUSE_WIZARDDLG
12957 { echo "$as_me:$LINENO: result: $result" >&5
12958 echo "${ECHO_T}$result" >&6; }
12964 defaultval=$wxUSE_ALL_FEATURES
12965 if test -z "$defaultval"; then
12966 if test x"$enablestring" = xdisable; then
12973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12974 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12975 # Check whether --enable-menus was given.
12976 if test "${enable_menus+set}" = set; then
12977 enableval=$enable_menus;
12978 if test "$enableval" = yes; then
12979 wx_cv_use_menus='wxUSE_MENUS
=yes'
12981 wx_cv_use_menus='wxUSE_MENUS
=no
'
12986 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12991 eval "$wx_cv_use_menus"
12993 if test x"$enablestring" = xdisable; then
12994 if test $wxUSE_MENUS = no; then
13000 result=$wxUSE_MENUS
13003 { echo "$as_me:$LINENO: result
: $result" >&5
13004 echo "${ECHO_T}$result" >&6; }
13008 defaultval=$wxUSE_ALL_FEATURES
13009 if test -z "$defaultval"; then
13010 if test x"$enablestring" = xdisable; then
13017 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
13018 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
13019 # Check whether --enable-miniframe was given.
13020 if test "${enable_miniframe+set}" = set; then
13021 enableval=$enable_miniframe;
13022 if test "$enableval" = yes; then
13023 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13025 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13030 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13035 eval "$wx_cv_use_miniframe"
13037 if test x
"$enablestring" = xdisable
; then
13038 if test $wxUSE_MINIFRAME = no
; then
13044 result
=$wxUSE_MINIFRAME
13047 { echo "$as_me:$LINENO: result: $result" >&5
13048 echo "${ECHO_T}$result" >&6; }
13052 defaultval
=$wxUSE_ALL_FEATURES
13053 if test -z "$defaultval"; then
13054 if test x
"$enablestring" = xdisable
; then
13061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13062 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13063 # Check whether --enable-tooltips was given.
13064 if test "${enable_tooltips+set}" = set; then
13065 enableval
=$enable_tooltips;
13066 if test "$enableval" = yes; then
13067 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
13069 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
13074 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13079 eval "$wx_cv_use_tooltips"
13081 if test x"$enablestring" = xdisable; then
13082 if test $wxUSE_TOOLTIPS = no; then
13088 result=$wxUSE_TOOLTIPS
13091 { echo "$as_me:$LINENO: result: $result" >&5
13092 echo "${ECHO_T}$result" >&6; }
13096 defaultval=$wxUSE_ALL_FEATURES
13097 if test -z "$defaultval"; then
13098 if test x"$enablestring" = xdisable; then
13105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13106 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13107 # Check whether --enable-splines was given.
13108 if test "${enable_splines+set}" = set; then
13109 enableval=$enable_splines;
13110 if test "$enableval" = yes; then
13111 wx_cv_use_splines='wxUSE_SPLINES
=yes'
13113 wx_cv_use_splines='wxUSE_SPLINES
=no
'
13118 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13123 eval "$wx_cv_use_splines"
13125 if test x"$enablestring" = xdisable; then
13126 if test $wxUSE_SPLINES = no; then
13132 result=$wxUSE_SPLINES
13135 { echo "$as_me:$LINENO: result
: $result" >&5
13136 echo "${ECHO_T}$result" >&6; }
13140 defaultval=$wxUSE_ALL_FEATURES
13141 if test -z "$defaultval"; then
13142 if test x"$enablestring" = xdisable; then
13149 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
13150 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
13151 # Check whether --enable-mousewheel was given.
13152 if test "${enable_mousewheel+set}" = set; then
13153 enableval=$enable_mousewheel;
13154 if test "$enableval" = yes; then
13155 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13157 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13162 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13167 eval "$wx_cv_use_mousewheel"
13169 if test x
"$enablestring" = xdisable
; then
13170 if test $wxUSE_MOUSEWHEEL = no
; then
13176 result
=$wxUSE_MOUSEWHEEL
13179 { echo "$as_me:$LINENO: result: $result" >&5
13180 echo "${ECHO_T}$result" >&6; }
13184 defaultval
=$wxUSE_ALL_FEATURES
13185 if test -z "$defaultval"; then
13186 if test x
"$enablestring" = xdisable
; then
13193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13194 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13195 # Check whether --enable-validators was given.
13196 if test "${enable_validators+set}" = set; then
13197 enableval
=$enable_validators;
13198 if test "$enableval" = yes; then
13199 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
13201 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
13206 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13211 eval "$wx_cv_use_validators"
13213 if test x"$enablestring" = xdisable; then
13214 if test $wxUSE_VALIDATORS = no; then
13220 result=$wxUSE_VALIDATORS
13223 { echo "$as_me:$LINENO: result: $result" >&5
13224 echo "${ECHO_T}$result" >&6; }
13228 defaultval=$wxUSE_ALL_FEATURES
13229 if test -z "$defaultval"; then
13230 if test x"$enablestring" = xdisable; then
13237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13238 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13239 # Check whether --enable-busyinfo was given.
13240 if test "${enable_busyinfo+set}" = set; then
13241 enableval=$enable_busyinfo;
13242 if test "$enableval" = yes; then
13243 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
13245 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
13250 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13255 eval "$wx_cv_use_busyinfo"
13257 if test x"$enablestring" = xdisable; then
13258 if test $wxUSE_BUSYINFO = no; then
13264 result=$wxUSE_BUSYINFO
13267 { echo "$as_me:$LINENO: result
: $result" >&5
13268 echo "${ECHO_T}$result" >&6; }
13272 defaultval=$wxUSE_ALL_FEATURES
13273 if test -z "$defaultval"; then
13274 if test x"$enablestring" = xdisable; then
13281 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13282 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
13283 # Check whether --enable-joystick was given.
13284 if test "${enable_joystick+set}" = set; then
13285 enableval=$enable_joystick;
13286 if test "$enableval" = yes; then
13287 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13289 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13294 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13299 eval "$wx_cv_use_joystick"
13301 if test x
"$enablestring" = xdisable
; then
13302 if test $wxUSE_JOYSTICK = no
; then
13308 result
=$wxUSE_JOYSTICK
13311 { echo "$as_me:$LINENO: result: $result" >&5
13312 echo "${ECHO_T}$result" >&6; }
13316 defaultval
=$wxUSE_ALL_FEATURES
13317 if test -z "$defaultval"; then
13318 if test x
"$enablestring" = xdisable
; then
13325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13326 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13327 # Check whether --enable-metafile was given.
13328 if test "${enable_metafile+set}" = set; then
13329 enableval
=$enable_metafile;
13330 if test "$enableval" = yes; then
13331 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13333 wx_cv_use_metafile
='wxUSE_METAFILE=no'
13338 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13343 eval "$wx_cv_use_metafile"
13345 if test x"$enablestring" = xdisable; then
13346 if test $wxUSE_METAFILE = no; then
13352 result=$wxUSE_METAFILE
13355 { echo "$as_me:$LINENO: result: $result" >&5
13356 echo "${ECHO_T}$result" >&6; }
13360 defaultval=$wxUSE_ALL_FEATURES
13361 if test -z "$defaultval"; then
13362 if test x"$enablestring" = xdisable; then
13369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13370 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13371 # Check whether --enable-dragimage was given.
13372 if test "${enable_dragimage+set}" = set; then
13373 enableval=$enable_dragimage;
13374 if test "$enableval" = yes; then
13375 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
13377 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
13382 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13387 eval "$wx_cv_use_dragimage"
13389 if test x"$enablestring" = xdisable; then
13390 if test $wxUSE_DRAGIMAGE = no; then
13396 result=$wxUSE_DRAGIMAGE
13399 { echo "$as_me:$LINENO: result
: $result" >&5
13400 echo "${ECHO_T}$result" >&6; }
13404 defaultval=$wxUSE_ALL_FEATURES
13405 if test -z "$defaultval"; then
13406 if test x"$enablestring" = xdisable; then
13413 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
13414 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
13415 # Check whether --enable-accessibility was given.
13416 if test "${enable_accessibility+set}" = set; then
13417 enableval=$enable_accessibility;
13418 if test "$enableval" = yes; then
13419 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13421 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13426 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13431 eval "$wx_cv_use_accessibility"
13433 if test x
"$enablestring" = xdisable
; then
13434 if test $wxUSE_ACCESSIBILITY = no
; then
13440 result
=$wxUSE_ACCESSIBILITY
13443 { echo "$as_me:$LINENO: result: $result" >&5
13444 echo "${ECHO_T}$result" >&6; }
13450 defaultval
=$wxUSE_ALL_FEATURES
13451 if test -z "$defaultval"; then
13452 if test x
"$enablestring" = xdisable
; then
13459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13460 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13461 # Check whether --enable-palette was given.
13462 if test "${enable_palette+set}" = set; then
13463 enableval
=$enable_palette;
13464 if test "$enableval" = yes; then
13465 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13467 wx_cv_use_palette
='wxUSE_PALETTE=no'
13472 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13477 eval "$wx_cv_use_palette"
13479 if test x"$enablestring" = xdisable; then
13480 if test $wxUSE_PALETTE = no; then
13486 result=$wxUSE_PALETTE
13489 { echo "$as_me:$LINENO: result: $result" >&5
13490 echo "${ECHO_T}$result" >&6; }
13494 defaultval=$wxUSE_ALL_FEATURES
13495 if test -z "$defaultval"; then
13496 if test x"$enablestring" = xdisable; then
13503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13504 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13505 # Check whether --enable-image was given.
13506 if test "${enable_image+set}" = set; then
13507 enableval=$enable_image;
13508 if test "$enableval" = yes; then
13509 wx_cv_use_image='wxUSE_IMAGE
=yes'
13511 wx_cv_use_image='wxUSE_IMAGE
=no
'
13516 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13521 eval "$wx_cv_use_image"
13523 if test x"$enablestring" = xdisable; then
13524 if test $wxUSE_IMAGE = no; then
13530 result=$wxUSE_IMAGE
13533 { echo "$as_me:$LINENO: result
: $result" >&5
13534 echo "${ECHO_T}$result" >&6; }
13538 defaultval=$wxUSE_ALL_FEATURES
13539 if test -z "$defaultval"; then
13540 if test x"$enablestring" = xdisable; then
13547 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13548 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
13549 # Check whether --enable-gif was given.
13550 if test "${enable_gif+set}" = set; then
13551 enableval=$enable_gif;
13552 if test "$enableval" = yes; then
13553 wx_cv_use_gif='wxUSE_GIF=yes'
13555 wx_cv_use_gif='wxUSE_GIF=no'
13560 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13565 eval "$wx_cv_use_gif"
13567 if test x
"$enablestring" = xdisable
; then
13568 if test $wxUSE_GIF = no
; then
13577 { echo "$as_me:$LINENO: result: $result" >&5
13578 echo "${ECHO_T}$result" >&6; }
13582 defaultval
=$wxUSE_ALL_FEATURES
13583 if test -z "$defaultval"; then
13584 if test x
"$enablestring" = xdisable
; then
13591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13592 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13593 # Check whether --enable-pcx was given.
13594 if test "${enable_pcx+set}" = set; then
13595 enableval
=$enable_pcx;
13596 if test "$enableval" = yes; then
13597 wx_cv_use_pcx
='wxUSE_PCX=yes'
13599 wx_cv_use_pcx
='wxUSE_PCX=no'
13604 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13609 eval "$wx_cv_use_pcx"
13611 if test x"$enablestring" = xdisable; then
13612 if test $wxUSE_PCX = no; then
13621 { echo "$as_me:$LINENO: result: $result" >&5
13622 echo "${ECHO_T}$result" >&6; }
13626 defaultval=$wxUSE_ALL_FEATURES
13627 if test -z "$defaultval"; then
13628 if test x"$enablestring" = xdisable; then
13635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13636 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13637 # Check whether --enable-tga was given.
13638 if test "${enable_tga+set}" = set; then
13639 enableval=$enable_tga;
13640 if test "$enableval" = yes; then
13641 wx_cv_use_tga='wxUSE_TGA
=yes'
13643 wx_cv_use_tga='wxUSE_TGA
=no
'
13648 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13653 eval "$wx_cv_use_tga"
13655 if test x"$enablestring" = xdisable; then
13656 if test $wxUSE_TGA = no; then
13665 { echo "$as_me:$LINENO: result
: $result" >&5
13666 echo "${ECHO_T}$result" >&6; }
13670 defaultval=$wxUSE_ALL_FEATURES
13671 if test -z "$defaultval"; then
13672 if test x"$enablestring" = xdisable; then
13679 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13680 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
13681 # Check whether --enable-iff was given.
13682 if test "${enable_iff+set}" = set; then
13683 enableval=$enable_iff;
13684 if test "$enableval" = yes; then
13685 wx_cv_use_iff='wxUSE_IFF=yes'
13687 wx_cv_use_iff='wxUSE_IFF=no'
13692 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13697 eval "$wx_cv_use_iff"
13699 if test x
"$enablestring" = xdisable
; then
13700 if test $wxUSE_IFF = no
; then
13709 { echo "$as_me:$LINENO: result: $result" >&5
13710 echo "${ECHO_T}$result" >&6; }
13714 defaultval
=$wxUSE_ALL_FEATURES
13715 if test -z "$defaultval"; then
13716 if test x
"$enablestring" = xdisable
; then
13723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13724 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13725 # Check whether --enable-pnm was given.
13726 if test "${enable_pnm+set}" = set; then
13727 enableval
=$enable_pnm;
13728 if test "$enableval" = yes; then
13729 wx_cv_use_pnm
='wxUSE_PNM=yes'
13731 wx_cv_use_pnm
='wxUSE_PNM=no'
13736 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13741 eval "$wx_cv_use_pnm"
13743 if test x"$enablestring" = xdisable; then
13744 if test $wxUSE_PNM = no; then
13753 { echo "$as_me:$LINENO: result: $result" >&5
13754 echo "${ECHO_T}$result" >&6; }
13758 defaultval=$wxUSE_ALL_FEATURES
13759 if test -z "$defaultval"; then
13760 if test x"$enablestring" = xdisable; then
13767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13768 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13769 # Check whether --enable-xpm was given.
13770 if test "${enable_xpm+set}" = set; then
13771 enableval=$enable_xpm;
13772 if test "$enableval" = yes; then
13773 wx_cv_use_xpm='wxUSE_XPM
=yes'
13775 wx_cv_use_xpm='wxUSE_XPM
=no
'
13780 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13785 eval "$wx_cv_use_xpm"
13787 if test x"$enablestring" = xdisable; then
13788 if test $wxUSE_XPM = no; then
13797 { echo "$as_me:$LINENO: result
: $result" >&5
13798 echo "${ECHO_T}$result" >&6; }
13802 defaultval=$wxUSE_ALL_FEATURES
13803 if test -z "$defaultval"; then
13804 if test x"$enablestring" = xdisable; then
13811 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
13812 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
13813 # Check whether --enable-ico_cur was given.
13814 if test "${enable_ico_cur+set}" = set; then
13815 enableval=$enable_ico_cur;
13816 if test "$enableval" = yes; then
13817 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13819 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13824 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13829 eval "$wx_cv_use_ico_cur"
13831 if test x
"$enablestring" = xdisable
; then
13832 if test $wxUSE_ICO_CUR = no
; then
13838 result
=$wxUSE_ICO_CUR
13841 { echo "$as_me:$LINENO: result: $result" >&5
13842 echo "${ECHO_T}$result" >&6; }
13848 defaultval
=$wxUSE_ALL_FEATURES
13849 if test -z "$defaultval"; then
13850 if test x
"$enablestring" = xdisable
; then
13857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13858 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13859 # Check whether --enable-dccache was given.
13860 if test "${enable_dccache+set}" = set; then
13861 enableval
=$enable_dccache;
13862 if test "$enableval" = yes; then
13863 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
13865 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
13870 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13875 eval "$wx_cv_use_dccache"
13877 if test x"$enablestring" = xdisable; then
13878 if test $wxUSE_DC_CACHEING = no; then
13884 result=$wxUSE_DC_CACHEING
13887 { echo "$as_me:$LINENO: result: $result" >&5
13888 echo "${ECHO_T}$result" >&6; }
13892 defaultval=$wxUSE_ALL_FEATURES
13893 if test -z "$defaultval"; then
13894 if test x"$enablestring" = xdisable; then
13901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13902 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13903 # Check whether --enable-ps-in-msw was given.
13904 if test "${enable_ps_in_msw+set}" = set; then
13905 enableval=$enable_ps_in_msw;
13906 if test "$enableval" = yes; then
13907 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
13909 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
13914 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13919 eval "$wx_cv_use_ps_in_msw"
13921 if test x"$enablestring" = xdisable; then
13922 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13928 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13931 { echo "$as_me:$LINENO: result
: $result" >&5
13932 echo "${ECHO_T}$result" >&6; }
13936 defaultval=$wxUSE_ALL_FEATURES
13937 if test -z "$defaultval"; then
13938 if test x"$enablestring" = xdisable; then
13945 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
13946 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
13947 # Check whether --enable-ownerdrawn was given.
13948 if test "${enable_ownerdrawn+set}" = set; then
13949 enableval=$enable_ownerdrawn;
13950 if test "$enableval" = yes; then
13951 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13953 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13958 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13963 eval "$wx_cv_use_ownerdrawn"
13965 if test x
"$enablestring" = xdisable
; then
13966 if test $wxUSE_OWNER_DRAWN = no
; then
13972 result
=$wxUSE_OWNER_DRAWN
13975 { echo "$as_me:$LINENO: result: $result" >&5
13976 echo "${ECHO_T}$result" >&6; }
13980 defaultval
=$wxUSE_ALL_FEATURES
13981 if test -z "$defaultval"; then
13982 if test x
"$enablestring" = xdisable
; then
13989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13990 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13991 # Check whether --enable-uxtheme was given.
13992 if test "${enable_uxtheme+set}" = set; then
13993 enableval
=$enable_uxtheme;
13994 if test "$enableval" = yes; then
13995 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
13997 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
14002 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14007 eval "$wx_cv_use_uxtheme"
14009 if test x"$enablestring" = xdisable; then
14010 if test $wxUSE_UXTHEME = no; then
14016 result=$wxUSE_UXTHEME
14019 { echo "$as_me:$LINENO: result: $result" >&5
14020 echo "${ECHO_T}$result" >&6; }
14024 defaultval=$wxUSE_ALL_FEATURES
14025 if test -z "$defaultval"; then
14026 if test x"$enablestring" = xdisable; then
14033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14034 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14035 # Check whether --enable-wxdib was given.
14036 if test "${enable_wxdib+set}" = set; then
14037 enableval=$enable_wxdib;
14038 if test "$enableval" = yes; then
14039 wx_cv_use_wxdib='wxUSE_DIB
=yes'
14041 wx_cv_use_wxdib='wxUSE_DIB
=no
'
14046 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14051 eval "$wx_cv_use_wxdib"
14053 if test x"$enablestring" = xdisable; then
14054 if test $wxUSE_DIB = no; then
14063 { echo "$as_me:$LINENO: result
: $result" >&5
14064 echo "${ECHO_T}$result" >&6; }
14067 if test "$wxUSE_MSW" != 1; then
14068 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14073 defaultval=$wxUSE_ALL_FEATURES
14074 if test -z "$defaultval"; then
14075 if test x"$enablestring" = xdisable; then
14082 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
14083 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
14084 # Check whether --enable-autoidman was given.
14085 if test "${enable_autoidman+set}" = set; then
14086 enableval=$enable_autoidman;
14087 if test "$enableval" = yes; then
14088 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14090 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14095 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14100 eval "$wx_cv_use_autoidman"
14102 if test x
"$enablestring" = xdisable
; then
14103 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
14109 result
=$wxUSE_AUTOID_MANAGEMENT
14112 { echo "$as_me:$LINENO: result: $result" >&5
14113 echo "${ECHO_T}$result" >&6; }
14119 cat >confcache
<<\_ACEOF
14120 # This file is a shell script that caches the results of configure
14121 # tests run on this system so they can be shared between configure
14122 # scripts and configure runs, see configure's option --config-cache.
14123 # It is not useful on other systems. If it contains results you don't
14124 # want to keep, you may remove or edit it.
14126 # config.status only pays attention to the cache file if you give it
14127 # the --recheck option to rerun configure.
14129 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14130 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14131 # following values.
14135 # The following way of writing the cache mishandles newlines in values,
14136 # but we know of no workaround that is simple, portable, and efficient.
14137 # So, we kill variables containing newlines.
14138 # Ultrix sh set writes to stderr and can't be redirected directly,
14139 # and sets the high bit in the cache file unless we assign to the vars.
14141 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14142 eval ac_val
=\$
$ac_var
14146 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14147 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14150 _
| IFS
| as_nl
) ;; #(
14151 *) $as_unset $ac_var ;;
14157 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14158 *${as_nl}ac_space
=\
*)
14159 # `set' does not quote correctly, so add quotes (double-quote
14160 # substitution turns \\\\ into \\, and sed turns \\ into \).
14163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14166 # `set' quotes correctly as required by POSIX, so do not add quotes.
14167 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14176 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14178 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14180 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14181 if test -w "$cache_file"; then
14182 test "x$cache_file" != "x/dev/null" &&
14183 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14184 echo "$as_me: updating cache $cache_file" >&6;}
14185 cat confcache
>$cache_file
14187 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14188 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14198 ac_cpp
='$CPP $CPPFLAGS'
14199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14202 if test -n "$ac_tool_prefix"; then
14203 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14204 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14207 if test "${ac_cv_prog_CC+set}" = set; then
14208 echo $ECHO_N "(cached) $ECHO_C" >&6
14210 if test -n "$CC"; then
14211 ac_cv_prog_CC
="$CC" # Let the user override the test.
14213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14214 for as_dir
in $PATH
14217 test -z "$as_dir" && as_dir
=.
14218 for ac_exec_ext
in '' $ac_executable_extensions; do
14219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14220 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14231 if test -n "$CC"; then
14232 { echo "$as_me:$LINENO: result: $CC" >&5
14233 echo "${ECHO_T}$CC" >&6; }
14235 { echo "$as_me:$LINENO: result: no" >&5
14236 echo "${ECHO_T}no" >&6; }
14241 if test -z "$ac_cv_prog_CC"; then
14243 # Extract the first word of "gcc", so it can be a program name with args.
14244 set dummy gcc
; ac_word
=$2
14245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14247 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14248 echo $ECHO_N "(cached) $ECHO_C" >&6
14250 if test -n "$ac_ct_CC"; then
14251 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14254 for as_dir
in $PATH
14257 test -z "$as_dir" && as_dir
=.
14258 for ac_exec_ext
in '' $ac_executable_extensions; do
14259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14260 ac_cv_prog_ac_ct_CC
="gcc"
14261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14270 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14271 if test -n "$ac_ct_CC"; then
14272 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14273 echo "${ECHO_T}$ac_ct_CC" >&6; }
14275 { echo "$as_me:$LINENO: result: no" >&5
14276 echo "${ECHO_T}no" >&6; }
14279 if test "x$ac_ct_CC" = x
; then
14282 case $cross_compiling:$ac_tool_warned in
14284 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14285 whose name does not start with the host triplet. If you think this
14286 configuration is useful to you, please write to autoconf@gnu.org." >&5
14287 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14288 whose name does not start with the host triplet. If you think this
14289 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14290 ac_tool_warned
=yes ;;
14295 CC
="$ac_cv_prog_CC"
14298 if test -z "$CC"; then
14299 if test -n "$ac_tool_prefix"; then
14300 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14301 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14304 if test "${ac_cv_prog_CC+set}" = set; then
14305 echo $ECHO_N "(cached) $ECHO_C" >&6
14307 if test -n "$CC"; then
14308 ac_cv_prog_CC
="$CC" # Let the user override the test.
14310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14311 for as_dir
in $PATH
14314 test -z "$as_dir" && as_dir
=.
14315 for ac_exec_ext
in '' $ac_executable_extensions; do
14316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14317 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14328 if test -n "$CC"; then
14329 { echo "$as_me:$LINENO: result: $CC" >&5
14330 echo "${ECHO_T}$CC" >&6; }
14332 { echo "$as_me:$LINENO: result: no" >&5
14333 echo "${ECHO_T}no" >&6; }
14339 if test -z "$CC"; then
14340 # Extract the first word of "cc", so it can be a program name with args.
14341 set dummy cc
; ac_word
=$2
14342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14344 if test "${ac_cv_prog_CC+set}" = set; then
14345 echo $ECHO_N "(cached) $ECHO_C" >&6
14347 if test -n "$CC"; then
14348 ac_cv_prog_CC
="$CC" # Let the user override the test.
14350 ac_prog_rejected
=no
14351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14352 for as_dir
in $PATH
14355 test -z "$as_dir" && as_dir
=.
14356 for ac_exec_ext
in '' $ac_executable_extensions; do
14357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14358 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14359 ac_prog_rejected
=yes
14363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14370 if test $ac_prog_rejected = yes; then
14371 # We found a bogon in the path, so make sure we never use it.
14372 set dummy
$ac_cv_prog_CC
14374 if test $# != 0; then
14375 # We chose a different compiler from the bogus one.
14376 # However, it has the same basename, so the bogon will be chosen
14377 # first if we set CC to just the basename; use the full file name.
14379 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14385 if test -n "$CC"; then
14386 { echo "$as_me:$LINENO: result: $CC" >&5
14387 echo "${ECHO_T}$CC" >&6; }
14389 { echo "$as_me:$LINENO: result: no" >&5
14390 echo "${ECHO_T}no" >&6; }
14395 if test -z "$CC"; then
14396 if test -n "$ac_tool_prefix"; then
14397 for ac_prog
in cl.exe
14399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14400 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14401 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14403 if test "${ac_cv_prog_CC+set}" = set; then
14404 echo $ECHO_N "(cached) $ECHO_C" >&6
14406 if test -n "$CC"; then
14407 ac_cv_prog_CC
="$CC" # Let the user override the test.
14409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14410 for as_dir
in $PATH
14413 test -z "$as_dir" && as_dir
=.
14414 for ac_exec_ext
in '' $ac_executable_extensions; do
14415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14416 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14427 if test -n "$CC"; then
14428 { echo "$as_me:$LINENO: result: $CC" >&5
14429 echo "${ECHO_T}$CC" >&6; }
14431 { echo "$as_me:$LINENO: result: no" >&5
14432 echo "${ECHO_T}no" >&6; }
14436 test -n "$CC" && break
14439 if test -z "$CC"; then
14441 for ac_prog
in cl.exe
14443 # Extract the first word of "$ac_prog", so it can be a program name with args.
14444 set dummy
$ac_prog; ac_word
=$2
14445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14447 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14448 echo $ECHO_N "(cached) $ECHO_C" >&6
14450 if test -n "$ac_ct_CC"; then
14451 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14454 for as_dir
in $PATH
14457 test -z "$as_dir" && as_dir
=.
14458 for ac_exec_ext
in '' $ac_executable_extensions; do
14459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14460 ac_cv_prog_ac_ct_CC
="$ac_prog"
14461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14470 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14471 if test -n "$ac_ct_CC"; then
14472 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14473 echo "${ECHO_T}$ac_ct_CC" >&6; }
14475 { echo "$as_me:$LINENO: result: no" >&5
14476 echo "${ECHO_T}no" >&6; }
14480 test -n "$ac_ct_CC" && break
14483 if test "x$ac_ct_CC" = x
; then
14486 case $cross_compiling:$ac_tool_warned in
14488 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14489 whose name does not start with the host triplet. If you think this
14490 configuration is useful to you, please write to autoconf@gnu.org." >&5
14491 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14492 whose name does not start with the host triplet. If you think this
14493 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14494 ac_tool_warned
=yes ;;
14503 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14504 See \`config.log' for more details." >&5
14505 echo "$as_me: error: no acceptable C compiler found in \$PATH
14506 See \`config.log' for more details." >&2;}
14507 { (exit 1); exit 1; }; }
14509 # Provide some information about the compiler.
14510 echo "$as_me:$LINENO: checking for C compiler version" >&5
14511 ac_compiler
=`set X $ac_compile; echo $2`
14512 { (ac_try
="$ac_compiler --version >&5"
14513 case "(($ac_try" in
14514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14515 *) ac_try_echo=$ac_try;;
14517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14518 (eval "$ac_compiler --version >&5") 2>&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); }
14522 { (ac_try="$ac_compiler -v >&5"
14523 case "(($ac_try" in
14524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14525 *) ac_try_echo
=$ac_try;;
14527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14528 (eval "$ac_compiler -v >&5") 2>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }
14532 { (ac_try
="$ac_compiler -V >&5"
14533 case "(($ac_try" in
14534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14535 *) ac_try_echo=$ac_try;;
14537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14538 (eval "$ac_compiler -V >&5") 2>&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); }
14543 cat >conftest.$ac_ext <<_ACEOF
14546 cat confdefs.h >>conftest.$ac_ext
14547 cat >>conftest.$ac_ext <<_ACEOF
14548 /* end confdefs.h. */
14558 ac_clean_files_save=$ac_clean_files
14559 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14560 # Try to create an executable without -o first, disregard a.out.
14561 # It will help us diagnose broken compilers, and finding out an intuition
14563 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14564 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14565 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14567 # List of possible output files, starting from the most likely.
14568 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14569 # only as a last resort. b.out is created by i960 compilers.
14570 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14572 # The IRIX 6 linker writes into existing files which may not be
14573 # executable, retaining their permissions. Remove them first so a
14574 # subsequent execution test works.
14576 for ac_file in $ac_files
14579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14580 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14585 if { (ac_try="$ac_link_default"
14586 case "(($ac_try" in
14587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14588 *) ac_try_echo=$ac_try;;
14590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14591 (eval "$ac_link_default") 2>&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; then
14595 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14596 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14597 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14598 # so that the user can short-circuit this test for compilers unknown to
14600 for ac_file
in $ac_files ''
14602 test -f "$ac_file" || continue
14604 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14607 # We found the default executable, but exeext='' is most
14611 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14613 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14615 # We set ac_cv_exeext here because the later test for it is not
14616 # safe: cross compilers may not add the suffix if given an `-o'
14617 # argument, so we may need to know it at that point already.
14618 # Even if this section looks crufty: it has the advantage of
14619 # actually working.
14625 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14631 { echo "$as_me:$LINENO: result: $ac_file" >&5
14632 echo "${ECHO_T}$ac_file" >&6; }
14633 if test -z "$ac_file"; then
14634 echo "$as_me: failed program was:" >&5
14635 sed 's/^/| /' conftest.
$ac_ext >&5
14637 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14638 See \`config.log' for more details." >&5
14639 echo "$as_me: error: C compiler cannot create executables
14640 See \`config.log' for more details." >&2;}
14641 { (exit 77); exit 77; }; }
14644 ac_exeext
=$ac_cv_exeext
14646 # Check that the compiler produces executables we can run. If not, either
14647 # the compiler is broken, or we cross compile.
14648 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14649 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14650 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14651 # If not cross compiling, check that we can run a simple program.
14652 if test "$cross_compiling" != yes; then
14653 if { ac_try
='./$ac_file'
14654 { (case "(($ac_try" in
14655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14656 *) ac_try_echo=$ac_try;;
14658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14659 (eval "$ac_try") 2>&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; }; then
14665 if test "$cross_compiling" = maybe; then
14666 cross_compiling=yes
14668 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14669 If you meant to cross compile, use \`--host'.
14670 See \`config.log' for more details.
" >&5
14671 echo "$as_me: error
: cannot run C compiled programs.
14672 If you meant to cross compile
, use \
`--host'.
14673 See \`config.log
' for more details." >&2;}
14674 { (exit 1); exit 1; }; }
14678 { echo "$as_me:$LINENO: result: yes" >&5
14679 echo "${ECHO_T}yes" >&6; }
14681 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14682 ac_clean_files=$ac_clean_files_save
14683 # Check that the compiler produces executables we can run. If not, either
14684 # the compiler is broken, or we cross compile.
14685 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14686 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14687 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14688 echo "${ECHO_T}$cross_compiling" >&6; }
14690 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14691 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14692 if { (ac_try="$ac_link"
14693 case "(($ac_try" in
14694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14695 *) ac_try_echo=$ac_try;;
14697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14698 (eval "$ac_link") 2>&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; then
14702 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14703 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14704 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14706 for ac_file
in conftest.exe conftest conftest.
*; do
14707 test -f "$ac_file" || continue
14709 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14710 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14716 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14717 See \`config.log' for more details." >&5
14718 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14719 See \`config.log' for more details." >&2;}
14720 { (exit 1); exit 1; }; }
14723 rm -f conftest
$ac_cv_exeext
14724 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14725 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14727 rm -f conftest.
$ac_ext
14728 EXEEXT
=$ac_cv_exeext
14730 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14731 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14732 if test "${ac_cv_objext+set}" = set; then
14733 echo $ECHO_N "(cached) $ECHO_C" >&6
14735 cat >conftest.
$ac_ext <<_ACEOF
14738 cat confdefs.h
>>conftest.
$ac_ext
14739 cat >>conftest.
$ac_ext <<_ACEOF
14740 /* end confdefs.h. */
14750 rm -f conftest.o conftest.obj
14751 if { (ac_try
="$ac_compile"
14752 case "(($ac_try" in
14753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14754 *) ac_try_echo=$ac_try;;
14756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14757 (eval "$ac_compile") 2>&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); }; then
14761 for ac_file in conftest.o conftest.obj conftest.*; do
14762 test -f "$ac_file" || continue;
14764 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14765 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14770 echo "$as_me: failed program was:" >&5
14771 sed 's/^/| /' conftest.$ac_ext >&5
14773 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14774 See \`config.log
' for more details." >&5
14775 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14776 See \`config.log' for more details.
" >&2;}
14777 { (exit 1); exit 1; }; }
14780 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14782 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14783 echo "${ECHO_T}$ac_cv_objext" >&6; }
14784 OBJEXT=$ac_cv_objext
14786 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14787 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14788 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14789 echo $ECHO_N "(cached
) $ECHO_C" >&6
14791 cat >conftest.$ac_ext <<_ACEOF
14794 cat confdefs.h >>conftest.$ac_ext
14795 cat >>conftest.$ac_ext <<_ACEOF
14796 /* end confdefs.h. */
14809 rm -f conftest.$ac_objext
14810 if { (ac_try="$ac_compile"
14811 case "(($ac_try" in
14812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14813 *) ac_try_echo=$ac_try;;
14815 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14816 (eval "$ac_compile") 2>conftest.er1
14818 grep -v '^ *+' conftest.er1 >conftest.err
14820 cat conftest.err >&5
14821 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14822 (exit $ac_status); } && {
14823 test -z "$ac_c_werror_flag" ||
14824 test ! -s conftest.err
14825 } && test -s conftest.$ac_objext; then
14826 ac_compiler_gnu=yes
14828 echo "$as_me: failed program was
:" >&5
14829 sed 's/^/| /' conftest.$ac_ext >&5
14834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14835 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14838 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14839 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14840 GCC=`test $ac_compiler_gnu = yes && echo yes`
14841 ac_test_CFLAGS=${CFLAGS+set}
14842 ac_save_CFLAGS=$CFLAGS
14843 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14844 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14845 if test "${ac_cv_prog_cc_g+set}" = set; then
14846 echo $ECHO_N "(cached
) $ECHO_C" >&6
14848 ac_save_c_werror_flag=$ac_c_werror_flag
14849 ac_c_werror_flag=yes
14852 cat >conftest.$ac_ext <<_ACEOF
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14867 rm -f conftest.$ac_objext
14868 if { (ac_try="$ac_compile"
14869 case "(($ac_try" in
14870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14871 *) ac_try_echo=$ac_try;;
14873 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14874 (eval "$ac_compile") 2>conftest.er1
14876 grep -v '^ *+' conftest.er1 >conftest.err
14878 cat conftest.err >&5
14879 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14880 (exit $ac_status); } && {
14881 test -z "$ac_c_werror_flag" ||
14882 test ! -s conftest.err
14883 } && test -s conftest.$ac_objext; then
14884 ac_cv_prog_cc_g=yes
14886 echo "$as_me: failed program was
:" >&5
14887 sed 's/^/| /' conftest.$ac_ext >&5
14890 cat >conftest.$ac_ext <<_ACEOF
14893 cat confdefs.h >>conftest.$ac_ext
14894 cat >>conftest.$ac_ext <<_ACEOF
14895 /* end confdefs.h. */
14905 rm -f conftest.$ac_objext
14906 if { (ac_try="$ac_compile"
14907 case "(($ac_try" in
14908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14909 *) ac_try_echo=$ac_try;;
14911 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14912 (eval "$ac_compile") 2>conftest.er1
14914 grep -v '^ *+' conftest.er1 >conftest.err
14916 cat conftest.err >&5
14917 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14918 (exit $ac_status); } && {
14919 test -z "$ac_c_werror_flag" ||
14920 test ! -s conftest.err
14921 } && test -s conftest.$ac_objext; then
14924 echo "$as_me: failed program was
:" >&5
14925 sed 's/^/| /' conftest.$ac_ext >&5
14927 ac_c_werror_flag=$ac_save_c_werror_flag
14929 cat >conftest.$ac_ext <<_ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14944 rm -f conftest.$ac_objext
14945 if { (ac_try="$ac_compile"
14946 case "(($ac_try" in
14947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14948 *) ac_try_echo=$ac_try;;
14950 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14951 (eval "$ac_compile") 2>conftest.er1
14953 grep -v '^ *+' conftest.er1 >conftest.err
14955 cat conftest.err >&5
14956 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14957 (exit $ac_status); } && {
14958 test -z "$ac_c_werror_flag" ||
14959 test ! -s conftest.err
14960 } && test -s conftest.$ac_objext; then
14961 ac_cv_prog_cc_g=yes
14963 echo "$as_me: failed program was
:" >&5
14964 sed 's/^/| /' conftest.$ac_ext >&5
14969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14976 ac_c_werror_flag=$ac_save_c_werror_flag
14978 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14979 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14980 if test "$ac_test_CFLAGS" = set; then
14981 CFLAGS=$ac_save_CFLAGS
14982 elif test $ac_cv_prog_cc_g = yes; then
14983 if test "$GCC" = yes; then
14989 if test "$GCC" = yes; then
14995 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14996 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14997 if test "${ac_cv_prog_cc_c89+set}" = set; then
14998 echo $ECHO_N "(cached
) $ECHO_C" >&6
15000 ac_cv_prog_cc_c89=no
15002 cat >conftest.$ac_ext <<_ACEOF
15005 cat confdefs.h >>conftest.$ac_ext
15006 cat >>conftest.$ac_ext <<_ACEOF
15007 /* end confdefs.h. */
15008 #include <stdarg.h>
15010 #include <sys/types.h>
15011 #include <sys/stat.h>
15012 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15013 struct buf { int x; };
15014 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15015 static char *e (p, i)
15021 static char *f (char * (*g) (char **, int), char **p, ...)
15026 s = g (p, va_arg (v,int));
15031 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15032 function prototypes and stuff, but not '\xHH' hex character constants.
15033 These don't provoke an error unfortunately, instead are silently treated
15034 as 'x'. The following induces an error, until -std is added to get
15035 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15036 array size at least. It's necessary to write '\x00'==0 to get something
15037 that's true only with -std. */
15038 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15040 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15041 inside strings and character constants. */
15043 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15045 int test (int i, double x);
15046 struct s1 {int (*f) (int a);};
15047 struct s2 {int (*f) (double a);};
15048 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15054 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15059 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15060 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15062 CC="$ac_save_CC $ac_arg"
15063 rm -f conftest.$ac_objext
15064 if { (ac_try="$ac_compile"
15065 case "(($ac_try" in
15066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15067 *) ac_try_echo=$ac_try;;
15069 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15070 (eval "$ac_compile") 2>conftest.er1
15072 grep -v '^ *+' conftest.er1 >conftest.err
15074 cat conftest.err >&5
15075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15076 (exit $ac_status); } && {
15077 test -z "$ac_c_werror_flag" ||
15078 test ! -s conftest.err
15079 } && test -s conftest.$ac_objext; then
15080 ac_cv_prog_cc_c89=$ac_arg
15082 echo "$as_me: failed program was
:" >&5
15083 sed 's/^/| /' conftest.$ac_ext >&5
15088 rm -f core conftest.err conftest.$ac_objext
15089 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15091 rm -f conftest.$ac_ext
15096 case "x
$ac_cv_prog_cc_c89" in
15098 { echo "$as_me:$LINENO: result
: none needed
" >&5
15099 echo "${ECHO_T}none needed
" >&6; } ;;
15101 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15102 echo "${ECHO_T}unsupported
" >&6; } ;;
15104 CC="$CC $ac_cv_prog_cc_c89"
15105 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15106 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15111 ac_cpp='$CPP $CPPFLAGS'
15112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15120 ac_cpp='$CPP $CPPFLAGS'
15121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15125 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15126 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15127 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15128 echo $ECHO_N "(cached
) $ECHO_C" >&6
15130 cat >conftest.$ac_ext <<_ACEOF
15133 cat confdefs.h >>conftest.$ac_ext
15134 cat >>conftest.$ac_ext <<_ACEOF
15135 /* end confdefs.h. */
15141 #ifndef __INTEL_COMPILER
15149 rm -f conftest.$ac_objext
15150 if { (ac_try="$ac_compile"
15151 case "(($ac_try" in
15152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15153 *) ac_try_echo=$ac_try;;
15155 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15156 (eval "$ac_compile") 2>conftest.er1
15158 grep -v '^ *+' conftest.er1 >conftest.err
15160 cat conftest.err >&5
15161 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15162 (exit $ac_status); } && {
15163 test -z "$ac_c_werror_flag" ||
15164 test ! -s conftest.err
15165 } && test -s conftest.$ac_objext; then
15166 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15168 echo "$as_me: failed program was
:" >&5
15169 sed 's/^/| /' conftest.$ac_ext >&5
15171 bakefile_cv_c_compiler___INTEL_COMPILER=no
15175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15179 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15180 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15181 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15187 ac_cpp='$CPP $CPPFLAGS'
15188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15195 if test "$INTELCC" = "yes"; then
15199 ac_cpp='$CPP $CPPFLAGS'
15200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15204 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15205 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15206 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15207 echo $ECHO_N "(cached
) $ECHO_C" >&6
15209 cat >conftest.$ac_ext <<_ACEOF
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15220 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15228 rm -f conftest.$ac_objext
15229 if { (ac_try="$ac_compile"
15230 case "(($ac_try" in
15231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15232 *) ac_try_echo=$ac_try;;
15234 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15235 (eval "$ac_compile") 2>conftest.er1
15237 grep -v '^ *+' conftest.er1 >conftest.err
15239 cat conftest.err >&5
15240 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15241 (exit $ac_status); } && {
15242 test -z "$ac_c_werror_flag" ||
15243 test ! -s conftest.err
15244 } && test -s conftest.$ac_objext; then
15245 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15247 echo "$as_me: failed program was
:" >&5
15248 sed 's/^/| /' conftest.$ac_ext >&5
15250 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15258 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15259 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15260 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15266 ac_cpp='$CPP $CPPFLAGS'
15267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15276 ac_cpp='$CPP $CPPFLAGS'
15277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15281 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15282 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15283 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15284 echo $ECHO_N "(cached
) $ECHO_C" >&6
15286 cat >conftest.$ac_ext <<_ACEOF
15289 cat confdefs.h >>conftest.$ac_ext
15290 cat >>conftest.$ac_ext <<_ACEOF
15291 /* end confdefs.h. */
15297 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15305 rm -f conftest.$ac_objext
15306 if { (ac_try="$ac_compile"
15307 case "(($ac_try" in
15308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15309 *) ac_try_echo=$ac_try;;
15311 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15312 (eval "$ac_compile") 2>conftest.er1
15314 grep -v '^ *+' conftest.er1 >conftest.err
15316 cat conftest.err >&5
15317 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15318 (exit $ac_status); } && {
15319 test -z "$ac_c_werror_flag" ||
15320 test ! -s conftest.err
15321 } && test -s conftest.$ac_objext; then
15322 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15324 echo "$as_me: failed program was
:" >&5
15325 sed 's/^/| /' conftest.$ac_ext >&5
15327 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15335 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15336 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15337 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15343 ac_cpp='$CPP $CPPFLAGS'
15344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15352 if test "x
$GCC" != "xyes
"; then
15353 if test "xCC
" = "xC
"; then
15354 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15355 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15356 if test "${bakefile_cv_c_exto+set}" = set; then
15357 echo $ECHO_N "(cached
) $ECHO_C" >&6
15359 cat >conftest.$ac_ext <<_ACEOF
15362 cat confdefs.h >>conftest.$ac_ext
15363 cat >>conftest.$ac_ext <<_ACEOF
15364 /* end confdefs.h. */
15374 rm -f conftest.$ac_objext conftest.$ac_ext.o
15375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15376 (eval $ac_compile) 2>&5
15378 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15379 (exit $ac_status); }; then
15380 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15382 conftest.$ac_ext.o)
15383 bakefile_cv_c_exto="-ext o
"
15390 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15391 See \
`config.log' for more details." >&5
15392 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15393 See \`config.log
' for more details." >&2;}
15394 { (exit 1); exit 1; }; }
15398 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15401 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15402 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15403 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15404 if test "c" = "c"; then
15405 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15407 if test "c" = "cxx"; then
15408 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15412 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15413 unset ac_cv_prog_cc_g
15414 ac_test_CFLAGS=${CFLAGS+set}
15415 ac_save_CFLAGS=$CFLAGS
15416 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15417 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15418 if test "${ac_cv_prog_cc_g+set}" = set; then
15419 echo $ECHO_N "(cached) $ECHO_C" >&6
15421 ac_save_c_werror_flag=$ac_c_werror_flag
15422 ac_c_werror_flag=yes
15425 cat >conftest.$ac_ext <<_ACEOF
15428 cat confdefs.h >>conftest.$ac_ext
15429 cat >>conftest.$ac_ext <<_ACEOF
15430 /* end confdefs.h. */
15440 rm -f conftest.$ac_objext
15441 if { (ac_try="$ac_compile"
15442 case "(($ac_try" in
15443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15444 *) ac_try_echo=$ac_try;;
15446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15447 (eval "$ac_compile") 2>conftest.er1
15449 grep -v '^
*+' conftest.er1 >conftest.err
15451 cat conftest.err >&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); } && {
15454 test -z "$ac_c_werror_flag" ||
15455 test ! -s conftest.err
15456 } && test -s conftest.$ac_objext; then
15457 ac_cv_prog_cc_g=yes
15459 echo "$as_me: failed program was:" >&5
15460 sed 's
/^
/| /' conftest.$ac_ext >&5
15463 cat >conftest.$ac_ext <<_ACEOF
15466 cat confdefs.h >>conftest.$ac_ext
15467 cat >>conftest.$ac_ext <<_ACEOF
15468 /* end confdefs.h. */
15478 rm -f conftest.$ac_objext
15479 if { (ac_try="$ac_compile"
15480 case "(($ac_try" in
15481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15482 *) ac_try_echo=$ac_try;;
15484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15485 (eval "$ac_compile") 2>conftest.er1
15487 grep -v '^
*+' conftest.er1 >conftest.err
15489 cat conftest.err >&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } && {
15492 test -z "$ac_c_werror_flag" ||
15493 test ! -s conftest.err
15494 } && test -s conftest.$ac_objext; then
15497 echo "$as_me: failed program was:" >&5
15498 sed 's
/^
/| /' conftest.$ac_ext >&5
15500 ac_c_werror_flag=$ac_save_c_werror_flag
15502 cat >conftest.$ac_ext <<_ACEOF
15505 cat confdefs.h >>conftest.$ac_ext
15506 cat >>conftest.$ac_ext <<_ACEOF
15507 /* end confdefs.h. */
15517 rm -f conftest.$ac_objext
15518 if { (ac_try="$ac_compile"
15519 case "(($ac_try" in
15520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15521 *) ac_try_echo=$ac_try;;
15523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15524 (eval "$ac_compile") 2>conftest.er1
15526 grep -v '^
*+' conftest.er1 >conftest.err
15528 cat conftest.err >&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && {
15531 test -z "$ac_c_werror_flag" ||
15532 test ! -s conftest.err
15533 } && test -s conftest.$ac_objext; then
15534 ac_cv_prog_cc_g=yes
15536 echo "$as_me: failed program was:" >&5
15537 sed 's
/^
/| /' conftest.$ac_ext >&5
15542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15549 ac_c_werror_flag=$ac_save_c_werror_flag
15551 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15552 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15553 if test "$ac_test_CFLAGS" = set; then
15554 CFLAGS=$ac_save_CFLAGS
15555 elif test $ac_cv_prog_cc_g = yes; then
15556 if test "$GCC" = yes; then
15562 if test "$GCC" = yes; then
15576 ac_cpp='$CPP $CPPFLAGS'
15577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15578 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15581 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15582 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15583 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15584 echo $ECHO_N "(cached) $ECHO_C" >&6
15586 cat >conftest.$ac_ext <<_ACEOF
15589 cat confdefs.h >>conftest.$ac_ext
15590 cat >>conftest.$ac_ext <<_ACEOF
15591 /* end confdefs.h. */
15605 rm -f conftest.$ac_objext
15606 if { (ac_try="$ac_compile"
15607 case "(($ac_try" in
15608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15609 *) ac_try_echo=$ac_try;;
15611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15612 (eval "$ac_compile") 2>conftest.er1
15614 grep -v '^
*+' conftest.er1 >conftest.err
15616 cat conftest.err >&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); } && {
15619 test -z "$ac_c_werror_flag" ||
15620 test ! -s conftest.err
15621 } && test -s conftest.$ac_objext; then
15622 bakefile_cv_c_compiler___xlC__=yes
15624 echo "$as_me: failed program was:" >&5
15625 sed 's
/^
/| /' conftest.$ac_ext >&5
15627 bakefile_cv_c_compiler___xlC__=no
15631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15635 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15636 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15637 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15643 ac_cpp='$CPP $CPPFLAGS'
15644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15645 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15656 ac_cpp='$CPP $CPPFLAGS'
15657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15658 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15661 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15662 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15663 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15664 echo $ECHO_N "(cached) $ECHO_C" >&6
15666 cat >conftest.$ac_ext <<_ACEOF
15669 cat confdefs.h >>conftest.$ac_ext
15670 cat >>conftest.$ac_ext <<_ACEOF
15671 /* end confdefs.h. */
15685 rm -f conftest.$ac_objext
15686 if { (ac_try="$ac_compile"
15687 case "(($ac_try" in
15688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15689 *) ac_try_echo=$ac_try;;
15691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15692 (eval "$ac_compile") 2>conftest.er1
15694 grep -v '^
*+' conftest.er1 >conftest.err
15696 cat conftest.err >&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); } && {
15699 test -z "$ac_c_werror_flag" ||
15700 test ! -s conftest.err
15701 } && test -s conftest.$ac_objext; then
15702 bakefile_cv_c_compiler___MWERKS__=yes
15704 echo "$as_me: failed program was:" >&5
15705 sed 's
/^
/| /' conftest.$ac_ext >&5
15707 bakefile_cv_c_compiler___MWERKS__=no
15711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15715 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15716 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15717 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15723 ac_cpp='$CPP $CPPFLAGS'
15724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15725 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15730 if test "$MWCC" != "yes"; then
15734 ac_cpp='$CPP $CPPFLAGS'
15735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15736 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15739 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15740 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15741 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15742 echo $ECHO_N "(cached) $ECHO_C" >&6
15744 cat >conftest.$ac_ext <<_ACEOF
15747 cat confdefs.h >>conftest.$ac_ext
15748 cat >>conftest.$ac_ext <<_ACEOF
15749 /* end confdefs.h. */
15763 rm -f conftest.$ac_objext
15764 if { (ac_try="$ac_compile"
15765 case "(($ac_try" in
15766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15767 *) ac_try_echo=$ac_try;;
15769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15770 (eval "$ac_compile") 2>conftest.er1
15772 grep -v '^
*+' conftest.er1 >conftest.err
15774 cat conftest.err >&5
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); } && {
15777 test -z "$ac_c_werror_flag" ||
15778 test ! -s conftest.err
15779 } && test -s conftest.$ac_objext; then
15780 bakefile_cv_c_compiler___xlC__=yes
15782 echo "$as_me: failed program was:" >&5
15783 sed 's
/^
/| /' conftest.$ac_ext >&5
15785 bakefile_cv_c_compiler___xlC__=no
15789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15793 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15794 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15795 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15801 ac_cpp='$CPP $CPPFLAGS'
15802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15803 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15815 ac_cpp='$CPP $CPPFLAGS'
15816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15817 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15820 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15821 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15822 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15823 echo $ECHO_N "(cached) $ECHO_C" >&6
15825 cat >conftest.$ac_ext <<_ACEOF
15828 cat confdefs.h >>conftest.$ac_ext
15829 cat >>conftest.$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15836 #ifndef _SGI_COMPILER_VERSION
15844 rm -f conftest.$ac_objext
15845 if { (ac_try="$ac_compile"
15846 case "(($ac_try" in
15847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15848 *) ac_try_echo=$ac_try;;
15850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15851 (eval "$ac_compile") 2>conftest.er1
15853 grep -v '^
*+' conftest.er1 >conftest.err
15855 cat conftest.err >&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); } && {
15858 test -z "$ac_c_werror_flag" ||
15859 test ! -s conftest.err
15860 } && test -s conftest.$ac_objext; then
15861 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15863 echo "$as_me: failed program was:" >&5
15864 sed 's
/^
/| /' conftest.$ac_ext >&5
15866 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15874 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15875 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15876 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15882 ac_cpp='$CPP $CPPFLAGS'
15883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15884 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15892 if test "$INTELCC" != "yes"; then
15896 ac_cpp='$CPP $CPPFLAGS'
15897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15898 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15901 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15902 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15903 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15904 echo $ECHO_N "(cached) $ECHO_C" >&6
15906 cat >conftest.$ac_ext <<_ACEOF
15909 cat confdefs.h >>conftest.$ac_ext
15910 cat >>conftest.$ac_ext <<_ACEOF
15911 /* end confdefs.h. */
15925 rm -f conftest.$ac_objext
15926 if { (ac_try="$ac_compile"
15927 case "(($ac_try" in
15928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15929 *) ac_try_echo=$ac_try;;
15931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15932 (eval "$ac_compile") 2>conftest.er1
15934 grep -v '^
*+' conftest.er1 >conftest.err
15936 cat conftest.err >&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); } && {
15939 test -z "$ac_c_werror_flag" ||
15940 test ! -s conftest.err
15941 } && test -s conftest.$ac_objext; then
15942 bakefile_cv_c_compiler___SUNPRO_C=yes
15944 echo "$as_me: failed program was:" >&5
15945 sed 's
/^
/| /' conftest.$ac_ext >&5
15947 bakefile_cv_c_compiler___SUNPRO_C=no
15951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15955 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15956 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15957 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15963 ac_cpp='$CPP $CPPFLAGS'
15964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15965 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15977 ac_cpp='$CPP $CPPFLAGS'
15978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15979 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15982 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15983 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15984 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15985 echo $ECHO_N "(cached) $ECHO_C" >&6
15987 cat >conftest.$ac_ext <<_ACEOF
15990 cat confdefs.h >>conftest.$ac_ext
15991 cat >>conftest.$ac_ext <<_ACEOF
15992 /* end confdefs.h. */
16006 rm -f conftest.$ac_objext
16007 if { (ac_try="$ac_compile"
16008 case "(($ac_try" in
16009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16010 *) ac_try_echo=$ac_try;;
16012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16013 (eval "$ac_compile") 2>conftest.er1
16015 grep -v '^
*+' conftest.er1 >conftest.err
16017 cat conftest.err >&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); } && {
16020 test -z "$ac_c_werror_flag" ||
16021 test ! -s conftest.err
16022 } && test -s conftest.$ac_objext; then
16023 bakefile_cv_c_compiler___HP_cc=yes
16025 echo "$as_me: failed program was:" >&5
16026 sed 's
/^
/| /' conftest.$ac_ext >&5
16028 bakefile_cv_c_compiler___HP_cc=no
16032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16036 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16037 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16038 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16044 ac_cpp='$CPP $CPPFLAGS'
16045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16046 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16057 ac_cpp='$CPP $CPPFLAGS'
16058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16059 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16062 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16063 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16064 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16065 echo $ECHO_N "(cached) $ECHO_C" >&6
16067 cat >conftest.$ac_ext <<_ACEOF
16070 cat confdefs.h >>conftest.$ac_ext
16071 cat >>conftest.$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16086 rm -f conftest.$ac_objext
16087 if { (ac_try="$ac_compile"
16088 case "(($ac_try" in
16089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16090 *) ac_try_echo=$ac_try;;
16092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16093 (eval "$ac_compile") 2>conftest.er1
16095 grep -v '^
*+' conftest.er1 >conftest.err
16097 cat conftest.err >&5
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); } && {
16100 test -z "$ac_c_werror_flag" ||
16101 test ! -s conftest.err
16102 } && test -s conftest.$ac_objext; then
16103 bakefile_cv_c_compiler___DECC=yes
16105 echo "$as_me: failed program was:" >&5
16106 sed 's
/^
/| /' conftest.$ac_ext >&5
16108 bakefile_cv_c_compiler___DECC=no
16112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16116 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16117 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16118 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16124 ac_cpp='$CPP $CPPFLAGS'
16125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16126 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16137 ac_cpp='$CPP $CPPFLAGS'
16138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16139 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16142 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16143 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16144 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16145 echo $ECHO_N "(cached) $ECHO_C" >&6
16147 cat >conftest.$ac_ext <<_ACEOF
16150 cat confdefs.h >>conftest.$ac_ext
16151 cat >>conftest.$ac_ext <<_ACEOF
16152 /* end confdefs.h. */
16166 rm -f conftest.$ac_objext
16167 if { (ac_try="$ac_compile"
16168 case "(($ac_try" in
16169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16170 *) ac_try_echo=$ac_try;;
16172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16173 (eval "$ac_compile") 2>conftest.er1
16175 grep -v '^
*+' conftest.er1 >conftest.err
16177 cat conftest.err >&5
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); } && {
16180 test -z "$ac_c_werror_flag" ||
16181 test ! -s conftest.err
16182 } && test -s conftest.$ac_objext; then
16183 bakefile_cv_c_compiler___SUNPRO_C=yes
16185 echo "$as_me: failed program was:" >&5
16186 sed 's
/^
/| /' conftest.$ac_ext >&5
16188 bakefile_cv_c_compiler___SUNPRO_C=no
16192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16196 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16197 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16198 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16204 ac_cpp='$CPP $CPPFLAGS'
16205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16206 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16218 ac_cpp='$CPP $CPPFLAGS'
16219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16220 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16222 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16223 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16224 # On Suns, sometimes $CPP names a directory.
16225 if test -n "$CPP" && test -d "$CPP"; then
16228 if test -z "$CPP"; then
16229 if test "${ac_cv_prog_CPP+set}" = set; then
16230 echo $ECHO_N "(cached) $ECHO_C" >&6
16232 # Double quotes because CPP needs to be expanded
16233 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16235 ac_preproc_ok=false
16236 for ac_c_preproc_warn_flag in '' yes
16238 # Use a header file that comes with gcc, so configuring glibc
16239 # with a fresh cross-compiler works.
16240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16241 # <limits.h> exists even on freestanding compilers.
16242 # On the NeXT, cc -E runs the code through the compiler's parser
,
16243 # not just through cpp. "Syntax error" is here to catch this case.
16244 cat >conftest.
$ac_ext <<_ACEOF
16247 cat confdefs.h
>>conftest.
$ac_ext
16248 cat >>conftest.
$ac_ext <<_ACEOF
16249 /* end confdefs.h. */
16251 # include <limits.h>
16253 # include <assert.h>
16257 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16258 case "(($ac_try" in
16259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16260 *) ac_try_echo=$ac_try;;
16262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16263 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16265 grep -v '^ *+' conftest.er1 >conftest.err
16267 cat conftest.err >&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); } >/dev/null && {
16270 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16271 test ! -s conftest.err
16275 echo "$as_me: failed program was:" >&5
16276 sed 's/^/| /' conftest.$ac_ext >&5
16278 # Broken: fails on valid input.
16282 rm -f conftest.err conftest.$ac_ext
16284 # OK, works on sane cases. Now check whether nonexistent headers
16285 # can be detected and how.
16286 cat >conftest.$ac_ext <<_ACEOF
16289 cat confdefs.h >>conftest.$ac_ext
16290 cat >>conftest.$ac_ext <<_ACEOF
16291 /* end confdefs.h. */
16292 #include <ac_nonexistent.h>
16294 if { (ac_try="$ac_cpp conftest.$ac_ext"
16295 case "(($ac_try" in
16296 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16297 *) ac_try_echo
=$ac_try;;
16299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16300 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16302 grep -v '^ *+' conftest.er1
>conftest.err
16304 cat conftest.err
>&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); } >/dev
/null
&& {
16307 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16308 test ! -s conftest.err
16310 # Broken: success on invalid input.
16313 echo "$as_me: failed program was:" >&5
16314 sed 's/^/| /' conftest.
$ac_ext >&5
16316 # Passes both tests.
16321 rm -f conftest.err conftest.
$ac_ext
16324 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16325 rm -f conftest.err conftest.
$ac_ext
16326 if $ac_preproc_ok; then
16331 ac_cv_prog_CPP
=$CPP
16334 CPP
=$ac_cv_prog_CPP
16336 ac_cv_prog_CPP
=$CPP
16338 { echo "$as_me:$LINENO: result: $CPP" >&5
16339 echo "${ECHO_T}$CPP" >&6; }
16340 ac_preproc_ok
=false
16341 for ac_c_preproc_warn_flag
in '' yes
16343 # Use a header file that comes with gcc, so configuring glibc
16344 # with a fresh cross-compiler works.
16345 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16346 # <limits.h> exists even on freestanding compilers.
16347 # On the NeXT, cc -E runs the code through the compiler's parser,
16348 # not just through cpp. "Syntax error" is here to catch this case.
16349 cat >conftest.
$ac_ext <<_ACEOF
16352 cat confdefs.h
>>conftest.
$ac_ext
16353 cat >>conftest.
$ac_ext <<_ACEOF
16354 /* end confdefs.h. */
16356 # include <limits.h>
16358 # include <assert.h>
16362 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16363 case "(($ac_try" in
16364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16365 *) ac_try_echo=$ac_try;;
16367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16368 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16370 grep -v '^ *+' conftest.er1 >conftest.err
16372 cat conftest.err >&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); } >/dev/null && {
16375 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16376 test ! -s conftest.err
16380 echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.$ac_ext >&5
16383 # Broken: fails on valid input.
16387 rm -f conftest.err conftest.$ac_ext
16389 # OK, works on sane cases. Now check whether nonexistent headers
16390 # can be detected and how.
16391 cat >conftest.$ac_ext <<_ACEOF
16394 cat confdefs.h >>conftest.$ac_ext
16395 cat >>conftest.$ac_ext <<_ACEOF
16396 /* end confdefs.h. */
16397 #include <ac_nonexistent.h>
16399 if { (ac_try="$ac_cpp conftest.$ac_ext"
16400 case "(($ac_try" in
16401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16402 *) ac_try_echo
=$ac_try;;
16404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16407 grep -v '^ *+' conftest.er1
>conftest.err
16409 cat conftest.err
>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } >/dev
/null
&& {
16412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16413 test ! -s conftest.err
16415 # Broken: success on invalid input.
16418 echo "$as_me: failed program was:" >&5
16419 sed 's/^/| /' conftest.
$ac_ext >&5
16421 # Passes both tests.
16426 rm -f conftest.err conftest.
$ac_ext
16429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16430 rm -f conftest.err conftest.
$ac_ext
16431 if $ac_preproc_ok; then
16434 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16435 See \`config.log' for more details." >&5
16436 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16437 See \`config.log' for more details." >&2;}
16438 { (exit 1); exit 1; }; }
16442 ac_cpp
='$CPP $CPPFLAGS'
16443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16448 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16449 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16450 if test "${ac_cv_path_GREP+set}" = set; then
16451 echo $ECHO_N "(cached) $ECHO_C" >&6
16453 # Extract the first word of "grep ggrep" to use in msg output
16454 if test -z "$GREP"; then
16455 set dummy
grep ggrep
; ac_prog_name
=$2
16456 if test "${ac_cv_path_GREP+set}" = set; then
16457 echo $ECHO_N "(cached) $ECHO_C" >&6
16459 ac_path_GREP_found
=false
16460 # Loop through the user's path and test for each of PROGNAME-LIST
16461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16462 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16465 test -z "$as_dir" && as_dir
=.
16466 for ac_prog
in grep ggrep
; do
16467 for ac_exec_ext
in '' $ac_executable_extensions; do
16468 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16469 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16470 # Check for GNU ac_path_GREP and select it if it is found.
16471 # Check for GNU $ac_path_GREP
16472 case `"$ac_path_GREP" --version 2>&1` in
16474 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16477 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16480 cat "conftest.in" "conftest.in" >"conftest.tmp"
16481 mv "conftest.tmp" "conftest.in"
16482 cp "conftest.in" "conftest.nl"
16483 echo 'GREP' >> "conftest.nl"
16484 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16485 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16486 ac_count
=`expr $ac_count + 1`
16487 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16488 # Best one so far, save it but keep looking for a better one
16489 ac_cv_path_GREP
="$ac_path_GREP"
16490 ac_path_GREP_max
=$ac_count
16492 # 10*(2^10) chars as input seems more than enough
16493 test $ac_count -gt 10 && break
16495 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16499 $ac_path_GREP_found && break 3
16509 GREP
="$ac_cv_path_GREP"
16510 if test -z "$GREP"; then
16511 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16512 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16513 { (exit 1); exit 1; }; }
16517 ac_cv_path_GREP
=$GREP
16522 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16523 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16524 GREP
="$ac_cv_path_GREP"
16527 { echo "$as_me:$LINENO: checking for egrep" >&5
16528 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16529 if test "${ac_cv_path_EGREP+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16533 then ac_cv_path_EGREP
="$GREP -E"
16535 # Extract the first word of "egrep" to use in msg output
16536 if test -z "$EGREP"; then
16537 set dummy
egrep; ac_prog_name
=$2
16538 if test "${ac_cv_path_EGREP+set}" = set; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16541 ac_path_EGREP_found
=false
16542 # Loop through the user's path and test for each of PROGNAME-LIST
16543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16544 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16547 test -z "$as_dir" && as_dir
=.
16548 for ac_prog
in egrep; do
16549 for ac_exec_ext
in '' $ac_executable_extensions; do
16550 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16551 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16552 # Check for GNU ac_path_EGREP and select it if it is found.
16553 # Check for GNU $ac_path_EGREP
16554 case `"$ac_path_EGREP" --version 2>&1` in
16556 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16559 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16562 cat "conftest.in" "conftest.in" >"conftest.tmp"
16563 mv "conftest.tmp" "conftest.in"
16564 cp "conftest.in" "conftest.nl"
16565 echo 'EGREP' >> "conftest.nl"
16566 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16567 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16568 ac_count
=`expr $ac_count + 1`
16569 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16570 # Best one so far, save it but keep looking for a better one
16571 ac_cv_path_EGREP
="$ac_path_EGREP"
16572 ac_path_EGREP_max
=$ac_count
16574 # 10*(2^10) chars as input seems more than enough
16575 test $ac_count -gt 10 && break
16577 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16581 $ac_path_EGREP_found && break 3
16591 EGREP
="$ac_cv_path_EGREP"
16592 if test -z "$EGREP"; then
16593 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16594 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16595 { (exit 1); exit 1; }; }
16599 ac_cv_path_EGREP
=$EGREP
16605 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16606 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16607 EGREP
="$ac_cv_path_EGREP"
16610 if test $ac_cv_c_compiler_gnu = yes; then
16611 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16612 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16613 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16614 echo $ECHO_N "(cached) $ECHO_C" >&6
16616 ac_pattern
="Autoconf.*'x'"
16617 cat >conftest.
$ac_ext <<_ACEOF
16620 cat confdefs.h
>>conftest.
$ac_ext
16621 cat >>conftest.
$ac_ext <<_ACEOF
16622 /* end confdefs.h. */
16626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16627 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16628 ac_cv_prog_gcc_traditional
=yes
16630 ac_cv_prog_gcc_traditional
=no
16635 if test $ac_cv_prog_gcc_traditional = no
; then
16636 cat >conftest.
$ac_ext <<_ACEOF
16639 cat confdefs.h
>>conftest.
$ac_ext
16640 cat >>conftest.
$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 #include <termio.h>
16645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16646 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16647 ac_cv_prog_gcc_traditional
=yes
16653 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16654 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16655 if test $ac_cv_prog_gcc_traditional = yes; then
16656 CC
="$CC -traditional"
16661 CXXFLAGS
=${CXXFLAGS:=}
16666 ac_cpp
='$CXXCPP $CPPFLAGS'
16667 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16668 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16669 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16670 if test -z "$CXX"; then
16671 if test -n "$CCC"; then
16674 if test -n "$ac_tool_prefix"; then
16675 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16677 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16678 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16681 if test "${ac_cv_prog_CXX+set}" = set; then
16682 echo $ECHO_N "(cached) $ECHO_C" >&6
16684 if test -n "$CXX"; then
16685 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16688 for as_dir
in $PATH
16691 test -z "$as_dir" && as_dir
=.
16692 for ac_exec_ext
in '' $ac_executable_extensions; do
16693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16694 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16704 CXX
=$ac_cv_prog_CXX
16705 if test -n "$CXX"; then
16706 { echo "$as_me:$LINENO: result: $CXX" >&5
16707 echo "${ECHO_T}$CXX" >&6; }
16709 { echo "$as_me:$LINENO: result: no" >&5
16710 echo "${ECHO_T}no" >&6; }
16714 test -n "$CXX" && break
16717 if test -z "$CXX"; then
16719 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16721 # Extract the first word of "$ac_prog", so it can be a program name with args.
16722 set dummy
$ac_prog; ac_word
=$2
16723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16725 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16726 echo $ECHO_N "(cached) $ECHO_C" >&6
16728 if test -n "$ac_ct_CXX"; then
16729 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16732 for as_dir
in $PATH
16735 test -z "$as_dir" && as_dir
=.
16736 for ac_exec_ext
in '' $ac_executable_extensions; do
16737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16738 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16748 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16749 if test -n "$ac_ct_CXX"; then
16750 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16751 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16753 { echo "$as_me:$LINENO: result: no" >&5
16754 echo "${ECHO_T}no" >&6; }
16758 test -n "$ac_ct_CXX" && break
16761 if test "x$ac_ct_CXX" = x
; then
16764 case $cross_compiling:$ac_tool_warned in
16766 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16767 whose name does not start with the host triplet. If you think this
16768 configuration is useful to you, please write to autoconf@gnu.org." >&5
16769 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16770 whose name does not start with the host triplet. If you think this
16771 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16772 ac_tool_warned
=yes ;;
16780 # Provide some information about the compiler.
16781 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16782 ac_compiler
=`set X $ac_compile; echo $2`
16783 { (ac_try
="$ac_compiler --version >&5"
16784 case "(($ac_try" in
16785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16786 *) ac_try_echo=$ac_try;;
16788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16789 (eval "$ac_compiler --version >&5") 2>&5
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); }
16793 { (ac_try="$ac_compiler -v >&5"
16794 case "(($ac_try" in
16795 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16796 *) ac_try_echo
=$ac_try;;
16798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16799 (eval "$ac_compiler -v >&5") 2>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }
16803 { (ac_try
="$ac_compiler -V >&5"
16804 case "(($ac_try" in
16805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16806 *) ac_try_echo=$ac_try;;
16808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16809 (eval "$ac_compiler -V >&5") 2>&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }
16814 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16815 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16816 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16819 cat >conftest.$ac_ext <<_ACEOF
16822 cat confdefs.h >>conftest.$ac_ext
16823 cat >>conftest.$ac_ext <<_ACEOF
16824 /* end confdefs.h. */
16837 rm -f conftest.$ac_objext
16838 if { (ac_try="$ac_compile"
16839 case "(($ac_try" in
16840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16841 *) ac_try_echo
=$ac_try;;
16843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16844 (eval "$ac_compile") 2>conftest.er1
16846 grep -v '^ *+' conftest.er1
>conftest.err
16848 cat conftest.err
>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); } && {
16851 test -z "$ac_cxx_werror_flag" ||
16852 test ! -s conftest.err
16853 } && test -s conftest.
$ac_objext; then
16854 ac_compiler_gnu
=yes
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.
$ac_ext >&5
16862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16863 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16866 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16867 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16868 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16869 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16870 ac_save_CXXFLAGS
=$CXXFLAGS
16871 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16872 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16873 if test "${ac_cv_prog_cxx_g+set}" = set; then
16874 echo $ECHO_N "(cached) $ECHO_C" >&6
16876 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16877 ac_cxx_werror_flag
=yes
16878 ac_cv_prog_cxx_g
=no
16880 cat >conftest.
$ac_ext <<_ACEOF
16883 cat confdefs.h
>>conftest.
$ac_ext
16884 cat >>conftest.
$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16895 rm -f conftest.
$ac_objext
16896 if { (ac_try
="$ac_compile"
16897 case "(($ac_try" in
16898 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16899 *) ac_try_echo=$ac_try;;
16901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16902 (eval "$ac_compile") 2>conftest.er1
16904 grep -v '^ *+' conftest.er1 >conftest.err
16906 cat conftest.err >&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); } && {
16909 test -z "$ac_cxx_werror_flag" ||
16910 test ! -s conftest.err
16911 } && test -s conftest.$ac_objext; then
16912 ac_cv_prog_cxx_g=yes
16914 echo "$as_me: failed program was:" >&5
16915 sed 's/^/| /' conftest.$ac_ext >&5
16918 cat >conftest.$ac_ext <<_ACEOF
16921 cat confdefs.h >>conftest.$ac_ext
16922 cat >>conftest.$ac_ext <<_ACEOF
16923 /* end confdefs.h. */
16933 rm -f conftest.$ac_objext
16934 if { (ac_try="$ac_compile"
16935 case "(($ac_try" in
16936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16937 *) ac_try_echo
=$ac_try;;
16939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16940 (eval "$ac_compile") 2>conftest.er1
16942 grep -v '^ *+' conftest.er1
>conftest.err
16944 cat conftest.err
>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } && {
16947 test -z "$ac_cxx_werror_flag" ||
16948 test ! -s conftest.err
16949 } && test -s conftest.
$ac_objext; then
16952 echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.
$ac_ext >&5
16955 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16957 cat >conftest.
$ac_ext <<_ACEOF
16960 cat confdefs.h
>>conftest.
$ac_ext
16961 cat >>conftest.
$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16972 rm -f conftest.
$ac_objext
16973 if { (ac_try
="$ac_compile"
16974 case "(($ac_try" in
16975 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16976 *) ac_try_echo=$ac_try;;
16978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16979 (eval "$ac_compile") 2>conftest.er1
16981 grep -v '^ *+' conftest.er1 >conftest.err
16983 cat conftest.err >&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); } && {
16986 test -z "$ac_cxx_werror_flag" ||
16987 test ! -s conftest.err
16988 } && test -s conftest.$ac_objext; then
16989 ac_cv_prog_cxx_g=yes
16991 echo "$as_me: failed program was:" >&5
16992 sed 's/^/| /' conftest.$ac_ext >&5
16997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17004 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17006 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17007 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17008 if test "$ac_test_CXXFLAGS" = set; then
17009 CXXFLAGS=$ac_save_CXXFLAGS
17010 elif test $ac_cv_prog_cxx_g = yes; then
17011 if test "$GXX" = yes; then
17017 if test "$GXX" = yes; then
17024 ac_cpp='$CPP $CPPFLAGS'
17025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17033 ac_cpp='$CXXCPP $CPPFLAGS'
17034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17038 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17039 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17040 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17041 echo $ECHO_N "(cached) $ECHO_C" >&6
17043 cat >conftest.$ac_ext <<_ACEOF
17046 cat confdefs.h >>conftest.$ac_ext
17047 cat >>conftest.$ac_ext <<_ACEOF
17048 /* end confdefs.h. */
17054 #ifndef __INTEL_COMPILER
17062 rm -f conftest.$ac_objext
17063 if { (ac_try="$ac_compile"
17064 case "(($ac_try" in
17065 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17066 *) ac_try_echo
=$ac_try;;
17068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17069 (eval "$ac_compile") 2>conftest.er1
17071 grep -v '^ *+' conftest.er1
>conftest.err
17073 cat conftest.err
>&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); } && {
17076 test -z "$ac_cxx_werror_flag" ||
17077 test ! -s conftest.err
17078 } && test -s conftest.
$ac_objext; then
17079 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.
$ac_ext >&5
17084 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17092 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17093 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17094 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17100 ac_cpp
='$CPP $CPPFLAGS'
17101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17108 if test "$INTELCXX" = "yes"; then
17112 ac_cpp
='$CXXCPP $CPPFLAGS'
17113 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17114 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17115 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17117 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17118 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17119 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 cat >conftest.
$ac_ext <<_ACEOF
17125 cat confdefs.h
>>conftest.
$ac_ext
17126 cat >>conftest.
$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17133 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17141 rm -f conftest.
$ac_objext
17142 if { (ac_try
="$ac_compile"
17143 case "(($ac_try" in
17144 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17145 *) ac_try_echo=$ac_try;;
17147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17148 (eval "$ac_compile") 2>conftest.er1
17150 grep -v '^ *+' conftest.er1 >conftest.err
17152 cat conftest.err >&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } && {
17155 test -z "$ac_cxx_werror_flag" ||
17156 test ! -s conftest.err
17157 } && test -s conftest.$ac_objext; then
17158 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17160 echo "$as_me: failed program was:" >&5
17161 sed 's/^/| /' conftest.$ac_ext >&5
17163 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17171 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17172 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17173 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17179 ac_cpp='$CPP $CPPFLAGS'
17180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17189 ac_cpp='$CXXCPP $CPPFLAGS'
17190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17194 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17195 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17196 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17197 echo $ECHO_N "(cached) $ECHO_C" >&6
17199 cat >conftest.$ac_ext <<_ACEOF
17202 cat confdefs.h >>conftest.$ac_ext
17203 cat >>conftest.$ac_ext <<_ACEOF
17204 /* end confdefs.h. */
17210 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17218 rm -f conftest.$ac_objext
17219 if { (ac_try="$ac_compile"
17220 case "(($ac_try" in
17221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17222 *) ac_try_echo
=$ac_try;;
17224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17225 (eval "$ac_compile") 2>conftest.er1
17227 grep -v '^ *+' conftest.er1
>conftest.err
17229 cat conftest.err
>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } && {
17232 test -z "$ac_cxx_werror_flag" ||
17233 test ! -s conftest.err
17234 } && test -s conftest.
$ac_objext; then
17235 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17237 echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.
$ac_ext >&5
17240 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17248 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17249 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17250 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17256 ac_cpp
='$CPP $CPPFLAGS'
17257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17265 if test "x$GCXX" != "xyes"; then
17266 if test "xCXX" = "xC"; then
17267 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17268 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17269 if test "${bakefile_cv_c_exto+set}" = set; then
17270 echo $ECHO_N "(cached) $ECHO_C" >&6
17272 cat >conftest.
$ac_ext <<_ACEOF
17275 cat confdefs.h
>>conftest.
$ac_ext
17276 cat >>conftest.
$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17287 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17289 (eval $ac_compile) 2>&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); }; then
17293 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17295 conftest.
$ac_ext.o
)
17296 bakefile_cv_c_exto
="-ext o"
17303 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17304 See \`config.log' for more details." >&5
17305 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17306 See \`config.log' for more details." >&2;}
17307 { (exit 1); exit 1; }; }
17311 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17314 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17315 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17316 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17317 if test "c" = "c"; then
17318 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17320 if test "c" = "cxx"; then
17321 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17325 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17326 unset ac_cv_prog_cc_g
17327 ac_test_CFLAGS
=${CFLAGS+set}
17328 ac_save_CFLAGS
=$CFLAGS
17329 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17330 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17331 if test "${ac_cv_prog_cc_g+set}" = set; then
17332 echo $ECHO_N "(cached) $ECHO_C" >&6
17334 ac_save_c_werror_flag
=$ac_c_werror_flag
17335 ac_c_werror_flag
=yes
17338 cat >conftest.
$ac_ext <<_ACEOF
17341 cat confdefs.h
>>conftest.
$ac_ext
17342 cat >>conftest.
$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17353 rm -f conftest.
$ac_objext
17354 if { (ac_try
="$ac_compile"
17355 case "(($ac_try" in
17356 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17357 *) ac_try_echo=$ac_try;;
17359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17360 (eval "$ac_compile") 2>conftest.er1
17362 grep -v '^ *+' conftest.er1 >conftest.err
17364 cat conftest.err >&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); } && {
17367 test -z "$ac_c_werror_flag" ||
17368 test ! -s conftest.err
17369 } && test -s conftest.$ac_objext; then
17370 ac_cv_prog_cc_g=yes
17372 echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.$ac_ext >&5
17376 cat >conftest.$ac_ext <<_ACEOF
17379 cat confdefs.h >>conftest.$ac_ext
17380 cat >>conftest.$ac_ext <<_ACEOF
17381 /* end confdefs.h. */
17391 rm -f conftest.$ac_objext
17392 if { (ac_try="$ac_compile"
17393 case "(($ac_try" in
17394 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17395 *) ac_try_echo
=$ac_try;;
17397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17398 (eval "$ac_compile") 2>conftest.er1
17400 grep -v '^ *+' conftest.er1
>conftest.err
17402 cat conftest.err
>&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); } && {
17405 test -z "$ac_c_werror_flag" ||
17406 test ! -s conftest.err
17407 } && test -s conftest.
$ac_objext; then
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.
$ac_ext >&5
17413 ac_c_werror_flag
=$ac_save_c_werror_flag
17415 cat >conftest.
$ac_ext <<_ACEOF
17418 cat confdefs.h
>>conftest.
$ac_ext
17419 cat >>conftest.
$ac_ext <<_ACEOF
17420 /* end confdefs.h. */
17430 rm -f conftest.
$ac_objext
17431 if { (ac_try
="$ac_compile"
17432 case "(($ac_try" in
17433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17434 *) ac_try_echo=$ac_try;;
17436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17437 (eval "$ac_compile") 2>conftest.er1
17439 grep -v '^ *+' conftest.er1 >conftest.err
17441 cat conftest.err >&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); } && {
17444 test -z "$ac_c_werror_flag" ||
17445 test ! -s conftest.err
17446 } && test -s conftest.$ac_objext; then
17447 ac_cv_prog_cc_g=yes
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17462 ac_c_werror_flag=$ac_save_c_werror_flag
17464 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17465 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17466 if test "$ac_test_CFLAGS" = set; then
17467 CFLAGS=$ac_save_CFLAGS
17468 elif test $ac_cv_prog_cc_g = yes; then
17469 if test "$GCC" = yes; then
17475 if test "$GCC" = yes; then
17489 ac_cpp='$CXXCPP $CPPFLAGS'
17490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17494 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17495 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17496 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17497 echo $ECHO_N "(cached) $ECHO_C" >&6
17499 cat >conftest.$ac_ext <<_ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17518 rm -f conftest.$ac_objext
17519 if { (ac_try="$ac_compile"
17520 case "(($ac_try" in
17521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17522 *) ac_try_echo
=$ac_try;;
17524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17525 (eval "$ac_compile") 2>conftest.er1
17527 grep -v '^ *+' conftest.er1
>conftest.err
17529 cat conftest.err
>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); } && {
17532 test -z "$ac_cxx_werror_flag" ||
17533 test ! -s conftest.err
17534 } && test -s conftest.
$ac_objext; then
17535 bakefile_cv_cxx_compiler___xlC__
=yes
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.
$ac_ext >&5
17540 bakefile_cv_cxx_compiler___xlC__
=no
17544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17548 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17549 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17550 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17556 ac_cpp
='$CPP $CPPFLAGS'
17557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17569 ac_cpp
='$CXXCPP $CPPFLAGS'
17570 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17571 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17572 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17574 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17575 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17576 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17577 echo $ECHO_N "(cached) $ECHO_C" >&6
17579 cat >conftest.
$ac_ext <<_ACEOF
17582 cat confdefs.h
>>conftest.
$ac_ext
17583 cat >>conftest.
$ac_ext <<_ACEOF
17584 /* end confdefs.h. */
17598 rm -f conftest.
$ac_objext
17599 if { (ac_try
="$ac_compile"
17600 case "(($ac_try" in
17601 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17602 *) ac_try_echo=$ac_try;;
17604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17605 (eval "$ac_compile") 2>conftest.er1
17607 grep -v '^ *+' conftest.er1 >conftest.err
17609 cat conftest.err >&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); } && {
17612 test -z "$ac_cxx_werror_flag" ||
17613 test ! -s conftest.err
17614 } && test -s conftest.$ac_objext; then
17615 bakefile_cv_cxx_compiler___MWERKS__=yes
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17620 bakefile_cv_cxx_compiler___MWERKS__=no
17624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17628 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17629 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17630 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17636 ac_cpp='$CPP $CPPFLAGS'
17637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17643 if test "$MWCXX" != "yes"; then
17647 ac_cpp='$CXXCPP $CPPFLAGS'
17648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17652 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17653 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17654 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17655 echo $ECHO_N "(cached) $ECHO_C" >&6
17657 cat >conftest.$ac_ext <<_ACEOF
17660 cat confdefs.h >>conftest.$ac_ext
17661 cat >>conftest.$ac_ext <<_ACEOF
17662 /* end confdefs.h. */
17676 rm -f conftest.$ac_objext
17677 if { (ac_try="$ac_compile"
17678 case "(($ac_try" in
17679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17680 *) ac_try_echo
=$ac_try;;
17682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17683 (eval "$ac_compile") 2>conftest.er1
17685 grep -v '^ *+' conftest.er1
>conftest.err
17687 cat conftest.err
>&5
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); } && {
17690 test -z "$ac_cxx_werror_flag" ||
17691 test ! -s conftest.err
17692 } && test -s conftest.
$ac_objext; then
17693 bakefile_cv_cxx_compiler___xlC__
=yes
17695 echo "$as_me: failed program was:" >&5
17696 sed 's/^/| /' conftest.
$ac_ext >&5
17698 bakefile_cv_cxx_compiler___xlC__
=no
17702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17706 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17707 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17708 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17714 ac_cpp
='$CPP $CPPFLAGS'
17715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17728 ac_cpp
='$CXXCPP $CPPFLAGS'
17729 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17730 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17731 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17733 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17734 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17735 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17736 echo $ECHO_N "(cached) $ECHO_C" >&6
17738 cat >conftest.
$ac_ext <<_ACEOF
17741 cat confdefs.h
>>conftest.
$ac_ext
17742 cat >>conftest.
$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17749 #ifndef _SGI_COMPILER_VERSION
17757 rm -f conftest.
$ac_objext
17758 if { (ac_try
="$ac_compile"
17759 case "(($ac_try" in
17760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17761 *) ac_try_echo=$ac_try;;
17763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17764 (eval "$ac_compile") 2>conftest.er1
17766 grep -v '^ *+' conftest.er1 >conftest.err
17768 cat conftest.err >&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); } && {
17771 test -z "$ac_cxx_werror_flag" ||
17772 test ! -s conftest.err
17773 } && test -s conftest.$ac_objext; then
17774 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.$ac_ext >&5
17779 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17787 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17788 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17789 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17795 ac_cpp='$CPP $CPPFLAGS'
17796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17805 if test "$INTELCXX" != "yes"; then
17809 ac_cpp='$CXXCPP $CPPFLAGS'
17810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17814 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17815 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17816 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17819 cat >conftest.$ac_ext <<_ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17830 #ifndef __SUNPRO_CC
17838 rm -f conftest.$ac_objext
17839 if { (ac_try="$ac_compile"
17840 case "(($ac_try" in
17841 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17842 *) ac_try_echo
=$ac_try;;
17844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17845 (eval "$ac_compile") 2>conftest.er1
17847 grep -v '^ *+' conftest.er1
>conftest.err
17849 cat conftest.err
>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } && {
17852 test -z "$ac_cxx_werror_flag" ||
17853 test ! -s conftest.err
17854 } && test -s conftest.
$ac_objext; then
17855 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17857 echo "$as_me: failed program was:" >&5
17858 sed 's/^/| /' conftest.
$ac_ext >&5
17860 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17868 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17869 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17870 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17876 ac_cpp
='$CPP $CPPFLAGS'
17877 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17878 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17879 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17890 ac_cpp
='$CXXCPP $CPPFLAGS'
17891 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17892 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17893 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17895 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17896 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17897 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17898 echo $ECHO_N "(cached) $ECHO_C" >&6
17900 cat >conftest.
$ac_ext <<_ACEOF
17903 cat confdefs.h
>>conftest.
$ac_ext
17904 cat >>conftest.
$ac_ext <<_ACEOF
17905 /* end confdefs.h. */
17919 rm -f conftest.
$ac_objext
17920 if { (ac_try
="$ac_compile"
17921 case "(($ac_try" in
17922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17923 *) ac_try_echo=$ac_try;;
17925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17926 (eval "$ac_compile") 2>conftest.er1
17928 grep -v '^ *+' conftest.er1 >conftest.err
17930 cat conftest.err >&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); } && {
17933 test -z "$ac_cxx_werror_flag" ||
17934 test ! -s conftest.err
17935 } && test -s conftest.$ac_objext; then
17936 bakefile_cv_cxx_compiler___HP_aCC=yes
17938 echo "$as_me: failed program was:" >&5
17939 sed 's/^/| /' conftest.$ac_ext >&5
17941 bakefile_cv_cxx_compiler___HP_aCC=no
17945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17949 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17950 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17951 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17957 ac_cpp='$CPP $CPPFLAGS'
17958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17970 ac_cpp='$CXXCPP $CPPFLAGS'
17971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17975 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17976 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17977 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17978 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 cat >conftest.$ac_ext <<_ACEOF
17983 cat confdefs.h >>conftest.$ac_ext
17984 cat >>conftest.$ac_ext <<_ACEOF
17985 /* end confdefs.h. */
17999 rm -f conftest.$ac_objext
18000 if { (ac_try="$ac_compile"
18001 case "(($ac_try" in
18002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18003 *) ac_try_echo
=$ac_try;;
18005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18006 (eval "$ac_compile") 2>conftest.er1
18008 grep -v '^ *+' conftest.er1
>conftest.err
18010 cat conftest.err
>&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } && {
18013 test -z "$ac_cxx_werror_flag" ||
18014 test ! -s conftest.err
18015 } && test -s conftest.
$ac_objext; then
18016 bakefile_cv_cxx_compiler___DECCXX
=yes
18018 echo "$as_me: failed program was:" >&5
18019 sed 's/^/| /' conftest.
$ac_ext >&5
18021 bakefile_cv_cxx_compiler___DECCXX
=no
18025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18029 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18030 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18031 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18037 ac_cpp
='$CPP $CPPFLAGS'
18038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18050 ac_cpp
='$CXXCPP $CPPFLAGS'
18051 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18052 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18053 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18055 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18056 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18057 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18058 echo $ECHO_N "(cached) $ECHO_C" >&6
18060 cat >conftest.
$ac_ext <<_ACEOF
18063 cat confdefs.h
>>conftest.
$ac_ext
18064 cat >>conftest.
$ac_ext <<_ACEOF
18065 /* end confdefs.h. */
18071 #ifndef __SUNPRO_CC
18079 rm -f conftest.
$ac_objext
18080 if { (ac_try
="$ac_compile"
18081 case "(($ac_try" in
18082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18083 *) ac_try_echo=$ac_try;;
18085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18086 (eval "$ac_compile") 2>conftest.er1
18088 grep -v '^ *+' conftest.er1 >conftest.err
18090 cat conftest.err >&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); } && {
18093 test -z "$ac_cxx_werror_flag" ||
18094 test ! -s conftest.err
18095 } && test -s conftest.$ac_objext; then
18096 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18098 echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.$ac_ext >&5
18101 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18109 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18110 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18111 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18117 ac_cpp='$CPP $CPPFLAGS'
18118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18130 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18131 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18132 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18133 { (exit 1); exit 1; }; }
18136 if test "x$SUNCXX" != xyes; then
18137 if test -n "$ac_tool_prefix"; then
18138 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18139 set dummy ${ac_tool_prefix}ar; ac_word=$2
18140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18142 if test "${ac_cv_prog_AR+set}" = set; then
18143 echo $ECHO_N "(cached) $ECHO_C" >&6
18145 if test -n "$AR"; then
18146 ac_cv_prog_AR="$AR" # Let the user override the test.
18148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18149 for as_dir in $PATH
18152 test -z "$as_dir" && as_dir=.
18153 for ac_exec_ext in '' $ac_executable_extensions; do
18154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18155 ac_cv_prog_AR="${ac_tool_prefix}ar"
18156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18166 if test -n "$AR"; then
18167 { echo "$as_me:$LINENO: result: $AR" >&5
18168 echo "${ECHO_T}$AR" >&6; }
18170 { echo "$as_me:$LINENO: result: no" >&5
18171 echo "${ECHO_T}no" >&6; }
18176 if test -z "$ac_cv_prog_AR"; then
18178 # Extract the first word of "ar", so it can be a program name with args.
18179 set dummy ar; ac_word=$2
18180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18182 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18183 echo $ECHO_N "(cached) $ECHO_C" >&6
18185 if test -n "$ac_ct_AR"; then
18186 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18189 for as_dir in $PATH
18192 test -z "$as_dir" && as_dir=.
18193 for ac_exec_ext in '' $ac_executable_extensions; do
18194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18195 ac_cv_prog_ac_ct_AR="ar"
18196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18205 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18206 if test -n "$ac_ct_AR"; then
18207 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18208 echo "${ECHO_T}$ac_ct_AR" >&6; }
18210 { echo "$as_me:$LINENO: result: no" >&5
18211 echo "${ECHO_T}no" >&6; }
18214 if test "x$ac_ct_AR" = x; then
18217 case $cross_compiling:$ac_tool_warned in
18219 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18220 whose name does not start with the host triplet. If you think this
18221 configuration is useful to you, please write to autoconf@gnu.org." >&5
18222 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18223 whose name does not start with the host triplet. If you think this
18224 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18225 ac_tool_warned=yes ;;
18230 AR="$ac_cv_prog_AR"
18233 if test "x$AR" = "x" ; then
18234 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18235 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18236 { (exit 1); exit 1; }; }
18241 if test "$wxUSE_MAC" = 1; then
18243 retest_macosx_linking=no
18245 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18246 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18247 # Implicitly turn on the new --with-macosx-sdk using the default
18248 # SDK which provides the behavior this option has always had.
18249 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18250 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18251 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18252 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18253 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18254 wxUSE_MACOSX_SDK=yes
18257 # Complain to user if he specified an argument to --enable-universal_binary
18258 # and also 1) specified --with-macosx-sdk using the default (yes) or
18259 # 2) specified --with-macosx-sdk using a path or 3) specified
18260 # --without-macosx-sdk (no).
18261 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18262 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18263 See \`config.log
' for more details." >&5
18264 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18265 See \`config.log' for more details.
" >&2;}
18266 { (exit 1); exit 1; }; }
18268 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18269 # special-case the empty string because the below test simply
18270 # converts "no
" to the empty string anyway.
18271 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18272 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18273 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18276 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18277 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18278 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18279 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18280 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18281 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18282 retest_macosx_linking=yes
18284 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18285 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18289 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18291 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18292 # TODO: Search for most recent SDK and use it.
18293 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18297 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18298 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18299 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18300 if ! test -d "$wxUSE_MACOSX_SDK"; then
18301 { { echo "$as_me:$LINENO: error
: not found
18302 See \
`config.log' for more details." >&5
18303 echo "$as_me: error: not found
18304 See \`config.log
' for more details." >&2;}
18305 { (exit 1); exit 1; }; }
18307 { echo "$as_me:$LINENO: result: exists" >&5
18308 echo "${ECHO_T}exists" >&6; }
18310 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18311 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18312 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18313 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18314 retest_macosx_linking=yes
18317 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18318 wxUSE_MACOSX_VERSION_MIN=
18319 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18320 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18321 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18322 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18324 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/'`
18326 # If that failed, try again with the new key
18327 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18329 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/'`
18333 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18334 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18335 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18336 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18338 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18339 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18340 wxUSE_MACOSX_VERSION_MIN=
18343 wxUSE_MACOSX_VERSION_MIN=
18345 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18346 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18347 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18348 # otherwise configure stops on leopard for universal_binary
18349 wxUSE_MACOSX_VERSION_MIN=10.4
18351 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18352 wxUSE_MACOSX_VERSION_MIN=10.5
18357 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18361 if test "$wxUSE_OSX_CARBON" = 1; then
18365 if test "x$NEEDS_GCC40" == "xyes"; then
18366 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18367 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18368 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18369 if test "x$CC" = "xgcc"; then
18370 CCVERSION=`$CC --version | grep 4.[2-9].`
18371 if test "x$CCVERSION" != "x"; then
18372 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18373 CC="/usr/bin/gcc-4.0"
18377 if test "x$CXX" = "xg++"; then
18378 CCVERSION=`$CXX --version | grep 4.[2-9].`
18379 if test "x$CCVERSION" != "x"; then
18380 CXX="/usr/bin/g++-4.0"
18385 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18386 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18387 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18388 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18389 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18390 retest_macosx_linking=yes
18393 if test "x$retest_macosx_linking" = "xyes"; then
18395 ac_cpp='$CPP $CPPFLAGS'
18396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18397 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18400 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18401 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18402 cat >conftest.$ac_ext <<_ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h. */
18417 rm -f conftest.$ac_objext conftest$ac_exeext
18418 if { (ac_try="$ac_link"
18419 case "(($ac_try" in
18420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18421 *) ac_try_echo=$ac_try;;
18423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18424 (eval "$ac_link") 2>conftest.er1
18426 grep -v '^
*+' conftest.er1 >conftest.err
18428 cat conftest.err >&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } && {
18431 test -z "$ac_c_werror_flag" ||
18432 test ! -s conftest.err
18433 } && test -s conftest$ac_exeext &&
18434 $as_test_x conftest$ac_exeext; then
18435 { echo "$as_me:$LINENO: result: yes" >&5
18436 echo "${ECHO_T}yes" >&6; }
18438 echo "$as_me: failed program was:" >&5
18439 sed 's
/^
/| /' conftest.$ac_ext >&5
18441 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18442 See \`config.log' for more details.
" >&5
18443 echo "$as_me: error
: no. Try a different SDK
18444 See \
`config.log' for more details." >&2;}
18445 { (exit 1); exit 1; }; }; exit 1
18448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18449 conftest$ac_exeext conftest.$ac_ext
18451 ac_cpp='$CPP $CPPFLAGS'
18452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18458 ac_cpp='$CXXCPP $CPPFLAGS'
18459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18463 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18464 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18465 cat >conftest.$ac_ext <<_ACEOF
18468 cat confdefs.h >>conftest.$ac_ext
18469 cat >>conftest.$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18480 rm -f conftest.$ac_objext conftest$ac_exeext
18481 if { (ac_try="$ac_link"
18482 case "(($ac_try" in
18483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18484 *) ac_try_echo
=$ac_try;;
18486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18487 (eval "$ac_link") 2>conftest.er1
18489 grep -v '^ *+' conftest.er1
>conftest.err
18491 cat conftest.err
>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } && {
18494 test -z "$ac_cxx_werror_flag" ||
18495 test ! -s conftest.err
18496 } && test -s conftest
$ac_exeext &&
18497 $as_test_x conftest
$ac_exeext; then
18498 { echo "$as_me:$LINENO: result: yes" >&5
18499 echo "${ECHO_T}yes" >&6; }
18501 echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.
$ac_ext >&5
18504 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18505 See \`config.log' for more details." >&5
18506 echo "$as_me: error: no. Try a different SDK
18507 See \`config.log' for more details." >&2;}
18508 { (exit 1); exit 1; }; }; exit 1
18511 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18512 conftest
$ac_exeext conftest.
$ac_ext
18514 ac_cpp
='$CPP $CPPFLAGS'
18515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18525 INSTALL_PROGRAM
="cp -fp"
18526 INSTALL_DATA
="cp -fp"
18533 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18534 CXXFLAGS
="-qunique $CXXFLAGS"
18538 powerpc
-*-darwin* )
18539 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18540 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18541 cat >conftest.
$ac_ext <<_ACEOF
18544 cat confdefs.h
>>conftest.
$ac_ext
18545 cat >>conftest.
$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18551 #ifndef __POWERPC__
18552 choke me for lack of PowerPC
18559 rm -f conftest.
$ac_objext
18560 if { (ac_try
="$ac_compile"
18561 case "(($ac_try" in
18562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
18568 grep -v '^ *+' conftest.er1 >conftest.err
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } && {
18573 test -z "$ac_c_werror_flag" ||
18574 test ! -s conftest.err
18575 } && test -s conftest.$ac_objext; then
18576 { echo "$as_me:$LINENO: result: yes" >&5
18577 echo "${ECHO_T}yes" >&6; }
18579 echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.$ac_ext >&5
18582 { echo "$as_me:$LINENO: result: no" >&5
18583 echo "${ECHO_T}no" >&6; }
18584 cat >>confdefs.h <<\_ACEOF
18585 #define __POWERPC__ 1
18591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18597 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18598 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18599 cat >conftest.$ac_ext <<_ACEOF
18602 cat confdefs.h >>conftest.$ac_ext
18603 cat >>conftest.$ac_ext <<_ACEOF
18604 /* end confdefs.h. */
18605 #include <CoreFoundation/CFBase.h>
18615 rm -f conftest.$ac_objext
18616 if { (ac_try="$ac_compile"
18617 case "(($ac_try" in
18618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18619 *) ac_try_echo
=$ac_try;;
18621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18622 (eval "$ac_compile") 2>conftest.er1
18624 grep -v '^ *+' conftest.er1
>conftest.err
18626 cat conftest.err
>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); } && {
18629 test -z "$ac_c_werror_flag" ||
18630 test ! -s conftest.err
18631 } && test -s conftest.
$ac_objext; then
18632 { echo "$as_me:$LINENO: result: yes" >&5
18633 echo "${ECHO_T}yes" >&6; }
18635 echo "$as_me: failed program was:" >&5
18636 sed 's/^/| /' conftest.
$ac_ext >&5
18638 { echo "$as_me:$LINENO: result: no" >&5
18639 echo "${ECHO_T}no" >&6; }
18640 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18641 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18642 cat >conftest.
$ac_ext <<_ACEOF
18645 cat confdefs.h
>>conftest.
$ac_ext
18646 cat >>conftest.
$ac_ext <<_ACEOF
18647 /* end confdefs.h. */
18648 #define __CF_USE_FRAMEWORK_INCLUDES__
18649 #include <CoreFoundation/CFBase.h>
18659 rm -f conftest.
$ac_objext
18660 if { (ac_try
="$ac_compile"
18661 case "(($ac_try" in
18662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18663 *) ac_try_echo=$ac_try;;
18665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18666 (eval "$ac_compile") 2>conftest.er1
18668 grep -v '^ *+' conftest.er1 >conftest.err
18670 cat conftest.err >&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); } && {
18673 test -z "$ac_c_werror_flag" ||
18674 test ! -s conftest.err
18675 } && test -s conftest.$ac_objext; then
18676 { echo "$as_me:$LINENO: result: yes" >&5
18677 echo "${ECHO_T}yes" >&6; }
18678 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18683 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18684 See \`config.log
' for more details." >&5
18685 echo "$as_me: error: no. CoreFoundation not available.
18686 See \`config.log' for more details.
" >&2;}
18687 { (exit 1); exit 1; }; }
18691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18701 doesnt_want_win32=0
18704 if test "$wxUSE_MSW" = 1 ; then
18707 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18708 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18709 if test "${wx_cv_nocygwin+set}" = set; then
18710 echo $ECHO_N "(cached
) $ECHO_C" >&6
18713 cat >conftest.$ac_ext <<_ACEOF
18716 cat confdefs.h >>conftest.$ac_ext
18717 cat >>conftest.$ac_ext <<_ACEOF
18718 /* end confdefs.h. */
18732 rm -f conftest.$ac_objext
18733 if { (ac_try="$ac_compile"
18734 case "(($ac_try" in
18735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18736 *) ac_try_echo=$ac_try;;
18738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18739 (eval "$ac_compile") 2>conftest.er1
18741 grep -v '^ *+' conftest.er1 >conftest.err
18743 cat conftest.err >&5
18744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18745 (exit $ac_status); } && {
18746 test -z "$ac_c_werror_flag" ||
18747 test ! -s conftest.err
18748 } && test -s conftest.$ac_objext; then
18751 echo "$as_me: failed program was
:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18762 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18763 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18765 if test "$wx_cv_nocygwin" = "yes"; then
18768 doesnt_want_win32=1
18771 if test "$wants_win32" = 1 ; then
18772 BAKEFILE_FORCE_PLATFORM=win32
18780 if test "$wxUSE_WINE" = "yes"; then
18782 LDFLAGS_GUI="-mwindows"
18785 if test "$wants_win32" = 1 ; then
18788 cat >>confdefs.h <<\_ACEOF
18789 #define __WIN32__ 1
18792 cat >>confdefs.h <<\_ACEOF
18793 #define __WIN95__ 1
18796 cat >>confdefs.h <<\_ACEOF
18797 #define __WINDOWS__ 1
18800 cat >>confdefs.h <<\_ACEOF
18801 #define __GNUWIN32__ 1
18804 cat >>confdefs.h <<\_ACEOF
18809 if test "$doesnt_want_win32" = 1 ; then
18814 if test "$USE_UNIX" = 1 ; then
18816 cat >>confdefs.h <<\_ACEOF
18823 *-pc-os2_emx | *-pc-os2-emx )
18824 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18825 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18826 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18827 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18828 echo $ECHO_N "(cached
) $ECHO_C" >&6
18830 ac_check_lib_save_LIBS=$LIBS
18831 LIBS="-lcExt $LIBS"
18832 cat >conftest.$ac_ext <<_ACEOF
18835 cat confdefs.h >>conftest.$ac_ext
18836 cat >>conftest.$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18839 /* Override any GCC internal prototype to avoid an error.
18840 Use char because int might match the return type of a GCC
18841 builtin and then its argument prototype would still apply. */
18854 rm -f conftest.$ac_objext conftest$ac_exeext
18855 if { (ac_try="$ac_link"
18856 case "(($ac_try" in
18857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18858 *) ac_try_echo=$ac_try;;
18860 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18861 (eval "$ac_link") 2>conftest.er1
18863 grep -v '^ *+' conftest.er1 >conftest.err
18865 cat conftest.err >&5
18866 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18867 (exit $ac_status); } && {
18868 test -z "$ac_c_werror_flag" ||
18869 test ! -s conftest.err
18870 } && test -s conftest$ac_exeext &&
18871 $as_test_x conftest$ac_exeext; then
18872 ac_cv_lib_cExt_drand48=yes
18874 echo "$as_me: failed program was
:" >&5
18875 sed 's/^/| /' conftest.$ac_ext >&5
18877 ac_cv_lib_cExt_drand48=no
18880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18881 conftest$ac_exeext conftest.$ac_ext
18882 LIBS=$ac_check_lib_save_LIBS
18884 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18885 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18886 if test $ac_cv_lib_cExt_drand48 = yes; then
18887 LIBS="$LIBS -lcExt"
18891 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18893 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18894 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18895 if test "${wx_cv_gccversion+set}" = set; then
18896 echo $ECHO_N "(cached
) $ECHO_C" >&6
18899 if test "$cross_compiling" = yes; then
18900 wx_cv_gccversion="EMX2
"
18903 cat >conftest.$ac_ext <<_ACEOF
18906 cat confdefs.h >>conftest.$ac_ext
18907 cat >>conftest.$ac_ext <<_ACEOF
18908 /* end confdefs.h. */
18914 FILE *f=fopen("conftestval
", "w
");
18919 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18921 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18931 rm -f conftest$ac_exeext
18932 if { (ac_try="$ac_link"
18933 case "(($ac_try" in
18934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18935 *) ac_try_echo=$ac_try;;
18937 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18938 (eval "$ac_link") 2>&5
18940 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18942 { (case "(($ac_try" in
18943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18944 *) ac_try_echo=$ac_try;;
18946 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18947 (eval "$ac_try") 2>&5
18949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18950 (exit $ac_status); }; }; then
18951 wx_cv_gccversion=`cat conftestval`
18953 echo "$as_me: program exited with status
$ac_status" >&5
18954 echo "$as_me: failed program was
:" >&5
18955 sed 's/^/| /' conftest.$ac_ext >&5
18957 ( exit $ac_status )
18958 wx_cv_gccversion="EMX2
"
18960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18966 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18967 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18968 if test "$wx_cv_gccversion" = "EMX2
"; then
18969 LIBS="$LIBS -lstdcpp"
18970 LDFLAGS="$LDFLAGS -Zsysv-signals"
18972 if test "$wx_cv_gccversion" = "EMX3
"; then
18973 LIBS="$LIBS -lstdcxx -lgcc"
18974 LDFLAGS="$LDFLAGS -Zsysv-signals"
18976 LIBS="$LIBS -lstdc++"
18979 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18980 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18981 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18988 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18989 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18990 if test "${ac_cv_string_strcasecmp+set}" = set; then
18991 echo $ECHO_N "(cached
) $ECHO_C" >&6
18994 cat >conftest.$ac_ext <<_ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19001 #include <string.h>
19007 strcasecmp("foo
", "bar
");
19013 rm -f conftest.$ac_objext conftest$ac_exeext
19014 if { (ac_try="$ac_link"
19015 case "(($ac_try" in
19016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19017 *) ac_try_echo=$ac_try;;
19019 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19020 (eval "$ac_link") 2>conftest.er1
19022 grep -v '^ *+' conftest.er1 >conftest.err
19024 cat conftest.err >&5
19025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19026 (exit $ac_status); } && {
19027 test -z "$ac_c_werror_flag" ||
19028 test ! -s conftest.err
19029 } && test -s conftest$ac_exeext &&
19030 $as_test_x conftest$ac_exeext; then
19031 ac_cv_string_strcasecmp=yes
19033 echo "$as_me: failed program was
:" >&5
19034 sed 's/^/| /' conftest.$ac_ext >&5
19036 ac_cv_string_strcasecmp=no
19040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19041 conftest$ac_exeext conftest.$ac_ext
19044 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19045 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19047 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19048 cat >>confdefs.h <<\_ACEOF
19049 #define HAVE_STRCASECMP_IN_STRING_H 1
19053 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19054 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19055 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19056 echo $ECHO_N "(cached
) $ECHO_C" >&6
19059 cat >conftest.$ac_ext <<_ACEOF
19062 cat confdefs.h >>conftest.$ac_ext
19063 cat >>conftest.$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19066 #include <strings.h>
19072 strcasecmp("foo
", "bar
");
19078 rm -f conftest.$ac_objext conftest$ac_exeext
19079 if { (ac_try="$ac_link"
19080 case "(($ac_try" in
19081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19082 *) ac_try_echo=$ac_try;;
19084 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19085 (eval "$ac_link") 2>conftest.er1
19087 grep -v '^ *+' conftest.er1 >conftest.err
19089 cat conftest.err >&5
19090 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19091 (exit $ac_status); } && {
19092 test -z "$ac_c_werror_flag" ||
19093 test ! -s conftest.err
19094 } && test -s conftest$ac_exeext &&
19095 $as_test_x conftest$ac_exeext; then
19096 ac_cv_strings_strcasecmp=yes
19098 echo "$as_me: failed program was
:" >&5
19099 sed 's/^/| /' conftest.$ac_ext >&5
19101 ac_cv_strings_strcasecmp=no
19105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19106 conftest$ac_exeext conftest.$ac_ext
19109 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19110 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19112 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19113 cat >>confdefs.h <<\_ACEOF
19114 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19118 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19119 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19120 { (exit 1); exit 1; }; }
19128 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19129 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19130 if test "${ac_cv_header_stdc+set}" = set; then
19131 echo $ECHO_N "(cached
) $ECHO_C" >&6
19133 cat >conftest.$ac_ext <<_ACEOF
19136 cat confdefs.h >>conftest.$ac_ext
19137 cat >>conftest.$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 #include <stdlib.h>
19140 #include <stdarg.h>
19141 #include <string.h>
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19158 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19161 grep -v '^ *+' conftest.er1 >conftest.err
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_c_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.$ac_objext; then
19169 ac_cv_header_stdc=yes
19171 echo "$as_me: failed program was
:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19174 ac_cv_header_stdc=no
19177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19179 if test $ac_cv_header_stdc = yes; then
19180 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19181 cat >conftest.$ac_ext <<_ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 #include <string.h>
19190 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19191 $EGREP "memchr
" >/dev/null 2>&1; then
19194 ac_cv_header_stdc=no
19200 if test $ac_cv_header_stdc = yes; then
19201 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19202 cat >conftest.$ac_ext <<_ACEOF
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19208 #include <stdlib.h>
19211 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19212 $EGREP "free
" >/dev/null 2>&1; then
19215 ac_cv_header_stdc=no
19221 if test $ac_cv_header_stdc = yes; then
19222 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19223 if test "$cross_compiling" = yes; then
19226 cat >conftest.$ac_ext <<_ACEOF
19229 cat confdefs.h >>conftest.$ac_ext
19230 cat >>conftest.$ac_ext <<_ACEOF
19231 /* end confdefs.h. */
19233 #include <stdlib.h>
19234 #if ((' ' & 0x0FF) == 0x020)
19235 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19236 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19238 # define ISLOWER(c) \
19239 (('a' <= (c) && (c) <= 'i') \
19240 || ('j' <= (c) && (c) <= 'r') \
19241 || ('s' <= (c) && (c) <= 'z'))
19242 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19245 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19250 for (i = 0; i < 256; i++)
19251 if (XOR (islower (i), ISLOWER (i))
19252 || toupper (i) != TOUPPER (i))
19257 rm -f conftest$ac_exeext
19258 if { (ac_try="$ac_link"
19259 case "(($ac_try" in
19260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19261 *) ac_try_echo=$ac_try;;
19263 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19264 (eval "$ac_link") 2>&5
19266 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19267 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19268 { (case "(($ac_try" in
19269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19270 *) ac_try_echo=$ac_try;;
19272 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19273 (eval "$ac_try") 2>&5
19275 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19276 (exit $ac_status); }; }; then
19279 echo "$as_me: program exited with status
$ac_status" >&5
19280 echo "$as_me: failed program was
:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19283 ( exit $ac_status )
19284 ac_cv_header_stdc=no
19286 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19292 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19293 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19294 if test $ac_cv_header_stdc = yes; then
19296 cat >>confdefs.h <<\_ACEOF
19297 #define STDC_HEADERS 1
19302 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19312 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19313 inttypes.h stdint.h unistd.h
19315 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19316 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19317 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19318 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19319 echo $ECHO_N "(cached
) $ECHO_C" >&6
19321 cat >conftest.$ac_ext <<_ACEOF
19324 cat confdefs.h >>conftest.$ac_ext
19325 cat >>conftest.$ac_ext <<_ACEOF
19326 /* end confdefs.h. */
19327 $ac_includes_default
19329 #include <$ac_header>
19331 rm -f conftest.$ac_objext
19332 if { (ac_try="$ac_compile"
19333 case "(($ac_try" in
19334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19335 *) ac_try_echo=$ac_try;;
19337 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19338 (eval "$ac_compile") 2>conftest.er1
19340 grep -v '^ *+' conftest.er1 >conftest.err
19342 cat conftest.err >&5
19343 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19344 (exit $ac_status); } && {
19345 test -z "$ac_c_werror_flag" ||
19346 test ! -s conftest.err
19347 } && test -s conftest.$ac_objext; then
19348 eval "$as_ac_Header=yes"
19350 echo "$as_me: failed program was
:" >&5
19351 sed 's/^/| /' conftest.$ac_ext >&5
19353 eval "$as_ac_Header=no
"
19356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19358 ac_res=`eval echo '${'$as_ac_Header'}'`
19359 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19360 echo "${ECHO_T}$ac_res" >&6; }
19361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19362 cat >>confdefs.h <<_ACEOF
19363 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19373 for ac_header in langinfo.h wchar.h
19375 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19376 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19377 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19378 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19379 echo $ECHO_N "(cached
) $ECHO_C" >&6
19381 cat >conftest.$ac_ext <<_ACEOF
19384 cat confdefs.h >>conftest.$ac_ext
19385 cat >>conftest.$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19387 $ac_includes_default
19389 #include <$ac_header>
19391 rm -f conftest.$ac_objext
19392 if { (ac_try="$ac_compile"
19393 case "(($ac_try" in
19394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19395 *) ac_try_echo=$ac_try;;
19397 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19398 (eval "$ac_compile") 2>conftest.er1
19400 grep -v '^ *+' conftest.er1 >conftest.err
19402 cat conftest.err >&5
19403 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19404 (exit $ac_status); } && {
19405 test -z "$ac_c_werror_flag" ||
19406 test ! -s conftest.err
19407 } && test -s conftest.$ac_objext; then
19408 eval "$as_ac_Header=yes"
19410 echo "$as_me: failed program was
:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19413 eval "$as_ac_Header=no
"
19416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 ac_res=`eval echo '${'$as_ac_Header'}'`
19419 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19420 echo "${ECHO_T}$ac_res" >&6; }
19421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19422 cat >>confdefs.h <<_ACEOF
19423 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19431 if test "$ac_cv_header_wchar_h" != "yes"; then
19433 for ac_header in wcstr.h
19435 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19436 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19437 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19438 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19439 echo $ECHO_N "(cached
) $ECHO_C" >&6
19441 cat >conftest.$ac_ext <<_ACEOF
19444 cat confdefs.h >>conftest.$ac_ext
19445 cat >>conftest.$ac_ext <<_ACEOF
19446 /* end confdefs.h. */
19447 $ac_includes_default
19449 #include <$ac_header>
19451 rm -f conftest.$ac_objext
19452 if { (ac_try="$ac_compile"
19453 case "(($ac_try" in
19454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19455 *) ac_try_echo=$ac_try;;
19457 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19458 (eval "$ac_compile") 2>conftest.er1
19460 grep -v '^ *+' conftest.er1 >conftest.err
19462 cat conftest.err >&5
19463 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19464 (exit $ac_status); } && {
19465 test -z "$ac_c_werror_flag" ||
19466 test ! -s conftest.err
19467 } && test -s conftest.$ac_objext; then
19468 eval "$as_ac_Header=yes"
19470 echo "$as_me: failed program was
:" >&5
19471 sed 's/^/| /' conftest.$ac_ext >&5
19473 eval "$as_ac_Header=no
"
19476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19478 ac_res=`eval echo '${'$as_ac_Header'}'`
19479 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19480 echo "${ECHO_T}$ac_res" >&6; }
19481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19482 cat >>confdefs.h <<_ACEOF
19483 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19493 *-pc-os2_emx | *-pc-os2-emx )
19494 if test $ac_cv_header_langinfo_h = "yes" \
19495 -a \( "$wx_cv_gccversion" = "EMX2
" \
19496 -o "$wx_cv_gccversion" = "EMX3
" \
19497 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19498 LIBS="$LIBS -lintl"
19503 if test "$USE_UNIX" = 1 ; then
19505 for ac_header in sys/select.h
19507 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19508 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19509 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19510 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19511 echo $ECHO_N "(cached
) $ECHO_C" >&6
19513 cat >conftest.$ac_ext <<_ACEOF
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519 $ac_includes_default
19521 #include <$ac_header>
19523 rm -f conftest.$ac_objext
19524 if { (ac_try="$ac_compile"
19525 case "(($ac_try" in
19526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19527 *) ac_try_echo=$ac_try;;
19529 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19530 (eval "$ac_compile") 2>conftest.er1
19532 grep -v '^ *+' conftest.er1 >conftest.err
19534 cat conftest.err >&5
19535 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19536 (exit $ac_status); } && {
19537 test -z "$ac_c_werror_flag" ||
19538 test ! -s conftest.err
19539 } && test -s conftest.$ac_objext; then
19540 eval "$as_ac_Header=yes"
19542 echo "$as_me: failed program was
:" >&5
19543 sed 's/^/| /' conftest.$ac_ext >&5
19545 eval "$as_ac_Header=no
"
19548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19550 ac_res=`eval echo '${'$as_ac_Header'}'`
19551 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19552 echo "${ECHO_T}$ac_res" >&6; }
19553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19554 cat >>confdefs.h <<_ACEOF
19555 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19565 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19566 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19567 if test "${ac_cv_c_const+set}" = set; then
19568 echo $ECHO_N "(cached
) $ECHO_C" >&6
19570 cat >conftest.$ac_ext <<_ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19580 /* FIXME: Include the comments suggested by Paul. */
19581 #ifndef __cplusplus
19582 /* Ultrix mips cc rejects this. */
19583 typedef int charset[2];
19585 /* SunOS 4.1.1 cc rejects this. */
19586 char const *const *pcpcc;
19588 /* NEC SVR4.0.2 mips cc rejects this. */
19589 struct point {int x, y;};
19590 static struct point const zero = {0,0};
19591 /* AIX XL C 1.02.0.0 rejects this.
19592 It does not let you subtract one const X* pointer from another in
19593 an arm of an if-expression whose if-part is not a constant
19595 const char *g = "string
";
19596 pcpcc = &g + (g ? g-g : 0);
19597 /* HPUX 7.0 cc rejects these. */
19599 ppc = (char**) pcpcc;
19600 pcpcc = (char const *const *) ppc;
19601 { /* SCO 3.2v4 cc rejects this. */
19603 char const *s = 0 ? (char *) 0 : (char const *) 0;
19608 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19609 int x[] = {25, 17};
19610 const int *foo = &x[0];
19613 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19614 typedef const int *iptr;
19618 { /* AIX XL C 1.02.0.0 rejects this saying
19619 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19620 struct s { int j; const int *ap[3]; };
19621 struct s *b; b->j = 5;
19623 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19624 const int foo = 10;
19625 if (!foo) return 0;
19627 return !cs[0] && !zero.x;
19634 rm -f conftest.$ac_objext
19635 if { (ac_try="$ac_compile"
19636 case "(($ac_try" in
19637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19638 *) ac_try_echo=$ac_try;;
19640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19641 (eval "$ac_compile") 2>conftest.er1
19643 grep -v '^ *+' conftest.er1 >conftest.err
19645 cat conftest.err >&5
19646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19647 (exit $ac_status); } && {
19648 test -z "$ac_c_werror_flag" ||
19649 test ! -s conftest.err
19650 } && test -s conftest.$ac_objext; then
19653 echo "$as_me: failed program was
:" >&5
19654 sed 's/^/| /' conftest.$ac_ext >&5
19659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19661 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19662 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19663 if test $ac_cv_c_const = no; then
19665 cat >>confdefs.h <<\_ACEOF
19671 { echo "$as_me:$LINENO: checking
for inline
" >&5
19672 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19673 if test "${ac_cv_c_inline+set}" = set; then
19674 echo $ECHO_N "(cached
) $ECHO_C" >&6
19677 for ac_kw in inline __inline__ __inline; do
19678 cat >conftest.$ac_ext <<_ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19684 #ifndef __cplusplus
19686 static $ac_kw foo_t static_foo () {return 0; }
19687 $ac_kw foo_t foo () {return 0; }
19691 rm -f conftest.$ac_objext
19692 if { (ac_try="$ac_compile"
19693 case "(($ac_try" in
19694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19695 *) ac_try_echo=$ac_try;;
19697 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19698 (eval "$ac_compile") 2>conftest.er1
19700 grep -v '^ *+' conftest.er1 >conftest.err
19702 cat conftest.err >&5
19703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19704 (exit $ac_status); } && {
19705 test -z "$ac_c_werror_flag" ||
19706 test ! -s conftest.err
19707 } && test -s conftest.$ac_objext; then
19708 ac_cv_c_inline=$ac_kw
19710 echo "$as_me: failed program was
:" >&5
19711 sed 's/^/| /' conftest.$ac_ext >&5
19716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19717 test "$ac_cv_c_inline" != no && break
19721 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19722 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19725 case $ac_cv_c_inline in
19728 case $ac_cv_c_inline in
19730 *) ac_val=$ac_cv_c_inline;;
19732 cat >>confdefs.h <<_ACEOF
19733 #ifndef __cplusplus
19734 #define inline $ac_val
19741 { echo "$as_me:$LINENO: checking
for short
" >&5
19742 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19743 if test "${ac_cv_type_short+set}" = set; then
19744 echo $ECHO_N "(cached
) $ECHO_C" >&6
19746 cat >conftest.$ac_ext <<_ACEOF
19749 cat confdefs.h >>conftest.$ac_ext
19750 cat >>conftest.$ac_ext <<_ACEOF
19751 /* end confdefs.h. */
19752 $ac_includes_default
19753 typedef short ac__type_new_;
19757 if ((ac__type_new_ *) 0)
19759 if (sizeof (ac__type_new_))
19765 rm -f conftest.$ac_objext
19766 if { (ac_try="$ac_compile"
19767 case "(($ac_try" in
19768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19769 *) ac_try_echo=$ac_try;;
19771 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19772 (eval "$ac_compile") 2>conftest.er1
19774 grep -v '^ *+' conftest.er1 >conftest.err
19776 cat conftest.err >&5
19777 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19778 (exit $ac_status); } && {
19779 test -z "$ac_c_werror_flag" ||
19780 test ! -s conftest.err
19781 } && test -s conftest.$ac_objext; then
19782 ac_cv_type_short=yes
19784 echo "$as_me: failed program was
:" >&5
19785 sed 's/^/| /' conftest.$ac_ext >&5
19787 ac_cv_type_short=no
19790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19793 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19795 # The cast to long int works around a bug in the HP C Compiler
19796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19798 # This bug is HP SR number 8606223364.
19799 { echo "$as_me:$LINENO: checking size of short
" >&5
19800 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19801 if test "${ac_cv_sizeof_short+set}" = set; then
19802 echo $ECHO_N "(cached
) $ECHO_C" >&6
19804 if test "$cross_compiling" = yes; then
19805 # Depending upon the size, compute the lo and hi bounds.
19806 cat >conftest.$ac_ext <<_ACEOF
19809 cat confdefs.h >>conftest.$ac_ext
19810 cat >>conftest.$ac_ext <<_ACEOF
19811 /* end confdefs.h. */
19812 $ac_includes_default
19813 typedef short ac__type_sizeof_;
19817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19824 rm -f conftest.$ac_objext
19825 if { (ac_try="$ac_compile"
19826 case "(($ac_try" in
19827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19828 *) ac_try_echo=$ac_try;;
19830 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19831 (eval "$ac_compile") 2>conftest.er1
19833 grep -v '^ *+' conftest.er1 >conftest.err
19835 cat conftest.err >&5
19836 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19837 (exit $ac_status); } && {
19838 test -z "$ac_c_werror_flag" ||
19839 test ! -s conftest.err
19840 } && test -s conftest.$ac_objext; then
19843 cat >conftest.$ac_ext <<_ACEOF
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19849 $ac_includes_default
19850 typedef short ac__type_sizeof_;
19854 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19861 rm -f conftest.$ac_objext
19862 if { (ac_try="$ac_compile"
19863 case "(($ac_try" in
19864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19865 *) ac_try_echo=$ac_try;;
19867 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19868 (eval "$ac_compile") 2>conftest.er1
19870 grep -v '^ *+' conftest.er1 >conftest.err
19872 cat conftest.err >&5
19873 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19874 (exit $ac_status); } && {
19875 test -z "$ac_c_werror_flag" ||
19876 test ! -s conftest.err
19877 } && test -s conftest.$ac_objext; then
19878 ac_hi=$ac_mid; break
19880 echo "$as_me: failed program was
:" >&5
19881 sed 's/^/| /' conftest.$ac_ext >&5
19883 ac_lo=`expr $ac_mid + 1`
19884 if test $ac_lo -le $ac_mid; then
19888 ac_mid=`expr 2 '*' $ac_mid + 1`
19891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894 echo "$as_me: failed program was
:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 cat >conftest.$ac_ext <<_ACEOF
19900 cat confdefs.h >>conftest.$ac_ext
19901 cat >>conftest.$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19903 $ac_includes_default
19904 typedef short ac__type_sizeof_;
19908 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19915 rm -f conftest.$ac_objext
19916 if { (ac_try="$ac_compile"
19917 case "(($ac_try" in
19918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19919 *) ac_try_echo=$ac_try;;
19921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19922 (eval "$ac_compile") 2>conftest.er1
19924 grep -v '^ *+' conftest.er1 >conftest.err
19926 cat conftest.err >&5
19927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19928 (exit $ac_status); } && {
19929 test -z "$ac_c_werror_flag" ||
19930 test ! -s conftest.err
19931 } && test -s conftest.$ac_objext; then
19934 cat >conftest.$ac_ext <<_ACEOF
19937 cat confdefs.h >>conftest.$ac_ext
19938 cat >>conftest.$ac_ext <<_ACEOF
19939 /* end confdefs.h. */
19940 $ac_includes_default
19941 typedef short ac__type_sizeof_;
19945 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19952 rm -f conftest.$ac_objext
19953 if { (ac_try="$ac_compile"
19954 case "(($ac_try" in
19955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19956 *) ac_try_echo=$ac_try;;
19958 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19959 (eval "$ac_compile") 2>conftest.er1
19961 grep -v '^ *+' conftest.er1 >conftest.err
19963 cat conftest.err >&5
19964 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19965 (exit $ac_status); } && {
19966 test -z "$ac_c_werror_flag" ||
19967 test ! -s conftest.err
19968 } && test -s conftest.$ac_objext; then
19969 ac_lo=$ac_mid; break
19971 echo "$as_me: failed program was
:" >&5
19972 sed 's/^/| /' conftest.$ac_ext >&5
19974 ac_hi=`expr '(' $ac_mid ')' - 1`
19975 if test $ac_mid -le $ac_hi; then
19979 ac_mid=`expr 2 '*' $ac_mid`
19982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19985 echo "$as_me: failed program was
:" >&5
19986 sed 's/^/| /' conftest.$ac_ext >&5
19991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19995 # Binary search between lo and hi bounds.
19996 while test "x
$ac_lo" != "x
$ac_hi"; do
19997 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19998 cat >conftest.$ac_ext <<_ACEOF
20001 cat confdefs.h >>conftest.$ac_ext
20002 cat >>conftest.$ac_ext <<_ACEOF
20003 /* end confdefs.h. */
20004 $ac_includes_default
20005 typedef short ac__type_sizeof_;
20009 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20016 rm -f conftest.$ac_objext
20017 if { (ac_try="$ac_compile"
20018 case "(($ac_try" in
20019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20020 *) ac_try_echo=$ac_try;;
20022 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20023 (eval "$ac_compile") 2>conftest.er1
20025 grep -v '^ *+' conftest.er1 >conftest.err
20027 cat conftest.err >&5
20028 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20029 (exit $ac_status); } && {
20030 test -z "$ac_c_werror_flag" ||
20031 test ! -s conftest.err
20032 } && test -s conftest.$ac_objext; then
20035 echo "$as_me: failed program was
:" >&5
20036 sed 's/^/| /' conftest.$ac_ext >&5
20038 ac_lo=`expr '(' $ac_mid ')' + 1`
20041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20044 ?*) ac_cv_sizeof_short=$ac_lo;;
20045 '') if test "$ac_cv_type_short" = yes; then
20046 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20047 See \
`config.log' for more details." >&5
20048 echo "$as_me: error: cannot compute sizeof (short)
20049 See \`config.log
' for more details." >&2;}
20050 { (exit 77); exit 77; }; }
20052 ac_cv_sizeof_short=0
20056 cat >conftest.$ac_ext <<_ACEOF
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20062 $ac_includes_default
20063 typedef short ac__type_sizeof_;
20064 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20065 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20067 #include <stdlib.h>
20072 FILE *f = fopen ("conftest.val", "w");
20075 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20077 long int i = longval ();
20078 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20080 fprintf (f, "%ld\n", i);
20084 unsigned long int i = ulongval ();
20085 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20087 fprintf (f, "%lu\n", i);
20089 return ferror (f) || fclose (f) != 0;
20095 rm -f conftest$ac_exeext
20096 if { (ac_try="$ac_link"
20097 case "(($ac_try" in
20098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099 *) ac_try_echo=$ac_try;;
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_link") 2>&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20106 { (case "(($ac_try" in
20107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20108 *) ac_try_echo=$ac_try;;
20110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20111 (eval "$ac_try") 2>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); }; }; then
20115 ac_cv_sizeof_short=`cat conftest.val`
20117 echo "$as_me: program exited with status $ac_status" >&5
20118 echo "$as_me: failed program was:" >&5
20119 sed 's
/^
/| /' conftest.$ac_ext >&5
20121 ( exit $ac_status )
20122 if test "$ac_cv_type_short" = yes; then
20123 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20124 See \`config.log' for more details.
" >&5
20125 echo "$as_me: error
: cannot compute sizeof
(short
)
20126 See \
`config.log' for more details." >&2;}
20127 { (exit 77); exit 77; }; }
20129 ac_cv_sizeof_short=0
20132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20136 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20137 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20141 cat >>confdefs.h <<_ACEOF
20142 #define SIZEOF_SHORT $ac_cv_sizeof_short
20146 { echo "$as_me:$LINENO: checking for void *" >&5
20147 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20148 if test "${ac_cv_type_void_p+set}" = set; then
20149 echo $ECHO_N "(cached) $ECHO_C" >&6
20151 cat >conftest.$ac_ext <<_ACEOF
20154 cat confdefs.h >>conftest.$ac_ext
20155 cat >>conftest.$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20157 $ac_includes_default
20158 typedef void * ac__type_new_;
20162 if ((ac__type_new_ *) 0)
20164 if (sizeof (ac__type_new_))
20170 rm -f conftest.$ac_objext
20171 if { (ac_try="$ac_compile"
20172 case "(($ac_try" in
20173 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20174 *) ac_try_echo
=$ac_try;;
20176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20177 (eval "$ac_compile") 2>conftest.er1
20179 grep -v '^ *+' conftest.er1
>conftest.err
20181 cat conftest.err
>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } && {
20184 test -z "$ac_c_werror_flag" ||
20185 test ! -s conftest.err
20186 } && test -s conftest.
$ac_objext; then
20187 ac_cv_type_void_p
=yes
20189 echo "$as_me: failed program was:" >&5
20190 sed 's/^/| /' conftest.
$ac_ext >&5
20192 ac_cv_type_void_p
=no
20195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20197 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20198 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20200 # The cast to long int works around a bug in the HP C Compiler
20201 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20202 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20203 # This bug is HP SR number 8606223364.
20204 { echo "$as_me:$LINENO: checking size of void *" >&5
20205 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20206 if test "${ac_cv_sizeof_void_p+set}" = set; then
20207 echo $ECHO_N "(cached) $ECHO_C" >&6
20209 if test "$cross_compiling" = yes; then
20210 # Depending upon the size, compute the lo and hi bounds.
20211 cat >conftest.
$ac_ext <<_ACEOF
20214 cat confdefs.h
>>conftest.
$ac_ext
20215 cat >>conftest.
$ac_ext <<_ACEOF
20216 /* end confdefs.h. */
20217 $ac_includes_default
20218 typedef void * ac__type_sizeof_;
20222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20229 rm -f conftest.
$ac_objext
20230 if { (ac_try
="$ac_compile"
20231 case "(($ac_try" in
20232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20233 *) ac_try_echo=$ac_try;;
20235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20236 (eval "$ac_compile") 2>conftest.er1
20238 grep -v '^ *+' conftest.er1 >conftest.err
20240 cat conftest.err >&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } && {
20243 test -z "$ac_c_werror_flag" ||
20244 test ! -s conftest.err
20245 } && test -s conftest.$ac_objext; then
20248 cat >conftest.$ac_ext <<_ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 $ac_includes_default
20255 typedef void * ac__type_sizeof_;
20259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20266 rm -f conftest.$ac_objext
20267 if { (ac_try="$ac_compile"
20268 case "(($ac_try" in
20269 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20270 *) ac_try_echo
=$ac_try;;
20272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20273 (eval "$ac_compile") 2>conftest.er1
20275 grep -v '^ *+' conftest.er1
>conftest.err
20277 cat conftest.err
>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } && {
20280 test -z "$ac_c_werror_flag" ||
20281 test ! -s conftest.err
20282 } && test -s conftest.
$ac_objext; then
20283 ac_hi
=$ac_mid; break
20285 echo "$as_me: failed program was:" >&5
20286 sed 's/^/| /' conftest.
$ac_ext >&5
20288 ac_lo
=`expr $ac_mid + 1`
20289 if test $ac_lo -le $ac_mid; then
20293 ac_mid
=`expr 2 '*' $ac_mid + 1`
20296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.
$ac_ext >&5
20302 cat >conftest.
$ac_ext <<_ACEOF
20305 cat confdefs.h
>>conftest.
$ac_ext
20306 cat >>conftest.
$ac_ext <<_ACEOF
20307 /* end confdefs.h. */
20308 $ac_includes_default
20309 typedef void * ac__type_sizeof_;
20313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20320 rm -f conftest.
$ac_objext
20321 if { (ac_try
="$ac_compile"
20322 case "(($ac_try" in
20323 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20324 *) ac_try_echo=$ac_try;;
20326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20327 (eval "$ac_compile") 2>conftest.er1
20329 grep -v '^ *+' conftest.er1 >conftest.err
20331 cat conftest.err >&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } && {
20334 test -z "$ac_c_werror_flag" ||
20335 test ! -s conftest.err
20336 } && test -s conftest.$ac_objext; then
20339 cat >conftest.$ac_ext <<_ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 $ac_includes_default
20346 typedef void * ac__type_sizeof_;
20350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20357 rm -f conftest.$ac_objext
20358 if { (ac_try="$ac_compile"
20359 case "(($ac_try" in
20360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20361 *) ac_try_echo
=$ac_try;;
20363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20364 (eval "$ac_compile") 2>conftest.er1
20366 grep -v '^ *+' conftest.er1
>conftest.err
20368 cat conftest.err
>&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); } && {
20371 test -z "$ac_c_werror_flag" ||
20372 test ! -s conftest.err
20373 } && test -s conftest.
$ac_objext; then
20374 ac_lo
=$ac_mid; break
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.
$ac_ext >&5
20379 ac_hi
=`expr '(' $ac_mid ')' - 1`
20380 if test $ac_mid -le $ac_hi; then
20384 ac_mid
=`expr 2 '*' $ac_mid`
20387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.
$ac_ext >&5
20396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20400 # Binary search between lo and hi bounds.
20401 while test "x$ac_lo" != "x$ac_hi"; do
20402 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20403 cat >conftest.
$ac_ext <<_ACEOF
20406 cat confdefs.h
>>conftest.
$ac_ext
20407 cat >>conftest.
$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20409 $ac_includes_default
20410 typedef void * ac__type_sizeof_;
20414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20421 rm -f conftest.
$ac_objext
20422 if { (ac_try
="$ac_compile"
20423 case "(($ac_try" in
20424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20425 *) ac_try_echo=$ac_try;;
20427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20428 (eval "$ac_compile") 2>conftest.er1
20430 grep -v '^ *+' conftest.er1 >conftest.err
20432 cat conftest.err >&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } && {
20435 test -z "$ac_c_werror_flag" ||
20436 test ! -s conftest.err
20437 } && test -s conftest.$ac_objext; then
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.$ac_ext >&5
20443 ac_lo=`expr '(' $ac_mid ')' + 1`
20446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20449 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20450 '') if test "$ac_cv_type_void_p" = yes; then
20451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20452 See \`config.log
' for more details." >&5
20453 echo "$as_me: error: cannot compute sizeof (void *)
20454 See \`config.log' for more details.
" >&2;}
20455 { (exit 77); exit 77; }; }
20457 ac_cv_sizeof_void_p=0
20461 cat >conftest.$ac_ext <<_ACEOF
20464 cat confdefs.h >>conftest.$ac_ext
20465 cat >>conftest.$ac_ext <<_ACEOF
20466 /* end confdefs.h. */
20467 $ac_includes_default
20468 typedef void * ac__type_sizeof_;
20469 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20470 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20472 #include <stdlib.h>
20477 FILE *f = fopen ("conftest.val
", "w
");
20480 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20482 long int i = longval ();
20483 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20485 fprintf (f, "%ld
\n", i);
20489 unsigned long int i = ulongval ();
20490 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20492 fprintf (f, "%lu
\n", i);
20494 return ferror (f) || fclose (f) != 0;
20500 rm -f conftest$ac_exeext
20501 if { (ac_try="$ac_link"
20502 case "(($ac_try" in
20503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20504 *) ac_try_echo=$ac_try;;
20506 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_link") 2>&5
20509 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20511 { (case "(($ac_try" in
20512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20513 *) ac_try_echo=$ac_try;;
20515 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20516 (eval "$ac_try") 2>&5
20518 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20519 (exit $ac_status); }; }; then
20520 ac_cv_sizeof_void_p=`cat conftest.val`
20522 echo "$as_me: program exited with status
$ac_status" >&5
20523 echo "$as_me: failed program was
:" >&5
20524 sed 's/^/| /' conftest.$ac_ext >&5
20526 ( exit $ac_status )
20527 if test "$ac_cv_type_void_p" = yes; then
20528 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20529 See \
`config.log' for more details." >&5
20530 echo "$as_me: error: cannot compute sizeof (void *)
20531 See \`config.log
' for more details." >&2;}
20532 { (exit 77); exit 77; }; }
20534 ac_cv_sizeof_void_p=0
20537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20541 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20542 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20546 cat >>confdefs.h <<_ACEOF
20547 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20551 { echo "$as_me:$LINENO: checking for int" >&5
20552 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20553 if test "${ac_cv_type_int+set}" = set; then
20554 echo $ECHO_N "(cached) $ECHO_C" >&6
20556 cat >conftest.$ac_ext <<_ACEOF
20559 cat confdefs.h >>conftest.$ac_ext
20560 cat >>conftest.$ac_ext <<_ACEOF
20561 /* end confdefs.h. */
20562 $ac_includes_default
20563 typedef int ac__type_new_;
20567 if ((ac__type_new_ *) 0)
20569 if (sizeof (ac__type_new_))
20575 rm -f conftest.$ac_objext
20576 if { (ac_try="$ac_compile"
20577 case "(($ac_try" in
20578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20579 *) ac_try_echo=$ac_try;;
20581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20582 (eval "$ac_compile") 2>conftest.er1
20584 grep -v '^
*+' conftest.er1 >conftest.err
20586 cat conftest.err >&5
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); } && {
20589 test -z "$ac_c_werror_flag" ||
20590 test ! -s conftest.err
20591 } && test -s conftest.$ac_objext; then
20594 echo "$as_me: failed program was:" >&5
20595 sed 's
/^
/| /' conftest.$ac_ext >&5
20600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20602 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20603 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20605 # The cast to long int works around a bug in the HP C Compiler
20606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20608 # This bug is HP SR number 8606223364.
20609 { echo "$as_me:$LINENO: checking size of int" >&5
20610 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20611 if test "${ac_cv_sizeof_int+set}" = set; then
20612 echo $ECHO_N "(cached) $ECHO_C" >&6
20614 if test "$cross_compiling" = yes; then
20615 # Depending upon the size, compute the lo and hi bounds.
20616 cat >conftest.
$ac_ext <<_ACEOF
20619 cat confdefs.h
>>conftest.
$ac_ext
20620 cat >>conftest.
$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622 $ac_includes_default
20623 typedef int ac__type_sizeof_;
20627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20634 rm -f conftest.
$ac_objext
20635 if { (ac_try
="$ac_compile"
20636 case "(($ac_try" in
20637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20638 *) ac_try_echo=$ac_try;;
20640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20641 (eval "$ac_compile") 2>conftest.er1
20643 grep -v '^ *+' conftest.er1 >conftest.err
20645 cat conftest.err >&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } && {
20648 test -z "$ac_c_werror_flag" ||
20649 test ! -s conftest.err
20650 } && test -s conftest.$ac_objext; then
20653 cat >conftest.$ac_ext <<_ACEOF
20656 cat confdefs.h >>conftest.$ac_ext
20657 cat >>conftest.$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20659 $ac_includes_default
20660 typedef int ac__type_sizeof_;
20664 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20671 rm -f conftest.$ac_objext
20672 if { (ac_try="$ac_compile"
20673 case "(($ac_try" in
20674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20675 *) ac_try_echo
=$ac_try;;
20677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20678 (eval "$ac_compile") 2>conftest.er1
20680 grep -v '^ *+' conftest.er1
>conftest.err
20682 cat conftest.err
>&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); } && {
20685 test -z "$ac_c_werror_flag" ||
20686 test ! -s conftest.err
20687 } && test -s conftest.
$ac_objext; then
20688 ac_hi
=$ac_mid; break
20690 echo "$as_me: failed program was:" >&5
20691 sed 's/^/| /' conftest.
$ac_ext >&5
20693 ac_lo
=`expr $ac_mid + 1`
20694 if test $ac_lo -le $ac_mid; then
20698 ac_mid
=`expr 2 '*' $ac_mid + 1`
20701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.
$ac_ext >&5
20707 cat >conftest.
$ac_ext <<_ACEOF
20710 cat confdefs.h
>>conftest.
$ac_ext
20711 cat >>conftest.
$ac_ext <<_ACEOF
20712 /* end confdefs.h. */
20713 $ac_includes_default
20714 typedef int ac__type_sizeof_;
20718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20725 rm -f conftest.
$ac_objext
20726 if { (ac_try
="$ac_compile"
20727 case "(($ac_try" in
20728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20729 *) ac_try_echo=$ac_try;;
20731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20732 (eval "$ac_compile") 2>conftest.er1
20734 grep -v '^ *+' conftest.er1 >conftest.err
20736 cat conftest.err >&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } && {
20739 test -z "$ac_c_werror_flag" ||
20740 test ! -s conftest.err
20741 } && test -s conftest.$ac_objext; then
20744 cat >conftest.$ac_ext <<_ACEOF
20747 cat confdefs.h >>conftest.$ac_ext
20748 cat >>conftest.$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20750 $ac_includes_default
20751 typedef int ac__type_sizeof_;
20755 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20762 rm -f conftest.$ac_objext
20763 if { (ac_try="$ac_compile"
20764 case "(($ac_try" in
20765 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20766 *) ac_try_echo
=$ac_try;;
20768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20769 (eval "$ac_compile") 2>conftest.er1
20771 grep -v '^ *+' conftest.er1
>conftest.err
20773 cat conftest.err
>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); } && {
20776 test -z "$ac_c_werror_flag" ||
20777 test ! -s conftest.err
20778 } && test -s conftest.
$ac_objext; then
20779 ac_lo
=$ac_mid; break
20781 echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.
$ac_ext >&5
20784 ac_hi
=`expr '(' $ac_mid ')' - 1`
20785 if test $ac_mid -le $ac_hi; then
20789 ac_mid
=`expr 2 '*' $ac_mid`
20792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20795 echo "$as_me: failed program was:" >&5
20796 sed 's/^/| /' conftest.
$ac_ext >&5
20801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20805 # Binary search between lo and hi bounds.
20806 while test "x$ac_lo" != "x$ac_hi"; do
20807 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20808 cat >conftest.
$ac_ext <<_ACEOF
20811 cat confdefs.h
>>conftest.
$ac_ext
20812 cat >>conftest.
$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20814 $ac_includes_default
20815 typedef int ac__type_sizeof_;
20819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20826 rm -f conftest.
$ac_objext
20827 if { (ac_try
="$ac_compile"
20828 case "(($ac_try" in
20829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20830 *) ac_try_echo=$ac_try;;
20832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20833 (eval "$ac_compile") 2>conftest.er1
20835 grep -v '^ *+' conftest.er1 >conftest.err
20837 cat conftest.err >&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); } && {
20840 test -z "$ac_c_werror_flag" ||
20841 test ! -s conftest.err
20842 } && test -s conftest.$ac_objext; then
20845 echo "$as_me: failed program was:" >&5
20846 sed 's/^/| /' conftest.$ac_ext >&5
20848 ac_lo=`expr '(' $ac_mid ')' + 1`
20851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20854 ?*) ac_cv_sizeof_int=$ac_lo;;
20855 '') if test "$ac_cv_type_int" = yes; then
20856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20857 See \`config.log
' for more details." >&5
20858 echo "$as_me: error: cannot compute sizeof (int)
20859 See \`config.log' for more details.
" >&2;}
20860 { (exit 77); exit 77; }; }
20866 cat >conftest.$ac_ext <<_ACEOF
20869 cat confdefs.h >>conftest.$ac_ext
20870 cat >>conftest.$ac_ext <<_ACEOF
20871 /* end confdefs.h. */
20872 $ac_includes_default
20873 typedef int ac__type_sizeof_;
20874 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20875 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20877 #include <stdlib.h>
20882 FILE *f = fopen ("conftest.val
", "w
");
20885 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20887 long int i = longval ();
20888 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20890 fprintf (f, "%ld
\n", i);
20894 unsigned long int i = ulongval ();
20895 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20897 fprintf (f, "%lu
\n", i);
20899 return ferror (f) || fclose (f) != 0;
20905 rm -f conftest$ac_exeext
20906 if { (ac_try="$ac_link"
20907 case "(($ac_try" in
20908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20909 *) ac_try_echo=$ac_try;;
20911 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20912 (eval "$ac_link") 2>&5
20914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20916 { (case "(($ac_try" in
20917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20918 *) ac_try_echo=$ac_try;;
20920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20921 (eval "$ac_try") 2>&5
20923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20924 (exit $ac_status); }; }; then
20925 ac_cv_sizeof_int=`cat conftest.val`
20927 echo "$as_me: program exited with status
$ac_status" >&5
20928 echo "$as_me: failed program was
:" >&5
20929 sed 's/^/| /' conftest.$ac_ext >&5
20931 ( exit $ac_status )
20932 if test "$ac_cv_type_int" = yes; then
20933 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20934 See \
`config.log' for more details." >&5
20935 echo "$as_me: error: cannot compute sizeof (int)
20936 See \`config.log
' for more details." >&2;}
20937 { (exit 77); exit 77; }; }
20942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20946 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20947 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20951 cat >>confdefs.h <<_ACEOF
20952 #define SIZEOF_INT $ac_cv_sizeof_int
20956 { echo "$as_me:$LINENO: checking for long" >&5
20957 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20958 if test "${ac_cv_type_long+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20961 cat >conftest.$ac_ext <<_ACEOF
20964 cat confdefs.h >>conftest.$ac_ext
20965 cat >>conftest.$ac_ext <<_ACEOF
20966 /* end confdefs.h. */
20967 $ac_includes_default
20968 typedef long ac__type_new_;
20972 if ((ac__type_new_ *) 0)
20974 if (sizeof (ac__type_new_))
20980 rm -f conftest.$ac_objext
20981 if { (ac_try="$ac_compile"
20982 case "(($ac_try" in
20983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20984 *) ac_try_echo=$ac_try;;
20986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20987 (eval "$ac_compile") 2>conftest.er1
20989 grep -v '^
*+' conftest.er1 >conftest.err
20991 cat conftest.err >&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } && {
20994 test -z "$ac_c_werror_flag" ||
20995 test ! -s conftest.err
20996 } && test -s conftest.$ac_objext; then
20997 ac_cv_type_long=yes
20999 echo "$as_me: failed program was:" >&5
21000 sed 's
/^
/| /' conftest.$ac_ext >&5
21005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21007 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21008 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21010 # The cast to long int works around a bug in the HP C Compiler
21011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21013 # This bug is HP SR number 8606223364.
21014 { echo "$as_me:$LINENO: checking size of long" >&5
21015 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21016 if test "${ac_cv_sizeof_long+set}" = set; then
21017 echo $ECHO_N "(cached) $ECHO_C" >&6
21019 if test "$cross_compiling" = yes; then
21020 # Depending upon the size, compute the lo and hi bounds.
21021 cat >conftest.
$ac_ext <<_ACEOF
21024 cat confdefs.h
>>conftest.
$ac_ext
21025 cat >>conftest.
$ac_ext <<_ACEOF
21026 /* end confdefs.h. */
21027 $ac_includes_default
21028 typedef long ac__type_sizeof_;
21032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21039 rm -f conftest.
$ac_objext
21040 if { (ac_try
="$ac_compile"
21041 case "(($ac_try" in
21042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21043 *) ac_try_echo=$ac_try;;
21045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21046 (eval "$ac_compile") 2>conftest.er1
21048 grep -v '^ *+' conftest.er1 >conftest.err
21050 cat conftest.err >&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } && {
21053 test -z "$ac_c_werror_flag" ||
21054 test ! -s conftest.err
21055 } && test -s conftest.$ac_objext; then
21058 cat >conftest.$ac_ext <<_ACEOF
21061 cat confdefs.h >>conftest.$ac_ext
21062 cat >>conftest.$ac_ext <<_ACEOF
21063 /* end confdefs.h. */
21064 $ac_includes_default
21065 typedef long ac__type_sizeof_;
21069 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21076 rm -f conftest.$ac_objext
21077 if { (ac_try="$ac_compile"
21078 case "(($ac_try" in
21079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21080 *) ac_try_echo
=$ac_try;;
21082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21083 (eval "$ac_compile") 2>conftest.er1
21085 grep -v '^ *+' conftest.er1
>conftest.err
21087 cat conftest.err
>&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); } && {
21090 test -z "$ac_c_werror_flag" ||
21091 test ! -s conftest.err
21092 } && test -s conftest.
$ac_objext; then
21093 ac_hi
=$ac_mid; break
21095 echo "$as_me: failed program was:" >&5
21096 sed 's/^/| /' conftest.
$ac_ext >&5
21098 ac_lo
=`expr $ac_mid + 1`
21099 if test $ac_lo -le $ac_mid; then
21103 ac_mid
=`expr 2 '*' $ac_mid + 1`
21106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21109 echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.
$ac_ext >&5
21112 cat >conftest.
$ac_ext <<_ACEOF
21115 cat confdefs.h
>>conftest.
$ac_ext
21116 cat >>conftest.
$ac_ext <<_ACEOF
21117 /* end confdefs.h. */
21118 $ac_includes_default
21119 typedef long ac__type_sizeof_;
21123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21130 rm -f conftest.
$ac_objext
21131 if { (ac_try
="$ac_compile"
21132 case "(($ac_try" in
21133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21134 *) ac_try_echo=$ac_try;;
21136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21137 (eval "$ac_compile") 2>conftest.er1
21139 grep -v '^ *+' conftest.er1 >conftest.err
21141 cat conftest.err >&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); } && {
21144 test -z "$ac_c_werror_flag" ||
21145 test ! -s conftest.err
21146 } && test -s conftest.$ac_objext; then
21149 cat >conftest.$ac_ext <<_ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 $ac_includes_default
21156 typedef long ac__type_sizeof_;
21160 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21167 rm -f conftest.$ac_objext
21168 if { (ac_try="$ac_compile"
21169 case "(($ac_try" in
21170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21171 *) ac_try_echo
=$ac_try;;
21173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21174 (eval "$ac_compile") 2>conftest.er1
21176 grep -v '^ *+' conftest.er1
>conftest.err
21178 cat conftest.err
>&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); } && {
21181 test -z "$ac_c_werror_flag" ||
21182 test ! -s conftest.err
21183 } && test -s conftest.
$ac_objext; then
21184 ac_lo
=$ac_mid; break
21186 echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.
$ac_ext >&5
21189 ac_hi
=`expr '(' $ac_mid ')' - 1`
21190 if test $ac_mid -le $ac_hi; then
21194 ac_mid
=`expr 2 '*' $ac_mid`
21197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21200 echo "$as_me: failed program was:" >&5
21201 sed 's/^/| /' conftest.
$ac_ext >&5
21206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21210 # Binary search between lo and hi bounds.
21211 while test "x$ac_lo" != "x$ac_hi"; do
21212 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21213 cat >conftest.
$ac_ext <<_ACEOF
21216 cat confdefs.h
>>conftest.
$ac_ext
21217 cat >>conftest.
$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21219 $ac_includes_default
21220 typedef long ac__type_sizeof_;
21224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21231 rm -f conftest.
$ac_objext
21232 if { (ac_try
="$ac_compile"
21233 case "(($ac_try" in
21234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21235 *) ac_try_echo=$ac_try;;
21237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21238 (eval "$ac_compile") 2>conftest.er1
21240 grep -v '^ *+' conftest.er1 >conftest.err
21242 cat conftest.err >&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } && {
21245 test -z "$ac_c_werror_flag" ||
21246 test ! -s conftest.err
21247 } && test -s conftest.$ac_objext; then
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21253 ac_lo=`expr '(' $ac_mid ')' + 1`
21256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21259 ?*) ac_cv_sizeof_long=$ac_lo;;
21260 '') if test "$ac_cv_type_long" = yes; then
21261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21262 See \`config.log
' for more details." >&5
21263 echo "$as_me: error: cannot compute sizeof (long)
21264 See \`config.log' for more details.
" >&2;}
21265 { (exit 77); exit 77; }; }
21267 ac_cv_sizeof_long=0
21271 cat >conftest.$ac_ext <<_ACEOF
21274 cat confdefs.h >>conftest.$ac_ext
21275 cat >>conftest.$ac_ext <<_ACEOF
21276 /* end confdefs.h. */
21277 $ac_includes_default
21278 typedef long ac__type_sizeof_;
21279 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21280 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21282 #include <stdlib.h>
21287 FILE *f = fopen ("conftest.val
", "w
");
21290 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21292 long int i = longval ();
21293 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21295 fprintf (f, "%ld
\n", i);
21299 unsigned long int i = ulongval ();
21300 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21302 fprintf (f, "%lu
\n", i);
21304 return ferror (f) || fclose (f) != 0;
21310 rm -f conftest$ac_exeext
21311 if { (ac_try="$ac_link"
21312 case "(($ac_try" in
21313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21314 *) ac_try_echo=$ac_try;;
21316 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21317 (eval "$ac_link") 2>&5
21319 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21321 { (case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323 *) ac_try_echo=$ac_try;;
21325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_try") 2>&5
21328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21329 (exit $ac_status); }; }; then
21330 ac_cv_sizeof_long=`cat conftest.val`
21332 echo "$as_me: program exited with status
$ac_status" >&5
21333 echo "$as_me: failed program was
:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21336 ( exit $ac_status )
21337 if test "$ac_cv_type_long" = yes; then
21338 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21339 See \
`config.log' for more details." >&5
21340 echo "$as_me: error: cannot compute sizeof (long)
21341 See \`config.log
' for more details." >&2;}
21342 { (exit 77); exit 77; }; }
21344 ac_cv_sizeof_long=0
21347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21351 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21352 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21356 cat >>confdefs.h <<_ACEOF
21357 #define SIZEOF_LONG $ac_cv_sizeof_long
21361 { echo "$as_me:$LINENO: checking for size_t" >&5
21362 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21363 if test "${ac_cv_type_size_t+set}" = set; then
21364 echo $ECHO_N "(cached) $ECHO_C" >&6
21366 cat >conftest.$ac_ext <<_ACEOF
21369 cat confdefs.h >>conftest.$ac_ext
21370 cat >>conftest.$ac_ext <<_ACEOF
21371 /* end confdefs.h. */
21372 $ac_includes_default
21373 typedef size_t ac__type_new_;
21377 if ((ac__type_new_ *) 0)
21379 if (sizeof (ac__type_new_))
21385 rm -f conftest.$ac_objext
21386 if { (ac_try="$ac_compile"
21387 case "(($ac_try" in
21388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21389 *) ac_try_echo=$ac_try;;
21391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21392 (eval "$ac_compile") 2>conftest.er1
21394 grep -v '^
*+' conftest.er1 >conftest.err
21396 cat conftest.err >&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); } && {
21399 test -z "$ac_c_werror_flag" ||
21400 test ! -s conftest.err
21401 } && test -s conftest.$ac_objext; then
21402 ac_cv_type_size_t=yes
21404 echo "$as_me: failed program was:" >&5
21405 sed 's
/^
/| /' conftest.$ac_ext >&5
21407 ac_cv_type_size_t=no
21410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21412 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21413 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21415 # The cast to long int works around a bug in the HP C Compiler
21416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21418 # This bug is HP SR number 8606223364.
21419 { echo "$as_me:$LINENO: checking size of size_t" >&5
21420 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21421 if test "${ac_cv_sizeof_size_t+set}" = set; then
21422 echo $ECHO_N "(cached) $ECHO_C" >&6
21424 if test "$cross_compiling" = yes; then
21425 # Depending upon the size, compute the lo and hi bounds.
21426 cat >conftest.
$ac_ext <<_ACEOF
21429 cat confdefs.h
>>conftest.
$ac_ext
21430 cat >>conftest.
$ac_ext <<_ACEOF
21431 /* end confdefs.h. */
21432 $ac_includes_default
21433 typedef size_t ac__type_sizeof_;
21437 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21444 rm -f conftest.
$ac_objext
21445 if { (ac_try
="$ac_compile"
21446 case "(($ac_try" in
21447 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21448 *) ac_try_echo=$ac_try;;
21450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21451 (eval "$ac_compile") 2>conftest.er1
21453 grep -v '^ *+' conftest.er1 >conftest.err
21455 cat conftest.err >&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); } && {
21458 test -z "$ac_c_werror_flag" ||
21459 test ! -s conftest.err
21460 } && test -s conftest.$ac_objext; then
21463 cat >conftest.$ac_ext <<_ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 $ac_includes_default
21470 typedef size_t ac__type_sizeof_;
21474 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21481 rm -f conftest.$ac_objext
21482 if { (ac_try="$ac_compile"
21483 case "(($ac_try" in
21484 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21485 *) ac_try_echo
=$ac_try;;
21487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21488 (eval "$ac_compile") 2>conftest.er1
21490 grep -v '^ *+' conftest.er1
>conftest.err
21492 cat conftest.err
>&5
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); } && {
21495 test -z "$ac_c_werror_flag" ||
21496 test ! -s conftest.err
21497 } && test -s conftest.
$ac_objext; then
21498 ac_hi
=$ac_mid; break
21500 echo "$as_me: failed program was:" >&5
21501 sed 's/^/| /' conftest.
$ac_ext >&5
21503 ac_lo
=`expr $ac_mid + 1`
21504 if test $ac_lo -le $ac_mid; then
21508 ac_mid
=`expr 2 '*' $ac_mid + 1`
21511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21514 echo "$as_me: failed program was:" >&5
21515 sed 's/^/| /' conftest.
$ac_ext >&5
21517 cat >conftest.
$ac_ext <<_ACEOF
21520 cat confdefs.h
>>conftest.
$ac_ext
21521 cat >>conftest.
$ac_ext <<_ACEOF
21522 /* end confdefs.h. */
21523 $ac_includes_default
21524 typedef size_t ac__type_sizeof_;
21528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21535 rm -f conftest.
$ac_objext
21536 if { (ac_try
="$ac_compile"
21537 case "(($ac_try" in
21538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21539 *) ac_try_echo=$ac_try;;
21541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21542 (eval "$ac_compile") 2>conftest.er1
21544 grep -v '^ *+' conftest.er1 >conftest.err
21546 cat conftest.err >&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } && {
21549 test -z "$ac_c_werror_flag" ||
21550 test ! -s conftest.err
21551 } && test -s conftest.$ac_objext; then
21554 cat >conftest.$ac_ext <<_ACEOF
21557 cat confdefs.h >>conftest.$ac_ext
21558 cat >>conftest.$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21560 $ac_includes_default
21561 typedef size_t ac__type_sizeof_;
21565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21572 rm -f conftest.$ac_objext
21573 if { (ac_try="$ac_compile"
21574 case "(($ac_try" in
21575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21576 *) ac_try_echo
=$ac_try;;
21578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21579 (eval "$ac_compile") 2>conftest.er1
21581 grep -v '^ *+' conftest.er1
>conftest.err
21583 cat conftest.err
>&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } && {
21586 test -z "$ac_c_werror_flag" ||
21587 test ! -s conftest.err
21588 } && test -s conftest.
$ac_objext; then
21589 ac_lo
=$ac_mid; break
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.
$ac_ext >&5
21594 ac_hi
=`expr '(' $ac_mid ')' - 1`
21595 if test $ac_mid -le $ac_hi; then
21599 ac_mid
=`expr 2 '*' $ac_mid`
21602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.
$ac_ext >&5
21611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21615 # Binary search between lo and hi bounds.
21616 while test "x$ac_lo" != "x$ac_hi"; do
21617 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21618 cat >conftest.
$ac_ext <<_ACEOF
21621 cat confdefs.h
>>conftest.
$ac_ext
21622 cat >>conftest.
$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21624 $ac_includes_default
21625 typedef size_t ac__type_sizeof_;
21629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21636 rm -f conftest.
$ac_objext
21637 if { (ac_try
="$ac_compile"
21638 case "(($ac_try" in
21639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21640 *) ac_try_echo=$ac_try;;
21642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21643 (eval "$ac_compile") 2>conftest.er1
21645 grep -v '^ *+' conftest.er1 >conftest.err
21647 cat conftest.err >&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } && {
21650 test -z "$ac_c_werror_flag" ||
21651 test ! -s conftest.err
21652 } && test -s conftest.$ac_objext; then
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.$ac_ext >&5
21658 ac_lo=`expr '(' $ac_mid ')' + 1`
21661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21664 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21665 '') if test "$ac_cv_type_size_t" = yes; then
21666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21667 See \`config.log
' for more details." >&5
21668 echo "$as_me: error: cannot compute sizeof (size_t)
21669 See \`config.log' for more details.
" >&2;}
21670 { (exit 77); exit 77; }; }
21672 ac_cv_sizeof_size_t=0
21676 cat >conftest.$ac_ext <<_ACEOF
21679 cat confdefs.h >>conftest.$ac_ext
21680 cat >>conftest.$ac_ext <<_ACEOF
21681 /* end confdefs.h. */
21682 $ac_includes_default
21683 typedef size_t ac__type_sizeof_;
21684 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21685 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21687 #include <stdlib.h>
21692 FILE *f = fopen ("conftest.val
", "w
");
21695 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21697 long int i = longval ();
21698 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21700 fprintf (f, "%ld
\n", i);
21704 unsigned long int i = ulongval ();
21705 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21707 fprintf (f, "%lu
\n", i);
21709 return ferror (f) || fclose (f) != 0;
21715 rm -f conftest$ac_exeext
21716 if { (ac_try="$ac_link"
21717 case "(($ac_try" in
21718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21719 *) ac_try_echo=$ac_try;;
21721 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21722 (eval "$ac_link") 2>&5
21724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21726 { (case "(($ac_try" in
21727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21728 *) ac_try_echo=$ac_try;;
21730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21731 (eval "$ac_try") 2>&5
21733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21734 (exit $ac_status); }; }; then
21735 ac_cv_sizeof_size_t=`cat conftest.val`
21737 echo "$as_me: program exited with status
$ac_status" >&5
21738 echo "$as_me: failed program was
:" >&5
21739 sed 's/^/| /' conftest.$ac_ext >&5
21741 ( exit $ac_status )
21742 if test "$ac_cv_type_size_t" = yes; then
21743 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21744 See \
`config.log' for more details." >&5
21745 echo "$as_me: error: cannot compute sizeof (size_t)
21746 See \`config.log
' for more details." >&2;}
21747 { (exit 77); exit 77; }; }
21749 ac_cv_sizeof_size_t=0
21752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21756 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21757 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21761 cat >>confdefs.h <<_ACEOF
21762 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21769 { echo "$as_me:$LINENO: checking for long long" >&5
21770 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21771 if test "${ac_cv_type_long_long+set}" = set; then
21772 echo $ECHO_N "(cached) $ECHO_C" >&6
21774 cat >conftest.$ac_ext <<_ACEOF
21777 cat confdefs.h >>conftest.$ac_ext
21778 cat >>conftest.$ac_ext <<_ACEOF
21779 /* end confdefs.h. */
21780 $ac_includes_default
21781 typedef long long ac__type_new_;
21785 if ((ac__type_new_ *) 0)
21787 if (sizeof (ac__type_new_))
21793 rm -f conftest.$ac_objext
21794 if { (ac_try="$ac_compile"
21795 case "(($ac_try" in
21796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21797 *) ac_try_echo=$ac_try;;
21799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21800 (eval "$ac_compile") 2>conftest.er1
21802 grep -v '^
*+' conftest.er1 >conftest.err
21804 cat conftest.err >&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && {
21807 test -z "$ac_c_werror_flag" ||
21808 test ! -s conftest.err
21809 } && test -s conftest.$ac_objext; then
21810 ac_cv_type_long_long=yes
21812 echo "$as_me: failed program was:" >&5
21813 sed 's
/^
/| /' conftest.$ac_ext >&5
21815 ac_cv_type_long_long=no
21818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21820 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21821 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21823 # The cast to long int works around a bug in the HP C Compiler
21824 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21825 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21826 # This bug is HP SR number 8606223364.
21827 { echo "$as_me:$LINENO: checking size of long long" >&5
21828 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21829 if test "${ac_cv_sizeof_long_long+set}" = set; then
21830 echo $ECHO_N "(cached) $ECHO_C" >&6
21832 if test "$cross_compiling" = yes; then
21833 # Depending upon the size, compute the lo and hi bounds.
21834 cat >conftest.
$ac_ext <<_ACEOF
21837 cat confdefs.h
>>conftest.
$ac_ext
21838 cat >>conftest.
$ac_ext <<_ACEOF
21839 /* end confdefs.h. */
21840 $ac_includes_default
21841 typedef long long ac__type_sizeof_;
21845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21852 rm -f conftest.
$ac_objext
21853 if { (ac_try
="$ac_compile"
21854 case "(($ac_try" in
21855 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21856 *) ac_try_echo=$ac_try;;
21858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21859 (eval "$ac_compile") 2>conftest.er1
21861 grep -v '^ *+' conftest.er1 >conftest.err
21863 cat conftest.err >&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); } && {
21866 test -z "$ac_c_werror_flag" ||
21867 test ! -s conftest.err
21868 } && test -s conftest.$ac_objext; then
21871 cat >conftest.$ac_ext <<_ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 $ac_includes_default
21878 typedef long long ac__type_sizeof_;
21882 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21889 rm -f conftest.$ac_objext
21890 if { (ac_try="$ac_compile"
21891 case "(($ac_try" in
21892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21893 *) ac_try_echo
=$ac_try;;
21895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21896 (eval "$ac_compile") 2>conftest.er1
21898 grep -v '^ *+' conftest.er1
>conftest.err
21900 cat conftest.err
>&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); } && {
21903 test -z "$ac_c_werror_flag" ||
21904 test ! -s conftest.err
21905 } && test -s conftest.
$ac_objext; then
21906 ac_hi
=$ac_mid; break
21908 echo "$as_me: failed program was:" >&5
21909 sed 's/^/| /' conftest.
$ac_ext >&5
21911 ac_lo
=`expr $ac_mid + 1`
21912 if test $ac_lo -le $ac_mid; then
21916 ac_mid
=`expr 2 '*' $ac_mid + 1`
21919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21922 echo "$as_me: failed program was:" >&5
21923 sed 's/^/| /' conftest.
$ac_ext >&5
21925 cat >conftest.
$ac_ext <<_ACEOF
21928 cat confdefs.h
>>conftest.
$ac_ext
21929 cat >>conftest.
$ac_ext <<_ACEOF
21930 /* end confdefs.h. */
21931 $ac_includes_default
21932 typedef long long ac__type_sizeof_;
21936 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21943 rm -f conftest.
$ac_objext
21944 if { (ac_try
="$ac_compile"
21945 case "(($ac_try" in
21946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21947 *) ac_try_echo=$ac_try;;
21949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21950 (eval "$ac_compile") 2>conftest.er1
21952 grep -v '^ *+' conftest.er1 >conftest.err
21954 cat conftest.err >&5
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); } && {
21957 test -z "$ac_c_werror_flag" ||
21958 test ! -s conftest.err
21959 } && test -s conftest.$ac_objext; then
21962 cat >conftest.$ac_ext <<_ACEOF
21965 cat confdefs.h >>conftest.$ac_ext
21966 cat >>conftest.$ac_ext <<_ACEOF
21967 /* end confdefs.h. */
21968 $ac_includes_default
21969 typedef long long ac__type_sizeof_;
21973 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21980 rm -f conftest.$ac_objext
21981 if { (ac_try="$ac_compile"
21982 case "(($ac_try" in
21983 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21984 *) ac_try_echo
=$ac_try;;
21986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_compile") 2>conftest.er1
21989 grep -v '^ *+' conftest.er1
>conftest.err
21991 cat conftest.err
>&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } && {
21994 test -z "$ac_c_werror_flag" ||
21995 test ! -s conftest.err
21996 } && test -s conftest.
$ac_objext; then
21997 ac_lo
=$ac_mid; break
21999 echo "$as_me: failed program was:" >&5
22000 sed 's/^/| /' conftest.
$ac_ext >&5
22002 ac_hi
=`expr '(' $ac_mid ')' - 1`
22003 if test $ac_mid -le $ac_hi; then
22007 ac_mid
=`expr 2 '*' $ac_mid`
22010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22013 echo "$as_me: failed program was:" >&5
22014 sed 's/^/| /' conftest.
$ac_ext >&5
22019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22023 # Binary search between lo and hi bounds.
22024 while test "x$ac_lo" != "x$ac_hi"; do
22025 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22026 cat >conftest.
$ac_ext <<_ACEOF
22029 cat confdefs.h
>>conftest.
$ac_ext
22030 cat >>conftest.
$ac_ext <<_ACEOF
22031 /* end confdefs.h. */
22032 $ac_includes_default
22033 typedef long long ac__type_sizeof_;
22037 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22044 rm -f conftest.
$ac_objext
22045 if { (ac_try
="$ac_compile"
22046 case "(($ac_try" in
22047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22048 *) ac_try_echo=$ac_try;;
22050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22051 (eval "$ac_compile") 2>conftest.er1
22053 grep -v '^ *+' conftest.er1 >conftest.err
22055 cat conftest.err >&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); } && {
22058 test -z "$ac_c_werror_flag" ||
22059 test ! -s conftest.err
22060 } && test -s conftest.$ac_objext; then
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22066 ac_lo=`expr '(' $ac_mid ')' + 1`
22069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22072 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22073 '') if test "$ac_cv_type_long_long" = yes; then
22074 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22075 See \`config.log
' for more details." >&5
22076 echo "$as_me: error: cannot compute sizeof (long long)
22077 See \`config.log' for more details.
" >&2;}
22078 { (exit 77); exit 77; }; }
22080 ac_cv_sizeof_long_long=0
22084 cat >conftest.$ac_ext <<_ACEOF
22087 cat confdefs.h >>conftest.$ac_ext
22088 cat >>conftest.$ac_ext <<_ACEOF
22089 /* end confdefs.h. */
22090 $ac_includes_default
22091 typedef long long ac__type_sizeof_;
22092 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22093 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22095 #include <stdlib.h>
22100 FILE *f = fopen ("conftest.val
", "w
");
22103 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22105 long int i = longval ();
22106 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22108 fprintf (f, "%ld
\n", i);
22112 unsigned long int i = ulongval ();
22113 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22115 fprintf (f, "%lu
\n", i);
22117 return ferror (f) || fclose (f) != 0;
22123 rm -f conftest$ac_exeext
22124 if { (ac_try="$ac_link"
22125 case "(($ac_try" in
22126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22127 *) ac_try_echo=$ac_try;;
22129 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22130 (eval "$ac_link") 2>&5
22132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22133 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22134 { (case "(($ac_try" in
22135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22136 *) ac_try_echo=$ac_try;;
22138 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22139 (eval "$ac_try") 2>&5
22141 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22142 (exit $ac_status); }; }; then
22143 ac_cv_sizeof_long_long=`cat conftest.val`
22145 echo "$as_me: program exited with status
$ac_status" >&5
22146 echo "$as_me: failed program was
:" >&5
22147 sed 's/^/| /' conftest.$ac_ext >&5
22149 ( exit $ac_status )
22150 if test "$ac_cv_type_long_long" = yes; then
22151 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22152 See \
`config.log' for more details." >&5
22153 echo "$as_me: error: cannot compute sizeof (long long)
22154 See \`config.log
' for more details." >&2;}
22155 { (exit 77); exit 77; }; }
22157 ac_cv_sizeof_long_long=0
22160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22164 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22165 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22169 cat >>confdefs.h <<_ACEOF
22170 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22176 { echo "$as_me:$LINENO: checking for long long" >&5
22177 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22178 if test "${ac_cv_type_long_long+set}" = set; then
22179 echo $ECHO_N "(cached) $ECHO_C" >&6
22181 cat >conftest.$ac_ext <<_ACEOF
22184 cat confdefs.h >>conftest.$ac_ext
22185 cat >>conftest.$ac_ext <<_ACEOF
22186 /* end confdefs.h. */
22187 $ac_includes_default
22188 typedef long long ac__type_new_;
22192 if ((ac__type_new_ *) 0)
22194 if (sizeof (ac__type_new_))
22200 rm -f conftest.$ac_objext
22201 if { (ac_try="$ac_compile"
22202 case "(($ac_try" in
22203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22204 *) ac_try_echo=$ac_try;;
22206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22207 (eval "$ac_compile") 2>conftest.er1
22209 grep -v '^
*+' conftest.er1 >conftest.err
22211 cat conftest.err >&5
22212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22213 (exit $ac_status); } && {
22214 test -z "$ac_c_werror_flag" ||
22215 test ! -s conftest.err
22216 } && test -s conftest.$ac_objext; then
22217 ac_cv_type_long_long=yes
22219 echo "$as_me: failed program was:" >&5
22220 sed 's
/^
/| /' conftest.$ac_ext >&5
22222 ac_cv_type_long_long=no
22225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22227 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22228 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22230 # The cast to long int works around a bug in the HP C Compiler
22231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22233 # This bug is HP SR number 8606223364.
22234 { echo "$as_me:$LINENO: checking size of long long" >&5
22235 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22236 if test "${ac_cv_sizeof_long_long+set}" = set; then
22237 echo $ECHO_N "(cached) $ECHO_C" >&6
22239 if test "$cross_compiling" = yes; then
22240 # Depending upon the size, compute the lo and hi bounds.
22241 cat >conftest.
$ac_ext <<_ACEOF
22244 cat confdefs.h
>>conftest.
$ac_ext
22245 cat >>conftest.
$ac_ext <<_ACEOF
22246 /* end confdefs.h. */
22247 $ac_includes_default
22248 typedef long long ac__type_sizeof_;
22252 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22259 rm -f conftest.
$ac_objext
22260 if { (ac_try
="$ac_compile"
22261 case "(($ac_try" in
22262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22263 *) ac_try_echo=$ac_try;;
22265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22266 (eval "$ac_compile") 2>conftest.er1
22268 grep -v '^ *+' conftest.er1 >conftest.err
22270 cat conftest.err >&5
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); } && {
22273 test -z "$ac_c_werror_flag" ||
22274 test ! -s conftest.err
22275 } && test -s conftest.$ac_objext; then
22278 cat >conftest.$ac_ext <<_ACEOF
22281 cat confdefs.h >>conftest.$ac_ext
22282 cat >>conftest.$ac_ext <<_ACEOF
22283 /* end confdefs.h. */
22284 $ac_includes_default
22285 typedef long long ac__type_sizeof_;
22289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22296 rm -f conftest.$ac_objext
22297 if { (ac_try="$ac_compile"
22298 case "(($ac_try" in
22299 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22300 *) ac_try_echo
=$ac_try;;
22302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22303 (eval "$ac_compile") 2>conftest.er1
22305 grep -v '^ *+' conftest.er1
>conftest.err
22307 cat conftest.err
>&5
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); } && {
22310 test -z "$ac_c_werror_flag" ||
22311 test ! -s conftest.err
22312 } && test -s conftest.
$ac_objext; then
22313 ac_hi
=$ac_mid; break
22315 echo "$as_me: failed program was:" >&5
22316 sed 's/^/| /' conftest.
$ac_ext >&5
22318 ac_lo
=`expr $ac_mid + 1`
22319 if test $ac_lo -le $ac_mid; then
22323 ac_mid
=`expr 2 '*' $ac_mid + 1`
22326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22329 echo "$as_me: failed program was:" >&5
22330 sed 's/^/| /' conftest.
$ac_ext >&5
22332 cat >conftest.
$ac_ext <<_ACEOF
22335 cat confdefs.h
>>conftest.
$ac_ext
22336 cat >>conftest.
$ac_ext <<_ACEOF
22337 /* end confdefs.h. */
22338 $ac_includes_default
22339 typedef long long ac__type_sizeof_;
22343 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22350 rm -f conftest.
$ac_objext
22351 if { (ac_try
="$ac_compile"
22352 case "(($ac_try" in
22353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22354 *) ac_try_echo=$ac_try;;
22356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22357 (eval "$ac_compile") 2>conftest.er1
22359 grep -v '^ *+' conftest.er1 >conftest.err
22361 cat conftest.err >&5
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); } && {
22364 test -z "$ac_c_werror_flag" ||
22365 test ! -s conftest.err
22366 } && test -s conftest.$ac_objext; then
22369 cat >conftest.$ac_ext <<_ACEOF
22372 cat confdefs.h >>conftest.$ac_ext
22373 cat >>conftest.$ac_ext <<_ACEOF
22374 /* end confdefs.h. */
22375 $ac_includes_default
22376 typedef long long ac__type_sizeof_;
22380 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22387 rm -f conftest.$ac_objext
22388 if { (ac_try="$ac_compile"
22389 case "(($ac_try" in
22390 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22391 *) ac_try_echo
=$ac_try;;
22393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22394 (eval "$ac_compile") 2>conftest.er1
22396 grep -v '^ *+' conftest.er1
>conftest.err
22398 cat conftest.err
>&5
22399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400 (exit $ac_status); } && {
22401 test -z "$ac_c_werror_flag" ||
22402 test ! -s conftest.err
22403 } && test -s conftest.
$ac_objext; then
22404 ac_lo
=$ac_mid; break
22406 echo "$as_me: failed program was:" >&5
22407 sed 's/^/| /' conftest.
$ac_ext >&5
22409 ac_hi
=`expr '(' $ac_mid ')' - 1`
22410 if test $ac_mid -le $ac_hi; then
22414 ac_mid
=`expr 2 '*' $ac_mid`
22417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22420 echo "$as_me: failed program was:" >&5
22421 sed 's/^/| /' conftest.
$ac_ext >&5
22426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22430 # Binary search between lo and hi bounds.
22431 while test "x$ac_lo" != "x$ac_hi"; do
22432 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22433 cat >conftest.
$ac_ext <<_ACEOF
22436 cat confdefs.h
>>conftest.
$ac_ext
22437 cat >>conftest.
$ac_ext <<_ACEOF
22438 /* end confdefs.h. */
22439 $ac_includes_default
22440 typedef long long ac__type_sizeof_;
22444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22451 rm -f conftest.
$ac_objext
22452 if { (ac_try
="$ac_compile"
22453 case "(($ac_try" in
22454 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22455 *) ac_try_echo=$ac_try;;
22457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22458 (eval "$ac_compile") 2>conftest.er1
22460 grep -v '^ *+' conftest.er1 >conftest.err
22462 cat conftest.err >&5
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); } && {
22465 test -z "$ac_c_werror_flag" ||
22466 test ! -s conftest.err
22467 } && test -s conftest.$ac_objext; then
22470 echo "$as_me: failed program was:" >&5
22471 sed 's/^/| /' conftest.$ac_ext >&5
22473 ac_lo=`expr '(' $ac_mid ')' + 1`
22476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22479 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22480 '') if test "$ac_cv_type_long_long" = yes; then
22481 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22482 See \`config.log
' for more details." >&5
22483 echo "$as_me: error: cannot compute sizeof (long long)
22484 See \`config.log' for more details.
" >&2;}
22485 { (exit 77); exit 77; }; }
22487 ac_cv_sizeof_long_long=0
22491 cat >conftest.$ac_ext <<_ACEOF
22494 cat confdefs.h >>conftest.$ac_ext
22495 cat >>conftest.$ac_ext <<_ACEOF
22496 /* end confdefs.h. */
22497 $ac_includes_default
22498 typedef long long ac__type_sizeof_;
22499 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22500 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22502 #include <stdlib.h>
22507 FILE *f = fopen ("conftest.val
", "w
");
22510 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22512 long int i = longval ();
22513 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22515 fprintf (f, "%ld
\n", i);
22519 unsigned long int i = ulongval ();
22520 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22522 fprintf (f, "%lu
\n", i);
22524 return ferror (f) || fclose (f) != 0;
22530 rm -f conftest$ac_exeext
22531 if { (ac_try="$ac_link"
22532 case "(($ac_try" in
22533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22534 *) ac_try_echo=$ac_try;;
22536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22537 (eval "$ac_link") 2>&5
22539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22541 { (case "(($ac_try" in
22542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22543 *) ac_try_echo=$ac_try;;
22545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22546 (eval "$ac_try") 2>&5
22548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22549 (exit $ac_status); }; }; then
22550 ac_cv_sizeof_long_long=`cat conftest.val`
22552 echo "$as_me: program exited with status
$ac_status" >&5
22553 echo "$as_me: failed program was
:" >&5
22554 sed 's/^/| /' conftest.$ac_ext >&5
22556 ( exit $ac_status )
22557 if test "$ac_cv_type_long_long" = yes; then
22558 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22559 See \
`config.log' for more details." >&5
22560 echo "$as_me: error: cannot compute sizeof (long long)
22561 See \`config.log
' for more details." >&2;}
22562 { (exit 77); exit 77; }; }
22564 ac_cv_sizeof_long_long=0
22567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22571 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22572 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22576 cat >>confdefs.h <<_ACEOF
22577 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22581 if test "$ac_cv_sizeof_long_long" != 0; then
22582 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22586 { echo "$as_me:$LINENO: checking for long long" >&5
22587 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22588 if test "${ac_cv_type_long_long+set}" = set; then
22589 echo $ECHO_N "(cached) $ECHO_C" >&6
22591 cat >conftest.$ac_ext <<_ACEOF
22594 cat confdefs.h >>conftest.$ac_ext
22595 cat >>conftest.$ac_ext <<_ACEOF
22596 /* end confdefs.h. */
22597 $ac_includes_default
22598 typedef long long ac__type_new_;
22602 if ((ac__type_new_ *) 0)
22604 if (sizeof (ac__type_new_))
22610 rm -f conftest.$ac_objext
22611 if { (ac_try="$ac_compile"
22612 case "(($ac_try" in
22613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22614 *) ac_try_echo=$ac_try;;
22616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617 (eval "$ac_compile") 2>conftest.er1
22619 grep -v '^
*+' conftest.er1 >conftest.err
22621 cat conftest.err >&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } && {
22624 test -z "$ac_c_werror_flag" ||
22625 test ! -s conftest.err
22626 } && test -s conftest.$ac_objext; then
22627 ac_cv_type_long_long=yes
22629 echo "$as_me: failed program was:" >&5
22630 sed 's
/^
/| /' conftest.$ac_ext >&5
22632 ac_cv_type_long_long=no
22635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22638 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22640 # The cast to long int works around a bug in the HP C Compiler
22641 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22642 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22643 # This bug is HP SR number 8606223364.
22644 { echo "$as_me:$LINENO: checking size of long long" >&5
22645 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22646 if test "${ac_cv_sizeof_long_long+set}" = set; then
22647 echo $ECHO_N "(cached) $ECHO_C" >&6
22649 if test "$cross_compiling" = yes; then
22650 # Depending upon the size, compute the lo and hi bounds.
22651 cat >conftest.
$ac_ext <<_ACEOF
22654 cat confdefs.h
>>conftest.
$ac_ext
22655 cat >>conftest.
$ac_ext <<_ACEOF
22656 /* end confdefs.h. */
22657 $ac_includes_default
22658 typedef long long ac__type_sizeof_;
22662 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22669 rm -f conftest.
$ac_objext
22670 if { (ac_try
="$ac_compile"
22671 case "(($ac_try" in
22672 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22673 *) ac_try_echo=$ac_try;;
22675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22676 (eval "$ac_compile") 2>conftest.er1
22678 grep -v '^ *+' conftest.er1 >conftest.err
22680 cat conftest.err >&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } && {
22683 test -z "$ac_c_werror_flag" ||
22684 test ! -s conftest.err
22685 } && test -s conftest.$ac_objext; then
22688 cat >conftest.$ac_ext <<_ACEOF
22691 cat confdefs.h >>conftest.$ac_ext
22692 cat >>conftest.$ac_ext <<_ACEOF
22693 /* end confdefs.h. */
22694 $ac_includes_default
22695 typedef long long ac__type_sizeof_;
22699 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22706 rm -f conftest.$ac_objext
22707 if { (ac_try="$ac_compile"
22708 case "(($ac_try" in
22709 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22710 *) ac_try_echo
=$ac_try;;
22712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22713 (eval "$ac_compile") 2>conftest.er1
22715 grep -v '^ *+' conftest.er1
>conftest.err
22717 cat conftest.err
>&5
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); } && {
22720 test -z "$ac_c_werror_flag" ||
22721 test ! -s conftest.err
22722 } && test -s conftest.
$ac_objext; then
22723 ac_hi
=$ac_mid; break
22725 echo "$as_me: failed program was:" >&5
22726 sed 's/^/| /' conftest.
$ac_ext >&5
22728 ac_lo
=`expr $ac_mid + 1`
22729 if test $ac_lo -le $ac_mid; then
22733 ac_mid
=`expr 2 '*' $ac_mid + 1`
22736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22739 echo "$as_me: failed program was:" >&5
22740 sed 's/^/| /' conftest.
$ac_ext >&5
22742 cat >conftest.
$ac_ext <<_ACEOF
22745 cat confdefs.h
>>conftest.
$ac_ext
22746 cat >>conftest.
$ac_ext <<_ACEOF
22747 /* end confdefs.h. */
22748 $ac_includes_default
22749 typedef long long ac__type_sizeof_;
22753 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22760 rm -f conftest.
$ac_objext
22761 if { (ac_try
="$ac_compile"
22762 case "(($ac_try" in
22763 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22764 *) ac_try_echo=$ac_try;;
22766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22767 (eval "$ac_compile") 2>conftest.er1
22769 grep -v '^ *+' conftest.er1 >conftest.err
22771 cat conftest.err >&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); } && {
22774 test -z "$ac_c_werror_flag" ||
22775 test ! -s conftest.err
22776 } && test -s conftest.$ac_objext; then
22779 cat >conftest.$ac_ext <<_ACEOF
22782 cat confdefs.h >>conftest.$ac_ext
22783 cat >>conftest.$ac_ext <<_ACEOF
22784 /* end confdefs.h. */
22785 $ac_includes_default
22786 typedef long long ac__type_sizeof_;
22790 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22797 rm -f conftest.$ac_objext
22798 if { (ac_try="$ac_compile"
22799 case "(($ac_try" in
22800 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22801 *) ac_try_echo
=$ac_try;;
22803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22804 (eval "$ac_compile") 2>conftest.er1
22806 grep -v '^ *+' conftest.er1
>conftest.err
22808 cat conftest.err
>&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); } && {
22811 test -z "$ac_c_werror_flag" ||
22812 test ! -s conftest.err
22813 } && test -s conftest.
$ac_objext; then
22814 ac_lo
=$ac_mid; break
22816 echo "$as_me: failed program was:" >&5
22817 sed 's/^/| /' conftest.
$ac_ext >&5
22819 ac_hi
=`expr '(' $ac_mid ')' - 1`
22820 if test $ac_mid -le $ac_hi; then
22824 ac_mid
=`expr 2 '*' $ac_mid`
22827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22830 echo "$as_me: failed program was:" >&5
22831 sed 's/^/| /' conftest.
$ac_ext >&5
22836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22840 # Binary search between lo and hi bounds.
22841 while test "x$ac_lo" != "x$ac_hi"; do
22842 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22843 cat >conftest.
$ac_ext <<_ACEOF
22846 cat confdefs.h
>>conftest.
$ac_ext
22847 cat >>conftest.
$ac_ext <<_ACEOF
22848 /* end confdefs.h. */
22849 $ac_includes_default
22850 typedef long long ac__type_sizeof_;
22854 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22861 rm -f conftest.
$ac_objext
22862 if { (ac_try
="$ac_compile"
22863 case "(($ac_try" in
22864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22865 *) ac_try_echo=$ac_try;;
22867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22868 (eval "$ac_compile") 2>conftest.er1
22870 grep -v '^ *+' conftest.er1 >conftest.err
22872 cat conftest.err >&5
22873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22874 (exit $ac_status); } && {
22875 test -z "$ac_c_werror_flag" ||
22876 test ! -s conftest.err
22877 } && test -s conftest.$ac_objext; then
22880 echo "$as_me: failed program was:" >&5
22881 sed 's/^/| /' conftest.$ac_ext >&5
22883 ac_lo=`expr '(' $ac_mid ')' + 1`
22886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22889 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22890 '') if test "$ac_cv_type_long_long" = yes; then
22891 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22892 See \`config.log
' for more details." >&5
22893 echo "$as_me: error: cannot compute sizeof (long long)
22894 See \`config.log' for more details.
" >&2;}
22895 { (exit 77); exit 77; }; }
22897 ac_cv_sizeof_long_long=0
22901 cat >conftest.$ac_ext <<_ACEOF
22904 cat confdefs.h >>conftest.$ac_ext
22905 cat >>conftest.$ac_ext <<_ACEOF
22906 /* end confdefs.h. */
22907 $ac_includes_default
22908 typedef long long ac__type_sizeof_;
22909 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22910 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22912 #include <stdlib.h>
22917 FILE *f = fopen ("conftest.val
", "w
");
22920 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22922 long int i = longval ();
22923 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22925 fprintf (f, "%ld
\n", i);
22929 unsigned long int i = ulongval ();
22930 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22932 fprintf (f, "%lu
\n", i);
22934 return ferror (f) || fclose (f) != 0;
22940 rm -f conftest$ac_exeext
22941 if { (ac_try="$ac_link"
22942 case "(($ac_try" in
22943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22944 *) ac_try_echo=$ac_try;;
22946 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22947 (eval "$ac_link") 2>&5
22949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22951 { (case "(($ac_try" in
22952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22953 *) ac_try_echo=$ac_try;;
22955 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22956 (eval "$ac_try") 2>&5
22958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22959 (exit $ac_status); }; }; then
22960 ac_cv_sizeof_long_long=`cat conftest.val`
22962 echo "$as_me: program exited with status
$ac_status" >&5
22963 echo "$as_me: failed program was
:" >&5
22964 sed 's/^/| /' conftest.$ac_ext >&5
22966 ( exit $ac_status )
22967 if test "$ac_cv_type_long_long" = yes; then
22968 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22969 See \
`config.log' for more details." >&5
22970 echo "$as_me: error: cannot compute sizeof (long long)
22971 See \`config.log
' for more details." >&2;}
22972 { (exit 77); exit 77; }; }
22974 ac_cv_sizeof_long_long=0
22977 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22981 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22982 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22986 cat >>confdefs.h <<_ACEOF
22987 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22993 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22994 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22995 if test "${ac_cv_type_wchar_t+set}" = set; then
22996 echo $ECHO_N "(cached) $ECHO_C" >&6
22998 cat >conftest.$ac_ext <<_ACEOF
23001 cat confdefs.h >>conftest.$ac_ext
23002 cat >>conftest.$ac_ext <<_ACEOF
23003 /* end confdefs.h. */
23005 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23006 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23007 # error "fake wchar_t"
23009 #ifdef HAVE_WCHAR_H
23011 # include <stddef.h>
23013 # include <wchar.h>
23015 #ifdef HAVE_STDLIB_H
23016 # include <stdlib.h>
23022 typedef wchar_t ac__type_new_
;
23026 if ((ac__type_new_
*) 0)
23028 if (sizeof
(ac__type_new_
))
23034 rm -f conftest.
$ac_objext
23035 if { (ac_try
="$ac_compile"
23036 case "(($ac_try" in
23037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23038 *) ac_try_echo=$ac_try;;
23040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23041 (eval "$ac_compile") 2>conftest.er1
23043 grep -v '^ *+' conftest.er1 >conftest.err
23045 cat conftest.err >&5
23046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047 (exit $ac_status); } && {
23048 test -z "$ac_c_werror_flag" ||
23049 test ! -s conftest.err
23050 } && test -s conftest.$ac_objext; then
23051 ac_cv_type_wchar_t=yes
23053 echo "$as_me: failed program was:" >&5
23054 sed 's/^/| /' conftest.$ac_ext >&5
23056 ac_cv_type_wchar_t=no
23059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23061 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23062 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23064 # The cast to long int works around a bug in the HP C Compiler
23065 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23066 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23067 # This bug is HP SR number 8606223364.
23068 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23069 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23070 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23071 echo $ECHO_N "(cached) $ECHO_C" >&6
23073 if test "$cross_compiling" = yes; then
23074 # Depending upon the size, compute the lo and hi bounds.
23075 cat >conftest.$ac_ext <<_ACEOF
23078 cat confdefs.h >>conftest.$ac_ext
23079 cat >>conftest.$ac_ext <<_ACEOF
23080 /* end confdefs.h. */
23082 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23083 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23084 # error "fake wchar_t"
23086 #ifdef HAVE_WCHAR_H
23088 # include <stddef.h>
23090 # include <wchar.h>
23092 #ifdef HAVE_STDLIB_H
23093 # include <stdlib.h>
23099 typedef wchar_t ac__type_sizeof_
;
23103 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23110 rm -f conftest.
$ac_objext
23111 if { (ac_try
="$ac_compile"
23112 case "(($ac_try" in
23113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23114 *) ac_try_echo=$ac_try;;
23116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23117 (eval "$ac_compile") 2>conftest.er1
23119 grep -v '^ *+' conftest.er1 >conftest.err
23121 cat conftest.err >&5
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); } && {
23124 test -z "$ac_c_werror_flag" ||
23125 test ! -s conftest.err
23126 } && test -s conftest.$ac_objext; then
23129 cat >conftest.$ac_ext <<_ACEOF
23132 cat confdefs.h >>conftest.$ac_ext
23133 cat >>conftest.$ac_ext <<_ACEOF
23134 /* end confdefs.h. */
23136 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23137 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23138 # error "fake wchar_t"
23140 #ifdef HAVE_WCHAR_H
23142 # include <stddef.h>
23144 # include <wchar.h>
23146 #ifdef HAVE_STDLIB_H
23147 # include <stdlib.h>
23153 typedef wchar_t ac__type_sizeof_;
23157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23164 rm -f conftest.$ac_objext
23165 if { (ac_try="$ac_compile"
23166 case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23168 *) ac_try_echo
=$ac_try;;
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_compile") 2>conftest.er1
23173 grep -v '^ *+' conftest.er1
>conftest.err
23175 cat conftest.err
>&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } && {
23178 test -z "$ac_c_werror_flag" ||
23179 test ! -s conftest.err
23180 } && test -s conftest.
$ac_objext; then
23181 ac_hi
=$ac_mid; break
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.
$ac_ext >&5
23186 ac_lo
=`expr $ac_mid + 1`
23187 if test $ac_lo -le $ac_mid; then
23191 ac_mid
=`expr 2 '*' $ac_mid + 1`
23194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23197 echo "$as_me: failed program was:" >&5
23198 sed 's/^/| /' conftest.
$ac_ext >&5
23200 cat >conftest.
$ac_ext <<_ACEOF
23203 cat confdefs.h
>>conftest.
$ac_ext
23204 cat >>conftest.
$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23207 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23208 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23209 # error "fake wchar_t"
23211 #ifdef HAVE_WCHAR_H
23213 # include <stddef.h>
23215 # include <wchar.h>
23217 #ifdef HAVE_STDLIB_H
23218 # include <stdlib.h>
23224 typedef wchar_t ac__type_sizeof_;
23228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23235 rm -f conftest.
$ac_objext
23236 if { (ac_try
="$ac_compile"
23237 case "(($ac_try" in
23238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23239 *) ac_try_echo=$ac_try;;
23241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23242 (eval "$ac_compile") 2>conftest.er1
23244 grep -v '^ *+' conftest.er1 >conftest.err
23246 cat conftest.err >&5
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); } && {
23249 test -z "$ac_c_werror_flag" ||
23250 test ! -s conftest.err
23251 } && test -s conftest.$ac_objext; then
23254 cat >conftest.$ac_ext <<_ACEOF
23257 cat confdefs.h >>conftest.$ac_ext
23258 cat >>conftest.$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23261 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23262 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23263 # error "fake wchar_t"
23265 #ifdef HAVE_WCHAR_H
23267 # include <stddef.h>
23269 # include <wchar.h>
23271 #ifdef HAVE_STDLIB_H
23272 # include <stdlib.h>
23278 typedef wchar_t ac__type_sizeof_;
23282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23289 rm -f conftest.$ac_objext
23290 if { (ac_try="$ac_compile"
23291 case "(($ac_try" in
23292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23293 *) ac_try_echo
=$ac_try;;
23295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23296 (eval "$ac_compile") 2>conftest.er1
23298 grep -v '^ *+' conftest.er1
>conftest.err
23300 cat conftest.err
>&5
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); } && {
23303 test -z "$ac_c_werror_flag" ||
23304 test ! -s conftest.err
23305 } && test -s conftest.
$ac_objext; then
23306 ac_lo
=$ac_mid; break
23308 echo "$as_me: failed program was:" >&5
23309 sed 's/^/| /' conftest.
$ac_ext >&5
23311 ac_hi
=`expr '(' $ac_mid ')' - 1`
23312 if test $ac_mid -le $ac_hi; then
23316 ac_mid
=`expr 2 '*' $ac_mid`
23319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23322 echo "$as_me: failed program was:" >&5
23323 sed 's/^/| /' conftest.
$ac_ext >&5
23328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23332 # Binary search between lo and hi bounds.
23333 while test "x$ac_lo" != "x$ac_hi"; do
23334 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23335 cat >conftest.
$ac_ext <<_ACEOF
23338 cat confdefs.h
>>conftest.
$ac_ext
23339 cat >>conftest.
$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23342 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23343 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23344 # error "fake wchar_t"
23346 #ifdef HAVE_WCHAR_H
23348 # include <stddef.h>
23350 # include <wchar.h>
23352 #ifdef HAVE_STDLIB_H
23353 # include <stdlib.h>
23359 typedef wchar_t ac__type_sizeof_;
23363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23370 rm -f conftest.
$ac_objext
23371 if { (ac_try
="$ac_compile"
23372 case "(($ac_try" in
23373 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23374 *) ac_try_echo=$ac_try;;
23376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23377 (eval "$ac_compile") 2>conftest.er1
23379 grep -v '^ *+' conftest.er1 >conftest.err
23381 cat conftest.err >&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); } && {
23384 test -z "$ac_c_werror_flag" ||
23385 test ! -s conftest.err
23386 } && test -s conftest.$ac_objext; then
23389 echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.$ac_ext >&5
23392 ac_lo=`expr '(' $ac_mid ')' + 1`
23395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23398 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23399 '') if test "$ac_cv_type_wchar_t" = yes; then
23400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23401 See \`config.log
' for more details." >&5
23402 echo "$as_me: error: cannot compute sizeof (wchar_t)
23403 See \`config.log' for more details.
" >&2;}
23404 { (exit 77); exit 77; }; }
23406 ac_cv_sizeof_wchar_t=0
23410 cat >conftest.$ac_ext <<_ACEOF
23413 cat confdefs.h >>conftest.$ac_ext
23414 cat >>conftest.$ac_ext <<_ACEOF
23415 /* end confdefs.h. */
23417 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23418 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23419 # error "fake wchar_t
"
23421 #ifdef HAVE_WCHAR_H
23423 # include <stddef.h>
23425 # include <wchar.h>
23427 #ifdef HAVE_STDLIB_H
23428 # include <stdlib.h>
23434 typedef wchar_t ac__type_sizeof_;
23435 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23436 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23438 #include <stdlib.h>
23443 FILE *f = fopen ("conftest.val
", "w
");
23446 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23448 long int i = longval ();
23449 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23451 fprintf (f, "%ld
\n", i);
23455 unsigned long int i = ulongval ();
23456 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23458 fprintf (f, "%lu
\n", i);
23460 return ferror (f) || fclose (f) != 0;
23466 rm -f conftest$ac_exeext
23467 if { (ac_try="$ac_link"
23468 case "(($ac_try" in
23469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23470 *) ac_try_echo=$ac_try;;
23472 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23473 (eval "$ac_link") 2>&5
23475 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23476 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23477 { (case "(($ac_try" in
23478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23479 *) ac_try_echo=$ac_try;;
23481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23482 (eval "$ac_try") 2>&5
23484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23485 (exit $ac_status); }; }; then
23486 ac_cv_sizeof_wchar_t=`cat conftest.val`
23488 echo "$as_me: program exited with status
$ac_status" >&5
23489 echo "$as_me: failed program was
:" >&5
23490 sed 's/^/| /' conftest.$ac_ext >&5
23492 ( exit $ac_status )
23493 if test "$ac_cv_type_wchar_t" = yes; then
23494 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23495 See \
`config.log' for more details." >&5
23496 echo "$as_me: error: cannot compute sizeof (wchar_t)
23497 See \`config.log
' for more details." >&2;}
23498 { (exit 77); exit 77; }; }
23500 ac_cv_sizeof_wchar_t=0
23503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23507 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23508 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23512 cat >>confdefs.h <<_ACEOF
23513 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23517 if test "$ac_cv_sizeof_wchar_t" != 0; then
23523 { echo "$as_me:$LINENO: checking for va_copy" >&5
23524 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23525 if test "${wx_cv_func_va_copy+set}" = set; then
23526 echo $ECHO_N "(cached) $ECHO_C" >&6
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23532 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23535 cat >conftest.$ac_ext <<_ACEOF
23537 #include <stdarg.h>
23538 void foo(char *f, ...)
23552 rm -f conftest.$ac_objext conftest$ac_exeext
23553 if { (ac_try="$ac_link"
23554 case "(($ac_try" in
23555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23556 *) ac_try_echo=$ac_try;;
23558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23559 (eval "$ac_link") 2>conftest.er1
23561 grep -v '^
*+' conftest.er1 >conftest.err
23563 cat conftest.err >&5
23564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565 (exit $ac_status); } && {
23566 test -z "$ac_cxx_werror_flag" ||
23567 test ! -s conftest.err
23568 } && test -s conftest$ac_exeext &&
23569 $as_test_x conftest$ac_exeext; then
23570 wx_cv_func_va_copy=yes
23572 echo "$as_me: failed program was:" >&5
23573 sed 's
/^
/| /' conftest.$ac_ext >&5
23575 wx_cv_func_va_copy=no
23579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23580 conftest$ac_exeext conftest.$ac_ext
23582 ac_cpp='$CPP $CPPFLAGS'
23583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23584 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23590 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23591 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23593 if test $wx_cv_func_va_copy = "yes"; then
23594 cat >>confdefs.h <<\_ACEOF
23595 #define HAVE_VA_COPY 1
23599 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23600 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23601 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23602 echo $ECHO_N "(cached) $ECHO_C" >&6
23605 if test "$cross_compiling" = yes; then
23606 wx_cv_type_va_list_lvalue=yes
23609 cat >conftest.$ac_ext <<_ACEOF
23611 #include <stdarg.h>
23612 int foo(char *f, ...)
23617 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23625 return foo("hi", 17);
23628 rm -f conftest$ac_exeext
23629 if { (ac_try="$ac_link"
23630 case "(($ac_try" in
23631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23632 *) ac_try_echo=$ac_try;;
23634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23635 (eval "$ac_link") 2>&5
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23639 { (case "(($ac_try" in
23640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23641 *) ac_try_echo=$ac_try;;
23643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23644 (eval "$ac_try") 2>&5
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); }; }; then
23648 wx_cv_type_va_list_lvalue=yes
23650 echo "$as_me: program exited with status $ac_status" >&5
23651 echo "$as_me: failed program was:" >&5
23652 sed 's
/^
/| /' conftest.$ac_ext >&5
23654 ( exit $ac_status )
23655 wx_cv_type_va_list_lvalue=no
23657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23664 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23665 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23667 if test $wx_cv_type_va_list_lvalue != "yes"; then
23668 cat >>confdefs.h <<\_ACEOF
23669 #define VA_LIST_IS_ARRAY 1
23675 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23677 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23678 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23679 if test "${wx_cv_have_variadic_macros+set}" = set; then
23680 echo $ECHO_N "(cached) $ECHO_C" >&6
23684 ac_cpp='$CXXCPP $CPPFLAGS'
23685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23686 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23689 cat >conftest.$ac_ext <<_ACEOF
23692 cat confdefs.h >>conftest.$ac_ext
23693 cat >>conftest.$ac_ext <<_ACEOF
23694 /* end confdefs.h. */
23697 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23703 test("%s %d %p", "test", 1, 0);
23710 rm -f conftest.$ac_objext
23711 if { (ac_try="$ac_compile"
23712 case "(($ac_try" in
23713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23714 *) ac_try_echo=$ac_try;;
23716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23717 (eval "$ac_compile") 2>conftest.er1
23719 grep -v '^
*+' conftest.er1 >conftest.err
23721 cat conftest.err >&5
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } && {
23724 test -z "$ac_cxx_werror_flag" ||
23725 test ! -s conftest.err
23726 } && test -s conftest.$ac_objext; then
23727 wx_cv_have_variadic_macros=yes
23729 echo "$as_me: failed program was:" >&5
23730 sed 's
/^
/| /' conftest.$ac_ext >&5
23732 wx_cv_have_variadic_macros=no
23736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23738 ac_cpp='$CPP $CPPFLAGS'
23739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23740 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23746 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23747 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23749 if test $wx_cv_have_variadic_macros = "yes"; then
23750 cat >>confdefs.h <<\_ACEOF
23751 #define HAVE_VARIADIC_MACROS 1
23758 LARGEFILE_CPPFLAGS=
23759 # Check whether --enable-largefile was given.
23760 if test "${enable_largefile+set}" = set; then
23761 enableval=$enable_largefile;
23764 if test "$enable_largefile" != no; then
23767 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23768 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23769 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23770 echo $ECHO_N "(cached) $ECHO_C" >&6
23773 cat >conftest.$ac_ext <<_ACEOF
23776 cat confdefs.h >>conftest.$ac_ext
23777 cat >>conftest.$ac_ext <<_ACEOF
23778 /* end confdefs.h. */
23779 #define _FILE_OFFSET_BITS 64
23780 #include <sys/types.h>
23785 unsigned int field: sizeof(off_t) == 8;
23792 rm -f conftest.$ac_objext
23793 if { (ac_try="$ac_compile"
23794 case "(($ac_try" in
23795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23796 *) ac_try_echo=$ac_try;;
23798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23799 (eval "$ac_compile") 2>conftest.er1
23801 grep -v '^
*+' conftest.er1 >conftest.err
23803 cat conftest.err >&5
23804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 (exit $ac_status); } && {
23806 test -z "$ac_c_werror_flag" ||
23807 test ! -s conftest.err
23808 } && test -s conftest.$ac_objext; then
23809 ac_cv_sys_file_offset_bits=64
23811 echo "$as_me: failed program was:" >&5
23812 sed 's
/^
/| /' conftest.$ac_ext >&5
23814 ac_cv_sys_file_offset_bits=no
23817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23821 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23822 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23824 if test "$ac_cv_sys_file_offset_bits" != no; then
23826 cat >>confdefs.h <<_ACEOF
23827 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23832 if test "x$wx_largefile" != "xyes"; then
23834 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23835 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23836 if test "${ac_cv_sys_large_files+set}" = set; then
23837 echo $ECHO_N "(cached) $ECHO_C" >&6
23840 cat >conftest.$ac_ext <<_ACEOF
23843 cat confdefs.h >>conftest.$ac_ext
23844 cat >>conftest.$ac_ext <<_ACEOF
23845 /* end confdefs.h. */
23846 #define _LARGE_FILES 1
23847 #include <sys/types.h>
23852 unsigned int field: sizeof(off_t) == 8;
23859 rm -f conftest.$ac_objext
23860 if { (ac_try="$ac_compile"
23861 case "(($ac_try" in
23862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23863 *) ac_try_echo=$ac_try;;
23865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23866 (eval "$ac_compile") 2>conftest.er1
23868 grep -v '^
*+' conftest.er1 >conftest.err
23870 cat conftest.err >&5
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); } && {
23873 test -z "$ac_c_werror_flag" ||
23874 test ! -s conftest.err
23875 } && test -s conftest.$ac_objext; then
23876 ac_cv_sys_large_files=1
23878 echo "$as_me: failed program was:" >&5
23879 sed 's
/^
/| /' conftest.$ac_ext >&5
23881 ac_cv_sys_large_files=no
23884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23888 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23889 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23891 if test "$ac_cv_sys_large_files" != no; then
23893 cat >>confdefs.h <<_ACEOF
23894 #define _LARGE_FILES $ac_cv_sys_large_files
23901 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23902 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23903 if test "x$wx_largefile" = "xyes"; then
23904 cat >>confdefs.h <<\_ACEOF
23905 #define HAVE_LARGEFILE_SUPPORT 1
23909 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23910 echo "${ECHO_T}$wx_largefile" >&6; }
23913 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23914 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23915 elif test "$ac_cv_sys_large_files" = 1; then
23916 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23919 if test -n "$LARGEFILE_CPPFLAGS"; then
23920 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23922 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23923 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23924 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23925 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23926 echo $ECHO_N "(cached) $ECHO_C" >&6
23930 ac_cpp='$CXXCPP $CPPFLAGS'
23931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23932 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23935 cat >conftest.$ac_ext <<_ACEOF
23938 cat confdefs.h >>conftest.$ac_ext
23939 cat >>conftest.$ac_ext <<_ACEOF
23940 /* end confdefs.h. */
23946 #ifndef __STDC_EXT__
23954 rm -f conftest.$ac_objext
23955 if { (ac_try="$ac_compile"
23956 case "(($ac_try" in
23957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23958 *) ac_try_echo=$ac_try;;
23960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23961 (eval "$ac_compile") 2>conftest.er1
23963 grep -v '^
*+' conftest.er1 >conftest.err
23965 cat conftest.err >&5
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); } && {
23968 test -z "$ac_cxx_werror_flag" ||
23969 test ! -s conftest.err
23970 } && test -s conftest.$ac_objext; then
23971 wx_cv_STDC_EXT_required=no
23973 echo "$as_me: failed program was:" >&5
23974 sed 's
/^
/| /' conftest.$ac_ext >&5
23976 wx_cv_STDC_EXT_required=yes
23980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23982 ac_cpp='$CPP $CPPFLAGS'
23983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23984 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23990 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23991 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23992 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23993 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23999 ac_cpp='$CXXCPP $CPPFLAGS'
24000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24001 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24004 old_CPPFLAGS="$CPPFLAGS"
24005 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24006 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24007 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24008 if test "${ac_cv_sys_largefile_source+set}" = set; then
24009 echo $ECHO_N "(cached) $ECHO_C" >&6
24012 cat >conftest.$ac_ext <<_ACEOF
24015 cat confdefs.h >>conftest.$ac_ext
24016 cat >>conftest.$ac_ext <<_ACEOF
24017 /* end confdefs.h. */
24018 #include <sys/types.h> /* for off_t */
24023 int (*fp) (FILE *, off_t, int) = fseeko;
24024 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24029 rm -f conftest.$ac_objext conftest$ac_exeext
24030 if { (ac_try="$ac_link"
24031 case "(($ac_try" in
24032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24033 *) ac_try_echo=$ac_try;;
24035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24036 (eval "$ac_link") 2>conftest.er1
24038 grep -v '^
*+' conftest.er1 >conftest.err
24040 cat conftest.err >&5
24041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24042 (exit $ac_status); } && {
24043 test -z "$ac_cxx_werror_flag" ||
24044 test ! -s conftest.err
24045 } && test -s conftest$ac_exeext &&
24046 $as_test_x conftest$ac_exeext; then
24047 ac_cv_sys_largefile_source=no; break
24049 echo "$as_me: failed program was:" >&5
24050 sed 's
/^
/| /' conftest.$ac_ext >&5
24055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24056 conftest$ac_exeext conftest.$ac_ext
24057 cat >conftest.$ac_ext <<_ACEOF
24060 cat confdefs.h >>conftest.$ac_ext
24061 cat >>conftest.$ac_ext <<_ACEOF
24062 /* end confdefs.h. */
24063 #define _LARGEFILE_SOURCE 1
24064 #include <sys/types.h> /* for off_t */
24069 int (*fp) (FILE *, off_t, int) = fseeko;
24070 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24075 rm -f conftest.$ac_objext conftest$ac_exeext
24076 if { (ac_try="$ac_link"
24077 case "(($ac_try" in
24078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24079 *) ac_try_echo=$ac_try;;
24081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24082 (eval "$ac_link") 2>conftest.er1
24084 grep -v '^
*+' conftest.er1 >conftest.err
24086 cat conftest.err >&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); } && {
24089 test -z "$ac_cxx_werror_flag" ||
24090 test ! -s conftest.err
24091 } && test -s conftest$ac_exeext &&
24092 $as_test_x conftest$ac_exeext; then
24093 ac_cv_sys_largefile_source=1; break
24095 echo "$as_me: failed program was:" >&5
24096 sed 's
/^
/| /' conftest.$ac_ext >&5
24101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24102 conftest$ac_exeext conftest.$ac_ext
24103 ac_cv_sys_largefile_source=unknown
24107 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24108 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24109 case $ac_cv_sys_largefile_source in #(
24112 cat >>confdefs.h <<_ACEOF
24113 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24119 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24120 # in glibc 2.1.3, but that breaks too many other things.
24121 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24122 if test $ac_cv_sys_largefile_source != unknown; then
24124 cat >>confdefs.h <<\_ACEOF
24125 #define HAVE_FSEEKO 1
24130 CPPFLAGS="$old_CPPFLAGS"
24132 ac_cpp='$CPP $CPPFLAGS'
24133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24134 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24137 if test "$ac_cv_sys_largefile_source" != no; then
24138 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24141 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24142 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24143 if test "${ac_cv_c_bigendian+set}" = set; then
24144 echo $ECHO_N "(cached) $ECHO_C" >&6
24146 ac_cv_c_bigendian=unknown
24147 # See if sys/param.h defines the BYTE_ORDER macro.
24148 cat >conftest.$ac_ext <<_ACEOF
24151 cat confdefs.h >>conftest.$ac_ext
24152 cat >>conftest.$ac_ext <<_ACEOF
24153 /* end confdefs.h. */
24154 #include <sys/types.h>
24155 #include <sys/param.h>
24160 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24161 bogus endian macros
24167 rm -f conftest.$ac_objext
24168 if { (ac_try="$ac_compile"
24169 case "(($ac_try" in
24170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24171 *) ac_try_echo=$ac_try;;
24173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24174 (eval "$ac_compile") 2>conftest.er1
24176 grep -v '^
*+' conftest.er1 >conftest.err
24178 cat conftest.err >&5
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); } && {
24181 test -z "$ac_c_werror_flag" ||
24182 test ! -s conftest.err
24183 } && test -s conftest.$ac_objext; then
24184 # It does; now see whether it defined to BIG_ENDIAN or not.
24185 cat >conftest.$ac_ext <<_ACEOF
24188 cat confdefs.h >>conftest.$ac_ext
24189 cat >>conftest.$ac_ext <<_ACEOF
24190 /* end confdefs.h. */
24191 #include <sys/types.h>
24192 #include <sys/param.h>
24197 #if BYTE_ORDER != BIG_ENDIAN
24204 rm -f conftest.$ac_objext
24205 if { (ac_try="$ac_compile"
24206 case "(($ac_try" in
24207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24208 *) ac_try_echo=$ac_try;;
24210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24211 (eval "$ac_compile") 2>conftest.er1
24213 grep -v '^
*+' conftest.er1 >conftest.err
24215 cat conftest.err >&5
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); } && {
24218 test -z "$ac_c_werror_flag" ||
24219 test ! -s conftest.err
24220 } && test -s conftest.$ac_objext; then
24221 ac_cv_c_bigendian=yes
24223 echo "$as_me: failed program was:" >&5
24224 sed 's
/^
/| /' conftest.$ac_ext >&5
24226 ac_cv_c_bigendian=no
24229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24231 echo "$as_me: failed program was:" >&5
24232 sed 's
/^
/| /' conftest.$ac_ext >&5
24237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24238 if test $ac_cv_c_bigendian = unknown; then
24239 if test "$cross_compiling" = yes; then
24240 ac_cv_c_bigendian=unknown
24242 cat >conftest.$ac_ext <<_ACEOF
24245 cat confdefs.h >>conftest.$ac_ext
24246 cat >>conftest.$ac_ext <<_ACEOF
24247 /* end confdefs.h. */
24249 /* Are we little or big endian? From Harbison&Steele. */
24253 char c[sizeof (long)];
24256 exit (u.c[sizeof (long) - 1] == 1);
24259 rm -f conftest$ac_exeext
24260 if { (ac_try="$ac_link"
24261 case "(($ac_try" in
24262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24263 *) ac_try_echo=$ac_try;;
24265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24266 (eval "$ac_link") 2>&5
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24270 { (case "(($ac_try" in
24271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24272 *) ac_try_echo=$ac_try;;
24274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24275 (eval "$ac_try") 2>&5
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); }; }; then
24279 ac_cv_c_bigendian=no
24281 echo "$as_me: program exited with status $ac_status" >&5
24282 echo "$as_me: failed program was:" >&5
24283 sed 's
/^
/| /' conftest.$ac_ext >&5
24285 ( exit $ac_status )
24286 ac_cv_c_bigendian=yes
24288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24294 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24295 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24296 if test $ac_cv_c_bigendian = unknown; then
24297 { 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
24298 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;}
24300 if test $ac_cv_c_bigendian = yes; then
24301 cat >>confdefs.h <<\_ACEOF
24302 #define WORDS_BIGENDIAN 1
24311 ac_cpp='$CXXCPP $CPPFLAGS'
24312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24313 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24318 for ac_header in iostream
24320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24323 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24324 echo $ECHO_N "(cached) $ECHO_C" >&6
24326 cat >conftest.$ac_ext <<_ACEOF
24329 cat confdefs.h >>conftest.$ac_ext
24330 cat >>conftest.$ac_ext <<_ACEOF
24331 /* end confdefs.h. */
24334 #include <$ac_header>
24336 rm -f conftest.$ac_objext
24337 if { (ac_try="$ac_compile"
24338 case "(($ac_try" in
24339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24340 *) ac_try_echo=$ac_try;;
24342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24343 (eval "$ac_compile") 2>conftest.er1
24345 grep -v '^
*+' conftest.er1 >conftest.err
24347 cat conftest.err >&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } && {
24350 test -z "$ac_cxx_werror_flag" ||
24351 test ! -s conftest.err
24352 } && test -s conftest.$ac_objext; then
24353 eval "$as_ac_Header=yes"
24355 echo "$as_me: failed program was:" >&5
24356 sed 's
/^
/| /' conftest.$ac_ext >&5
24358 eval "$as_ac_Header=no"
24361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24363 ac_res=`eval echo '${'$as_ac_Header'}'`
24364 { echo "$as_me:$LINENO: result: $ac_res" >&5
24365 echo "${ECHO_T}$ac_res" >&6; }
24366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24367 cat >>confdefs.h <<_ACEOF
24368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24376 if test "$ac_cv_header_iostream" = "yes" ; then
24379 cat >>confdefs.h <<\_ACEOF
24380 #define wxUSE_IOSTREAMH 1
24386 ac_cpp='$CPP $CPPFLAGS'
24387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24388 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24394 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24395 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24396 if test "${wx_cv_explicit+set}" = set; then
24397 echo $ECHO_N "(cached) $ECHO_C" >&6
24402 ac_cpp='$CXXCPP $CPPFLAGS'
24403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24404 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24408 cat >conftest.$ac_ext <<_ACEOF
24411 cat confdefs.h >>conftest.$ac_ext
24412 cat >>conftest.$ac_ext <<_ACEOF
24413 /* end confdefs.h. */
24415 class Foo { public: explicit Foo(int) {} };
24427 rm -f conftest.$ac_objext
24428 if { (ac_try="$ac_compile"
24429 case "(($ac_try" in
24430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24431 *) ac_try_echo=$ac_try;;
24433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24434 (eval "$ac_compile") 2>conftest.er1
24436 grep -v '^
*+' conftest.er1 >conftest.err
24438 cat conftest.err >&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); } && {
24441 test -z "$ac_cxx_werror_flag" ||
24442 test ! -s conftest.err
24443 } && test -s conftest.$ac_objext; then
24445 cat >conftest.$ac_ext <<_ACEOF
24448 cat confdefs.h >>conftest.$ac_ext
24449 cat >>conftest.$ac_ext <<_ACEOF
24450 /* end confdefs.h. */
24452 class Foo { public: explicit Foo(int) {} };
24453 static void TakeFoo(const Foo& foo) { }
24466 rm -f conftest.$ac_objext
24467 if { (ac_try="$ac_compile"
24468 case "(($ac_try" in
24469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24470 *) ac_try_echo=$ac_try;;
24472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24473 (eval "$ac_compile") 2>conftest.er1
24475 grep -v '^
*+' conftest.er1 >conftest.err
24477 cat conftest.err >&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } && {
24480 test -z "$ac_cxx_werror_flag" ||
24481 test ! -s conftest.err
24482 } && test -s conftest.$ac_objext; then
24485 echo "$as_me: failed program was:" >&5
24486 sed 's
/^
/| /' conftest.$ac_ext >&5
24492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24495 echo "$as_me: failed program was:" >&5
24496 sed 's
/^
/| /' conftest.$ac_ext >&5
24502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24505 ac_cpp='$CPP $CPPFLAGS'
24506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24507 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24512 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24513 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24515 if test "$wx_cv_explicit" = "yes"; then
24516 cat >>confdefs.h <<\_ACEOF
24517 #define HAVE_EXPLICIT 1
24523 if test "x$SUNCXX" = xyes; then
24524 CXXFLAGS="-features=tmplife $CXXFLAGS"
24527 if test "x$SUNCC" = xyes; then
24528 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24531 if test "x$SGICC" = "xyes"; then
24532 CFLAGS="-woff 3970 $CFLAGS"
24534 if test "x$SGICXX" = "xyes"; then
24535 CXXFLAGS="-woff 3970 $CXXFLAGS"
24538 if test "x$HPCC" = "xyes"; then
24539 CFLAGS="+W 2011,2450 $CFLAGS"
24541 if test "x$HPCXX" = "xyes"; then
24542 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24545 if test "x$COMPAQCXX" = "xyes"; then
24546 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24550 ac_cpp='$CXXCPP $CPPFLAGS'
24551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24552 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24556 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24557 if test "$wxUSE_UNICODE" = "yes"; then
24558 std_string="std::wstring"
24559 char_type="wchar_t"
24561 std_string="std::string"
24565 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24566 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24567 if test "${wx_cv_class_stdstring+set}" = set; then
24568 echo $ECHO_N "(cached) $ECHO_C" >&6
24571 cat >conftest.$ac_ext <<_ACEOF
24574 cat confdefs.h >>conftest.$ac_ext
24575 cat >>conftest.$ac_ext <<_ACEOF
24576 /* end confdefs.h. */
24586 rm -f conftest.$ac_objext
24587 if { (ac_try="$ac_compile"
24588 case "(($ac_try" in
24589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24590 *) ac_try_echo=$ac_try;;
24592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24593 (eval "$ac_compile") 2>conftest.er1
24595 grep -v '^
*+' conftest.er1 >conftest.err
24597 cat conftest.err >&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } && {
24600 test -z "$ac_cxx_werror_flag" ||
24601 test ! -s conftest.err
24602 } && test -s conftest.$ac_objext; then
24603 wx_cv_class_stdstring=yes
24605 echo "$as_me: failed program was:" >&5
24606 sed 's
/^
/| /' conftest.$ac_ext >&5
24608 wx_cv_class_stdstring=no
24612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24616 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24617 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24619 if test "$wx_cv_class_stdstring" = yes; then
24620 if test "$wxUSE_UNICODE" = "yes"; then
24621 cat >>confdefs.h <<\_ACEOF
24622 #define HAVE_STD_WSTRING 1
24627 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24628 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24629 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24630 echo $ECHO_N "(cached) $ECHO_C" >&6
24633 cat >conftest.$ac_ext <<_ACEOF
24636 cat confdefs.h >>conftest.$ac_ext
24637 cat >>conftest.$ac_ext <<_ACEOF
24638 /* end confdefs.h. */
24640 #ifdef HAVE_WCHAR_H
24642 # include <stddef.h>
24644 # include <wchar.h>
24646 #ifdef HAVE_STDLIB_H
24647 # include <stdlib.h>
24655 std::basic_string<$char_type> foo;
24656 const $char_type* dummy = foo.c_str();
24661 rm -f conftest.$ac_objext
24662 if { (ac_try="$ac_compile"
24663 case "(($ac_try" in
24664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24665 *) ac_try_echo=$ac_try;;
24667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24668 (eval "$ac_compile") 2>conftest.er1
24670 grep -v '^
*+' conftest.er1 >conftest.err
24672 cat conftest.err >&5
24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674 (exit $ac_status); } && {
24675 test -z "$ac_cxx_werror_flag" ||
24676 test ! -s conftest.err
24677 } && test -s conftest.$ac_objext; then
24678 wx_cv_class_stdbasicstring=yes
24680 echo "$as_me: failed program was:" >&5
24681 sed 's
/^
/| /' conftest.$ac_ext >&5
24683 wx_cv_class_stdbasicstring=no
24687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24691 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24692 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24694 if test "$wx_cv_class_stdbasicstring" != yes; then
24695 if test "$wxUSE_STL" = "yes"; then
24696 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24697 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24698 { (exit 1); exit 1; }; }
24699 elif test "$wxUSE_STD_STRING" = "yes"; then
24700 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24701 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24702 { (exit 1); exit 1; }; }
24704 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24705 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24706 wxUSE_STD_STRING=no
24712 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24713 { echo "$as_me:$LINENO: checking for std::istream" >&5
24714 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24715 if test "${ac_cv_type_std__istream+set}" = set; then
24716 echo $ECHO_N "(cached) $ECHO_C" >&6
24718 cat >conftest.$ac_ext <<_ACEOF
24721 cat confdefs.h >>conftest.$ac_ext
24722 cat >>conftest.$ac_ext <<_ACEOF
24723 /* end confdefs.h. */
24724 #include <iostream>
24726 typedef std::istream ac__type_new_;
24730 if ((ac__type_new_ *) 0)
24732 if (sizeof (ac__type_new_))
24738 rm -f conftest.$ac_objext
24739 if { (ac_try="$ac_compile"
24740 case "(($ac_try" in
24741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24742 *) ac_try_echo=$ac_try;;
24744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24745 (eval "$ac_compile") 2>conftest.er1
24747 grep -v '^
*+' conftest.er1 >conftest.err
24749 cat conftest.err >&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); } && {
24752 test -z "$ac_cxx_werror_flag" ||
24753 test ! -s conftest.err
24754 } && test -s conftest.$ac_objext; then
24755 ac_cv_type_std__istream=yes
24757 echo "$as_me: failed program was:" >&5
24758 sed 's
/^
/| /' conftest.$ac_ext >&5
24760 ac_cv_type_std__istream=no
24763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24766 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24767 if test $ac_cv_type_std__istream = yes; then
24769 cat >>confdefs.h <<_ACEOF
24770 #define HAVE_STD__ISTREAM 1
24775 wxUSE_STD_IOSTREAM=no
24777 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24778 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24779 if test "${ac_cv_type_std__ostream+set}" = set; then
24780 echo $ECHO_N "(cached) $ECHO_C" >&6
24782 cat >conftest.$ac_ext <<_ACEOF
24785 cat confdefs.h >>conftest.$ac_ext
24786 cat >>conftest.$ac_ext <<_ACEOF
24787 /* end confdefs.h. */
24788 #include <iostream>
24790 typedef std::ostream ac__type_new_;
24794 if ((ac__type_new_ *) 0)
24796 if (sizeof (ac__type_new_))
24802 rm -f conftest.$ac_objext
24803 if { (ac_try="$ac_compile"
24804 case "(($ac_try" in
24805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24806 *) ac_try_echo=$ac_try;;
24808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24809 (eval "$ac_compile") 2>conftest.er1
24811 grep -v '^
*+' conftest.er1 >conftest.err
24813 cat conftest.err >&5
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); } && {
24816 test -z "$ac_cxx_werror_flag" ||
24817 test ! -s conftest.err
24818 } && test -s conftest.$ac_objext; then
24819 ac_cv_type_std__ostream=yes
24821 echo "$as_me: failed program was:" >&5
24822 sed 's
/^
/| /' conftest.$ac_ext >&5
24824 ac_cv_type_std__ostream=no
24827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24829 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24830 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24831 if test $ac_cv_type_std__ostream = yes; then
24833 cat >>confdefs.h <<_ACEOF
24834 #define HAVE_STD__OSTREAM 1
24839 wxUSE_STD_IOSTREAM=no
24843 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24844 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24845 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24846 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24847 { (exit 1); exit 1; }; }
24849 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24850 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24855 if test "$wxUSE_STL" = "yes"; then
24856 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24857 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24858 if test "${wx_cv_lib_stl+set}" = set; then
24859 echo $ECHO_N "(cached) $ECHO_C" >&6
24861 cat >conftest.$ac_ext <<_ACEOF
24864 cat confdefs.h >>conftest.$ac_ext
24865 cat >>conftest.$ac_ext <<_ACEOF
24866 /* end confdefs.h. */
24868 #include <functional>
24869 #include <algorithm>
24875 std::vector<int> moo;
24876 std::list<int> foo;
24877 std::vector<int>::iterator it =
24878 std::find_if(moo.begin(), moo.end(),
24879 std::bind2nd(std::less<int>(), 3));
24884 rm -f conftest.$ac_objext
24885 if { (ac_try="$ac_compile"
24886 case "(($ac_try" in
24887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24888 *) ac_try_echo=$ac_try;;
24890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24891 (eval "$ac_compile") 2>conftest.er1
24893 grep -v '^
*+' conftest.er1 >conftest.err
24895 cat conftest.err >&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); } && {
24898 test -z "$ac_cxx_werror_flag" ||
24899 test ! -s conftest.err
24900 } && test -s conftest.$ac_objext; then
24903 echo "$as_me: failed program was:" >&5
24904 sed 's
/^
/| /' conftest.$ac_ext >&5
24910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24913 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24914 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24916 if test "$wx_cv_lib_stl" != yes; then
24917 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24918 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24919 { (exit 1); exit 1; }; }
24922 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24923 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24924 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24925 echo $ECHO_N "(cached) $ECHO_C" >&6
24927 cat >conftest.$ac_ext <<_ACEOF
24930 cat confdefs.h >>conftest.$ac_ext
24931 cat >>conftest.$ac_ext <<_ACEOF
24932 /* end confdefs.h. */
24937 std::string foo, bar;
24939 foo.compare(1, 1, bar);
24940 foo.compare(1, 1, bar, 1, 1);
24942 foo.compare(1, 1, "");
24943 foo.compare(1, 1, "", 2);
24948 rm -f conftest.$ac_objext
24949 if { (ac_try="$ac_compile"
24950 case "(($ac_try" in
24951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24952 *) ac_try_echo=$ac_try;;
24954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24955 (eval "$ac_compile") 2>conftest.er1
24957 grep -v '^
*+' conftest.er1 >conftest.err
24959 cat conftest.err >&5
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); } && {
24962 test -z "$ac_cxx_werror_flag" ||
24963 test ! -s conftest.err
24964 } && test -s conftest.$ac_objext; then
24965 wx_cv_func_stdstring_compare=yes
24967 echo "$as_me: failed program was:" >&5
24968 sed 's
/^
/| /' conftest.$ac_ext >&5
24970 wx_cv_func_stdstring_compare=no
24974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24977 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24978 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24980 if test "$wx_cv_func_stdstring_compare" = yes; then
24981 cat >>confdefs.h <<\_ACEOF
24982 #define HAVE_STD_STRING_COMPARE 1
24987 if test "$wx_cv_class_gnuhashmapset" = yes; then
24988 cat >>confdefs.h <<\_ACEOF
24989 #define HAVE_EXT_HASH_MAP 1
24992 cat >>confdefs.h <<\_ACEOF
24993 #define HAVE_GNU_CXX_HASH_MAP 1
24998 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24999 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25000 if test "${ac_cv_header_unordered_map+set}" = set; then
25001 echo $ECHO_N "(cached) $ECHO_C" >&6
25003 cat >conftest.$ac_ext <<_ACEOF
25006 cat confdefs.h >>conftest.$ac_ext
25007 cat >>conftest.$ac_ext <<_ACEOF
25008 /* end confdefs.h. */
25012 #include <unordered_map>
25014 rm -f conftest.$ac_objext
25015 if { (ac_try="$ac_compile"
25016 case "(($ac_try" in
25017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25018 *) ac_try_echo=$ac_try;;
25020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25021 (eval "$ac_compile") 2>conftest.er1
25023 grep -v '^
*+' conftest.er1 >conftest.err
25025 cat conftest.err >&5
25026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25027 (exit $ac_status); } && {
25028 test -z "$ac_cxx_werror_flag" ||
25029 test ! -s conftest.err
25030 } && test -s conftest.$ac_objext; then
25031 ac_cv_header_unordered_map=yes
25033 echo "$as_me: failed program was:" >&5
25034 sed 's
/^
/| /' conftest.$ac_ext >&5
25036 ac_cv_header_unordered_map=no
25039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25041 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25042 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25043 if test $ac_cv_header_unordered_map = yes; then
25044 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25045 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25046 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25047 echo $ECHO_N "(cached) $ECHO_C" >&6
25049 cat >conftest.$ac_ext <<_ACEOF
25052 cat confdefs.h >>conftest.$ac_ext
25053 cat >>conftest.$ac_ext <<_ACEOF
25054 /* end confdefs.h. */
25055 #include <unordered_map>
25056 #include <unordered_set>
25060 std::unordered_map<double*, char*> test1;
25061 std::unordered_set<char*> test2;
25066 rm -f conftest.$ac_objext
25067 if { (ac_try="$ac_compile"
25068 case "(($ac_try" in
25069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25070 *) ac_try_echo=$ac_try;;
25072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25073 (eval "$ac_compile") 2>conftest.er1
25075 grep -v '^
*+' conftest.er1 >conftest.err
25077 cat conftest.err >&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); } && {
25080 test -z "$ac_cxx_werror_flag" ||
25081 test ! -s conftest.err
25082 } && test -s conftest.$ac_objext; then
25083 wx_cv_class_stdunorderedmapset=yes
25085 echo "$as_me: failed program was:" >&5
25086 sed 's
/^
/| /' conftest.$ac_ext >&5
25088 wx_cv_class_stdunorderedmapset=no
25091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25095 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25096 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25101 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25102 cat >>confdefs.h <<\_ACEOF
25103 #define HAVE_STD_UNORDERED_MAP 1
25106 cat >>confdefs.h <<\_ACEOF
25107 #define HAVE_STD_UNORDERED_SET 1
25111 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25112 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25113 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25114 echo $ECHO_N "(cached) $ECHO_C" >&6
25116 cat >conftest.$ac_ext <<_ACEOF
25119 cat confdefs.h >>conftest.$ac_ext
25120 cat >>conftest.$ac_ext <<_ACEOF
25121 /* end confdefs.h. */
25125 #include <tr1/unordered_map>
25127 rm -f conftest.$ac_objext
25128 if { (ac_try="$ac_compile"
25129 case "(($ac_try" in
25130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25131 *) ac_try_echo=$ac_try;;
25133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25134 (eval "$ac_compile") 2>conftest.er1
25136 grep -v '^
*+' conftest.er1 >conftest.err
25138 cat conftest.err >&5
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); } && {
25141 test -z "$ac_cxx_werror_flag" ||
25142 test ! -s conftest.err
25143 } && test -s conftest.$ac_objext; then
25144 ac_cv_header_tr1_unordered_map=yes
25146 echo "$as_me: failed program was:" >&5
25147 sed 's
/^
/| /' conftest.$ac_ext >&5
25149 ac_cv_header_tr1_unordered_map=no
25152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25154 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25155 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25156 if test $ac_cv_header_tr1_unordered_map = yes; then
25157 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25158 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25159 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25160 echo $ECHO_N "(cached) $ECHO_C" >&6
25162 cat >conftest.$ac_ext <<_ACEOF
25165 cat confdefs.h >>conftest.$ac_ext
25166 cat >>conftest.$ac_ext <<_ACEOF
25167 /* end confdefs.h. */
25168 #include <tr1/unordered_map>
25169 #include <tr1/unordered_set>
25173 std::tr1::unordered_map<double*, char*> test1;
25174 std::tr1::unordered_set<char*> test2;
25175 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25176 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25182 rm -f conftest.
$ac_objext
25183 if { (ac_try
="$ac_compile"
25184 case "(($ac_try" in
25185 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25186 *) ac_try_echo=$ac_try;;
25188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25189 (eval "$ac_compile") 2>conftest.er1
25191 grep -v '^ *+' conftest.er1 >conftest.err
25193 cat conftest.err >&5
25194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); } && {
25196 test -z "$ac_cxx_werror_flag" ||
25197 test ! -s conftest.err
25198 } && test -s conftest.$ac_objext; then
25199 wx_cv_class_tr1unorderedmapset=yes
25201 echo "$as_me: failed program was:" >&5
25202 sed 's/^/| /' conftest.$ac_ext >&5
25204 wx_cv_class_tr1unorderedmapset=no
25207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25211 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25212 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25217 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25218 cat >>confdefs.h <<\_ACEOF
25219 #define HAVE_TR1_UNORDERED_MAP 1
25222 cat >>confdefs.h <<\_ACEOF
25223 #define HAVE_TR1_UNORDERED_SET 1
25227 { echo "$as_me:$LINENO: checking for hash_map" >&5
25228 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25229 if test "${ac_cv_header_hash_map+set}" = set; then
25230 echo $ECHO_N "(cached) $ECHO_C" >&6
25232 cat >conftest.$ac_ext <<_ACEOF
25235 cat confdefs.h >>conftest.$ac_ext
25236 cat >>conftest.$ac_ext <<_ACEOF
25237 /* end confdefs.h. */
25241 #include <hash_map>
25243 rm -f conftest.$ac_objext
25244 if { (ac_try="$ac_compile"
25245 case "(($ac_try" in
25246 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25247 *) ac_try_echo
=$ac_try;;
25249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25250 (eval "$ac_compile") 2>conftest.er1
25252 grep -v '^ *+' conftest.er1
>conftest.err
25254 cat conftest.err
>&5
25255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256 (exit $ac_status); } && {
25257 test -z "$ac_cxx_werror_flag" ||
25258 test ! -s conftest.err
25259 } && test -s conftest.
$ac_objext; then
25260 ac_cv_header_hash_map
=yes
25262 echo "$as_me: failed program was:" >&5
25263 sed 's/^/| /' conftest.
$ac_ext >&5
25265 ac_cv_header_hash_map
=no
25268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25270 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25271 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25272 if test $ac_cv_header_hash_map = yes; then
25273 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25274 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25275 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25276 echo $ECHO_N "(cached) $ECHO_C" >&6
25278 cat >conftest.
$ac_ext <<_ACEOF
25281 cat confdefs.h
>>conftest.
$ac_ext
25282 cat >>conftest.
$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25284 #include <hash_map>
25285 #include <hash_set>
25289 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25290 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25295 rm -f conftest.
$ac_objext
25296 if { (ac_try
="$ac_compile"
25297 case "(($ac_try" in
25298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25299 *) ac_try_echo=$ac_try;;
25301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25302 (eval "$ac_compile") 2>conftest.er1
25304 grep -v '^ *+' conftest.er1 >conftest.err
25306 cat conftest.err >&5
25307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308 (exit $ac_status); } && {
25309 test -z "$ac_cxx_werror_flag" ||
25310 test ! -s conftest.err
25311 } && test -s conftest.$ac_objext; then
25312 wx_cv_class_stdhashmapset=yes
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.$ac_ext >&5
25317 wx_cv_class_stdhashmapset=no
25320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25324 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25325 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25330 if test "$wx_cv_class_stdhashmapset" = yes; then
25331 cat >>confdefs.h <<\_ACEOF
25332 #define HAVE_HASH_MAP 1
25335 cat >>confdefs.h <<\_ACEOF
25336 #define HAVE_STD_HASH_MAP 1
25341 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25342 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25343 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25344 echo $ECHO_N "(cached) $ECHO_C" >&6
25346 cat >conftest.$ac_ext <<_ACEOF
25349 cat confdefs.h >>conftest.$ac_ext
25350 cat >>conftest.$ac_ext <<_ACEOF
25351 /* end confdefs.h. */
25355 #include <ext/hash_map>
25357 rm -f conftest.$ac_objext
25358 if { (ac_try="$ac_compile"
25359 case "(($ac_try" in
25360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25361 *) ac_try_echo
=$ac_try;;
25363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25364 (eval "$ac_compile") 2>conftest.er1
25366 grep -v '^ *+' conftest.er1
>conftest.err
25368 cat conftest.err
>&5
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } && {
25371 test -z "$ac_cxx_werror_flag" ||
25372 test ! -s conftest.err
25373 } && test -s conftest.
$ac_objext; then
25374 ac_cv_header_ext_hash_map
=yes
25376 echo "$as_me: failed program was:" >&5
25377 sed 's/^/| /' conftest.
$ac_ext >&5
25379 ac_cv_header_ext_hash_map
=no
25382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25384 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25385 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25386 if test $ac_cv_header_ext_hash_map = yes; then
25387 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25388 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25389 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25390 echo $ECHO_N "(cached) $ECHO_C" >&6
25392 cat >conftest.
$ac_ext <<_ACEOF
25395 cat confdefs.h
>>conftest.
$ac_ext
25396 cat >>conftest.
$ac_ext <<_ACEOF
25397 /* end confdefs.h. */
25398 #include <ext/hash_map>
25399 #include <ext/hash_set>
25403 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25404 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25409 rm -f conftest.
$ac_objext
25410 if { (ac_try
="$ac_compile"
25411 case "(($ac_try" in
25412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25413 *) ac_try_echo=$ac_try;;
25415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25416 (eval "$ac_compile") 2>conftest.er1
25418 grep -v '^ *+' conftest.er1 >conftest.err
25420 cat conftest.err >&5
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); } && {
25423 test -z "$ac_cxx_werror_flag" ||
25424 test ! -s conftest.err
25425 } && test -s conftest.$ac_objext; then
25426 wx_cv_class_gnuhashmapset=yes
25428 echo "$as_me: failed program was:" >&5
25429 sed 's/^/| /' conftest.$ac_ext >&5
25431 wx_cv_class_gnuhashmapset=no
25434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25438 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25439 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25450 if test -n "$GCC"; then
25451 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25452 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25453 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25454 echo $ECHO_N "(cached) $ECHO_C" >&6
25457 cat >conftest.$ac_ext <<_ACEOF
25460 cat confdefs.h >>conftest.$ac_ext
25461 cat >>conftest.$ac_ext <<_ACEOF
25462 /* end confdefs.h. */
25468 unsigned int value=0;
25469 /* wxAtomicInc doesn't use return value here */
25470 __sync_fetch_and_add(&value, 2);
25471 __sync_sub_and_fetch(&value, 1);
25472 /* but wxAtomicDec does, so mimic that: */
25473 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25479 rm -f conftest.$ac_objext conftest$ac_exeext
25480 if { (ac_try="$ac_link"
25481 case "(($ac_try" in
25482 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25483 *) ac_try_echo
=$ac_try;;
25485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25486 (eval "$ac_link") 2>conftest.er1
25488 grep -v '^ *+' conftest.er1
>conftest.err
25490 cat conftest.err
>&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); } && {
25493 test -z "$ac_cxx_werror_flag" ||
25494 test ! -s conftest.err
25495 } && test -s conftest
$ac_exeext &&
25496 $as_test_x conftest
$ac_exeext; then
25497 wx_cv_cc_gcc_atomic_builtins
=yes
25499 echo "$as_me: failed program was:" >&5
25500 sed 's/^/| /' conftest.
$ac_ext >&5
25502 wx_cv_cc_gcc_atomic_builtins
=no
25505 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25506 conftest
$ac_exeext conftest.
$ac_ext
25510 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25511 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25512 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25513 cat >>confdefs.h
<<\_ACEOF
25514 #define HAVE_GCC_ATOMIC_BUILTINS 1
25522 ac_cpp
='$CPP $CPPFLAGS'
25523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25530 /usr/local/include \
25531 /usr/local/X11/include \
25532 /usr/local/include/X11 \
25533 /usr/local/X11R7/include \
25534 /usr/local/X11R6/include \
25535 /usr/local/include/X11R7 \
25536 /usr/local/include/X11R6 \
25538 /usr/Motif-2.1/include \
25539 /usr/Motif-1.2/include \
25540 /usr/include/Motif1.2 \
25543 /usr/openwin/include \
25547 /usr/X11R7/include \
25548 /usr/X11R6/include \
25549 /usr/X11R6.4/include \
25551 /usr/include/X11R7 \
25552 /usr/include/X11R6 \
25557 /usr/XFree86/include/X11 \
25560 /usr/local/X1R5/include \
25561 /usr/local/include/X11R5 \
25562 /usr/X11R5/include \
25563 /usr/include/X11R5 \
25565 /usr/local/X11R4/include \
25566 /usr/local/include/X11R4 \
25567 /usr/X11R4/include \
25568 /usr/include/X11R4 \
25570 /usr/openwin/share/include"
25572 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25573 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25577 if test "${wx_cv_std_libpath+set}" = set; then
25578 echo $ECHO_N "(cached) $ECHO_C" >&6
25581 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25582 for e
in a so sl dylib dll.a
; do
25584 if test -f $libc; then
25587 cat >conftest.
$ac_ext <<_ACEOF
25588 int main() { return 0; }
25590 rm -f conftest.
$ac_objext conftest
$ac_exeext
25591 if { (ac_try
="$ac_link"
25592 case "(($ac_try" in
25593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25594 *) ac_try_echo=$ac_try;;
25596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25597 (eval "$ac_link") 2>conftest.er1
25599 grep -v '^ *+' conftest.er1 >conftest.err
25601 cat conftest.err >&5
25602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25603 (exit $ac_status); } && {
25604 test -z "$ac_c_werror_flag" ||
25605 test ! -s conftest.err
25606 } && test -s conftest$ac_exeext &&
25607 $as_test_x conftest$ac_exeext; then
25608 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25610 echo "$as_me: failed program was:" >&5
25611 sed 's/^/| /' conftest.$ac_ext >&5
25616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25617 conftest$ac_exeext conftest.$ac_ext
25619 if test "x$wx_cv_std_libpath" != "x"; then
25625 if test "x$wx_cv_std_libpath" = "x"; then
25626 wx_cv_std_libpath="lib"
25635 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25636 wx_cv_std_libpath="lib/64"
25638 wx_cv_std_libpath="lib"
25643 if test "$ac_cv_sizeof_void_p" = 8 -a \
25644 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25645 wx_cv_std_libpath="lib64"
25647 wx_cv_std_libpath="lib"
25652 wx_cv_std_libpath="lib";
25656 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25657 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25659 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25661 if test "$build" != "$host" -a "$GCC" = yes; then
25662 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25663 cross_root=`dirname $cross_root`
25664 cross_root=`dirname $cross_root`
25666 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25667 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25668 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25670 if test -z "$PKG_CONFIG_PATH"; then
25671 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25672 export PKG_CONFIG_PATH
25675 if test -z "$x_includes" -o "$x_includes" = NONE; then
25678 for ac_dir in $SEARCH_INCLUDE /usr/include;
25680 if test -f "$ac_dir/X11/Intrinsic.h"; then
25681 ac_find_includes=$ac_dir
25686 x_includes=$ac_find_includes
25688 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25691 for ac_dir in $SEARCH_LIB;
25693 for ac_extension in a so sl dylib dll.a; do
25694 if test -f "$ac_dir/libXt.$ac_extension"; then
25695 ac_find_libraries=$ac_dir
25701 x_libraries=$ac_find_libraries
25707 cat >confcache <<\_ACEOF
25708 # This file is a shell script that caches the results of configure
25709 # tests run on this system so they can be shared between configure
25710 # scripts and configure runs, see configure's option --config-cache.
25711 # It is not useful on other systems. If it contains results you don't
25712 # want to keep, you may remove or edit it.
25714 # config.status only pays attention to the cache file if you give it
25715 # the --recheck option to rerun configure.
25717 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25718 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25719 # following values.
25723 # The following way of writing the cache mishandles newlines in values,
25724 # but we know of no workaround that is simple, portable, and efficient.
25725 # So, we kill variables containing newlines.
25726 # Ultrix sh set writes to stderr and can't be redirected directly,
25727 # and sets the high bit in the cache file unless we assign to the vars.
25729 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25730 eval ac_val
=\$
$ac_var
25734 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25735 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25738 _
| IFS
| as_nl
) ;; #(
25739 *) $as_unset $ac_var ;;
25745 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25746 *${as_nl}ac_space
=\
*)
25747 # `set' does not quote correctly, so add quotes (double-quote
25748 # substitution turns \\\\ into \\, and sed turns \\ into \).
25751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25754 # `set' quotes correctly as required by POSIX, so do not add quotes.
25755 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25766 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25768 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25769 if test -w "$cache_file"; then
25770 test "x$cache_file" != "x/dev/null" &&
25771 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25772 echo "$as_me: updating cache $cache_file" >&6;}
25773 cat confcache
>$cache_file
25775 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25776 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25781 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25782 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25783 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25784 if test "${wx_cv_lib_glibc21+set}" = set; then
25785 echo $ECHO_N "(cached) $ECHO_C" >&6
25788 cat >conftest.
$ac_ext <<_ACEOF
25791 cat confdefs.h
>>conftest.
$ac_ext
25792 cat >>conftest.
$ac_ext <<_ACEOF
25793 /* end confdefs.h. */
25794 #include <features.h>
25799 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25807 rm -f conftest.
$ac_objext
25808 if { (ac_try
="$ac_compile"
25809 case "(($ac_try" in
25810 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25811 *) ac_try_echo=$ac_try;;
25813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25814 (eval "$ac_compile") 2>conftest.er1
25816 grep -v '^ *+' conftest.er1 >conftest.err
25818 cat conftest.err >&5
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); } && {
25821 test -z "$ac_c_werror_flag" ||
25822 test ! -s conftest.err
25823 } && test -s conftest.$ac_objext; then
25825 wx_cv_lib_glibc21=yes
25828 echo "$as_me: failed program was:" >&5
25829 sed 's/^/| /' conftest.$ac_ext >&5
25832 wx_cv_lib_glibc21=no
25837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25840 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25841 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25842 if test "$wx_cv_lib_glibc21" = "yes"; then
25843 cat >>confdefs.h <<\_ACEOF
25844 #define wxHAVE_GLIBC2 1
25850 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25851 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25852 cat >>confdefs.h <<\_ACEOF
25853 #define _GNU_SOURCE 1
25864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25865 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25867 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25868 echo $ECHO_N "(cached) $ECHO_C" >&6
25870 cat >conftest.$ac_ext <<_ACEOF
25873 cat confdefs.h >>conftest.$ac_ext
25874 cat >>conftest.$ac_ext <<_ACEOF
25875 /* end confdefs.h. */
25876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25878 #define $ac_func innocuous_$ac_func
25880 /* System header to define __stub macros and hopefully few prototypes,
25881 which can conflict with char $ac_func (); below.
25882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25883 <limits.h> exists even on freestanding compilers. */
25886 # include <limits.h>
25888 # include <assert.h>
25893 /* Override any GCC internal prototype to avoid an error.
25894 Use char because int might match the return type of a GCC
25895 builtin and then its argument prototype would still apply. */
25900 /* The GNU C library defines this for functions which it implements
25901 to always fail with ENOSYS. Some functions are actually named
25902 something starting with __ and the normal name is an alias. */
25903 #if defined __stub_$ac_func || defined __stub___$ac_func
25910 return $ac_func ();
25915 rm -f conftest.$ac_objext conftest$ac_exeext
25916 if { (ac_try="$ac_link"
25917 case "(($ac_try" in
25918 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25919 *) ac_try_echo
=$ac_try;;
25921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25922 (eval "$ac_link") 2>conftest.er1
25924 grep -v '^ *+' conftest.er1
>conftest.err
25926 cat conftest.err
>&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } && {
25929 test -z "$ac_c_werror_flag" ||
25930 test ! -s conftest.err
25931 } && test -s conftest
$ac_exeext &&
25932 $as_test_x conftest
$ac_exeext; then
25933 eval "$as_ac_var=yes"
25935 echo "$as_me: failed program was:" >&5
25936 sed 's/^/| /' conftest.
$ac_ext >&5
25938 eval "$as_ac_var=no"
25941 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25942 conftest
$ac_exeext conftest.
$ac_ext
25944 ac_res
=`eval echo '${'$as_ac_var'}'`
25945 { echo "$as_me:$LINENO: result: $ac_res" >&5
25946 echo "${ECHO_T}$ac_res" >&6; }
25947 if test `eval echo '${'$as_ac_var'}'` = yes; then
25948 cat >>confdefs.h
<<_ACEOF
25949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25956 for ac_func
in floor
25958 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25959 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25961 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25962 echo $ECHO_N "(cached) $ECHO_C" >&6
25964 cat >conftest.
$ac_ext <<_ACEOF
25967 cat confdefs.h
>>conftest.
$ac_ext
25968 cat >>conftest.
$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25972 #define $ac_func innocuous_$ac_func
25974 /* System header to define __stub macros and hopefully few prototypes,
25975 which can conflict with char $ac_func (); below.
25976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25977 <limits.h> exists even on freestanding compilers. */
25980 # include <limits.h>
25982 # include <assert.h>
25987 /* Override any GCC internal prototype to avoid an error.
25988 Use char because int might match the return type of a GCC
25989 builtin and then its argument prototype would still apply. */
25994 /* The GNU C library defines this for functions which it implements
25995 to always fail with ENOSYS. Some functions are actually named
25996 something starting with __ and the normal name is an alias. */
25997 #if defined __stub_$ac_func || defined __stub___$ac_func
26004 return $ac_func ();
26009 rm -f conftest.
$ac_objext conftest
$ac_exeext
26010 if { (ac_try
="$ac_link"
26011 case "(($ac_try" in
26012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26013 *) ac_try_echo=$ac_try;;
26015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26016 (eval "$ac_link") 2>conftest.er1
26018 grep -v '^ *+' conftest.er1 >conftest.err
26020 cat conftest.err >&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); } && {
26023 test -z "$ac_c_werror_flag" ||
26024 test ! -s conftest.err
26025 } && test -s conftest$ac_exeext &&
26026 $as_test_x conftest$ac_exeext; then
26027 eval "$as_ac_var=yes"
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.$ac_ext >&5
26032 eval "$as_ac_var=no"
26035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26036 conftest$ac_exeext conftest.$ac_ext
26038 ac_res=`eval echo '${'$as_ac_var'}'`
26039 { echo "$as_me:$LINENO: result: $ac_res" >&5
26040 echo "${ECHO_T}$ac_res" >&6; }
26041 if test `eval echo '${'$as_ac_var'}'` = yes; then
26042 cat >>confdefs.h <<_ACEOF
26043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26049 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26050 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26051 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26052 { echo "$as_me:$LINENO: result: yes" >&5
26053 echo "${ECHO_T}yes" >&6; }
26055 { echo "$as_me:$LINENO: result: no" >&5
26056 echo "${ECHO_T}no" >&6; }
26058 # use different functions to avoid configure caching
26064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26065 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26067 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26068 echo $ECHO_N "(cached) $ECHO_C" >&6
26070 cat >conftest.$ac_ext <<_ACEOF
26073 cat confdefs.h >>conftest.$ac_ext
26074 cat >>conftest.$ac_ext <<_ACEOF
26075 /* end confdefs.h. */
26076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26078 #define $ac_func innocuous_$ac_func
26080 /* System header to define __stub macros and hopefully few prototypes,
26081 which can conflict with char $ac_func (); below.
26082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26083 <limits.h> exists even on freestanding compilers. */
26086 # include <limits.h>
26088 # include <assert.h>
26093 /* Override any GCC internal prototype to avoid an error.
26094 Use char because int might match the return type of a GCC
26095 builtin and then its argument prototype would still apply. */
26100 /* The GNU C library defines this for functions which it implements
26101 to always fail with ENOSYS. Some functions are actually named
26102 something starting with __ and the normal name is an alias. */
26103 #if defined __stub_$ac_func || defined __stub___$ac_func
26110 return $ac_func ();
26115 rm -f conftest.$ac_objext conftest$ac_exeext
26116 if { (ac_try="$ac_link"
26117 case "(($ac_try" in
26118 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26119 *) ac_try_echo
=$ac_try;;
26121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26122 (eval "$ac_link") 2>conftest.er1
26124 grep -v '^ *+' conftest.er1
>conftest.err
26126 cat conftest.err
>&5
26127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128 (exit $ac_status); } && {
26129 test -z "$ac_c_werror_flag" ||
26130 test ! -s conftest.err
26131 } && test -s conftest
$ac_exeext &&
26132 $as_test_x conftest
$ac_exeext; then
26133 eval "$as_ac_var=yes"
26135 echo "$as_me: failed program was:" >&5
26136 sed 's/^/| /' conftest.
$ac_ext >&5
26138 eval "$as_ac_var=no"
26141 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26142 conftest
$ac_exeext conftest.
$ac_ext
26144 ac_res
=`eval echo '${'$as_ac_var'}'`
26145 { echo "$as_me:$LINENO: result: $ac_res" >&5
26146 echo "${ECHO_T}$ac_res" >&6; }
26147 if test `eval echo '${'$as_ac_var'}'` = yes; then
26148 cat >>confdefs.h
<<_ACEOF
26149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26156 for ac_func
in ceil
26158 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26159 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26161 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26162 echo $ECHO_N "(cached) $ECHO_C" >&6
26164 cat >conftest.
$ac_ext <<_ACEOF
26167 cat confdefs.h
>>conftest.
$ac_ext
26168 cat >>conftest.
$ac_ext <<_ACEOF
26169 /* end confdefs.h. */
26170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26172 #define $ac_func innocuous_$ac_func
26174 /* System header to define __stub macros and hopefully few prototypes,
26175 which can conflict with char $ac_func (); below.
26176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26177 <limits.h> exists even on freestanding compilers. */
26180 # include <limits.h>
26182 # include <assert.h>
26187 /* Override any GCC internal prototype to avoid an error.
26188 Use char because int might match the return type of a GCC
26189 builtin and then its argument prototype would still apply. */
26194 /* The GNU C library defines this for functions which it implements
26195 to always fail with ENOSYS. Some functions are actually named
26196 something starting with __ and the normal name is an alias. */
26197 #if defined __stub_$ac_func || defined __stub___$ac_func
26204 return $ac_func ();
26209 rm -f conftest.
$ac_objext conftest
$ac_exeext
26210 if { (ac_try
="$ac_link"
26211 case "(($ac_try" in
26212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26213 *) ac_try_echo=$ac_try;;
26215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26216 (eval "$ac_link") 2>conftest.er1
26218 grep -v '^ *+' conftest.er1 >conftest.err
26220 cat conftest.err >&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); } && {
26223 test -z "$ac_c_werror_flag" ||
26224 test ! -s conftest.err
26225 } && test -s conftest$ac_exeext &&
26226 $as_test_x conftest$ac_exeext; then
26227 eval "$as_ac_var=yes"
26229 echo "$as_me: failed program was:" >&5
26230 sed 's/^/| /' conftest.$ac_ext >&5
26232 eval "$as_ac_var=no"
26235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26236 conftest$ac_exeext conftest.$ac_ext
26238 ac_res=`eval echo '${'$as_ac_var'}'`
26239 { echo "$as_me:$LINENO: result: $ac_res" >&5
26240 echo "${ECHO_T}$ac_res" >&6; }
26241 if test `eval echo '${'$as_ac_var'}'` = yes; then
26242 cat >>confdefs.h <<_ACEOF
26243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26249 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26250 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26251 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26252 { echo "$as_me:$LINENO: result: yes" >&5
26253 echo "${ECHO_T}yes" >&6; }
26255 { echo "$as_me:$LINENO: result: no" >&5
26256 echo "${ECHO_T}no" >&6; }
26257 # not sure we should warn the user, crash, etc.
26262 ac_cpp='$CXXCPP $CPPFLAGS'
26263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26267 if test "wxUSE_UNICODE" = "yes"; then
26269 for wx_func in wcstoull
26271 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26272 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26273 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26274 echo $ECHO_N "(cached) $ECHO_C" >&6
26277 cat >conftest.$ac_ext <<_ACEOF
26281 cat confdefs.h >>conftest.$ac_ext
26282 cat >>conftest.$ac_ext <<_ACEOF
26283 /* end confdefs.h. */
26286 $ac_includes_default
26302 rm -f conftest.$ac_objext conftest$ac_exeext
26303 if { (ac_try="$ac_link"
26304 case "(($ac_try" in
26305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26306 *) ac_try_echo
=$ac_try;;
26308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26309 (eval "$ac_link") 2>conftest.er1
26311 grep -v '^ *+' conftest.er1
>conftest.err
26313 cat conftest.err
>&5
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); } && {
26316 test -z "$ac_cxx_werror_flag" ||
26317 test ! -s conftest.err
26318 } && test -s conftest
$ac_exeext &&
26319 $as_test_x conftest
$ac_exeext; then
26320 eval wx_cv_func_
$wx_func=yes
26322 echo "$as_me: failed program was:" >&5
26323 sed 's/^/| /' conftest.
$ac_ext >&5
26325 eval wx_cv_func_
$wx_func=no
26328 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26329 conftest
$ac_exeext conftest.
$ac_ext
26332 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26333 { echo "$as_me:$LINENO: result: $ac_res" >&5
26334 echo "${ECHO_T}$ac_res" >&6; }
26336 if eval test \
$wx_cv_func_$wx_func = yes
26338 cat >>confdefs.h
<<_ACEOF
26339 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26351 for wx_func
in strtoull
26353 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26354 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26355 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26356 echo $ECHO_N "(cached) $ECHO_C" >&6
26359 cat >conftest.
$ac_ext <<_ACEOF
26363 cat confdefs.h
>>conftest.
$ac_ext
26364 cat >>conftest.
$ac_ext <<_ACEOF
26365 /* end confdefs.h. */
26368 $ac_includes_default
26384 rm -f conftest.
$ac_objext conftest
$ac_exeext
26385 if { (ac_try
="$ac_link"
26386 case "(($ac_try" in
26387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26388 *) ac_try_echo=$ac_try;;
26390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26391 (eval "$ac_link") 2>conftest.er1
26393 grep -v '^ *+' conftest.er1 >conftest.err
26395 cat conftest.err >&5
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); } && {
26398 test -z "$ac_cxx_werror_flag" ||
26399 test ! -s conftest.err
26400 } && test -s conftest$ac_exeext &&
26401 $as_test_x conftest$ac_exeext; then
26402 eval wx_cv_func_$wx_func=yes
26404 echo "$as_me: failed program was:" >&5
26405 sed 's/^/| /' conftest.$ac_ext >&5
26407 eval wx_cv_func_$wx_func=no
26410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26411 conftest$ac_exeext conftest.$ac_ext
26414 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26415 { echo "$as_me:$LINENO: result: $ac_res" >&5
26416 echo "${ECHO_T}$ac_res" >&6; }
26418 if eval test \$wx_cv_func_$wx_func = yes
26420 cat >>confdefs.h <<_ACEOF
26421 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26433 ac_cpp='$CPP $CPPFLAGS'
26434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26441 if test "$wxUSE_REGEX" != "no"; then
26442 cat >>confdefs.h <<\_ACEOF
26443 #define wxUSE_REGEX 1
26447 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26448 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26449 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26450 wxUSE_REGEX=builtin
26453 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26454 { echo "$as_me:$LINENO: checking for regex.h" >&5
26455 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26456 if test "${ac_cv_header_regex_h+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26459 cat >conftest.$ac_ext <<_ACEOF
26462 cat confdefs.h >>conftest.$ac_ext
26463 cat >>conftest.$ac_ext <<_ACEOF
26464 /* end confdefs.h. */
26469 rm -f conftest.$ac_objext
26470 if { (ac_try="$ac_compile"
26471 case "(($ac_try" in
26472 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26473 *) ac_try_echo
=$ac_try;;
26475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26476 (eval "$ac_compile") 2>conftest.er1
26478 grep -v '^ *+' conftest.er1
>conftest.err
26480 cat conftest.err
>&5
26481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26482 (exit $ac_status); } && {
26483 test -z "$ac_c_werror_flag" ||
26484 test ! -s conftest.err
26485 } && test -s conftest.
$ac_objext; then
26486 ac_cv_header_regex_h
=yes
26488 echo "$as_me: failed program was:" >&5
26489 sed 's/^/| /' conftest.
$ac_ext >&5
26491 ac_cv_header_regex_h
=no
26494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26496 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26497 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26498 if test $ac_cv_header_regex_h = yes; then
26501 for ac_func
in regcomp re_search
26503 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26504 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26506 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26507 echo $ECHO_N "(cached) $ECHO_C" >&6
26509 cat >conftest.
$ac_ext <<_ACEOF
26512 cat confdefs.h
>>conftest.
$ac_ext
26513 cat >>conftest.
$ac_ext <<_ACEOF
26514 /* end confdefs.h. */
26515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26517 #define $ac_func innocuous_$ac_func
26519 /* System header to define __stub macros and hopefully few prototypes,
26520 which can conflict with char $ac_func (); below.
26521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26522 <limits.h> exists even on freestanding compilers. */
26525 # include <limits.h>
26527 # include <assert.h>
26532 /* Override any GCC internal prototype to avoid an error.
26533 Use char because int might match the return type of a GCC
26534 builtin and then its argument prototype would still apply. */
26539 /* The GNU C library defines this for functions which it implements
26540 to always fail with ENOSYS. Some functions are actually named
26541 something starting with __ and the normal name is an alias. */
26542 #if defined __stub_$ac_func || defined __stub___$ac_func
26549 return $ac_func ();
26554 rm -f conftest.
$ac_objext conftest
$ac_exeext
26555 if { (ac_try
="$ac_link"
26556 case "(($ac_try" in
26557 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26558 *) ac_try_echo=$ac_try;;
26560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26561 (eval "$ac_link") 2>conftest.er1
26563 grep -v '^ *+' conftest.er1 >conftest.err
26565 cat conftest.err >&5
26566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567 (exit $ac_status); } && {
26568 test -z "$ac_c_werror_flag" ||
26569 test ! -s conftest.err
26570 } && test -s conftest$ac_exeext &&
26571 $as_test_x conftest$ac_exeext; then
26572 eval "$as_ac_var=yes"
26574 echo "$as_me: failed program was:" >&5
26575 sed 's/^/| /' conftest.$ac_ext >&5
26577 eval "$as_ac_var=no"
26580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26581 conftest$ac_exeext conftest.$ac_ext
26583 ac_res=`eval echo '${'$as_ac_var'}'`
26584 { echo "$as_me:$LINENO: result: $ac_res" >&5
26585 echo "${ECHO_T}$ac_res" >&6; }
26586 if test `eval echo '${'$as_ac_var'}'` = yes; then
26587 cat >>confdefs.h <<_ACEOF
26588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26598 if test "x$ac_cv_func_regcomp" != "xyes"; then
26599 if test "$wxUSE_REGEX" = "sys" ; then
26600 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26601 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26602 { (exit 1); exit 1; }; }
26604 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26605 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26606 wxUSE_REGEX=builtin
26610 cat >>confdefs.h <<\_ACEOF
26611 #define WX_NO_REGEX_ADVANCED 1
26620 if test "$wxUSE_ZLIB" != "no" ; then
26621 cat >>confdefs.h <<\_ACEOF
26622 #define wxUSE_ZLIB 1
26626 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26627 if test "$USE_DARWIN" = 1; then
26628 system_zlib_h_ok="yes"
26630 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26631 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26632 if test "${ac_cv_header_zlib_h+set}" = set; then
26633 echo $ECHO_N "(cached) $ECHO_C" >&6
26635 if test "$cross_compiling" = yes; then
26636 unset ac_cv_header_zlib_h
26639 cat >conftest.$ac_ext <<_ACEOF
26642 cat confdefs.h >>conftest.$ac_ext
26643 cat >>conftest.$ac_ext <<_ACEOF
26644 /* end confdefs.h. */
26651 FILE *f=fopen("conftestval", "w");
26654 ZLIB_VERSION[0] == '1' &&
26655 (ZLIB_VERSION[2] > '1' ||
26656 (ZLIB_VERSION[2] == '1' &&
26657 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26662 rm -f conftest$ac_exeext
26663 if { (ac_try="$ac_link"
26664 case "(($ac_try" in
26665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26666 *) ac_try_echo
=$ac_try;;
26668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26669 (eval "$ac_link") 2>&5
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26673 { (case "(($ac_try" in
26674 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26675 *) ac_try_echo=$ac_try;;
26677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26678 (eval "$ac_try") 2>&5
26680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681 (exit $ac_status); }; }; then
26682 ac_cv_header_zlib_h=`cat conftestval
`
26684 echo "$as_me: program exited with status $ac_status" >&5
26685 echo "$as_me: failed program was:" >&5
26686 sed 's/^/| /' conftest.$ac_ext >&5
26688 ( exit $ac_status )
26689 ac_cv_header_zlib_h=no
26691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26697 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26698 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26699 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26700 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26701 if test "${ac_cv_header_zlib_h+set}" = set; then
26702 echo $ECHO_N "(cached) $ECHO_C" >&6
26704 cat >conftest.$ac_ext <<_ACEOF
26707 cat confdefs.h >>conftest.$ac_ext
26708 cat >>conftest.$ac_ext <<_ACEOF
26709 /* end confdefs.h. */
26714 rm -f conftest.$ac_objext
26715 if { (ac_try="$ac_compile"
26716 case "(($ac_try" in
26717 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26718 *) ac_try_echo
=$ac_try;;
26720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26721 (eval "$ac_compile") 2>conftest.er1
26723 grep -v '^ *+' conftest.er1
>conftest.err
26725 cat conftest.err
>&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } && {
26728 test -z "$ac_c_werror_flag" ||
26729 test ! -s conftest.err
26730 } && test -s conftest.
$ac_objext; then
26731 ac_cv_header_zlib_h
=yes
26733 echo "$as_me: failed program was:" >&5
26734 sed 's/^/| /' conftest.
$ac_ext >&5
26736 ac_cv_header_zlib_h
=no
26739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26741 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26742 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26746 system_zlib_h_ok
=$ac_cv_header_zlib_h
26749 if test "$system_zlib_h_ok" = "yes"; then
26750 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26751 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26752 if test "${ac_cv_lib_z_deflate+set}" = set; then
26753 echo $ECHO_N "(cached) $ECHO_C" >&6
26755 ac_check_lib_save_LIBS
=$LIBS
26757 cat >conftest.
$ac_ext <<_ACEOF
26760 cat confdefs.h
>>conftest.
$ac_ext
26761 cat >>conftest.
$ac_ext <<_ACEOF
26762 /* end confdefs.h. */
26764 /* Override any GCC internal prototype to avoid an error.
26765 Use char because int might match the return type of a GCC
26766 builtin and then its argument prototype would still apply. */
26779 rm -f conftest.
$ac_objext conftest
$ac_exeext
26780 if { (ac_try
="$ac_link"
26781 case "(($ac_try" in
26782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26783 *) ac_try_echo=$ac_try;;
26785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26786 (eval "$ac_link") 2>conftest.er1
26788 grep -v '^ *+' conftest.er1 >conftest.err
26790 cat conftest.err >&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } && {
26793 test -z "$ac_c_werror_flag" ||
26794 test ! -s conftest.err
26795 } && test -s conftest$ac_exeext &&
26796 $as_test_x conftest$ac_exeext; then
26797 ac_cv_lib_z_deflate=yes
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.$ac_ext >&5
26802 ac_cv_lib_z_deflate=no
26805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26806 conftest$ac_exeext conftest.$ac_ext
26807 LIBS=$ac_check_lib_save_LIBS
26809 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26810 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26811 if test $ac_cv_lib_z_deflate = yes; then
26817 if test "x$ZLIB_LINK" = "x" ; then
26818 if test "$wxUSE_ZLIB" = "sys" ; then
26819 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26820 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26821 { (exit 1); exit 1; }; }
26823 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26824 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26835 if test "$wxUSE_LIBPNG" != "no" ; then
26836 cat >>confdefs.h <<\_ACEOF
26837 #define wxUSE_LIBPNG 1
26841 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26842 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26843 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26847 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26848 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26849 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26850 wxUSE_LIBPNG=builtin
26853 if test "$wxUSE_MGL" != 1 ; then
26854 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26855 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26856 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26857 if test "${ac_cv_header_png_h+set}" = set; then
26858 echo $ECHO_N "(cached) $ECHO_C" >&6
26860 if test "$cross_compiling" = yes; then
26861 unset ac_cv_header_png_h
26864 cat >conftest.$ac_ext <<_ACEOF
26867 cat confdefs.h >>conftest.$ac_ext
26868 cat >>conftest.$ac_ext <<_ACEOF
26869 /* end confdefs.h. */
26876 FILE *f=fopen("conftestval", "w");
26879 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26884 rm -f conftest$ac_exeext
26885 if { (ac_try="$ac_link"
26886 case "(($ac_try" in
26887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26888 *) ac_try_echo
=$ac_try;;
26890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26891 (eval "$ac_link") 2>&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26895 { (case "(($ac_try" in
26896 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26897 *) ac_try_echo=$ac_try;;
26899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26900 (eval "$ac_try") 2>&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); }; }; then
26904 ac_cv_header_png_h=`cat conftestval
`
26906 echo "$as_me: program exited with status $ac_status" >&5
26907 echo "$as_me: failed program was:" >&5
26908 sed 's/^/| /' conftest.$ac_ext >&5
26910 ( exit $ac_status )
26911 ac_cv_header_png_h=no
26913 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26919 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26920 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26921 { echo "$as_me:$LINENO: checking for png.h" >&5
26922 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26923 if test "${ac_cv_header_png_h+set}" = set; then
26924 echo $ECHO_N "(cached) $ECHO_C" >&6
26926 cat >conftest.$ac_ext <<_ACEOF
26929 cat confdefs.h >>conftest.$ac_ext
26930 cat >>conftest.$ac_ext <<_ACEOF
26931 /* end confdefs.h. */
26936 rm -f conftest.$ac_objext
26937 if { (ac_try="$ac_compile"
26938 case "(($ac_try" in
26939 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26940 *) ac_try_echo
=$ac_try;;
26942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26943 (eval "$ac_compile") 2>conftest.er1
26945 grep -v '^ *+' conftest.er1
>conftest.err
26947 cat conftest.err
>&5
26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 (exit $ac_status); } && {
26950 test -z "$ac_c_werror_flag" ||
26951 test ! -s conftest.err
26952 } && test -s conftest.
$ac_objext; then
26953 ac_cv_header_png_h
=yes
26955 echo "$as_me: failed program was:" >&5
26956 sed 's/^/| /' conftest.
$ac_ext >&5
26958 ac_cv_header_png_h
=no
26961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26963 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26964 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26968 if test "$ac_cv_header_png_h" = "yes"; then
26969 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26970 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26971 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26972 echo $ECHO_N "(cached) $ECHO_C" >&6
26974 ac_check_lib_save_LIBS
=$LIBS
26975 LIBS
="-lpng -lz -lm $LIBS"
26976 cat >conftest.
$ac_ext <<_ACEOF
26979 cat confdefs.h
>>conftest.
$ac_ext
26980 cat >>conftest.
$ac_ext <<_ACEOF
26981 /* end confdefs.h. */
26983 /* Override any GCC internal prototype to avoid an error.
26984 Use char because int might match the return type of a GCC
26985 builtin and then its argument prototype would still apply. */
26989 char png_check_sig ();
26993 return png_check_sig ();
26998 rm -f conftest.
$ac_objext conftest
$ac_exeext
26999 if { (ac_try
="$ac_link"
27000 case "(($ac_try" in
27001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27002 *) ac_try_echo=$ac_try;;
27004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27005 (eval "$ac_link") 2>conftest.er1
27007 grep -v '^ *+' conftest.er1 >conftest.err
27009 cat conftest.err >&5
27010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 (exit $ac_status); } && {
27012 test -z "$ac_c_werror_flag" ||
27013 test ! -s conftest.err
27014 } && test -s conftest$ac_exeext &&
27015 $as_test_x conftest$ac_exeext; then
27016 ac_cv_lib_png_png_check_sig=yes
27018 echo "$as_me: failed program was:" >&5
27019 sed 's/^/| /' conftest.$ac_ext >&5
27021 ac_cv_lib_png_png_check_sig=no
27024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27025 conftest$ac_exeext conftest.$ac_ext
27026 LIBS=$ac_check_lib_save_LIBS
27028 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27029 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27030 if test $ac_cv_lib_png_png_check_sig = yes; then
27031 PNG_LINK=" -lpng -lz"
27036 if test "x$PNG_LINK" = "x" ; then
27037 if test "$wxUSE_LIBPNG" = "sys" ; then
27038 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27039 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27040 { (exit 1); exit 1; }; }
27042 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27043 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27044 wxUSE_LIBPNG=builtin
27055 if test "$wxUSE_LIBJPEG" != "no" ; then
27056 cat >>confdefs.h <<\_ACEOF
27057 #define wxUSE_LIBJPEG 1
27061 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27062 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27063 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27067 if test "$wxUSE_MGL" != 1 ; then
27068 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27069 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27070 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27071 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27072 echo $ECHO_N "(cached) $ECHO_C" >&6
27074 cat >conftest.$ac_ext <<_ACEOF
27077 cat confdefs.h >>conftest.$ac_ext
27078 cat >>conftest.$ac_ext <<_ACEOF
27079 /* end confdefs.h. */
27081 #undef HAVE_STDLIB_H
27083 #include <jpeglib.h>
27094 rm -f conftest.$ac_objext
27095 if { (ac_try="$ac_compile"
27096 case "(($ac_try" in
27097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27098 *) ac_try_echo
=$ac_try;;
27100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27101 (eval "$ac_compile") 2>conftest.er1
27103 grep -v '^ *+' conftest.er1
>conftest.err
27105 cat conftest.err
>&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); } && {
27108 test -z "$ac_c_werror_flag" ||
27109 test ! -s conftest.err
27110 } && test -s conftest.
$ac_objext; then
27111 ac_cv_header_jpeglib_h
=yes
27113 echo "$as_me: failed program was:" >&5
27114 sed 's/^/| /' conftest.
$ac_ext >&5
27116 ac_cv_header_jpeglib_h
=no
27120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27124 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27125 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27127 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27128 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27129 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27130 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27133 ac_check_lib_save_LIBS
=$LIBS
27134 LIBS
="-ljpeg $LIBS"
27135 cat >conftest.
$ac_ext <<_ACEOF
27138 cat confdefs.h
>>conftest.
$ac_ext
27139 cat >>conftest.
$ac_ext <<_ACEOF
27140 /* end confdefs.h. */
27142 /* Override any GCC internal prototype to avoid an error.
27143 Use char because int might match the return type of a GCC
27144 builtin and then its argument prototype would still apply. */
27148 char jpeg_read_header ();
27152 return jpeg_read_header ();
27157 rm -f conftest.
$ac_objext conftest
$ac_exeext
27158 if { (ac_try
="$ac_link"
27159 case "(($ac_try" in
27160 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27161 *) ac_try_echo=$ac_try;;
27163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27164 (eval "$ac_link") 2>conftest.er1
27166 grep -v '^ *+' conftest.er1 >conftest.err
27168 cat conftest.err >&5
27169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27170 (exit $ac_status); } && {
27171 test -z "$ac_c_werror_flag" ||
27172 test ! -s conftest.err
27173 } && test -s conftest$ac_exeext &&
27174 $as_test_x conftest$ac_exeext; then
27175 ac_cv_lib_jpeg_jpeg_read_header=yes
27177 echo "$as_me: failed program was:" >&5
27178 sed 's/^/| /' conftest.$ac_ext >&5
27180 ac_cv_lib_jpeg_jpeg_read_header=no
27183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27184 conftest$ac_exeext conftest.$ac_ext
27185 LIBS=$ac_check_lib_save_LIBS
27187 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27188 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27189 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27190 JPEG_LINK=" -ljpeg"
27195 if test "x$JPEG_LINK" = "x" ; then
27196 if test "$wxUSE_LIBJPEG" = "sys" ; then
27197 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27198 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27199 { (exit 1); exit 1; }; }
27201 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27202 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27203 wxUSE_LIBJPEG=builtin
27208 if test "$wxUSE_MSW" = 1; then
27209 { echo "$as_me:$LINENO: checking for boolean" >&5
27210 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27211 if test "${ac_cv_type_boolean+set}" = set; then
27212 echo $ECHO_N "(cached) $ECHO_C" >&6
27214 cat >conftest.$ac_ext <<_ACEOF
27217 cat confdefs.h >>conftest.$ac_ext
27218 cat >>conftest.$ac_ext <<_ACEOF
27219 /* end confdefs.h. */
27220 #include <windows.h>
27222 typedef boolean ac__type_new_;
27226 if ((ac__type_new_ *) 0)
27228 if (sizeof (ac__type_new_))
27234 rm -f conftest.$ac_objext
27235 if { (ac_try="$ac_compile"
27236 case "(($ac_try" in
27237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27238 *) ac_try_echo
=$ac_try;;
27240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27241 (eval "$ac_compile") 2>conftest.er1
27243 grep -v '^ *+' conftest.er1
>conftest.err
27245 cat conftest.err
>&5
27246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 (exit $ac_status); } && {
27248 test -z "$ac_c_werror_flag" ||
27249 test ! -s conftest.err
27250 } && test -s conftest.
$ac_objext; then
27251 ac_cv_type_boolean
=yes
27253 echo "$as_me: failed program was:" >&5
27254 sed 's/^/| /' conftest.
$ac_ext >&5
27256 ac_cv_type_boolean
=no
27259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27261 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27262 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27263 if test $ac_cv_type_boolean = yes; then
27265 cat >>confdefs.h
<<_ACEOF
27266 #define HAVE_BOOLEAN 1
27270 { echo "$as_me:$LINENO: checking for boolean" >&5
27271 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27272 if test "${ac_cv_type_boolean+set}" = set; then
27273 echo $ECHO_N "(cached) $ECHO_C" >&6
27275 cat >conftest.
$ac_ext <<_ACEOF
27278 cat confdefs.h
>>conftest.
$ac_ext
27279 cat >>conftest.
$ac_ext <<_ACEOF
27280 /* end confdefs.h. */
27282 #undef HAVE_BOOLEAN
27284 #include <jpeglib.h>
27287 typedef boolean ac__type_new_;
27291 if ((ac__type_new_ *) 0)
27293 if (sizeof (ac__type_new_))
27299 rm -f conftest.
$ac_objext
27300 if { (ac_try
="$ac_compile"
27301 case "(($ac_try" in
27302 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27303 *) ac_try_echo=$ac_try;;
27305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27306 (eval "$ac_compile") 2>conftest.er1
27308 grep -v '^ *+' conftest.er1 >conftest.err
27310 cat conftest.err >&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); } && {
27313 test -z "$ac_c_werror_flag" ||
27314 test ! -s conftest.err
27315 } && test -s conftest.$ac_objext; then
27316 ac_cv_type_boolean=yes
27318 echo "$as_me: failed program was:" >&5
27319 sed 's/^/| /' conftest.$ac_ext >&5
27321 ac_cv_type_boolean=no
27324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27326 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27327 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27329 # The cast to long int works around a bug in the HP C Compiler
27330 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27331 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27332 # This bug is HP SR number 8606223364.
27333 { echo "$as_me:$LINENO: checking size of boolean" >&5
27334 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27335 if test "${ac_cv_sizeof_boolean+set}" = set; then
27336 echo $ECHO_N "(cached) $ECHO_C" >&6
27338 if test "$cross_compiling" = yes; then
27339 # Depending upon the size, compute the lo and hi bounds.
27340 cat >conftest.$ac_ext <<_ACEOF
27343 cat confdefs.h >>conftest.$ac_ext
27344 cat >>conftest.$ac_ext <<_ACEOF
27345 /* end confdefs.h. */
27347 #undef HAVE_BOOLEAN
27349 #include <jpeglib.h>
27352 typedef boolean ac__type_sizeof_;
27356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27363 rm -f conftest.$ac_objext
27364 if { (ac_try="$ac_compile"
27365 case "(($ac_try" in
27366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27367 *) ac_try_echo=$ac_try;;
27369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27370 (eval "$ac_compile") 2>conftest.er1
27372 grep -v '^
*+' conftest.er1 >conftest.err
27374 cat conftest.err >&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } && {
27377 test -z "$ac_c_werror_flag" ||
27378 test ! -s conftest.err
27379 } && test -s conftest.$ac_objext; then
27382 cat >conftest.$ac_ext <<_ACEOF
27385 cat confdefs.h >>conftest.$ac_ext
27386 cat >>conftest.$ac_ext <<_ACEOF
27387 /* end confdefs.h. */
27389 #undef HAVE_BOOLEAN
27391 #include <jpeglib.h>
27394 typedef boolean ac__type_sizeof_;
27398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27405 rm -f conftest.$ac_objext
27406 if { (ac_try="$ac_compile"
27407 case "(($ac_try" in
27408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27409 *) ac_try_echo=$ac_try;;
27411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27412 (eval "$ac_compile") 2>conftest.er1
27414 grep -v '^
*+' conftest.er1 >conftest.err
27416 cat conftest.err >&5
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); } && {
27419 test -z "$ac_c_werror_flag" ||
27420 test ! -s conftest.err
27421 } && test -s conftest.$ac_objext; then
27422 ac_hi=$ac_mid; break
27424 echo "$as_me: failed program was:" >&5
27425 sed 's
/^
/| /' conftest.$ac_ext >&5
27427 ac_lo=`expr $ac_mid + 1`
27428 if test $ac_lo -le $ac_mid; then
27432 ac_mid=`expr 2 '*' $ac_mid + 1`
27435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27438 echo "$as_me: failed program was:" >&5
27439 sed 's
/^
/| /' conftest.$ac_ext >&5
27441 cat >conftest.$ac_ext <<_ACEOF
27444 cat confdefs.h >>conftest.$ac_ext
27445 cat >>conftest.$ac_ext <<_ACEOF
27446 /* end confdefs.h. */
27448 #undef HAVE_BOOLEAN
27450 #include <jpeglib.h>
27453 typedef boolean ac__type_sizeof_;
27457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27464 rm -f conftest.$ac_objext
27465 if { (ac_try="$ac_compile"
27466 case "(($ac_try" in
27467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27468 *) ac_try_echo=$ac_try;;
27470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27471 (eval "$ac_compile") 2>conftest.er1
27473 grep -v '^
*+' conftest.er1 >conftest.err
27475 cat conftest.err >&5
27476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477 (exit $ac_status); } && {
27478 test -z "$ac_c_werror_flag" ||
27479 test ! -s conftest.err
27480 } && test -s conftest.$ac_objext; then
27483 cat >conftest.$ac_ext <<_ACEOF
27486 cat confdefs.h >>conftest.$ac_ext
27487 cat >>conftest.$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27490 #undef HAVE_BOOLEAN
27492 #include <jpeglib.h>
27495 typedef boolean ac__type_sizeof_;
27499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27506 rm -f conftest.$ac_objext
27507 if { (ac_try="$ac_compile"
27508 case "(($ac_try" in
27509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27510 *) ac_try_echo=$ac_try;;
27512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27513 (eval "$ac_compile") 2>conftest.er1
27515 grep -v '^
*+' conftest.er1 >conftest.err
27517 cat conftest.err >&5
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); } && {
27520 test -z "$ac_c_werror_flag" ||
27521 test ! -s conftest.err
27522 } && test -s conftest.$ac_objext; then
27523 ac_lo=$ac_mid; break
27525 echo "$as_me: failed program was:" >&5
27526 sed 's
/^
/| /' conftest.$ac_ext >&5
27528 ac_hi=`expr '(' $ac_mid ')' - 1`
27529 if test $ac_mid -le $ac_hi; then
27533 ac_mid=`expr 2 '*' $ac_mid`
27536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27539 echo "$as_me: failed program was:" >&5
27540 sed 's
/^
/| /' conftest.$ac_ext >&5
27545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27549 # Binary search between lo and hi bounds.
27550 while test "x$ac_lo" != "x$ac_hi"; do
27551 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27552 cat >conftest.$ac_ext <<_ACEOF
27555 cat confdefs.h >>conftest.$ac_ext
27556 cat >>conftest.$ac_ext <<_ACEOF
27557 /* end confdefs.h. */
27559 #undef HAVE_BOOLEAN
27561 #include <jpeglib.h>
27564 typedef boolean ac__type_sizeof_;
27568 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27575 rm -f conftest.$ac_objext
27576 if { (ac_try="$ac_compile"
27577 case "(($ac_try" in
27578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27579 *) ac_try_echo=$ac_try;;
27581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27582 (eval "$ac_compile") 2>conftest.er1
27584 grep -v '^
*+' conftest.er1 >conftest.err
27586 cat conftest.err >&5
27587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27588 (exit $ac_status); } && {
27589 test -z "$ac_c_werror_flag" ||
27590 test ! -s conftest.err
27591 } && test -s conftest.$ac_objext; then
27594 echo "$as_me: failed program was:" >&5
27595 sed 's
/^
/| /' conftest.$ac_ext >&5
27597 ac_lo=`expr '(' $ac_mid ')' + 1`
27600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27603 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27604 '') if test "$ac_cv_type_boolean" = yes; then
27605 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27606 See \`config.log' for more details.
" >&5
27607 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27608 See \
`config.log' for more details." >&2;}
27609 { (exit 77); exit 77; }; }
27611 ac_cv_sizeof_boolean=0
27615 cat >conftest.$ac_ext <<_ACEOF
27618 cat confdefs.h >>conftest.$ac_ext
27619 cat >>conftest.$ac_ext <<_ACEOF
27620 /* end confdefs.h. */
27622 #undef HAVE_BOOLEAN
27624 #include <jpeglib.h>
27627 typedef boolean ac__type_sizeof_;
27628 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27629 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27631 #include <stdlib.h>
27636 FILE *f = fopen ("conftest.val", "w");
27639 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27641 long int i = longval ();
27642 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27644 fprintf (f, "%ld\n", i);
27648 unsigned long int i = ulongval ();
27649 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27651 fprintf (f, "%lu\n", i);
27653 return ferror (f) || fclose (f) != 0;
27659 rm -f conftest$ac_exeext
27660 if { (ac_try="$ac_link"
27661 case "(($ac_try" in
27662 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27663 *) ac_try_echo
=$ac_try;;
27665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27666 (eval "$ac_link") 2>&5
27668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27669 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27670 { (case "(($ac_try" in
27671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27672 *) ac_try_echo=$ac_try;;
27674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27675 (eval "$ac_try") 2>&5
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); }; }; then
27679 ac_cv_sizeof_boolean=`cat conftest.val
`
27681 echo "$as_me: program exited with status $ac_status" >&5
27682 echo "$as_me: failed program was:" >&5
27683 sed 's/^/| /' conftest.$ac_ext >&5
27685 ( exit $ac_status )
27686 if test "$ac_cv_type_boolean" = yes; then
27687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27688 See \`config.log
' for more details." >&5
27689 echo "$as_me: error: cannot compute sizeof (boolean)
27690 See \`config.log' for more details.
" >&2;}
27691 { (exit 77); exit 77; }; }
27693 ac_cv_sizeof_boolean=0
27696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27700 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27701 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27705 cat >>confdefs.h <<_ACEOF
27706 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27710 cat >>confdefs.h <<_ACEOF
27711 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27725 TIFF_PREREQ_LINKS=-lm
27726 if test "$wxUSE_LIBTIFF" != "no
" ; then
27727 cat >>confdefs.h <<\_ACEOF
27728 #define wxUSE_LIBTIFF 1
27732 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27733 if test "$wxUSE_LIBJPEG" = "sys
"; then
27734 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27736 if test "$wxUSE_ZLIB" = "sys
"; then
27737 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27739 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27740 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27741 if test "${ac_cv_header_tiffio_h+set}" = set; then
27742 echo $ECHO_N "(cached
) $ECHO_C" >&6
27744 cat >conftest.$ac_ext <<_ACEOF
27747 cat confdefs.h >>conftest.$ac_ext
27748 cat >>conftest.$ac_ext <<_ACEOF
27749 /* end confdefs.h. */
27753 #include <tiffio.h>
27755 rm -f conftest.$ac_objext
27756 if { (ac_try="$ac_compile"
27757 case "(($ac_try" in
27758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27759 *) ac_try_echo=$ac_try;;
27761 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27762 (eval "$ac_compile") 2>conftest.er1
27764 grep -v '^ *+' conftest.er1 >conftest.err
27766 cat conftest.err >&5
27767 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27768 (exit $ac_status); } && {
27769 test -z "$ac_c_werror_flag" ||
27770 test ! -s conftest.err
27771 } && test -s conftest.$ac_objext; then
27772 ac_cv_header_tiffio_h=yes
27774 echo "$as_me: failed program was
:" >&5
27775 sed 's/^/| /' conftest.$ac_ext >&5
27777 ac_cv_header_tiffio_h=no
27780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27782 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27783 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27784 if test $ac_cv_header_tiffio_h = yes; then
27786 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27787 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27788 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27789 echo $ECHO_N "(cached
) $ECHO_C" >&6
27791 ac_check_lib_save_LIBS=$LIBS
27792 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27793 cat >conftest.$ac_ext <<_ACEOF
27796 cat confdefs.h >>conftest.$ac_ext
27797 cat >>conftest.$ac_ext <<_ACEOF
27798 /* end confdefs.h. */
27800 /* Override any GCC internal prototype to avoid an error.
27801 Use char because int might match the return type of a GCC
27802 builtin and then its argument prototype would still apply. */
27810 return TIFFError ();
27815 rm -f conftest.$ac_objext conftest$ac_exeext
27816 if { (ac_try="$ac_link"
27817 case "(($ac_try" in
27818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27819 *) ac_try_echo=$ac_try;;
27821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27822 (eval "$ac_link") 2>conftest.er1
27824 grep -v '^ *+' conftest.er1 >conftest.err
27826 cat conftest.err >&5
27827 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27828 (exit $ac_status); } && {
27829 test -z "$ac_c_werror_flag" ||
27830 test ! -s conftest.err
27831 } && test -s conftest$ac_exeext &&
27832 $as_test_x conftest$ac_exeext; then
27833 ac_cv_lib_tiff_TIFFError=yes
27835 echo "$as_me: failed program was
:" >&5
27836 sed 's/^/| /' conftest.$ac_ext >&5
27838 ac_cv_lib_tiff_TIFFError=no
27841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27842 conftest$ac_exeext conftest.$ac_ext
27843 LIBS=$ac_check_lib_save_LIBS
27845 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27846 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27847 if test $ac_cv_lib_tiff_TIFFError = yes; then
27848 TIFF_LINK=" -ltiff"
27856 if test "x
$TIFF_LINK" = "x
" ; then
27857 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27858 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27859 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27860 { (exit 1); exit 1; }; }
27862 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27863 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27864 wxUSE_LIBTIFF=builtin
27870 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27871 if test "$wxUSE_LIBJPEG" = "no
"; then
27872 ac_configure_args="$ac_configure_args --disable-jpeg"
27874 subdirs="$subdirs src
/tiff
"
27880 if test "$wxUSE_WCHAR_T" != "yes"; then
27881 if test "$wxUSE_EXPAT" != "no
"; then
27882 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27883 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27886 if test "$wxUSE_XML" != "no
"; then
27887 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27888 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27893 if test "$wxUSE_EXPAT" != "no
"; then
27895 cat >>confdefs.h <<\_ACEOF
27896 #define wxUSE_EXPAT 1
27899 cat >>confdefs.h <<\_ACEOF
27900 #define wxUSE_XML 1
27904 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27905 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27906 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27907 if test "${ac_cv_header_expat_h+set}" = set; then
27908 echo $ECHO_N "(cached
) $ECHO_C" >&6
27910 cat >conftest.$ac_ext <<_ACEOF
27913 cat confdefs.h >>conftest.$ac_ext
27914 cat >>conftest.$ac_ext <<_ACEOF
27915 /* end confdefs.h. */
27920 rm -f conftest.$ac_objext
27921 if { (ac_try="$ac_compile"
27922 case "(($ac_try" in
27923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27924 *) ac_try_echo=$ac_try;;
27926 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27927 (eval "$ac_compile") 2>conftest.er1
27929 grep -v '^ *+' conftest.er1 >conftest.err
27931 cat conftest.err >&5
27932 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27933 (exit $ac_status); } && {
27934 test -z "$ac_c_werror_flag" ||
27935 test ! -s conftest.err
27936 } && test -s conftest.$ac_objext; then
27937 ac_cv_header_expat_h=yes
27939 echo "$as_me: failed program was
:" >&5
27940 sed 's/^/| /' conftest.$ac_ext >&5
27942 ac_cv_header_expat_h=no
27945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27947 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27948 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27949 if test $ac_cv_header_expat_h = yes; then
27954 if test "x
$found_expat_h" = "x1
"; then
27955 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27956 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27957 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27958 echo $ECHO_N "(cached
) $ECHO_C" >&6
27962 ac_cpp='$CXXCPP $CPPFLAGS'
27963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27967 cat >conftest.$ac_ext <<_ACEOF
27970 cat confdefs.h >>conftest.$ac_ext
27971 cat >>conftest.$ac_ext <<_ACEOF
27972 /* end confdefs.h. */
27982 rm -f conftest.$ac_objext
27983 if { (ac_try="$ac_compile"
27984 case "(($ac_try" in
27985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27986 *) ac_try_echo=$ac_try;;
27988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27989 (eval "$ac_compile") 2>conftest.er1
27991 grep -v '^ *+' conftest.er1 >conftest.err
27993 cat conftest.err >&5
27994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27995 (exit $ac_status); } && {
27996 test -z "$ac_cxx_werror_flag" ||
27997 test ! -s conftest.err
27998 } && test -s conftest.$ac_objext; then
27999 wx_cv_expat_is_not_broken=yes
28001 echo "$as_me: failed program was
:" >&5
28002 sed 's/^/| /' conftest.$ac_ext >&5
28004 wx_cv_expat_is_not_broken=no
28008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28010 ac_cpp='$CPP $CPPFLAGS'
28011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28018 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28019 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28020 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28021 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28022 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28023 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28024 echo $ECHO_N "(cached
) $ECHO_C" >&6
28026 ac_check_lib_save_LIBS=$LIBS
28027 LIBS="-lexpat $LIBS"
28028 cat >conftest.$ac_ext <<_ACEOF
28031 cat confdefs.h >>conftest.$ac_ext
28032 cat >>conftest.$ac_ext <<_ACEOF
28033 /* end confdefs.h. */
28035 /* Override any GCC internal prototype to avoid an error.
28036 Use char because int might match the return type of a GCC
28037 builtin and then its argument prototype would still apply. */
28041 char XML_ParserCreate ();
28045 return XML_ParserCreate ();
28050 rm -f conftest.$ac_objext conftest$ac_exeext
28051 if { (ac_try="$ac_link"
28052 case "(($ac_try" in
28053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28054 *) ac_try_echo=$ac_try;;
28056 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28057 (eval "$ac_link") 2>conftest.er1
28059 grep -v '^ *+' conftest.er1 >conftest.err
28061 cat conftest.err >&5
28062 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28063 (exit $ac_status); } && {
28064 test -z "$ac_c_werror_flag" ||
28065 test ! -s conftest.err
28066 } && test -s conftest$ac_exeext &&
28067 $as_test_x conftest$ac_exeext; then
28068 ac_cv_lib_expat_XML_ParserCreate=yes
28070 echo "$as_me: failed program was
:" >&5
28071 sed 's/^/| /' conftest.$ac_ext >&5
28073 ac_cv_lib_expat_XML_ParserCreate=no
28076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28077 conftest$ac_exeext conftest.$ac_ext
28078 LIBS=$ac_check_lib_save_LIBS
28080 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28081 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28082 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28083 EXPAT_LINK=" -lexpat"
28088 if test "x
$EXPAT_LINK" = "x
" ; then
28089 if test "$wxUSE_EXPAT" = "sys
" ; then
28090 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
28091 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
28092 { (exit 1); exit 1; }; }
28094 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
28095 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
28096 wxUSE_EXPAT=builtin
28102 if test "$wxUSE_EXPAT" = "builtin" ; then
28103 subdirs="$subdirs src
/expat
"
28110 if test "$wxUSE_LIBMSPACK" != "no
"; then
28111 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
28112 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
28113 if test "${ac_cv_header_mspack_h+set}" = set; then
28114 echo $ECHO_N "(cached
) $ECHO_C" >&6
28116 cat >conftest.$ac_ext <<_ACEOF
28119 cat confdefs.h >>conftest.$ac_ext
28120 cat >>conftest.$ac_ext <<_ACEOF
28121 /* end confdefs.h. */
28124 #include <mspack.h>
28126 rm -f conftest.$ac_objext
28127 if { (ac_try="$ac_compile"
28128 case "(($ac_try" in
28129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28130 *) ac_try_echo=$ac_try;;
28132 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28133 (eval "$ac_compile") 2>conftest.er1
28135 grep -v '^ *+' conftest.er1 >conftest.err
28137 cat conftest.err >&5
28138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28139 (exit $ac_status); } && {
28140 test -z "$ac_c_werror_flag" ||
28141 test ! -s conftest.err
28142 } && test -s conftest.$ac_objext; then
28143 ac_cv_header_mspack_h=yes
28145 echo "$as_me: failed program was
:" >&5
28146 sed 's/^/| /' conftest.$ac_ext >&5
28148 ac_cv_header_mspack_h=no
28151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28153 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28154 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28155 if test $ac_cv_header_mspack_h = yes; then
28160 if test "x
$found_mspack_h" = "x1
"; then
28161 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28162 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28163 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28164 echo $ECHO_N "(cached
) $ECHO_C" >&6
28166 ac_check_lib_save_LIBS=$LIBS
28167 LIBS="-lmspack $LIBS"
28168 cat >conftest.$ac_ext <<_ACEOF
28171 cat confdefs.h >>conftest.$ac_ext
28172 cat >>conftest.$ac_ext <<_ACEOF
28173 /* end confdefs.h. */
28175 /* Override any GCC internal prototype to avoid an error.
28176 Use char because int might match the return type of a GCC
28177 builtin and then its argument prototype would still apply. */
28181 char mspack_create_chm_decompressor ();
28185 return mspack_create_chm_decompressor ();
28190 rm -f conftest.$ac_objext conftest$ac_exeext
28191 if { (ac_try="$ac_link"
28192 case "(($ac_try" in
28193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28194 *) ac_try_echo=$ac_try;;
28196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28197 (eval "$ac_link") 2>conftest.er1
28199 grep -v '^ *+' conftest.er1 >conftest.err
28201 cat conftest.err >&5
28202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28203 (exit $ac_status); } && {
28204 test -z "$ac_c_werror_flag" ||
28205 test ! -s conftest.err
28206 } && test -s conftest$ac_exeext &&
28207 $as_test_x conftest$ac_exeext; then
28208 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28210 echo "$as_me: failed program was
:" >&5
28211 sed 's/^/| /' conftest.$ac_ext >&5
28213 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28217 conftest$ac_exeext conftest.$ac_ext
28218 LIBS=$ac_check_lib_save_LIBS
28220 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28221 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28222 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28223 MSPACK_LINK=" -lmspack"
28227 if test "x
$MSPACK_LINK" = "x
" ; then
28232 if test "$wxUSE_LIBMSPACK" != "no
"; then
28233 cat >>confdefs.h <<\_ACEOF
28234 #define wxUSE_LIBMSPACK 1
28248 if test "$USE_WIN32" = 1 ; then
28250 for ac_header in w32api.h
28252 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28253 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28254 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28255 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28256 echo $ECHO_N "(cached
) $ECHO_C" >&6
28258 cat >conftest.$ac_ext <<_ACEOF
28261 cat confdefs.h >>conftest.$ac_ext
28262 cat >>conftest.$ac_ext <<_ACEOF
28263 /* end confdefs.h. */
28266 #include <$ac_header>
28268 rm -f conftest.$ac_objext
28269 if { (ac_try="$ac_compile"
28270 case "(($ac_try" in
28271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28272 *) ac_try_echo=$ac_try;;
28274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28275 (eval "$ac_compile") 2>conftest.er1
28277 grep -v '^ *+' conftest.er1 >conftest.err
28279 cat conftest.err >&5
28280 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28281 (exit $ac_status); } && {
28282 test -z "$ac_c_werror_flag" ||
28283 test ! -s conftest.err
28284 } && test -s conftest.$ac_objext; then
28285 eval "$as_ac_Header=yes"
28287 echo "$as_me: failed program was
:" >&5
28288 sed 's/^/| /' conftest.$ac_ext >&5
28290 eval "$as_ac_Header=no
"
28293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28295 ac_res=`eval echo '${'$as_ac_Header'}'`
28296 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28297 echo "${ECHO_T}$ac_res" >&6; }
28298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28299 cat >>confdefs.h <<_ACEOF
28300 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28307 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28308 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28309 if test "${ac_cv_header_windows_h+set}" = set; then
28310 echo $ECHO_N "(cached
) $ECHO_C" >&6
28312 cat >conftest.$ac_ext <<_ACEOF
28315 cat confdefs.h >>conftest.$ac_ext
28316 cat >>conftest.$ac_ext <<_ACEOF
28317 /* end confdefs.h. */
28320 #include <windows.h>
28322 rm -f conftest.$ac_objext
28323 if { (ac_try="$ac_compile"
28324 case "(($ac_try" in
28325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28326 *) ac_try_echo=$ac_try;;
28328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28329 (eval "$ac_compile") 2>conftest.er1
28331 grep -v '^ *+' conftest.er1 >conftest.err
28333 cat conftest.err >&5
28334 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28335 (exit $ac_status); } && {
28336 test -z "$ac_c_werror_flag" ||
28337 test ! -s conftest.err
28338 } && test -s conftest.$ac_objext; then
28339 ac_cv_header_windows_h=yes
28341 echo "$as_me: failed program was
:" >&5
28342 sed 's/^/| /' conftest.$ac_ext >&5
28344 ac_cv_header_windows_h=no
28347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28349 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28350 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28351 if test $ac_cv_header_windows_h = yes; then
28355 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28356 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28357 { (exit 1); exit 1; }; }
28364 x86_64-*-mingw32* )
28365 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28367 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
28370 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28373 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28374 LIBS="$LIBS -loleacc"
28379 LIBS="$LIBS -lkernel32 -luser32"
28382 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28383 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28385 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28387 WIN32INSTALL=win32install
28389 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28390 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28391 if test "${ac_cv_header_pbt_h+set}" = set; then
28392 echo $ECHO_N "(cached
) $ECHO_C" >&6
28394 cat >conftest.$ac_ext <<_ACEOF
28397 cat confdefs.h >>conftest.$ac_ext
28398 cat >>conftest.$ac_ext <<_ACEOF
28399 /* end confdefs.h. */
28404 rm -f conftest.$ac_objext
28405 if { (ac_try="$ac_compile"
28406 case "(($ac_try" in
28407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28408 *) ac_try_echo=$ac_try;;
28410 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28411 (eval "$ac_compile") 2>conftest.er1
28413 grep -v '^ *+' conftest.er1 >conftest.err
28415 cat conftest.err >&5
28416 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28417 (exit $ac_status); } && {
28418 test -z "$ac_c_werror_flag" ||
28419 test ! -s conftest.err
28420 } && test -s conftest.$ac_objext; then
28421 ac_cv_header_pbt_h=yes
28423 echo "$as_me: failed program was
:" >&5
28424 sed 's/^/| /' conftest.$ac_ext >&5
28426 ac_cv_header_pbt_h=no
28429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28431 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28432 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28433 if test $ac_cv_header_pbt_h = yes; then
28436 cat >>confdefs.h <<\_ACEOF
28437 #define NEED_PBT_H 1
28445 if test "$wxUSE_GUI" = "yes"; then
28455 if test "$wxUSE_COCOA" = 1 ; then
28456 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28457 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28458 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28459 wxUSE_PRINTING_ARCHITECTURE=no
28461 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28462 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28463 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28464 wxUSE_DRAG_AND_DROP=no
28466 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28467 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28468 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28473 if test "$wxUSE_MSW" = 1 ; then
28479 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28483 if test "$wxUSE_GTK" = 1; then
28484 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28485 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28487 gtk_version_cached=1
28488 if test "${wx_cv_lib_gtk+set}" = set; then
28489 echo $ECHO_N "(cached
) $ECHO_C" >&6
28492 gtk_version_cached=0
28493 { echo "$as_me:$LINENO: result
: " >&5
28494 echo "${ECHO_T}" >&6; }
28497 if test "$wxUSE_THREADS" = "yes"; then
28498 GTK_MODULES=gthread
28502 if test "x
$wxGTK_VERSION" != "x1
"
28506 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28511 # Check whether --enable-gtktest was given.
28512 if test "${enable_gtktest+set}" = set; then
28513 enableval=$enable_gtktest;
28519 pkg_config_args=gtk+-2.0
28520 for module in . $GTK_MODULES
28524 pkg_config_args="$pkg_config_args gthread
-2.0
"
28531 # Extract the first word of "pkg
-config", so it can be a program name with args.
28532 set dummy pkg-config; ac_word=$2
28533 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28534 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28535 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28536 echo $ECHO_N "(cached
) $ECHO_C" >&6
28538 case $PKG_CONFIG in
28540 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28544 for as_dir in $PATH
28547 test -z "$as_dir" && as_dir=.
28548 for ac_exec_ext in '' $ac_executable_extensions; do
28549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28550 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28551 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28558 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28562 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28563 if test -n "$PKG_CONFIG"; then
28564 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28565 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28567 { echo "$as_me:$LINENO: result
: no
" >&5
28568 echo "${ECHO_T}no
" >&6; }
28573 if test x$PKG_CONFIG != xno ; then
28574 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28577 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28585 min_gtk_version=2.4.0
28586 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28587 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28589 if test x$PKG_CONFIG != xno ; then
28590 ## don't try to run the test against uninstalled libtool libs
28591 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28592 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28596 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28603 if test x"$no_gtk" = x ; then
28604 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28605 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28606 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28607 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28608 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28609 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28610 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28611 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28612 if test "x
$enable_gtktest" = "xyes
" ; then
28613 ac_save_CFLAGS="$CFLAGS"
28614 ac_save_LIBS="$LIBS"
28615 CFLAGS="$CFLAGS $GTK_CFLAGS"
28616 LIBS="$GTK_LIBS $LIBS"
28618 if test "$cross_compiling" = yes; then
28619 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28621 cat >conftest.$ac_ext <<_ACEOF
28624 cat confdefs.h >>conftest.$ac_ext
28625 cat >>conftest.$ac_ext <<_ACEOF
28626 /* end confdefs.h. */
28628 #include <gtk/gtk.h>
28630 #include <stdlib.h>
28635 int major, minor, micro;
28638 system ("touch conf.gtktest
");
28640 /* HP/UX 9 (%@#!) writes to sscanf strings */
28641 tmp_version = g_strdup("$min_gtk_version");
28642 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28643 printf("%s
, bad version string
\n", "$min_gtk_version");
28647 if ((gtk_major_version != $gtk_config_major_version) ||
28648 (gtk_minor_version != $gtk_config_minor_version) ||
28649 (gtk_micro_version != $gtk_config_micro_version))
28651 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28652 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28653 gtk_major_version, gtk_minor_version, gtk_micro_version);
28654 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28655 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28656 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28657 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28658 printf("*** required on your system.
\n");
28659 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28660 printf("*** to point to the correct configuration files
\n");
28662 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28663 (gtk_minor_version != GTK_MINOR_VERSION) ||
28664 (gtk_micro_version != GTK_MICRO_VERSION))
28666 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28667 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28668 printf("*** library
(version
%d.
%d.
%d
)\n",
28669 gtk_major_version, gtk_minor_version, gtk_micro_version);
28673 if ((gtk_major_version > major) ||
28674 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28675 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28681 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28682 gtk_major_version, gtk_minor_version, gtk_micro_version);
28683 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28684 major, minor, micro);
28685 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28687 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28688 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28689 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28690 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28691 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28692 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28693 printf("*** so that the correct libraries are found
at run
-time))\n");
28700 rm -f conftest$ac_exeext
28701 if { (ac_try="$ac_link"
28702 case "(($ac_try" in
28703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28704 *) ac_try_echo=$ac_try;;
28706 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28707 (eval "$ac_link") 2>&5
28709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28711 { (case "(($ac_try" in
28712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28713 *) ac_try_echo=$ac_try;;
28715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28716 (eval "$ac_try") 2>&5
28718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28719 (exit $ac_status); }; }; then
28722 echo "$as_me: program exited with status
$ac_status" >&5
28723 echo "$as_me: failed program was
:" >&5
28724 sed 's/^/| /' conftest.$ac_ext >&5
28726 ( exit $ac_status )
28729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28733 CFLAGS="$ac_save_CFLAGS"
28734 LIBS="$ac_save_LIBS"
28737 if test "x
$no_gtk" = x ; then
28738 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28739 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28742 { echo "$as_me:$LINENO: result
: no
" >&5
28743 echo "${ECHO_T}no
" >&6; }
28744 if test "$PKG_CONFIG" = "no
" ; then
28745 echo "*** A new enough version of pkg
-config was not found.
"
28746 echo "*** See http
://pkgconfig.sourceforge.net
"
28748 if test -f conf.gtktest ; then
28751 echo "*** Could not run GTK
+ test program
, checking why...
"
28752 ac_save_CFLAGS="$CFLAGS"
28753 ac_save_LIBS="$LIBS"
28754 CFLAGS="$CFLAGS $GTK_CFLAGS"
28755 LIBS="$LIBS $GTK_LIBS"
28756 cat >conftest.$ac_ext <<_ACEOF
28759 cat confdefs.h >>conftest.$ac_ext
28760 cat >>conftest.$ac_ext <<_ACEOF
28761 /* end confdefs.h. */
28763 #include <gtk/gtk.h>
28769 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28774 rm -f conftest.$ac_objext conftest$ac_exeext
28775 if { (ac_try="$ac_link"
28776 case "(($ac_try" in
28777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28778 *) ac_try_echo=$ac_try;;
28780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28781 (eval "$ac_link") 2>conftest.er1
28783 grep -v '^ *+' conftest.er1 >conftest.err
28785 cat conftest.err >&5
28786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28787 (exit $ac_status); } && {
28788 test -z "$ac_c_werror_flag" ||
28789 test ! -s conftest.err
28790 } && test -s conftest$ac_exeext &&
28791 $as_test_x conftest$ac_exeext; then
28792 echo "*** The
test program compiled
, but did not run. This usually means
"
28793 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28794 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28795 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28796 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28797 echo "*** is required on your system"
28799 echo "*** If you have an old version installed, it is best to remove it, although"
28800 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28802 echo "$as_me: failed program was:" >&5
28803 sed 's
/^
/| /' conftest.$ac_ext >&5
28805 echo "*** The test program failed to compile or link. See the file config.log for the"
28806 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28810 conftest$ac_exeext conftest.$ac_ext
28811 CFLAGS="$ac_save_CFLAGS"
28812 LIBS="$ac_save_LIBS"
28826 if test "$wxUSE_SHARED" != "yes"; then
28827 GTK_LIBS="$GTK_LIBS -lX11"
28832 if test -z "$wx_cv_lib_gtk"; then
28833 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28835 # Check whether --with-gtk-prefix was given.
28836 if test "${with_gtk_prefix+set}" = set; then
28837 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28839 gtk_config_prefix=""
28843 # Check whether --with-gtk-exec-prefix was given.
28844 if test "${with_gtk_exec_prefix+set}" = set; then
28845 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28847 gtk_config_exec_prefix=""
28850 # Check whether --enable-gtktest was given.
28851 if test "${enable_gtktest+set}" = set; then
28852 enableval=$enable_gtktest;
28858 for module in . $GTK_MODULES
28862 gtk_config_args="$gtk_config_args gthread"
28867 if test x$gtk_config_exec_prefix != x ; then
28868 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28869 if test x${GTK_CONFIG+set} != xset ; then
28870 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28873 if test x$gtk_config_prefix != x ; then
28874 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28875 if test x${GTK_CONFIG+set} != xset ; then
28876 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28880 # Extract the first word of "gtk-config", so it can be a program name with args.
28881 set dummy gtk-config; ac_word=$2
28882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28884 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28885 echo $ECHO_N "(cached) $ECHO_C" >&6
28887 case $GTK_CONFIG in
28889 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28893 for as_dir in $PATH
28896 test -z "$as_dir" && as_dir=.
28897 for ac_exec_ext in '' $ac_executable_extensions; do
28898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28899 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28907 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28911 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28912 if test -n "$GTK_CONFIG"; then
28913 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28914 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28916 { echo "$as_me:$LINENO: result: no" >&5
28917 echo "${ECHO_T}no" >&6; }
28921 min_gtk_version=1.2.7
28922 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28923 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28925 if test "$GTK_CONFIG" = "no" ; then
28928 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28929 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28930 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28931 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28932 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28933 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28934 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28935 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28936 if test "x$enable_gtktest" = "xyes" ; then
28937 ac_save_CFLAGS="$CFLAGS"
28938 ac_save_LIBS="$LIBS"
28939 CFLAGS="$CFLAGS $GTK_CFLAGS"
28940 LIBS="$GTK_LIBS $LIBS"
28942 if test "$cross_compiling" = yes; then
28943 echo $ac_n "cross compiling; assumed OK... $ac_c"
28945 cat >conftest.$ac_ext <<_ACEOF
28948 cat confdefs.h >>conftest.$ac_ext
28949 cat >>conftest.$ac_ext <<_ACEOF
28950 /* end confdefs.h. */
28952 #include <gtk/gtk.h>
28954 #include <stdlib.h>
28959 int major, minor, micro;
28962 system ("touch conf.gtktest");
28964 /* HP/UX 9 (%@#!) writes to sscanf strings */
28965 tmp_version = g_strdup("$min_gtk_version");
28966 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28967 printf("%s, bad version string\n", "$min_gtk_version");
28971 if ((gtk_major_version != $gtk_config_major_version) ||
28972 (gtk_minor_version != $gtk_config_minor_version) ||
28973 (gtk_micro_version != $gtk_config_micro_version))
28975 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28976 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28977 gtk_major_version, gtk_minor_version, gtk_micro_version);
28978 printf ("*** was found! If gtk-config was correct, then it is best\n");
28979 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28980 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28981 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28982 printf("*** required on your system.\n");
28983 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28984 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28985 printf("*** before re-running configure\n");
28987 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28988 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28989 (gtk_minor_version != GTK_MINOR_VERSION) ||
28990 (gtk_micro_version != GTK_MICRO_VERSION))
28992 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28993 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28994 printf("*** library (version %d.%d.%d)\n",
28995 gtk_major_version, gtk_minor_version, gtk_micro_version);
28997 #endif /* defined (GTK_MAJOR_VERSION) ... */
29000 if ((gtk_major_version > major) ||
29001 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29002 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29008 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29009 gtk_major_version, gtk_minor_version, gtk_micro_version);
29010 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29011 major, minor, micro);
29012 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29014 printf("*** If you have already installed a sufficiently new version, this error\n");
29015 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29016 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29017 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29018 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29019 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29020 printf("*** so that the correct libraries are found at run-time))\n");
29027 rm -f conftest$ac_exeext
29028 if { (ac_try="$ac_link"
29029 case "(($ac_try" in
29030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29031 *) ac_try_echo=$ac_try;;
29033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29034 (eval "$ac_link") 2>&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
29038 { (case "(($ac_try" in
29039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29040 *) ac_try_echo=$ac_try;;
29042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29043 (eval "$ac_try") 2>&5
29045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29046 (exit $ac_status); }; }; then
29049 echo "$as_me: program exited with status $ac_status" >&5
29050 echo "$as_me: failed program was:" >&5
29051 sed 's
/^
/| /' conftest.$ac_ext >&5
29053 ( exit $ac_status )
29056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29060 CFLAGS="$ac_save_CFLAGS"
29061 LIBS="$ac_save_LIBS"
29064 if test "x$no_gtk" = x ; then
29065 { echo "$as_me:$LINENO: result: yes" >&5
29066 echo "${ECHO_T}yes" >&6; }
29067 wx_cv_lib_gtk=1.2.7
29069 { echo "$as_me:$LINENO: result: no" >&5
29070 echo "${ECHO_T}no" >&6; }
29071 if test "$GTK_CONFIG" = "no" ; then
29072 echo "*** The gtk-config script installed by GTK could not be found"
29073 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29074 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29075 echo "*** full path to gtk-config."
29077 if test -f conf.gtktest ; then
29080 echo "*** Could not run GTK test program, checking why..."
29081 CFLAGS="$CFLAGS $GTK_CFLAGS"
29082 LIBS="$LIBS $GTK_LIBS"
29083 cat >conftest.$ac_ext <<_ACEOF
29086 cat confdefs.h >>conftest.$ac_ext
29087 cat >>conftest.$ac_ext <<_ACEOF
29088 /* end confdefs.h. */
29090 #include <gtk/gtk.h>
29096 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29101 rm -f conftest.$ac_objext conftest$ac_exeext
29102 if { (ac_try="$ac_link"
29103 case "(($ac_try" in
29104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29105 *) ac_try_echo=$ac_try;;
29107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29108 (eval "$ac_link") 2>conftest.er1
29110 grep -v '^
*+' conftest.er1 >conftest.err
29112 cat conftest.err >&5
29113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29114 (exit $ac_status); } && {
29115 test -z "$ac_c_werror_flag" ||
29116 test ! -s conftest.err
29117 } && test -s conftest$ac_exeext &&
29118 $as_test_x conftest$ac_exeext; then
29119 echo "*** The test program compiled, but did not run. This usually means"
29120 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29121 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
29122 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
29123 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
29124 echo "*** is required on your system
"
29126 echo "*** If you have an old version installed
, it is best to remove it
, although
"
29127 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
29129 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
29130 echo "*** came with the system with the
command"
29132 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
29134 echo "$as_me: failed program was
:" >&5
29135 sed 's/^/| /' conftest.$ac_ext >&5
29137 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
29138 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
29139 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
29140 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
29143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29144 conftest$ac_exeext conftest.$ac_ext
29145 CFLAGS="$ac_save_CFLAGS"
29146 LIBS="$ac_save_LIBS"
29158 if test -z "$wx_cv_lib_gtk"; then
29160 # Check whether --with-gtk-prefix was given.
29161 if test "${with_gtk_prefix+set}" = set; then
29162 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29164 gtk_config_prefix=""
29168 # Check whether --with-gtk-exec-prefix was given.
29169 if test "${with_gtk_exec_prefix+set}" = set; then
29170 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29172 gtk_config_exec_prefix=""
29175 # Check whether --enable-gtktest was given.
29176 if test "${enable_gtktest+set}" = set; then
29177 enableval=$enable_gtktest;
29183 for module in . $GTK_MODULES
29187 gtk_config_args="$gtk_config_args gthread
"
29192 if test x$gtk_config_exec_prefix != x ; then
29193 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29194 if test x${GTK_CONFIG+set} != xset ; then
29195 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29198 if test x$gtk_config_prefix != x ; then
29199 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29200 if test x${GTK_CONFIG+set} != xset ; then
29201 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29205 # Extract the first word of "gtk
-config", so it can be a program name with args.
29206 set dummy gtk-config; ac_word=$2
29207 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29208 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29209 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29210 echo $ECHO_N "(cached
) $ECHO_C" >&6
29212 case $GTK_CONFIG in
29214 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29218 for as_dir in $PATH
29221 test -z "$as_dir" && as_dir=.
29222 for ac_exec_ext in '' $ac_executable_extensions; do
29223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29224 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29225 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29232 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29236 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29237 if test -n "$GTK_CONFIG"; then
29238 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29239 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29241 { echo "$as_me:$LINENO: result
: no
" >&5
29242 echo "${ECHO_T}no
" >&6; }
29246 min_gtk_version=1.2.3
29247 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29248 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29250 if test "$GTK_CONFIG" = "no
" ; then
29253 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29254 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29255 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29257 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29259 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29261 if test "x
$enable_gtktest" = "xyes
" ; then
29262 ac_save_CFLAGS="$CFLAGS"
29263 ac_save_LIBS="$LIBS"
29264 CFLAGS="$CFLAGS $GTK_CFLAGS"
29265 LIBS="$GTK_LIBS $LIBS"
29267 if test "$cross_compiling" = yes; then
29268 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29270 cat >conftest.$ac_ext <<_ACEOF
29273 cat confdefs.h >>conftest.$ac_ext
29274 cat >>conftest.$ac_ext <<_ACEOF
29275 /* end confdefs.h. */
29277 #include <gtk/gtk.h>
29279 #include <stdlib.h>
29284 int major, minor, micro;
29287 system ("touch conf.gtktest
");
29289 /* HP/UX 9 (%@#!) writes to sscanf strings */
29290 tmp_version = g_strdup("$min_gtk_version");
29291 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29292 printf("%s
, bad version string
\n", "$min_gtk_version");
29296 if ((gtk_major_version != $gtk_config_major_version) ||
29297 (gtk_minor_version != $gtk_config_minor_version) ||
29298 (gtk_micro_version != $gtk_config_micro_version))
29300 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29301 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29302 gtk_major_version, gtk_minor_version, gtk_micro_version);
29303 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29304 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29305 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29306 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29307 printf("*** required on your system.
\n");
29308 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29309 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29310 printf("*** before re
-running configure
\n");
29312 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29313 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29314 (gtk_minor_version != GTK_MINOR_VERSION) ||
29315 (gtk_micro_version != GTK_MICRO_VERSION))
29317 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29318 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29319 printf("*** library
(version
%d.
%d.
%d
)\n",
29320 gtk_major_version, gtk_minor_version, gtk_micro_version);
29322 #endif /* defined (GTK_MAJOR_VERSION) ... */
29325 if ((gtk_major_version > major) ||
29326 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29327 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29333 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29334 gtk_major_version, gtk_minor_version, gtk_micro_version);
29335 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29336 major, minor, micro);
29337 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29339 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29340 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29341 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29342 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29343 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29344 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29345 printf("*** so that the correct libraries are found
at run
-time))\n");
29352 rm -f conftest$ac_exeext
29353 if { (ac_try="$ac_link"
29354 case "(($ac_try" in
29355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29356 *) ac_try_echo=$ac_try;;
29358 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29359 (eval "$ac_link") 2>&5
29361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29362 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29363 { (case "(($ac_try" in
29364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29365 *) ac_try_echo=$ac_try;;
29367 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29368 (eval "$ac_try") 2>&5
29370 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29371 (exit $ac_status); }; }; then
29374 echo "$as_me: program exited with status
$ac_status" >&5
29375 echo "$as_me: failed program was
:" >&5
29376 sed 's/^/| /' conftest.$ac_ext >&5
29378 ( exit $ac_status )
29381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29385 CFLAGS="$ac_save_CFLAGS"
29386 LIBS="$ac_save_LIBS"
29389 if test "x
$no_gtk" = x ; then
29390 { echo "$as_me:$LINENO: result
: yes" >&5
29391 echo "${ECHO_T}yes" >&6; }
29392 wx_cv_lib_gtk=1.2.3
29394 { echo "$as_me:$LINENO: result
: no
" >&5
29395 echo "${ECHO_T}no
" >&6; }
29396 if test "$GTK_CONFIG" = "no
" ; then
29397 echo "*** The gtk
-config script installed by GTK could not be found
"
29398 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29399 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29400 echo "*** full path to gtk
-config.
"
29402 if test -f conf.gtktest ; then
29405 echo "*** Could not run GTK
test program
, checking why...
"
29406 CFLAGS="$CFLAGS $GTK_CFLAGS"
29407 LIBS="$LIBS $GTK_LIBS"
29408 cat >conftest.$ac_ext <<_ACEOF
29411 cat confdefs.h >>conftest.$ac_ext
29412 cat >>conftest.$ac_ext <<_ACEOF
29413 /* end confdefs.h. */
29415 #include <gtk/gtk.h>
29421 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29426 rm -f conftest.$ac_objext conftest$ac_exeext
29427 if { (ac_try="$ac_link"
29428 case "(($ac_try" in
29429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29430 *) ac_try_echo=$ac_try;;
29432 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29433 (eval "$ac_link") 2>conftest.er1
29435 grep -v '^ *+' conftest.er1 >conftest.err
29437 cat conftest.err >&5
29438 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29439 (exit $ac_status); } && {
29440 test -z "$ac_c_werror_flag" ||
29441 test ! -s conftest.err
29442 } && test -s conftest$ac_exeext &&
29443 $as_test_x conftest$ac_exeext; then
29444 echo "*** The
test program compiled
, but did not run. This usually means
"
29445 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29446 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29447 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29448 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29449 echo "*** is required on your system"
29451 echo "*** If you have an old version installed, it is best to remove it, although"
29452 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29454 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29455 echo "*** came with the system with the command"
29457 echo "*** rpm --erase --nodeps gtk gtk-devel"
29459 echo "$as_me: failed program was:" >&5
29460 sed 's
/^
/| /' conftest.$ac_ext >&5
29462 echo "*** The test program failed to compile or link. See the file config.log for the"
29463 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29464 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29465 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29469 conftest$ac_exeext conftest.$ac_ext
29470 CFLAGS="$ac_save_CFLAGS"
29471 LIBS="$ac_save_LIBS"
29486 if test -z "$wx_cv_lib_gtk"; then
29489 wx_cv_cflags_gtk=$GTK_CFLAGS
29490 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29497 if test "$gtk_version_cached" = 1; then
29498 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29499 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29502 case "$wx_cv_lib_gtk" in
29511 *) { { echo "$as_me:$LINENO: error:
29512 The development files for GTK+ were not found. For GTK+ 2, please
29513 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29514 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29515 and that the version is 1.2.3 or above. Also check that the
29516 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29517 --libs' are in the LD_LIBRARY_PATH or equivalent.
29519 echo "$as_me: error:
29520 The development files for GTK+ were not found. For GTK+ 2, please
29521 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29522 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29523 and that the version is 1.2.3 or above. Also check that the
29524 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29525 --libs' are in the LD_LIBRARY_PATH or equivalent.
29527 { (exit 1); exit 1; }; }
29531 if test "$WXGTK2" = 1; then
29532 save_CFLAGS="$CFLAGS"
29534 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29535 LIBS="$LIBS $wx_cv_libs_gtk"
29537 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29538 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29539 cat >conftest.$ac_ext <<_ACEOF
29542 cat confdefs.h >>conftest.$ac_ext
29543 cat >>conftest.$ac_ext <<_ACEOF
29544 /* end confdefs.h. */
29546 #include <gtk/gtk.h>
29552 #if !GTK_CHECK_VERSION(2,18,0)
29560 rm -f conftest.$ac_objext
29561 if { (ac_try="$ac_compile"
29562 case "(($ac_try" in
29563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29564 *) ac_try_echo=$ac_try;;
29566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29567 (eval "$ac_compile") 2>conftest.er1
29569 grep -v '^
*+' conftest.er1 >conftest.err
29571 cat conftest.err >&5
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); } && {
29574 test -z "$ac_c_werror_flag" ||
29575 test ! -s conftest.err
29576 } && test -s conftest.$ac_objext; then
29578 cat >>confdefs.h <<\_ACEOF
29579 #define __WXGTK218__ 1
29582 cat >>confdefs.h <<\_ACEOF
29583 #define __WXGTK210__ 1
29586 cat >>confdefs.h <<\_ACEOF
29587 #define __WXGTK26__ 1
29590 { echo "$as_me:$LINENO: result: yes" >&5
29591 echo "${ECHO_T}yes" >&6; }
29595 echo "$as_me: failed program was:" >&5
29596 sed 's
/^
/| /' conftest.$ac_ext >&5
29599 { echo "$as_me:$LINENO: result: no" >&5
29600 echo "${ECHO_T}no" >&6; }
29605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29607 if test "$ac_wxgtk218" = 0; then
29608 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29609 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29610 cat >conftest.$ac_ext <<_ACEOF
29613 cat confdefs.h >>conftest.$ac_ext
29614 cat >>conftest.$ac_ext <<_ACEOF
29615 /* end confdefs.h. */
29617 #include <gtk/gtk.h>
29623 #if !GTK_CHECK_VERSION(2,10,0)
29631 rm -f conftest.$ac_objext
29632 if { (ac_try="$ac_compile"
29633 case "(($ac_try" in
29634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29635 *) ac_try_echo=$ac_try;;
29637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29638 (eval "$ac_compile") 2>conftest.er1
29640 grep -v '^
*+' conftest.er1 >conftest.err
29642 cat conftest.err >&5
29643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29644 (exit $ac_status); } && {
29645 test -z "$ac_c_werror_flag" ||
29646 test ! -s conftest.err
29647 } && test -s conftest.$ac_objext; then
29649 cat >>confdefs.h <<\_ACEOF
29650 #define __WXGTK210__ 1
29653 cat >>confdefs.h <<\_ACEOF
29654 #define __WXGTK26__ 1
29657 { echo "$as_me:$LINENO: result: yes" >&5
29658 echo "${ECHO_T}yes" >&6; }
29662 echo "$as_me: failed program was:" >&5
29663 sed 's
/^
/| /' conftest.$ac_ext >&5
29666 { echo "$as_me:$LINENO: result: no" >&5
29667 echo "${ECHO_T}no" >&6; }
29672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29674 if test "$ac_wxgtk210" = 0; then
29675 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29676 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29677 cat >conftest.$ac_ext <<_ACEOF
29680 cat confdefs.h >>conftest.$ac_ext
29681 cat >>conftest.$ac_ext <<_ACEOF
29682 /* end confdefs.h. */
29684 #include <gtk/gtk.h>
29690 #if !GTK_CHECK_VERSION(2,6,0)
29698 rm -f conftest.$ac_objext
29699 if { (ac_try="$ac_compile"
29700 case "(($ac_try" in
29701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29702 *) ac_try_echo=$ac_try;;
29704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29705 (eval "$ac_compile") 2>conftest.er1
29707 grep -v '^
*+' conftest.er1 >conftest.err
29709 cat conftest.err >&5
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); } && {
29712 test -z "$ac_c_werror_flag" ||
29713 test ! -s conftest.err
29714 } && test -s conftest.$ac_objext; then
29716 cat >>confdefs.h <<\_ACEOF
29717 #define __WXGTK26__ 1
29720 { echo "$as_me:$LINENO: result: yes" >&5
29721 echo "${ECHO_T}yes" >&6; }
29725 echo "$as_me: failed program was:" >&5
29726 sed 's
/^
/| /' conftest.$ac_ext >&5
29729 { echo "$as_me:$LINENO: result: no" >&5
29730 echo "${ECHO_T}no" >&6; }
29735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29739 CFLAGS="$save_CFLAGS"
29742 if test "$wxUSE_UNICODE" = "yes"; then
29743 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29744 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29748 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29749 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29750 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29751 echo $ECHO_N "(cached) $ECHO_C" >&6
29753 ac_check_lib_save_LIBS=$LIBS
29755 cat >conftest.$ac_ext <<_ACEOF
29758 cat confdefs.h >>conftest.$ac_ext
29759 cat >>conftest.$ac_ext <<_ACEOF
29760 /* end confdefs.h. */
29762 /* Override any GCC internal prototype to avoid an error.
29763 Use char because int might match the return type of a GCC
29764 builtin and then its argument prototype would still apply. */
29768 char gdk_im_open ();
29772 return gdk_im_open ();
29777 rm -f conftest.$ac_objext conftest$ac_exeext
29778 if { (ac_try="$ac_link"
29779 case "(($ac_try" in
29780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29781 *) ac_try_echo=$ac_try;;
29783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29784 (eval "$ac_link") 2>conftest.er1
29786 grep -v '^
*+' conftest.er1 >conftest.err
29788 cat conftest.err >&5
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); } && {
29791 test -z "$ac_c_werror_flag" ||
29792 test ! -s conftest.err
29793 } && test -s conftest$ac_exeext &&
29794 $as_test_x conftest$ac_exeext; then
29795 ac_cv_lib_gdk_gdk_im_open=yes
29797 echo "$as_me: failed program was:" >&5
29798 sed 's
/^
/| /' conftest.$ac_ext >&5
29800 ac_cv_lib_gdk_gdk_im_open=no
29803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29804 conftest$ac_exeext conftest.$ac_ext
29805 LIBS=$ac_check_lib_save_LIBS
29807 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29808 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29809 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29810 cat >>confdefs.h <<\_ACEOF
29817 if test "$USE_DARWIN" != 1; then
29819 for ac_func in poll
29821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29822 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29824 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29827 cat >conftest.$ac_ext <<_ACEOF
29830 cat confdefs.h >>conftest.$ac_ext
29831 cat >>conftest.$ac_ext <<_ACEOF
29832 /* end confdefs.h. */
29833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29835 #define $ac_func innocuous_$ac_func
29837 /* System header to define __stub macros and hopefully few prototypes,
29838 which can conflict with char $ac_func (); below.
29839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29840 <limits.h> exists even on freestanding compilers. */
29843 # include <limits.h>
29845 # include <assert.h>
29850 /* Override any GCC internal prototype to avoid an error.
29851 Use char because int might match the return type of a GCC
29852 builtin and then its argument prototype would still apply. */
29857 /* The GNU C library defines this for functions which it implements
29858 to always fail with ENOSYS. Some functions are actually named
29859 something starting with __ and the normal name is an alias. */
29860 #if defined __stub_$ac_func || defined __stub___$ac_func
29867 return $ac_func ();
29872 rm -f conftest.$ac_objext conftest$ac_exeext
29873 if { (ac_try="$ac_link"
29874 case "(($ac_try" in
29875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29876 *) ac_try_echo=$ac_try;;
29878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29879 (eval "$ac_link") 2>conftest.er1
29881 grep -v '^
*+' conftest.er1 >conftest.err
29883 cat conftest.err >&5
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); } && {
29886 test -z "$ac_c_werror_flag" ||
29887 test ! -s conftest.err
29888 } && test -s conftest$ac_exeext &&
29889 $as_test_x conftest$ac_exeext; then
29890 eval "$as_ac_var=yes"
29892 echo "$as_me: failed program was:" >&5
29893 sed 's
/^
/| /' conftest.$ac_ext >&5
29895 eval "$as_ac_var=no"
29898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29899 conftest$ac_exeext conftest.$ac_ext
29901 ac_res=`eval echo '${'$as_ac_var'}'`
29902 { echo "$as_me:$LINENO: result: $ac_res" >&5
29903 echo "${ECHO_T}$ac_res" >&6; }
29904 if test `eval echo '${'$as_ac_var'}'` = yes; then
29905 cat >>confdefs.h <<_ACEOF
29906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29915 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29916 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29918 AFMINSTALL=afminstall
29922 if test "$wxUSE_GPE" = "yes"; then
29923 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29924 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29927 for ac_dir in $SEARCH_LIB;
29929 for ac_extension in a so sl dylib dll.a; do
29930 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29931 ac_find_libraries=$ac_dir
29937 if test "$ac_find_libraries" != "" ; then
29939 if test "$ac_find_libraries" = "default location"; then
29942 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29944 if test $result = 0; then
29947 ac_path_to_link=" -L$ac_find_libraries"
29951 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29953 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29954 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29956 { echo "$as_me:$LINENO: result: not found" >&5
29957 echo "${ECHO_T}not found" >&6; }
29963 if test "$wxUSE_MGL" = 1; then
29964 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29965 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29966 if test "x$MGL_ROOT" = x ; then
29967 { echo "$as_me:$LINENO: result: not found" >&5
29968 echo "${ECHO_T}not found" >&6; }
29969 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29970 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29971 { (exit 1); exit 1; }; }
29973 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29974 echo "${ECHO_T}$MGL_ROOT" >&6; }
29977 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29978 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29981 if test "x$wxUSE_SHARED" = xyes ; then
29982 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29984 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29988 mgl_os_candidates="dos32/dj2"
29991 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29992 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29993 { (exit 1); exit 1; }; }
29999 for mgl_os_i in $mgl_os_candidates ; do
30000 if test "x$mgl_os" = x ; then
30001 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30002 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30003 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30008 if test "x$mgl_lib_type" = x ; then
30009 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30010 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30011 mgl_lib_type=release
30018 if test "x$mgl_os" = x ; then
30019 { echo "$as_me:$LINENO: result: not found" >&5
30020 echo "${ECHO_T}not found" >&6; }
30021 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30022 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30023 { (exit 1); exit 1; }; }
30025 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30026 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30028 wxUSE_UNIVERSAL="yes"
30030 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30031 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30033 AFMINSTALL=afminstall
30038 if test "$wxUSE_DFB" = 1; then
30041 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30042 if test -n "$ac_tool_prefix"; then
30043 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30044 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30047 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30048 echo $ECHO_N "(cached) $ECHO_C" >&6
30050 case $PKG_CONFIG in
30052 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30056 for as_dir in $PATH
30059 test -z "$as_dir" && as_dir=.
30060 for ac_exec_ext in '' $ac_executable_extensions; do
30061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30062 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30073 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30074 if test -n "$PKG_CONFIG"; then
30075 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30076 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30078 { echo "$as_me:$LINENO: result: no" >&5
30079 echo "${ECHO_T}no" >&6; }
30084 if test -z "$ac_cv_path_PKG_CONFIG"; then
30085 ac_pt_PKG_CONFIG=$PKG_CONFIG
30086 # Extract the first word of "pkg-config", so it can be a program name with args.
30087 set dummy pkg-config; ac_word=$2
30088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30090 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30091 echo $ECHO_N "(cached) $ECHO_C" >&6
30093 case $ac_pt_PKG_CONFIG in
30095 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30099 for as_dir in $PATH
30102 test -z "$as_dir" && as_dir=.
30103 for ac_exec_ext in '' $ac_executable_extensions; do
30104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30105 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30116 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30117 if test -n "$ac_pt_PKG_CONFIG"; then
30118 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30119 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30121 { echo "$as_me:$LINENO: result: no" >&5
30122 echo "${ECHO_T}no" >&6; }
30125 if test "x$ac_pt_PKG_CONFIG" = x; then
30128 case $cross_compiling:$ac_tool_warned in
30130 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30131 whose name does not start with the host triplet. If you think this
30132 configuration is useful to you, please write to autoconf@gnu.org." >&5
30133 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30134 whose name does not start with the host triplet. If you think this
30135 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30136 ac_tool_warned=yes ;;
30138 PKG_CONFIG=$ac_pt_PKG_CONFIG
30141 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30145 if test -n "$PKG_CONFIG"; then
30146 _pkg_min_version=0.9.0
30147 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30148 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30149 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30150 { echo "$as_me:$LINENO: result: yes" >&5
30151 echo "${ECHO_T}yes" >&6; }
30153 { echo "$as_me:$LINENO: result: no" >&5
30154 echo "${ECHO_T}no" >&6; }
30162 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30163 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30165 if test -n "$PKG_CONFIG"; then
30166 if test -n "$DIRECTFB_CFLAGS"; then
30167 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30169 if test -n "$PKG_CONFIG" && \
30170 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30171 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); }; then
30175 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30183 if test -n "$PKG_CONFIG"; then
30184 if test -n "$DIRECTFB_LIBS"; then
30185 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30187 if test -n "$PKG_CONFIG" && \
30188 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30189 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); }; then
30193 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30204 if test $pkg_failed = yes; then
30206 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30207 _pkg_short_errors_supported=yes
30209 _pkg_short_errors_supported=no
30211 if test $_pkg_short_errors_supported = yes; then
30212 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30214 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30216 # Put the nasty error message in config.log where it belongs
30217 echo "$DIRECTFB_PKG_ERRORS" >&5
30220 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30221 echo "$as_me: error: DirectFB not found." >&2;}
30222 { (exit 1); exit 1; }; }
30225 elif test $pkg_failed = untried; then
30227 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30228 echo "$as_me: error: DirectFB not found." >&2;}
30229 { (exit 1); exit 1; }; }
30233 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30234 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30235 { echo "$as_me:$LINENO: result: yes" >&5
30236 echo "${ECHO_T}yes" >&6; }
30238 wxUSE_UNIVERSAL="yes"
30239 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30240 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30247 if test "$wxUSE_MICROWIN" = 1; then
30248 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30249 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30250 if test "x$MICROWINDOWS" = x ; then
30251 { echo "$as_me:$LINENO: result: not found" >&5
30252 echo "${ECHO_T}not found" >&6; }
30253 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30254 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30255 { (exit 1); exit 1; }; }
30257 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30258 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30261 if test -f $MICROWINDOWS/lib/libmwin.a; then
30262 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30263 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30265 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30266 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30267 { (exit 1); exit 1; }; }
30270 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30271 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30273 wxUSE_UNIVERSAL="yes"
30275 AFMINSTALL=afminstall
30277 GUIDIST=MICROWIN_DIST
30279 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30282 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30283 { echo "$as_me:$LINENO: checking for X" >&5
30284 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30287 # Check whether --with-x was given.
30288 if test "${with_x+set}" = set; then
30292 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30293 if test "x$with_x" = xno; then
30294 # The user explicitly disabled X.
30297 case $x_includes,$x_libraries in #(
30298 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30299 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30300 { (exit 1); exit 1; }; };; #(
30301 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30302 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 # One or both of the vars are not set, and there is no cached value.
30305 ac_x_includes=no ac_x_libraries=no
30306 rm -f -r conftest.dir
30307 if mkdir conftest.dir; then
30309 cat >Imakefile <<'_ACEOF'
30311 @echo incroot='${INCROOT}'
30313 @echo usrlibdir='${USRLIBDIR}'
30315 @echo libdir='${LIBDIR}'
30317 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30318 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30319 for ac_var in incroot usrlibdir libdir; do
30320 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30322 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30323 for ac_extension in a so sl; do
30324 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30325 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30326 ac_im_usrlibdir=$ac_im_libdir; break
30329 # Screen out bogus values from the imake configuration. They are
30330 # bogus both because they are the default anyway, and because
30331 # using them would break gcc on systems where it needs fixed includes.
30332 case $ac_im_incroot in
30333 /usr/include) ac_x_includes= ;;
30334 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30336 case $ac_im_usrlibdir in
30337 /usr/lib | /lib) ;;
30338 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30342 rm -f -r conftest.dir
30345 # Standard set of common directories for X headers.
30346 # Check X11 before X11Rn because it is often a symlink to the current release.
30358 /usr
/local
/X
11/include
30359 /usr
/local
/X
11R
6/include
30360 /usr
/local
/X
11R
5/include
30361 /usr
/local
/X
11R
4/include
30363 /usr
/local
/include
/X11
30364 /usr
/local
/include
/X11R6
30365 /usr
/local
/include
/X11R5
30366 /usr
/local
/include
/X11R4
30370 /usr
/XFree
86/include
/X11
30374 /usr
/unsupported
/include
30375 /usr
/athena
/include
30376 /usr
/local
/x
11r
5/include
30377 /usr
/lpp
/Xamples
/include
30379 /usr
/openwin
/include
30380 /usr
/openwin
/share
/include
'
30382 if test "$ac_x_includes" = no; then
30383 # Guess where to find include files, by looking for Xlib.h.
30384 # First, try using that file with no special directory specified.
30385 cat >conftest.$ac_ext <<_ACEOF
30388 cat confdefs.h >>conftest.$ac_ext
30389 cat >>conftest.$ac_ext <<_ACEOF
30390 /* end confdefs.h. */
30391 #include <X11/Xlib.h>
30393 if { (ac_try="$ac_cpp conftest.$ac_ext"
30394 case "(($ac_try" in
30395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30396 *) ac_try_echo=$ac_try;;
30398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30399 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30401 grep -v '^
*+' conftest.er1 >conftest.err
30403 cat conftest.err >&5
30404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30405 (exit $ac_status); } >/dev/null && {
30406 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30407 test ! -s conftest.err
30409 # We can compile using X headers with no special include directory.
30412 echo "$as_me: failed program was:" >&5
30413 sed 's
/^
/| /' conftest.$ac_ext >&5
30415 for ac_dir in $ac_x_header_dirs; do
30416 if test -r "$ac_dir/X11/Xlib.h"; then
30417 ac_x_includes=$ac_dir
30423 rm -f conftest.err conftest.$ac_ext
30424 fi # $ac_x_includes = no
30426 if test "$ac_x_libraries" = no; then
30427 # Check for the libraries.
30428 # See if we find them without any special options.
30429 # Don't add to
$LIBS permanently.
30432 cat >conftest.
$ac_ext <<_ACEOF
30435 cat confdefs.h
>>conftest.
$ac_ext
30436 cat >>conftest.
$ac_ext <<_ACEOF
30437 /* end confdefs.h. */
30438 #include <X11/Xlib.h>
30447 rm -f conftest.
$ac_objext conftest
$ac_exeext
30448 if { (ac_try
="$ac_link"
30449 case "(($ac_try" in
30450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30451 *) ac_try_echo=$ac_try;;
30453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30454 (eval "$ac_link") 2>conftest.er1
30456 grep -v '^ *+' conftest.er1 >conftest.err
30458 cat conftest.err >&5
30459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30460 (exit $ac_status); } && {
30461 test -z "$ac_c_werror_flag" ||
30462 test ! -s conftest.err
30463 } && test -s conftest$ac_exeext &&
30464 $as_test_x conftest$ac_exeext; then
30466 # We can link X programs with no special library path.
30469 echo "$as_me: failed program was:" >&5
30470 sed 's/^/| /' conftest.$ac_ext >&5
30473 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30475 # Don't even attempt the hair of trying to link an X program!
30476 for ac_extension in a so sl; do
30477 if test -r "$ac_dir/libX11.$ac_extension"; then
30478 ac_x_libraries=$ac_dir
30485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30486 conftest$ac_exeext conftest.$ac_ext
30487 fi # $ac_x_libraries = no
30489 case $ac_x_includes,$ac_x_libraries in #(
30490 no,* | *,no | *\'*)
30491 # Didn't find X, or a directory has "'" in its name.
30492 ac_cv_have_x="have_x=no";; #(
30494 # Record where we found X for the cache.
30495 ac_cv_have_x="have_x=yes\
30496 ac_x_includes='$ac_x_includes'\
30497 ac_x_libraries='$ac_x_libraries'"
30503 eval "$ac_cv_have_x"
30506 if test "$have_x" != yes; then
30507 { echo "$as_me:$LINENO: result: $have_x" >&5
30508 echo "${ECHO_T}$have_x" >&6; }
30511 # If each of the values was on the command line, it overrides each guess.
30512 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30513 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30514 # Update the cache value to reflect the command line values.
30515 ac_cv_have_x="have_x=yes\
30516 ac_x_includes='$x_includes'\
30517 ac_x_libraries='$x_libraries'"
30518 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30519 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30522 if test "$no_x" = yes; then
30523 # Not all programs may use this symbol, but it does not hurt to define it.
30525 cat >>confdefs.h <<\_ACEOF
30526 #define X_DISPLAY_MISSING 1
30529 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30531 if test -n "$x_includes"; then
30532 X_CFLAGS="$X_CFLAGS -I$x_includes"
30535 # It would also be nice to do this for all -L options, not just this one.
30536 if test -n "$x_libraries"; then
30537 X_LIBS="$X_LIBS -L$x_libraries"
30538 # For Solaris; some versions of Sun CC require a space after -R and
30539 # others require no space. Words are not sufficient . . . .
30540 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30541 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30542 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30543 ac_xsave_c_werror_flag=$ac_c_werror_flag
30544 ac_c_werror_flag=yes
30545 cat >conftest.$ac_ext <<_ACEOF
30548 cat confdefs.h >>conftest.$ac_ext
30549 cat >>conftest.$ac_ext <<_ACEOF
30550 /* end confdefs.h. */
30560 rm -f conftest.$ac_objext conftest$ac_exeext
30561 if { (ac_try="$ac_link"
30562 case "(($ac_try" in
30563 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30564 *) ac_try_echo
=$ac_try;;
30566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30567 (eval "$ac_link") 2>conftest.er1
30569 grep -v '^ *+' conftest.er1
>conftest.err
30571 cat conftest.err
>&5
30572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30573 (exit $ac_status); } && {
30574 test -z "$ac_c_werror_flag" ||
30575 test ! -s conftest.err
30576 } && test -s conftest
$ac_exeext &&
30577 $as_test_x conftest
$ac_exeext; then
30578 { echo "$as_me:$LINENO: result: no" >&5
30579 echo "${ECHO_T}no" >&6; }
30580 X_LIBS
="$X_LIBS -R$x_libraries"
30582 echo "$as_me: failed program was:" >&5
30583 sed 's/^/| /' conftest.
$ac_ext >&5
30585 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30586 cat >conftest.
$ac_ext <<_ACEOF
30589 cat confdefs.h
>>conftest.
$ac_ext
30590 cat >>conftest.
$ac_ext <<_ACEOF
30591 /* end confdefs.h. */
30601 rm -f conftest.
$ac_objext conftest
$ac_exeext
30602 if { (ac_try
="$ac_link"
30603 case "(($ac_try" in
30604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30605 *) ac_try_echo=$ac_try;;
30607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30608 (eval "$ac_link") 2>conftest.er1
30610 grep -v '^ *+' conftest.er1 >conftest.err
30612 cat conftest.err >&5
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); } && {
30615 test -z "$ac_c_werror_flag" ||
30616 test ! -s conftest.err
30617 } && test -s conftest$ac_exeext &&
30618 $as_test_x conftest$ac_exeext; then
30619 { echo "$as_me:$LINENO: result: yes" >&5
30620 echo "${ECHO_T}yes" >&6; }
30621 X_LIBS="$X_LIBS -R $x_libraries"
30623 echo "$as_me: failed program was:" >&5
30624 sed 's/^/| /' conftest.$ac_ext >&5
30626 { echo "$as_me:$LINENO: result: neither works" >&5
30627 echo "${ECHO_T}neither works" >&6; }
30630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30631 conftest$ac_exeext conftest.$ac_ext
30634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30635 conftest$ac_exeext conftest.$ac_ext
30636 ac_c_werror_flag=$ac_xsave_c_werror_flag
30637 LIBS=$ac_xsave_LIBS
30640 # Check for system-dependent libraries X programs must link with.
30641 # Do this before checking for the system-independent R6 libraries
30642 # (-lICE), since we may need -lsocket or whatever for X linking.
30644 if test "$ISC" = yes; then
30645 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30647 # Martyn Johnson says this is needed for Ultrix, if the X
30648 # libraries were built with DECnet support. And Karl Berry says
30649 # the Alpha needs dnet_stub (dnet does not exist).
30650 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30651 cat >conftest.$ac_ext <<_ACEOF
30654 cat confdefs.h >>conftest.$ac_ext
30655 cat >>conftest.$ac_ext <<_ACEOF
30656 /* end confdefs.h. */
30658 /* Override any GCC internal prototype to avoid an error.
30659 Use char because int might match the return type of a GCC
30660 builtin and then its argument prototype would still apply. */
30664 char XOpenDisplay ();
30668 return XOpenDisplay ();
30673 rm -f conftest.$ac_objext conftest$ac_exeext
30674 if { (ac_try="$ac_link"
30675 case "(($ac_try" in
30676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30677 *) ac_try_echo
=$ac_try;;
30679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30680 (eval "$ac_link") 2>conftest.er1
30682 grep -v '^ *+' conftest.er1
>conftest.err
30684 cat conftest.err
>&5
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); } && {
30687 test -z "$ac_c_werror_flag" ||
30688 test ! -s conftest.err
30689 } && test -s conftest
$ac_exeext &&
30690 $as_test_x conftest
$ac_exeext; then
30693 echo "$as_me: failed program was:" >&5
30694 sed 's/^/| /' conftest.
$ac_ext >&5
30696 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30697 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30698 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30699 echo $ECHO_N "(cached) $ECHO_C" >&6
30701 ac_check_lib_save_LIBS
=$LIBS
30702 LIBS
="-ldnet $LIBS"
30703 cat >conftest.
$ac_ext <<_ACEOF
30706 cat confdefs.h
>>conftest.
$ac_ext
30707 cat >>conftest.
$ac_ext <<_ACEOF
30708 /* end confdefs.h. */
30710 /* Override any GCC internal prototype to avoid an error.
30711 Use char because int might match the return type of a GCC
30712 builtin and then its argument prototype would still apply. */
30720 return dnet_ntoa ();
30725 rm -f conftest.
$ac_objext conftest
$ac_exeext
30726 if { (ac_try
="$ac_link"
30727 case "(($ac_try" in
30728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30729 *) ac_try_echo=$ac_try;;
30731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30732 (eval "$ac_link") 2>conftest.er1
30734 grep -v '^ *+' conftest.er1 >conftest.err
30736 cat conftest.err >&5
30737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30738 (exit $ac_status); } && {
30739 test -z "$ac_c_werror_flag" ||
30740 test ! -s conftest.err
30741 } && test -s conftest$ac_exeext &&
30742 $as_test_x conftest$ac_exeext; then
30743 ac_cv_lib_dnet_dnet_ntoa=yes
30745 echo "$as_me: failed program was:" >&5
30746 sed 's/^/| /' conftest.$ac_ext >&5
30748 ac_cv_lib_dnet_dnet_ntoa=no
30751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30752 conftest$ac_exeext conftest.$ac_ext
30753 LIBS=$ac_check_lib_save_LIBS
30755 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30756 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30757 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30758 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30761 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30762 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30763 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30764 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30765 echo $ECHO_N "(cached) $ECHO_C" >&6
30767 ac_check_lib_save_LIBS=$LIBS
30768 LIBS="-ldnet_stub $LIBS"
30769 cat >conftest.$ac_ext <<_ACEOF
30772 cat confdefs.h >>conftest.$ac_ext
30773 cat >>conftest.$ac_ext <<_ACEOF
30774 /* end confdefs.h. */
30776 /* Override any GCC internal prototype to avoid an error.
30777 Use char because int might match the return type of a GCC
30778 builtin and then its argument prototype would still apply. */
30786 return dnet_ntoa ();
30791 rm -f conftest.$ac_objext conftest$ac_exeext
30792 if { (ac_try="$ac_link"
30793 case "(($ac_try" in
30794 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30795 *) ac_try_echo
=$ac_try;;
30797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30798 (eval "$ac_link") 2>conftest.er1
30800 grep -v '^ *+' conftest.er1
>conftest.err
30802 cat conftest.err
>&5
30803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30804 (exit $ac_status); } && {
30805 test -z "$ac_c_werror_flag" ||
30806 test ! -s conftest.err
30807 } && test -s conftest
$ac_exeext &&
30808 $as_test_x conftest
$ac_exeext; then
30809 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30811 echo "$as_me: failed program was:" >&5
30812 sed 's/^/| /' conftest.
$ac_ext >&5
30814 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30817 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30818 conftest
$ac_exeext conftest.
$ac_ext
30819 LIBS
=$ac_check_lib_save_LIBS
30821 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30822 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30823 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30824 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30830 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30831 conftest
$ac_exeext conftest.
$ac_ext
30832 LIBS
="$ac_xsave_LIBS"
30834 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30835 # to get the SysV transport functions.
30836 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30838 # The nsl library prevents programs from opening the X display
30839 # on Irix 5.2, according to T.E. Dickey.
30840 # The functions gethostbyname, getservbyname, and inet_addr are
30841 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30842 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30843 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30844 if test "${ac_cv_func_gethostbyname+set}" = set; then
30845 echo $ECHO_N "(cached) $ECHO_C" >&6
30847 cat >conftest.
$ac_ext <<_ACEOF
30850 cat confdefs.h
>>conftest.
$ac_ext
30851 cat >>conftest.
$ac_ext <<_ACEOF
30852 /* end confdefs.h. */
30853 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30855 #define gethostbyname innocuous_gethostbyname
30857 /* System header to define __stub macros and hopefully few prototypes,
30858 which can conflict with char gethostbyname (); below.
30859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30860 <limits.h> exists even on freestanding compilers. */
30863 # include <limits.h>
30865 # include <assert.h>
30868 #undef gethostbyname
30870 /* Override any GCC internal prototype to avoid an error.
30871 Use char because int might match the return type of a GCC
30872 builtin and then its argument prototype would still apply. */
30876 char gethostbyname ();
30877 /* The GNU C library defines this for functions which it implements
30878 to always fail with ENOSYS. Some functions are actually named
30879 something starting with __ and the normal name is an alias. */
30880 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30887 return gethostbyname ();
30892 rm -f conftest.
$ac_objext conftest
$ac_exeext
30893 if { (ac_try
="$ac_link"
30894 case "(($ac_try" in
30895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30896 *) ac_try_echo=$ac_try;;
30898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30899 (eval "$ac_link") 2>conftest.er1
30901 grep -v '^ *+' conftest.er1 >conftest.err
30903 cat conftest.err >&5
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); } && {
30906 test -z "$ac_c_werror_flag" ||
30907 test ! -s conftest.err
30908 } && test -s conftest$ac_exeext &&
30909 $as_test_x conftest$ac_exeext; then
30910 ac_cv_func_gethostbyname=yes
30912 echo "$as_me: failed program was:" >&5
30913 sed 's/^/| /' conftest.$ac_ext >&5
30915 ac_cv_func_gethostbyname=no
30918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30919 conftest$ac_exeext conftest.$ac_ext
30921 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30922 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30924 if test $ac_cv_func_gethostbyname = no; then
30925 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30926 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30927 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30928 echo $ECHO_N "(cached) $ECHO_C" >&6
30930 ac_check_lib_save_LIBS=$LIBS
30932 cat >conftest.$ac_ext <<_ACEOF
30935 cat confdefs.h >>conftest.$ac_ext
30936 cat >>conftest.$ac_ext <<_ACEOF
30937 /* end confdefs.h. */
30939 /* Override any GCC internal prototype to avoid an error.
30940 Use char because int might match the return type of a GCC
30941 builtin and then its argument prototype would still apply. */
30945 char gethostbyname ();
30949 return gethostbyname ();
30954 rm -f conftest.$ac_objext conftest$ac_exeext
30955 if { (ac_try="$ac_link"
30956 case "(($ac_try" in
30957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30958 *) ac_try_echo
=$ac_try;;
30960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30961 (eval "$ac_link") 2>conftest.er1
30963 grep -v '^ *+' conftest.er1
>conftest.err
30965 cat conftest.err
>&5
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); } && {
30968 test -z "$ac_c_werror_flag" ||
30969 test ! -s conftest.err
30970 } && test -s conftest
$ac_exeext &&
30971 $as_test_x conftest
$ac_exeext; then
30972 ac_cv_lib_nsl_gethostbyname
=yes
30974 echo "$as_me: failed program was:" >&5
30975 sed 's/^/| /' conftest.
$ac_ext >&5
30977 ac_cv_lib_nsl_gethostbyname
=no
30980 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30981 conftest
$ac_exeext conftest.
$ac_ext
30982 LIBS
=$ac_check_lib_save_LIBS
30984 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30985 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30986 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30987 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30990 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30991 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30992 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30993 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30994 echo $ECHO_N "(cached) $ECHO_C" >&6
30996 ac_check_lib_save_LIBS
=$LIBS
30998 cat >conftest.
$ac_ext <<_ACEOF
31001 cat confdefs.h
>>conftest.
$ac_ext
31002 cat >>conftest.
$ac_ext <<_ACEOF
31003 /* end confdefs.h. */
31005 /* Override any GCC internal prototype to avoid an error.
31006 Use char because int might match the return type of a GCC
31007 builtin and then its argument prototype would still apply. */
31011 char gethostbyname ();
31015 return gethostbyname ();
31020 rm -f conftest.
$ac_objext conftest
$ac_exeext
31021 if { (ac_try
="$ac_link"
31022 case "(($ac_try" in
31023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31024 *) ac_try_echo=$ac_try;;
31026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31027 (eval "$ac_link") 2>conftest.er1
31029 grep -v '^ *+' conftest.er1 >conftest.err
31031 cat conftest.err >&5
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); } && {
31034 test -z "$ac_c_werror_flag" ||
31035 test ! -s conftest.err
31036 } && test -s conftest$ac_exeext &&
31037 $as_test_x conftest$ac_exeext; then
31038 ac_cv_lib_bsd_gethostbyname=yes
31040 echo "$as_me: failed program was:" >&5
31041 sed 's/^/| /' conftest.$ac_ext >&5
31043 ac_cv_lib_bsd_gethostbyname=no
31046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31047 conftest$ac_exeext conftest.$ac_ext
31048 LIBS=$ac_check_lib_save_LIBS
31050 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31051 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31052 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31053 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31059 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31060 # socket/setsockopt and other routines are undefined under SCO ODT
31061 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31062 # on later versions), says Simon Leinen: it contains gethostby*
31063 # variants that don't use the name server (or something). -lsocket
31064 # must be given before -lnsl if both are needed. We assume that
31065 # if connect needs -lnsl, so does gethostbyname.
31066 { echo "$as_me:$LINENO: checking for connect" >&5
31067 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31068 if test "${ac_cv_func_connect+set}" = set; then
31069 echo $ECHO_N "(cached) $ECHO_C" >&6
31071 cat >conftest.$ac_ext <<_ACEOF
31074 cat confdefs.h >>conftest.$ac_ext
31075 cat >>conftest.$ac_ext <<_ACEOF
31076 /* end confdefs.h. */
31077 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31079 #define connect innocuous_connect
31081 /* System header to define __stub macros and hopefully few prototypes,
31082 which can conflict with char connect (); below.
31083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31084 <limits.h> exists even on freestanding compilers. */
31087 # include <limits.h>
31089 # include <assert.h>
31094 /* Override any GCC internal prototype to avoid an error.
31095 Use char because int might match the return type of a GCC
31096 builtin and then its argument prototype would still apply. */
31101 /* The GNU C library defines this for functions which it implements
31102 to always fail with ENOSYS. Some functions are actually named
31103 something starting with __ and the normal name is an alias. */
31104 #if defined __stub_connect || defined __stub___connect
31116 rm -f conftest.$ac_objext conftest$ac_exeext
31117 if { (ac_try="$ac_link"
31118 case "(($ac_try" in
31119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31120 *) ac_try_echo
=$ac_try;;
31122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31123 (eval "$ac_link") 2>conftest.er1
31125 grep -v '^ *+' conftest.er1
>conftest.err
31127 cat conftest.err
>&5
31128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31129 (exit $ac_status); } && {
31130 test -z "$ac_c_werror_flag" ||
31131 test ! -s conftest.err
31132 } && test -s conftest
$ac_exeext &&
31133 $as_test_x conftest
$ac_exeext; then
31134 ac_cv_func_connect
=yes
31136 echo "$as_me: failed program was:" >&5
31137 sed 's/^/| /' conftest.
$ac_ext >&5
31139 ac_cv_func_connect
=no
31142 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31143 conftest
$ac_exeext conftest.
$ac_ext
31145 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31146 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31148 if test $ac_cv_func_connect = no
; then
31149 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31150 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31151 if test "${ac_cv_lib_socket_connect+set}" = set; then
31152 echo $ECHO_N "(cached) $ECHO_C" >&6
31154 ac_check_lib_save_LIBS
=$LIBS
31155 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31156 cat >conftest.
$ac_ext <<_ACEOF
31159 cat confdefs.h
>>conftest.
$ac_ext
31160 cat >>conftest.
$ac_ext <<_ACEOF
31161 /* end confdefs.h. */
31163 /* Override any GCC internal prototype to avoid an error.
31164 Use char because int might match the return type of a GCC
31165 builtin and then its argument prototype would still apply. */
31178 rm -f conftest.
$ac_objext conftest
$ac_exeext
31179 if { (ac_try
="$ac_link"
31180 case "(($ac_try" in
31181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31182 *) ac_try_echo=$ac_try;;
31184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31185 (eval "$ac_link") 2>conftest.er1
31187 grep -v '^ *+' conftest.er1 >conftest.err
31189 cat conftest.err >&5
31190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31191 (exit $ac_status); } && {
31192 test -z "$ac_c_werror_flag" ||
31193 test ! -s conftest.err
31194 } && test -s conftest$ac_exeext &&
31195 $as_test_x conftest$ac_exeext; then
31196 ac_cv_lib_socket_connect=yes
31198 echo "$as_me: failed program was:" >&5
31199 sed 's/^/| /' conftest.$ac_ext >&5
31201 ac_cv_lib_socket_connect=no
31204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31205 conftest$ac_exeext conftest.$ac_ext
31206 LIBS=$ac_check_lib_save_LIBS
31208 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31209 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31210 if test $ac_cv_lib_socket_connect = yes; then
31211 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31216 # Guillermo Gomez says -lposix is necessary on A/UX.
31217 { echo "$as_me:$LINENO: checking for remove" >&5
31218 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31219 if test "${ac_cv_func_remove+set}" = set; then
31220 echo $ECHO_N "(cached) $ECHO_C" >&6
31222 cat >conftest.$ac_ext <<_ACEOF
31225 cat confdefs.h >>conftest.$ac_ext
31226 cat >>conftest.$ac_ext <<_ACEOF
31227 /* end confdefs.h. */
31228 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31230 #define remove innocuous_remove
31232 /* System header to define __stub macros and hopefully few prototypes,
31233 which can conflict with char remove (); below.
31234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31235 <limits.h> exists even on freestanding compilers. */
31238 # include <limits.h>
31240 # include <assert.h>
31245 /* Override any GCC internal prototype to avoid an error.
31246 Use char because int might match the return type of a GCC
31247 builtin and then its argument prototype would still apply. */
31252 /* The GNU C library defines this for functions which it implements
31253 to always fail with ENOSYS. Some functions are actually named
31254 something starting with __ and the normal name is an alias. */
31255 #if defined __stub_remove || defined __stub___remove
31267 rm -f conftest.$ac_objext conftest$ac_exeext
31268 if { (ac_try="$ac_link"
31269 case "(($ac_try" in
31270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31271 *) ac_try_echo
=$ac_try;;
31273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31274 (eval "$ac_link") 2>conftest.er1
31276 grep -v '^ *+' conftest.er1
>conftest.err
31278 cat conftest.err
>&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } && {
31281 test -z "$ac_c_werror_flag" ||
31282 test ! -s conftest.err
31283 } && test -s conftest
$ac_exeext &&
31284 $as_test_x conftest
$ac_exeext; then
31285 ac_cv_func_remove
=yes
31287 echo "$as_me: failed program was:" >&5
31288 sed 's/^/| /' conftest.
$ac_ext >&5
31290 ac_cv_func_remove
=no
31293 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31294 conftest
$ac_exeext conftest.
$ac_ext
31296 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31297 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31299 if test $ac_cv_func_remove = no
; then
31300 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31301 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31302 if test "${ac_cv_lib_posix_remove+set}" = set; then
31303 echo $ECHO_N "(cached) $ECHO_C" >&6
31305 ac_check_lib_save_LIBS
=$LIBS
31306 LIBS
="-lposix $LIBS"
31307 cat >conftest.
$ac_ext <<_ACEOF
31310 cat confdefs.h
>>conftest.
$ac_ext
31311 cat >>conftest.
$ac_ext <<_ACEOF
31312 /* end confdefs.h. */
31314 /* Override any GCC internal prototype to avoid an error.
31315 Use char because int might match the return type of a GCC
31316 builtin and then its argument prototype would still apply. */
31329 rm -f conftest.
$ac_objext conftest
$ac_exeext
31330 if { (ac_try
="$ac_link"
31331 case "(($ac_try" in
31332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31333 *) ac_try_echo=$ac_try;;
31335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31336 (eval "$ac_link") 2>conftest.er1
31338 grep -v '^ *+' conftest.er1 >conftest.err
31340 cat conftest.err >&5
31341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342 (exit $ac_status); } && {
31343 test -z "$ac_c_werror_flag" ||
31344 test ! -s conftest.err
31345 } && test -s conftest$ac_exeext &&
31346 $as_test_x conftest$ac_exeext; then
31347 ac_cv_lib_posix_remove=yes
31349 echo "$as_me: failed program was:" >&5
31350 sed 's/^/| /' conftest.$ac_ext >&5
31352 ac_cv_lib_posix_remove=no
31355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31356 conftest$ac_exeext conftest.$ac_ext
31357 LIBS=$ac_check_lib_save_LIBS
31359 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31360 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31361 if test $ac_cv_lib_posix_remove = yes; then
31362 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31367 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31368 { echo "$as_me:$LINENO: checking for shmat" >&5
31369 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31370 if test "${ac_cv_func_shmat+set}" = set; then
31371 echo $ECHO_N "(cached) $ECHO_C" >&6
31373 cat >conftest.$ac_ext <<_ACEOF
31376 cat confdefs.h >>conftest.$ac_ext
31377 cat >>conftest.$ac_ext <<_ACEOF
31378 /* end confdefs.h. */
31379 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31381 #define shmat innocuous_shmat
31383 /* System header to define __stub macros and hopefully few prototypes,
31384 which can conflict with char shmat (); below.
31385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31386 <limits.h> exists even on freestanding compilers. */
31389 # include <limits.h>
31391 # include <assert.h>
31396 /* Override any GCC internal prototype to avoid an error.
31397 Use char because int might match the return type of a GCC
31398 builtin and then its argument prototype would still apply. */
31403 /* The GNU C library defines this for functions which it implements
31404 to always fail with ENOSYS. Some functions are actually named
31405 something starting with __ and the normal name is an alias. */
31406 #if defined __stub_shmat || defined __stub___shmat
31418 rm -f conftest.$ac_objext conftest$ac_exeext
31419 if { (ac_try="$ac_link"
31420 case "(($ac_try" in
31421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31422 *) ac_try_echo
=$ac_try;;
31424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31425 (eval "$ac_link") 2>conftest.er1
31427 grep -v '^ *+' conftest.er1
>conftest.err
31429 cat conftest.err
>&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); } && {
31432 test -z "$ac_c_werror_flag" ||
31433 test ! -s conftest.err
31434 } && test -s conftest
$ac_exeext &&
31435 $as_test_x conftest
$ac_exeext; then
31436 ac_cv_func_shmat
=yes
31438 echo "$as_me: failed program was:" >&5
31439 sed 's/^/| /' conftest.
$ac_ext >&5
31441 ac_cv_func_shmat
=no
31444 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31445 conftest
$ac_exeext conftest.
$ac_ext
31447 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31448 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31450 if test $ac_cv_func_shmat = no
; then
31451 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31452 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31453 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31454 echo $ECHO_N "(cached) $ECHO_C" >&6
31456 ac_check_lib_save_LIBS
=$LIBS
31458 cat >conftest.
$ac_ext <<_ACEOF
31461 cat confdefs.h
>>conftest.
$ac_ext
31462 cat >>conftest.
$ac_ext <<_ACEOF
31463 /* end confdefs.h. */
31465 /* Override any GCC internal prototype to avoid an error.
31466 Use char because int might match the return type of a GCC
31467 builtin and then its argument prototype would still apply. */
31480 rm -f conftest.
$ac_objext conftest
$ac_exeext
31481 if { (ac_try
="$ac_link"
31482 case "(($ac_try" in
31483 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31484 *) ac_try_echo=$ac_try;;
31486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31487 (eval "$ac_link") 2>conftest.er1
31489 grep -v '^ *+' conftest.er1 >conftest.err
31491 cat conftest.err >&5
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); } && {
31494 test -z "$ac_c_werror_flag" ||
31495 test ! -s conftest.err
31496 } && test -s conftest$ac_exeext &&
31497 $as_test_x conftest$ac_exeext; then
31498 ac_cv_lib_ipc_shmat=yes
31500 echo "$as_me: failed program was:" >&5
31501 sed 's/^/| /' conftest.$ac_ext >&5
31503 ac_cv_lib_ipc_shmat=no
31506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31507 conftest$ac_exeext conftest.$ac_ext
31508 LIBS=$ac_check_lib_save_LIBS
31510 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31511 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31512 if test $ac_cv_lib_ipc_shmat = yes; then
31513 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31519 # Check for libraries that X11R6 Xt/Xaw programs need.
31520 ac_save_LDFLAGS=$LDFLAGS
31521 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31522 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31523 # check for ICE first), but we must link in the order -lSM -lICE or
31524 # we get undefined symbols. So assume we have SM if we have ICE.
31525 # These have to be linked with before -lX11, unlike the other
31526 # libraries we check for below, so use a different variable.
31527 # John Interrante, Karl Berry
31528 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31529 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31530 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31531 echo $ECHO_N "(cached) $ECHO_C" >&6
31533 ac_check_lib_save_LIBS=$LIBS
31534 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31535 cat >conftest.$ac_ext <<_ACEOF
31538 cat confdefs.h >>conftest.$ac_ext
31539 cat >>conftest.$ac_ext <<_ACEOF
31540 /* end confdefs.h. */
31542 /* Override any GCC internal prototype to avoid an error.
31543 Use char because int might match the return type of a GCC
31544 builtin and then its argument prototype would still apply. */
31548 char IceConnectionNumber ();
31552 return IceConnectionNumber ();
31557 rm -f conftest.$ac_objext conftest$ac_exeext
31558 if { (ac_try="$ac_link"
31559 case "(($ac_try" in
31560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31561 *) ac_try_echo
=$ac_try;;
31563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31564 (eval "$ac_link") 2>conftest.er1
31566 grep -v '^ *+' conftest.er1
>conftest.err
31568 cat conftest.err
>&5
31569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570 (exit $ac_status); } && {
31571 test -z "$ac_c_werror_flag" ||
31572 test ! -s conftest.err
31573 } && test -s conftest
$ac_exeext &&
31574 $as_test_x conftest
$ac_exeext; then
31575 ac_cv_lib_ICE_IceConnectionNumber
=yes
31577 echo "$as_me: failed program was:" >&5
31578 sed 's/^/| /' conftest.
$ac_ext >&5
31580 ac_cv_lib_ICE_IceConnectionNumber
=no
31583 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31584 conftest
$ac_exeext conftest.
$ac_ext
31585 LIBS
=$ac_check_lib_save_LIBS
31587 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31588 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31589 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31590 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31593 LDFLAGS
=$ac_save_LDFLAGS
31598 if test "$no_x" = "yes"; then
31599 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31600 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31601 { (exit 1); exit 1; }; }
31604 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31605 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31606 AFMINSTALL
=afminstall
31607 COMPILED_X_PROGRAM
=0
31611 if test "$wxUSE_X11" = 1; then
31612 if test "$wxUSE_NANOX" = "yes"; then
31613 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31614 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31615 if test "x$MICROWIN" = x
; then
31616 { echo "$as_me:$LINENO: result: not found" >&5
31617 echo "${ECHO_T}not found" >&6; }
31618 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31619 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31620 { (exit 1); exit 1; }; }
31622 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31623 echo "${ECHO_T}$MICROWIN" >&6; }
31624 cat >>confdefs.h
<<\_ACEOF
31625 #define wxUSE_NANOX 1
31631 if test "$wxUSE_UNICODE" = "yes"; then
31634 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31635 if test -n "$ac_tool_prefix"; then
31636 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31637 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31640 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31641 echo $ECHO_N "(cached) $ECHO_C" >&6
31643 case $PKG_CONFIG in
31645 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31649 for as_dir
in $PATH
31652 test -z "$as_dir" && as_dir
=.
31653 for ac_exec_ext
in '' $ac_executable_extensions; do
31654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31655 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31666 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31667 if test -n "$PKG_CONFIG"; then
31668 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31669 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31671 { echo "$as_me:$LINENO: result: no" >&5
31672 echo "${ECHO_T}no" >&6; }
31677 if test -z "$ac_cv_path_PKG_CONFIG"; then
31678 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31679 # Extract the first word of "pkg-config", so it can be a program name with args.
31680 set dummy pkg
-config; ac_word
=$2
31681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31683 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31684 echo $ECHO_N "(cached) $ECHO_C" >&6
31686 case $ac_pt_PKG_CONFIG in
31688 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31692 for as_dir
in $PATH
31695 test -z "$as_dir" && as_dir
=.
31696 for ac_exec_ext
in '' $ac_executable_extensions; do
31697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31698 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31709 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31710 if test -n "$ac_pt_PKG_CONFIG"; then
31711 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31712 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31714 { echo "$as_me:$LINENO: result: no" >&5
31715 echo "${ECHO_T}no" >&6; }
31718 if test "x$ac_pt_PKG_CONFIG" = x
; then
31721 case $cross_compiling:$ac_tool_warned in
31723 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31724 whose name does not start with the host triplet. If you think this
31725 configuration is useful to you, please write to autoconf@gnu.org." >&5
31726 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31727 whose name does not start with the host triplet. If you think this
31728 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31729 ac_tool_warned
=yes ;;
31731 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31734 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31738 if test -n "$PKG_CONFIG"; then
31739 _pkg_min_version
=0.9.0
31740 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31741 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31742 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31743 { echo "$as_me:$LINENO: result: yes" >&5
31744 echo "${ECHO_T}yes" >&6; }
31746 { echo "$as_me:$LINENO: result: no" >&5
31747 echo "${ECHO_T}no" >&6; }
31755 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31756 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31758 if test -n "$PKG_CONFIG"; then
31759 if test -n "$PANGOX_CFLAGS"; then
31760 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31762 if test -n "$PKG_CONFIG" && \
31763 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31764 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); }; then
31768 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31776 if test -n "$PKG_CONFIG"; then
31777 if test -n "$PANGOX_LIBS"; then
31778 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31780 if test -n "$PKG_CONFIG" && \
31781 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31782 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31785 (exit $ac_status); }; then
31786 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31797 if test $pkg_failed = yes; then
31799 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31800 _pkg_short_errors_supported
=yes
31802 _pkg_short_errors_supported
=no
31804 if test $_pkg_short_errors_supported = yes; then
31805 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31807 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31809 # Put the nasty error message in config.log where it belongs
31810 echo "$PANGOX_PKG_ERRORS" >&5
31813 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31814 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31815 { (exit 1); exit 1; }; }
31818 elif test $pkg_failed = untried
; then
31820 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31821 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31822 { (exit 1); exit 1; }; }
31826 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31827 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31828 { echo "$as_me:$LINENO: result: yes" >&5
31829 echo "${ECHO_T}yes" >&6; }
31831 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31832 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31833 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31838 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31839 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31841 if test -n "$PKG_CONFIG"; then
31842 if test -n "$PANGOFT2_CFLAGS"; then
31843 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31845 if test -n "$PKG_CONFIG" && \
31846 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31847 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); }; then
31851 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31859 if test -n "$PKG_CONFIG"; then
31860 if test -n "$PANGOFT2_LIBS"; then
31861 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31863 if test -n "$PKG_CONFIG" && \
31864 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31865 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); }; then
31869 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31880 if test $pkg_failed = yes; then
31882 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31883 _pkg_short_errors_supported
=yes
31885 _pkg_short_errors_supported
=no
31887 if test $_pkg_short_errors_supported = yes; then
31888 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31890 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31892 # Put the nasty error message in config.log where it belongs
31893 echo "$PANGOFT2_PKG_ERRORS" >&5
31896 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31897 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31898 wxUSE_PRINTING_ARCHITECTURE
="no"
31901 elif test $pkg_failed = untried
; then
31903 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31904 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31905 wxUSE_PRINTING_ARCHITECTURE
="no"
31909 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31910 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31911 { echo "$as_me:$LINENO: result: yes" >&5
31912 echo "${ECHO_T}yes" >&6; }
31914 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31915 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31916 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31921 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31922 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31924 if test -n "$PKG_CONFIG"; then
31925 if test -n "$PANGOXFT_CFLAGS"; then
31926 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31928 if test -n "$PKG_CONFIG" && \
31929 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31930 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31933 (exit $ac_status); }; then
31934 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31942 if test -n "$PKG_CONFIG"; then
31943 if test -n "$PANGOXFT_LIBS"; then
31944 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31946 if test -n "$PKG_CONFIG" && \
31947 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31948 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31951 (exit $ac_status); }; then
31952 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31963 if test $pkg_failed = yes; then
31965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31966 _pkg_short_errors_supported
=yes
31968 _pkg_short_errors_supported
=no
31970 if test $_pkg_short_errors_supported = yes; then
31971 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31973 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31975 # Put the nasty error message in config.log where it belongs
31976 echo "$PANGOXFT_PKG_ERRORS" >&5
31979 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31980 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31983 elif test $pkg_failed = untried
; then
31985 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31986 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31990 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31991 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31992 { echo "$as_me:$LINENO: result: yes" >&5
31993 echo "${ECHO_T}yes" >&6; }
31995 cat >>confdefs.h
<<\_ACEOF
31996 #define HAVE_PANGO_XFT 1
31999 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32000 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32001 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32005 LIBS
="$LIBS $PANGOX_LIBS"
32007 for ac_func
in pango_font_family_is_monospace
32009 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32012 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32013 echo $ECHO_N "(cached) $ECHO_C" >&6
32015 cat >conftest.
$ac_ext <<_ACEOF
32018 cat confdefs.h
>>conftest.
$ac_ext
32019 cat >>conftest.
$ac_ext <<_ACEOF
32020 /* end confdefs.h. */
32021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32023 #define $ac_func innocuous_$ac_func
32025 /* System header to define __stub macros and hopefully few prototypes,
32026 which can conflict with char $ac_func (); below.
32027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32028 <limits.h> exists even on freestanding compilers. */
32031 # include <limits.h>
32033 # include <assert.h>
32038 /* Override any GCC internal prototype to avoid an error.
32039 Use char because int might match the return type of a GCC
32040 builtin and then its argument prototype would still apply. */
32045 /* The GNU C library defines this for functions which it implements
32046 to always fail with ENOSYS. Some functions are actually named
32047 something starting with __ and the normal name is an alias. */
32048 #if defined __stub_$ac_func || defined __stub___$ac_func
32055 return $ac_func ();
32060 rm -f conftest.
$ac_objext conftest
$ac_exeext
32061 if { (ac_try
="$ac_link"
32062 case "(($ac_try" in
32063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32064 *) ac_try_echo=$ac_try;;
32066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32067 (eval "$ac_link") 2>conftest.er1
32069 grep -v '^ *+' conftest.er1 >conftest.err
32071 cat conftest.err >&5
32072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32073 (exit $ac_status); } && {
32074 test -z "$ac_c_werror_flag" ||
32075 test ! -s conftest.err
32076 } && test -s conftest$ac_exeext &&
32077 $as_test_x conftest$ac_exeext; then
32078 eval "$as_ac_var=yes"
32080 echo "$as_me: failed program was:" >&5
32081 sed 's/^/| /' conftest.$ac_ext >&5
32083 eval "$as_ac_var=no"
32086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32087 conftest$ac_exeext conftest.$ac_ext
32089 ac_res=`eval echo '${'$as_ac_var'}'`
32090 { echo "$as_me:$LINENO: result: $ac_res" >&5
32091 echo "${ECHO_T}$ac_res" >&6; }
32092 if test `eval echo '${'$as_ac_var'}'` = yes; then
32093 cat >>confdefs.h <<_ACEOF
32094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32103 wxUSE_UNIVERSAL="yes"
32105 if test "$wxUSE_NANOX" = "yes"; then
32106 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32107 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"
32108 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32110 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32117 if test "$wxUSE_MOTIF" = 1; then
32118 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32119 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32122 for ac_dir in $SEARCH_INCLUDE /usr/include;
32124 if test -f "$ac_dir/Xm/Xm.h"; then
32125 ac_find_includes=$ac_dir
32130 if test "$ac_find_includes" != "" ; then
32131 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32132 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32134 if test "x$ac_find_includes" = "x/usr/include"; then
32135 ac_path_to_include=""
32137 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32139 if test $result = 0; then
32140 ac_path_to_include=""
32142 ac_path_to_include=" -I$ac_find_includes"
32146 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32148 save_CFLAGS=$CFLAGS
32149 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32151 cat >conftest.$ac_ext <<_ACEOF
32154 cat confdefs.h >>conftest.$ac_ext
32155 cat >>conftest.$ac_ext <<_ACEOF
32156 /* end confdefs.h. */
32165 version = xmUseVersion;
32171 rm -f conftest.$ac_objext
32172 if { (ac_try="$ac_compile"
32173 case "(($ac_try" in
32174 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32175 *) ac_try_echo
=$ac_try;;
32177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32178 (eval "$ac_compile") 2>conftest.er1
32180 grep -v '^ *+' conftest.er1
>conftest.err
32182 cat conftest.err
>&5
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); } && {
32185 test -z "$ac_c_werror_flag" ||
32186 test ! -s conftest.err
32187 } && test -s conftest.
$ac_objext; then
32189 { echo "$as_me:$LINENO: result: found in default search path" >&5
32190 echo "${ECHO_T}found in default search path" >&6; }
32191 COMPILED_X_PROGRAM
=1
32194 echo "$as_me: failed program was:" >&5
32195 sed 's/^/| /' conftest.
$ac_ext >&5
32198 { echo "$as_me:$LINENO: result: no" >&5
32199 echo "${ECHO_T}no" >&6; }
32200 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32201 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32202 { (exit 1); exit 1; }; }
32207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32209 CFLAGS
=$save_CFLAGS
32213 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32214 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32217 for ac_dir
in $SEARCH_LIB;
32219 for ac_extension
in a so sl dylib dll.a
; do
32220 if test -f "$ac_dir/libXm.$ac_extension"; then
32221 ac_find_libraries
=$ac_dir
32228 if test "x$ac_find_libraries" != "x" ; then
32229 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32230 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32233 if test "$ac_find_libraries" = "default location"; then
32236 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32238 if test $result = 0; then
32241 ac_path_to_link
=" -L$ac_find_libraries"
32245 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32247 save_CFLAGS
=$CFLAGS
32248 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32250 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32252 cat >conftest.
$ac_ext <<_ACEOF
32255 cat confdefs.h
>>conftest.
$ac_ext
32256 cat >>conftest.
$ac_ext <<_ACEOF
32257 /* end confdefs.h. */
32266 version = xmUseVersion;
32272 rm -f conftest.
$ac_objext conftest
$ac_exeext
32273 if { (ac_try
="$ac_link"
32274 case "(($ac_try" in
32275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32276 *) ac_try_echo=$ac_try;;
32278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32279 (eval "$ac_link") 2>conftest.er1
32281 grep -v '^ *+' conftest.er1 >conftest.err
32283 cat conftest.err >&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); } && {
32286 test -z "$ac_c_werror_flag" ||
32287 test ! -s conftest.err
32288 } && test -s conftest$ac_exeext &&
32289 $as_test_x conftest$ac_exeext; then
32291 { echo "$as_me:$LINENO: result: found in default search path" >&5
32292 echo "${ECHO_T}found in default search path" >&6; }
32293 COMPILED_X_PROGRAM=1
32296 echo "$as_me: failed program was:" >&5
32297 sed 's/^/| /' conftest.$ac_ext >&5
32300 { echo "$as_me:$LINENO: result: no" >&5
32301 echo "${ECHO_T}no" >&6; }
32302 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32303 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32304 { (exit 1); exit 1; }; }
32309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32310 conftest$ac_exeext conftest.$ac_ext
32312 CFLAGS=$save_CFLAGS
32316 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32317 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32321 for libp in "" " -lXp"; do
32322 if test "$libs_found" = 0; then
32323 for libsm_ice in "" " -lSM -lICE"; do
32324 if test "$libs_found" = 0; then
32326 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32327 save_CFLAGS=$CFLAGS
32328 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32330 cat >conftest.$ac_ext <<_ACEOF
32333 cat confdefs.h >>conftest.$ac_ext
32334 cat >>conftest.$ac_ext <<_ACEOF
32335 /* end confdefs.h. */
32338 #include <Xm/List.h>
32344 XmString string = NULL;
32347 XmListAddItem(w, string, position);
32353 rm -f conftest.$ac_objext conftest$ac_exeext
32354 if { (ac_try="$ac_link"
32355 case "(($ac_try" in
32356 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32357 *) ac_try_echo
=$ac_try;;
32359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32360 (eval "$ac_link") 2>conftest.er1
32362 grep -v '^ *+' conftest.er1
>conftest.err
32364 cat conftest.err
>&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); } && {
32367 test -z "$ac_c_werror_flag" ||
32368 test ! -s conftest.err
32369 } && test -s conftest
$ac_exeext &&
32370 $as_test_x conftest
$ac_exeext; then
32373 libsm_ice_link
="$libsm_ice"
32374 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32375 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32379 echo "$as_me: failed program was:" >&5
32380 sed 's/^/| /' conftest.
$ac_ext >&5
32386 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32387 conftest
$ac_exeext conftest.
$ac_ext
32390 CFLAGS
=$save_CFLAGS
32396 if test "$libs_found" = 0; then
32397 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32398 echo "${ECHO_T}can't find the right libraries" >&6; }
32399 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32400 echo "$as_me: error: can't link a simple motif program" >&2;}
32401 { (exit 1); exit 1; }; }
32404 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32405 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32406 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32407 echo $ECHO_N "(cached) $ECHO_C" >&6
32409 ac_check_lib_save_LIBS
=$LIBS
32411 cat >conftest.
$ac_ext <<_ACEOF
32414 cat confdefs.h
>>conftest.
$ac_ext
32415 cat >>conftest.
$ac_ext <<_ACEOF
32416 /* end confdefs.h. */
32418 /* Override any GCC internal prototype to avoid an error.
32419 Use char because int might match the return type of a GCC
32420 builtin and then its argument prototype would still apply. */
32424 char SgCreateList ();
32428 return SgCreateList ();
32433 rm -f conftest.
$ac_objext conftest
$ac_exeext
32434 if { (ac_try
="$ac_link"
32435 case "(($ac_try" in
32436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32437 *) ac_try_echo=$ac_try;;
32439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32440 (eval "$ac_link") 2>conftest.er1
32442 grep -v '^ *+' conftest.er1 >conftest.err
32444 cat conftest.err >&5
32445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32446 (exit $ac_status); } && {
32447 test -z "$ac_c_werror_flag" ||
32448 test ! -s conftest.err
32449 } && test -s conftest$ac_exeext &&
32450 $as_test_x conftest$ac_exeext; then
32451 ac_cv_lib_Sgm_SgCreateList=yes
32453 echo "$as_me: failed program was:" >&5
32454 sed 's/^/| /' conftest.$ac_ext >&5
32456 ac_cv_lib_Sgm_SgCreateList=no
32459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32460 conftest$ac_exeext conftest.$ac_ext
32461 LIBS=$ac_check_lib_save_LIBS
32463 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32464 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32465 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32466 libsgm_link=" -lSgm"
32470 save_CFLAGS=$CFLAGS
32471 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32473 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32474 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32475 if test "${wx_cv_lib_motif2+set}" = set; then
32476 echo $ECHO_N "(cached) $ECHO_C" >&6
32478 cat >conftest.$ac_ext <<_ACEOF
32481 cat confdefs.h >>conftest.$ac_ext
32482 cat >>conftest.$ac_ext <<_ACEOF
32483 /* end confdefs.h. */
32491 #if XmVersion < 2000
32499 rm -f conftest.$ac_objext
32500 if { (ac_try="$ac_compile"
32501 case "(($ac_try" in
32502 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32503 *) ac_try_echo
=$ac_try;;
32505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32506 (eval "$ac_compile") 2>conftest.er1
32508 grep -v '^ *+' conftest.er1
>conftest.err
32510 cat conftest.err
>&5
32511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32512 (exit $ac_status); } && {
32513 test -z "$ac_c_werror_flag" ||
32514 test ! -s conftest.err
32515 } && test -s conftest.
$ac_objext; then
32516 wx_cv_lib_motif2
="yes"
32518 echo "$as_me: failed program was:" >&5
32519 sed 's/^/| /' conftest.
$ac_ext >&5
32521 wx_cv_lib_motif2
="no"
32524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32526 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32527 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32528 if test "$wx_cv_lib_motif2" = "yes"; then
32529 cat >>confdefs.h
<<\_ACEOF
32530 #define __WXMOTIF20__ 1
32534 cat >>confdefs.h
<<\_ACEOF
32535 #define __WXMOTIF20__ 0
32540 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32541 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32542 if test "${wx_cv_lib_lesstif+set}" = set; then
32543 echo $ECHO_N "(cached) $ECHO_C" >&6
32545 cat >conftest.
$ac_ext <<_ACEOF
32548 cat confdefs.h
>>conftest.
$ac_ext
32549 cat >>conftest.
$ac_ext <<_ACEOF
32550 /* end confdefs.h. */
32558 #if !defined(LesstifVersion) || LesstifVersion <= 0
32566 rm -f conftest.
$ac_objext
32567 if { (ac_try
="$ac_compile"
32568 case "(($ac_try" in
32569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32570 *) ac_try_echo=$ac_try;;
32572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32573 (eval "$ac_compile") 2>conftest.er1
32575 grep -v '^ *+' conftest.er1 >conftest.err
32577 cat conftest.err >&5
32578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32579 (exit $ac_status); } && {
32580 test -z "$ac_c_werror_flag" ||
32581 test ! -s conftest.err
32582 } && test -s conftest.$ac_objext; then
32583 wx_cv_lib_lesstif="yes"
32585 echo "$as_me: failed program was:" >&5
32586 sed 's/^/| /' conftest.$ac_ext >&5
32588 wx_cv_lib_lesstif="no"
32591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32594 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32595 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32596 if test "$wx_cv_lib_lesstif" = "yes"; then
32597 cat >>confdefs.h <<\_ACEOF
32598 #define __WXLESSTIF__ 1
32602 cat >>confdefs.h <<\_ACEOF
32603 #define __WXLESSTIF__ 0
32608 CFLAGS=$save_CFLAGS
32610 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32615 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32616 if test "$wxUSE_LIBXPM" = "sys"; then
32617 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32618 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32621 for ac_dir in $SEARCH_LIB;
32623 for ac_extension in a so sl dylib dll.a; do
32624 if test -f "$ac_dir/libXpm.$ac_extension"; then
32625 ac_find_libraries=$ac_dir
32631 if test "$ac_find_libraries" != "" ; then
32633 if test "$ac_find_libraries" = "default location"; then
32636 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32638 if test $result = 0; then
32641 ac_path_to_link=" -L$ac_find_libraries"
32645 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32646 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32647 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32649 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32650 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32651 if test "${wx_cv_x11_xpm_h+set}" = set; then
32652 echo $ECHO_N "(cached) $ECHO_C" >&6
32655 save_CFLAGS=$CFLAGS
32656 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32658 cat >conftest.$ac_ext <<_ACEOF
32661 cat confdefs.h >>conftest.$ac_ext
32662 cat >>conftest.$ac_ext <<_ACEOF
32663 /* end confdefs.h. */
32665 #include <X11/xpm.h>
32672 version = XpmLibraryVersion();
32678 rm -f conftest.$ac_objext
32679 if { (ac_try="$ac_compile"
32680 case "(($ac_try" in
32681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32682 *) ac_try_echo
=$ac_try;;
32684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32685 (eval "$ac_compile") 2>conftest.er1
32687 grep -v '^ *+' conftest.er1
>conftest.err
32689 cat conftest.err
>&5
32690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691 (exit $ac_status); } && {
32692 test -z "$ac_c_werror_flag" ||
32693 test ! -s conftest.err
32694 } && test -s conftest.
$ac_objext; then
32695 wx_cv_x11_xpm_h
=yes
32697 echo "$as_me: failed program was:" >&5
32698 sed 's/^/| /' conftest.
$ac_ext >&5
32704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32706 CFLAGS
=$save_CFLAGS
32710 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32711 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32713 if test $wx_cv_x11_xpm_h = "yes"; then
32714 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32715 cat >>confdefs.h
<<\_ACEOF
32716 #define wxHAVE_LIB_XPM 1
32720 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32721 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32727 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32728 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32729 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32730 echo $ECHO_N "(cached) $ECHO_C" >&6
32732 ac_check_lib_save_LIBS
=$LIBS
32733 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32734 cat >conftest.
$ac_ext <<_ACEOF
32737 cat confdefs.h
>>conftest.
$ac_ext
32738 cat >>conftest.
$ac_ext <<_ACEOF
32739 /* end confdefs.h. */
32741 /* Override any GCC internal prototype to avoid an error.
32742 Use char because int might match the return type of a GCC
32743 builtin and then its argument prototype would still apply. */
32747 char XShapeQueryExtension ();
32751 return XShapeQueryExtension ();
32756 rm -f conftest.
$ac_objext conftest
$ac_exeext
32757 if { (ac_try
="$ac_link"
32758 case "(($ac_try" in
32759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32760 *) ac_try_echo=$ac_try;;
32762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32763 (eval "$ac_link") 2>conftest.er1
32765 grep -v '^ *+' conftest.er1 >conftest.err
32767 cat conftest.err >&5
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); } && {
32770 test -z "$ac_c_werror_flag" ||
32771 test ! -s conftest.err
32772 } && test -s conftest$ac_exeext &&
32773 $as_test_x conftest$ac_exeext; then
32774 ac_cv_lib_Xext_XShapeQueryExtension=yes
32776 echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32779 ac_cv_lib_Xext_XShapeQueryExtension=no
32782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32783 conftest$ac_exeext conftest.$ac_ext
32784 LIBS=$ac_check_lib_save_LIBS
32786 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32787 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32788 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32790 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32796 if test "$wxHAVE_XEXT_LIB" = 1; then
32797 save_CFLAGS="$CFLAGS"
32798 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32800 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32801 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32802 cat >conftest.$ac_ext <<_ACEOF
32805 cat confdefs.h >>conftest.$ac_ext
32806 cat >>conftest.$ac_ext <<_ACEOF
32807 /* end confdefs.h. */
32809 #include <X11/Xlib.h>
32810 #include <X11/extensions/shape.h>
32816 int dummy1, dummy2;
32817 XShapeQueryExtension((Display*)NULL,
32818 (int*)NULL, (int*)NULL);
32824 rm -f conftest.$ac_objext
32825 if { (ac_try="$ac_compile"
32826 case "(($ac_try" in
32827 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32828 *) ac_try_echo
=$ac_try;;
32830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32831 (eval "$ac_compile") 2>conftest.er1
32833 grep -v '^ *+' conftest.er1
>conftest.err
32835 cat conftest.err
>&5
32836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32837 (exit $ac_status); } && {
32838 test -z "$ac_c_werror_flag" ||
32839 test ! -s conftest.err
32840 } && test -s conftest.
$ac_objext; then
32842 cat >>confdefs.h
<<\_ACEOF
32843 #define HAVE_XSHAPE 1
32846 { echo "$as_me:$LINENO: result: found" >&5
32847 echo "${ECHO_T}found" >&6; }
32850 echo "$as_me: failed program was:" >&5
32851 sed 's/^/| /' conftest.
$ac_ext >&5
32854 { echo "$as_me:$LINENO: result: not found" >&5
32855 echo "${ECHO_T}not found" >&6; }
32859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32860 CFLAGS
="$save_CFLAGS"
32865 if test "$wxUSE_OSX_CARBON" = 1; then
32866 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32867 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32868 if test "$GCC" = yes; then
32869 { echo "$as_me:$LINENO: result: gcc" >&5
32870 echo "${ECHO_T}gcc" >&6; }
32871 CPPFLAGS_PASCAL
="-fpascal-strings"
32872 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32873 { echo "$as_me:$LINENO: result: xlc" >&5
32874 echo "${ECHO_T}xlc" >&6; }
32875 CPPFLAGS_PASCAL
="-qmacpstr"
32877 { echo "$as_me:$LINENO: result: none" >&5
32878 echo "${ECHO_T}none" >&6; }
32881 if test "x$wxUSE_UNIX" = "xyes"; then
32882 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32884 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32888 GUIDIST
=OSX_CARBON_DIST
32889 WXBASEPORT
="_carbon"
32891 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32894 if test "$wxUSE_OSX_COCOA" = 1; then
32896 GUIDIST
=OSX_COCOA_DIST
32898 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32901 if test "$wxUSE_COCOA" = 1; then
32906 if test "$wxUSE_PM" = 1; then
32909 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32910 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32911 if test "${wx_cv_spbcdata+set}" = set; then
32912 echo $ECHO_N "(cached) $ECHO_C" >&6
32915 cat >conftest.
$ac_ext <<_ACEOF
32918 cat confdefs.h
>>conftest.
$ac_ext
32919 cat >>conftest.
$ac_ext <<_ACEOF
32920 /* end confdefs.h. */
32935 rm -f conftest.
$ac_objext
32936 if { (ac_try
="$ac_compile"
32937 case "(($ac_try" in
32938 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32939 *) ac_try_echo=$ac_try;;
32941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32942 (eval "$ac_compile") 2>conftest.er1
32944 grep -v '^ *+' conftest.er1 >conftest.err
32946 cat conftest.err >&5
32947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32948 (exit $ac_status); } && {
32949 test -z "$ac_c_werror_flag" ||
32950 test ! -s conftest.err
32951 } && test -s conftest.$ac_objext; then
32954 echo "$as_me: failed program was:" >&5
32955 sed 's/^/| /' conftest.$ac_ext >&5
32961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32965 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32966 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32968 if test $wx_cv_spbcdata = "yes"; then
32969 cat >>confdefs.h <<\_ACEOF
32970 #define HAVE_SPBCDATA 1
32976 if test "$TOOLKIT" = "PM" ; then
32979 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32982 if test "$wxUSE_UNIVERSAL" = "yes"; then
32983 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32987 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32988 DISTDIR="wx\$(TOOLKIT)"
32994 if test "$USE_WIN32" = 1 ; then
32998 GUIDIST="BASE_DIST"
33004 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33005 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33006 wxUSE_UNICODE_UTF8=yes
33007 elif test "$USE_OS2" = 1 ; then
33008 wxUSE_UNICODE_UTF8=yes
33010 wxUSE_UNICODE_UTF8=no
33015 if test "$wxUSE_GUI" = "yes"; then
33016 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33018 for ac_header in X11/Xlib.h
33020 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33021 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33023 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33024 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 cat >conftest.$ac_ext <<_ACEOF
33029 cat confdefs.h >>conftest.$ac_ext
33030 cat >>conftest.$ac_ext <<_ACEOF
33031 /* end confdefs.h. */
33034 #include <$ac_header>
33036 rm -f conftest.$ac_objext
33037 if { (ac_try="$ac_compile"
33038 case "(($ac_try" in
33039 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33040 *) ac_try_echo
=$ac_try;;
33042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33043 (eval "$ac_compile") 2>conftest.er1
33045 grep -v '^ *+' conftest.er1
>conftest.err
33047 cat conftest.err
>&5
33048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33049 (exit $ac_status); } && {
33050 test -z "$ac_c_werror_flag" ||
33051 test ! -s conftest.err
33052 } && test -s conftest.
$ac_objext; then
33053 eval "$as_ac_Header=yes"
33055 echo "$as_me: failed program was:" >&5
33056 sed 's/^/| /' conftest.
$ac_ext >&5
33058 eval "$as_ac_Header=no"
33061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33063 ac_res
=`eval echo '${'$as_ac_Header'}'`
33064 { echo "$as_me:$LINENO: result: $ac_res" >&5
33065 echo "${ECHO_T}$ac_res" >&6; }
33066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33067 cat >>confdefs.h
<<_ACEOF
33068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33076 for ac_header
in X
11/XKBlib.h
33078 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33079 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33081 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33082 echo $ECHO_N "(cached) $ECHO_C" >&6
33084 cat >conftest.
$ac_ext <<_ACEOF
33087 cat confdefs.h
>>conftest.
$ac_ext
33088 cat >>conftest.
$ac_ext <<_ACEOF
33089 /* end confdefs.h. */
33091 #if HAVE_X11_XLIB_H
33092 #include <X11/Xlib.h>
33096 #include <$ac_header>
33098 rm -f conftest.
$ac_objext
33099 if { (ac_try
="$ac_compile"
33100 case "(($ac_try" in
33101 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33102 *) ac_try_echo=$ac_try;;
33104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33105 (eval "$ac_compile") 2>conftest.er1
33107 grep -v '^ *+' conftest.er1 >conftest.err
33109 cat conftest.err >&5
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); } && {
33112 test -z "$ac_c_werror_flag" ||
33113 test ! -s conftest.err
33114 } && test -s conftest.$ac_objext; then
33115 eval "$as_ac_Header=yes"
33117 echo "$as_me: failed program was:" >&5
33118 sed 's/^/| /' conftest.$ac_ext >&5
33120 eval "$as_ac_Header=no"
33123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33125 ac_res=`eval echo '${'$as_ac_Header'}'`
33126 { echo "$as_me:$LINENO: result: $ac_res" >&5
33127 echo "${ECHO_T}$ac_res" >&6; }
33128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33129 cat >>confdefs.h <<_ACEOF
33130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33142 if test "$wxUSE_DISPLAY" = "yes"; then
33143 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33144 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33145 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33148 for ac_dir in $SEARCH_LIB;
33150 for ac_extension in a so sl dylib dll.a; do
33151 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33152 ac_find_libraries=$ac_dir
33158 if test "$ac_find_libraries" != "" ; then
33160 if test "$ac_find_libraries" = "default location"; then
33163 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33165 if test $result = 0; then
33168 ac_path_to_link=" -L$ac_find_libraries"
33172 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33173 LDFLAGS="$LDFLAGS $ac_path_to_link"
33175 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33176 { echo "$as_me:$LINENO: result: yes" >&5
33177 echo "${ECHO_T}yes" >&6; }
33179 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33180 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33183 for ac_dir in $SEARCH_LIB;
33185 for ac_extension in a so sl dylib dll.a; do
33186 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33187 ac_find_libraries=$ac_dir
33193 if test "$ac_find_libraries" != "" ; then
33194 { echo "$as_me:$LINENO: result: yes" >&5
33195 echo "${ECHO_T}yes" >&6; }
33197 for ac_header in X11/extensions/xf86vmode.h
33199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33200 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33203 echo $ECHO_N "(cached) $ECHO_C" >&6
33205 cat >conftest.$ac_ext <<_ACEOF
33208 cat confdefs.h >>conftest.$ac_ext
33209 cat >>conftest.$ac_ext <<_ACEOF
33210 /* end confdefs.h. */
33212 #if HAVE_X11_XLIB_H
33213 #include <X11/Xlib.h>
33217 #include <$ac_header>
33219 rm -f conftest.$ac_objext
33220 if { (ac_try="$ac_compile"
33221 case "(($ac_try" in
33222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33223 *) ac_try_echo
=$ac_try;;
33225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33226 (eval "$ac_compile") 2>conftest.er1
33228 grep -v '^ *+' conftest.er1
>conftest.err
33230 cat conftest.err
>&5
33231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33232 (exit $ac_status); } && {
33233 test -z "$ac_c_werror_flag" ||
33234 test ! -s conftest.err
33235 } && test -s conftest.
$ac_objext; then
33236 eval "$as_ac_Header=yes"
33238 echo "$as_me: failed program was:" >&5
33239 sed 's/^/| /' conftest.
$ac_ext >&5
33241 eval "$as_ac_Header=no"
33244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33246 ac_res
=`eval echo '${'$as_ac_Header'}'`
33247 { echo "$as_me:$LINENO: result: $ac_res" >&5
33248 echo "${ECHO_T}$ac_res" >&6; }
33249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33250 cat >>confdefs.h
<<_ACEOF
33251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33254 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33261 { echo "$as_me:$LINENO: result: no" >&5
33262 echo "${ECHO_T}no" >&6; }
33266 { echo "$as_me:$LINENO: result: no" >&5
33267 echo "${ECHO_T}no" >&6; }
33268 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33269 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33272 elif test "$wxUSE_MSW" = 1; then
33273 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33274 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33275 if test "${ac_cv_header_ddraw_h+set}" = set; then
33276 echo $ECHO_N "(cached) $ECHO_C" >&6
33278 cat >conftest.
$ac_ext <<_ACEOF
33281 cat confdefs.h
>>conftest.
$ac_ext
33282 cat >>conftest.
$ac_ext <<_ACEOF
33283 /* end confdefs.h. */
33284 #include <windows.h>
33288 rm -f conftest.
$ac_objext
33289 if { (ac_try
="$ac_compile"
33290 case "(($ac_try" in
33291 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33292 *) ac_try_echo=$ac_try;;
33294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33295 (eval "$ac_compile") 2>conftest.er1
33297 grep -v '^ *+' conftest.er1 >conftest.err
33299 cat conftest.err >&5
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); } && {
33302 test -z "$ac_c_werror_flag" ||
33303 test ! -s conftest.err
33304 } && test -s conftest.$ac_objext; then
33305 ac_cv_header_ddraw_h=yes
33307 echo "$as_me: failed program was:" >&5
33308 sed 's/^/| /' conftest.$ac_ext >&5
33310 ac_cv_header_ddraw_h=no
33313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33315 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33316 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33322 if test "$wxUSE_DETECT_SM" = "yes"; then
33323 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33324 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33325 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33328 for ac_dir in $SEARCH_LIB;
33330 for ac_extension in a so sl dylib dll.a; do
33331 if test -f "$ac_dir/libSM.$ac_extension"; then
33332 ac_find_libraries=$ac_dir
33338 if test "$ac_find_libraries" != "" ; then
33340 if test "$ac_find_libraries" = "default location"; then
33343 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33345 if test $result = 0; then
33348 ac_path_to_link=" -L$ac_find_libraries"
33352 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33353 LDFLAGS="$LDFLAGS $ac_path_to_link"
33355 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33356 { echo "$as_me:$LINENO: result: yes" >&5
33357 echo "${ECHO_T}yes" >&6; }
33359 { echo "$as_me:$LINENO: result: no" >&5
33360 echo "${ECHO_T}no" >&6; }
33361 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33362 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33363 wxUSE_DETECT_SM="no"
33366 wxUSE_DETECT_SM="no"
33373 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33376 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33377 OPENGL_LIBS="-framework OpenGL -framework AGL"
33378 elif test "$wxUSE_MSW" = 1; then
33379 OPENGL_LIBS="-lopengl32 -lglu32"
33380 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33382 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33383 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33386 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33388 if test -f "$ac_dir/GL/gl.h"; then
33389 ac_find_includes=$ac_dir
33394 if test "$ac_find_includes" != "" ; then
33395 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33396 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33398 if test "x$ac_find_includes" = "x/usr/include"; then
33399 ac_path_to_include=""
33401 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33403 if test $result = 0; then
33404 ac_path_to_include=""
33406 ac_path_to_include=" -I$ac_find_includes"
33410 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33412 { echo "$as_me:$LINENO: result: not found" >&5
33413 echo "${ECHO_T}not found" >&6; }
33416 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33417 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33418 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33419 echo $ECHO_N "(cached) $ECHO_C" >&6
33421 cat >conftest.$ac_ext <<_ACEOF
33424 cat confdefs.h >>conftest.$ac_ext
33425 cat >>conftest.$ac_ext <<_ACEOF
33426 /* end confdefs.h. */
33431 rm -f conftest.$ac_objext
33432 if { (ac_try="$ac_compile"
33433 case "(($ac_try" in
33434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33435 *) ac_try_echo
=$ac_try;;
33437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33438 (eval "$ac_compile") 2>conftest.er1
33440 grep -v '^ *+' conftest.er1
>conftest.err
33442 cat conftest.err
>&5
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); } && {
33445 test -z "$ac_c_werror_flag" ||
33446 test ! -s conftest.err
33447 } && test -s conftest.
$ac_objext; then
33448 ac_cv_header_GL_gl_h
=yes
33450 echo "$as_me: failed program was:" >&5
33451 sed 's/^/| /' conftest.
$ac_ext >&5
33453 ac_cv_header_GL_gl_h
=no
33456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33458 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33459 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33460 if test $ac_cv_header_GL_gl_h = yes; then
33462 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33463 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33464 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33465 echo $ECHO_N "(cached) $ECHO_C" >&6
33467 cat >conftest.
$ac_ext <<_ACEOF
33470 cat confdefs.h
>>conftest.
$ac_ext
33471 cat >>conftest.
$ac_ext <<_ACEOF
33472 /* end confdefs.h. */
33475 #include <GL/glu.h>
33477 rm -f conftest.
$ac_objext
33478 if { (ac_try
="$ac_compile"
33479 case "(($ac_try" in
33480 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33481 *) ac_try_echo=$ac_try;;
33483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33484 (eval "$ac_compile") 2>conftest.er1
33486 grep -v '^ *+' conftest.er1 >conftest.err
33488 cat conftest.err >&5
33489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490 (exit $ac_status); } && {
33491 test -z "$ac_c_werror_flag" ||
33492 test ! -s conftest.err
33493 } && test -s conftest.$ac_objext; then
33494 ac_cv_header_GL_glu_h=yes
33496 echo "$as_me: failed program was:" >&5
33497 sed 's/^/| /' conftest.$ac_ext >&5
33499 ac_cv_header_GL_glu_h=no
33502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33504 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33505 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33506 if test $ac_cv_header_GL_glu_h = yes; then
33510 { echo "$as_me:$LINENO: checking for -lGL" >&5
33511 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33514 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33516 for ac_extension in a so sl dylib dll.a; do
33517 if test -f "$ac_dir/libGL.$ac_extension"; then
33518 ac_find_libraries=$ac_dir
33524 if test "$ac_find_libraries" != "" ; then
33525 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33526 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33529 if test "$ac_find_libraries" = "default location"; then
33532 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33534 if test $result = 0; then
33537 ac_path_to_link=" -L$ac_find_libraries"
33541 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33542 LDFLAGS_GL="$ac_path_to_link"
33545 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33546 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33549 for ac_dir in $SEARCH_LIB;
33551 for ac_extension in a so sl dylib dll.a; do
33552 if test -f "$ac_dir/libGLU.$ac_extension"; then
33553 ac_find_libraries=$ac_dir
33559 if test "$ac_find_libraries" != "" ; then
33561 if test "$ac_find_libraries" = "default location"; then
33564 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33566 if test $result = 0; then
33569 ac_path_to_link=" -L$ac_find_libraries"
33573 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33574 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33575 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33579 OPENGL_LIBS="-lGL -lGLU"
33580 { echo "$as_me:$LINENO: result: yes" >&5
33581 echo "${ECHO_T}yes" >&6; }
33583 { echo "$as_me:$LINENO: result: no" >&5
33584 echo "${ECHO_T}no" >&6; }
33587 { echo "$as_me:$LINENO: result: no" >&5
33588 echo "${ECHO_T}no" >&6; }
33591 if test "$found_gl" != 1; then
33592 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33593 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33596 for ac_dir in $SEARCH_LIB;
33598 for ac_extension in a so sl dylib dll.a; do
33599 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33600 ac_find_libraries=$ac_dir
33606 if test "$ac_find_libraries" != "" ; then
33608 if test "$ac_find_libraries" = "default location"; then
33611 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33613 if test $result = 0; then
33616 ac_path_to_link=" -L$ac_find_libraries"
33620 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33621 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33622 { echo "$as_me:$LINENO: result: yes" >&5
33623 echo "${ECHO_T}yes" >&6; }
33625 { echo "$as_me:$LINENO: result: no" >&5
33626 echo "${ECHO_T}no" >&6; }
33638 if test "x$OPENGL_LIBS" = "x"; then
33639 if test "$wxUSE_OPENGL" = "yes"; then
33640 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33641 echo "$as_me: error: OpenGL libraries not available" >&2;}
33642 { (exit 1); exit 1; }; }
33644 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33645 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33651 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33652 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33656 if test "$wxUSE_OPENGL" = "auto"; then
33660 if test "$wxUSE_OPENGL" = "yes"; then
33662 cat >>confdefs.h <<\_ACEOF
33663 #define wxUSE_OPENGL 1
33666 cat >>confdefs.h <<\_ACEOF
33667 #define wxUSE_GLCANVAS 1
33670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33675 if test -n "$TOOLKIT" ; then
33676 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33681 if test "$wxUSE_SHARED" = "yes"; then
33685 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33686 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33691 if test "$wxUSE_SHARED" = "yes"; then
33695 *-*-cygwin* | *-*-mingw* )
33696 wx_cv_version_script=no
33700 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33701 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33702 if test "${wx_cv_version_script+set}" = set; then
33703 echo $ECHO_N "(cached) $ECHO_C" >&6
33706 echo "VER_1 { *; };" >conftest.sym
33707 echo "int main() { return 0; }" >conftest.cpp
33710 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33711 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33713 (eval $ac_try) 2>&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); }; } ; then
33717 if test -s conftest.stderr ; then
33718 wx_cv_version_script=no
33720 wx_cv_version_script=yes
33723 wx_cv_version_script=no
33726 if test $wx_cv_version_script = yes
33728 echo "struct B { virtual ~B() { } }; \
33729 struct D : public B { }; \
33730 void F() { D d; }" > conftest.cpp
33733 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33734 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33736 (eval $ac_try) 2>&5
33738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739 (exit $ac_status); }; } &&
33741 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33742 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33744 (eval $ac_try) 2>&5
33746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33747 (exit $ac_status); }; }
33750 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33751 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33753 (eval $ac_try) 2>&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); }; }
33758 wx_cv_version_script=yes
33760 wx_cv_version_script=no
33765 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33766 rm -f conftest1.output conftest2.output conftest3.output
33769 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33770 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33772 if test $wx_cv_version_script = yes ; then
33773 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33779 if test "$wxUSE_VISIBILITY" != "no"; then
33782 if test -n "$GCC"; then
33783 CFLAGS_VISIBILITY="-fvisibility=hidden"
33784 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33785 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33786 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33787 if test "${wx_cv_cc_visibility+set}" = set; then
33788 echo $ECHO_N "(cached) $ECHO_C" >&6
33791 wx_save_CXXFLAGS="$CXXFLAGS"
33792 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33794 ac_cpp='$CXXCPP $CPPFLAGS'
33795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33799 cat >conftest.$ac_ext <<_ACEOF
33802 cat confdefs.h >>conftest.$ac_ext
33803 cat >>conftest.$ac_ext <<_ACEOF
33804 /* end confdefs.h. */
33806 /* we need gcc >= 4.0, older versions with visibility support
33807 didn't have class visibility: */
33808 #if defined(__GNUC__) && __GNUC__ < 4
33809 error this gcc is too old;
33812 /* visibility only makes sense for ELF shared libs: */
33813 #if !defined(__ELF__) && !defined(__APPLE__)
33814 error this platform has no visibility;
33817 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33818 extern __attribute__((__visibility__("default"))) int exportedvar;
33819 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33820 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33821 class __attribute__((__visibility__("default"))) Foo {
33833 rm -f conftest.$ac_objext
33834 if { (ac_try="$ac_compile"
33835 case "(($ac_try" in
33836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33837 *) ac_try_echo
=$ac_try;;
33839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33840 (eval "$ac_compile") 2>conftest.er1
33842 grep -v '^ *+' conftest.er1
>conftest.err
33844 cat conftest.err
>&5
33845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33846 (exit $ac_status); } && {
33847 test -z "$ac_cxx_werror_flag" ||
33848 test ! -s conftest.err
33849 } && test -s conftest.
$ac_objext; then
33850 wx_cv_cc_visibility
=yes
33852 echo "$as_me: failed program was:" >&5
33853 sed 's/^/| /' conftest.
$ac_ext >&5
33855 wx_cv_cc_visibility
=no
33858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33860 ac_cpp
='$CPP $CPPFLAGS'
33861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33865 CXXFLAGS
="$wx_save_CXXFLAGS"
33868 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33869 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33870 if test $wx_cv_cc_visibility = yes; then
33871 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33872 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33873 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33874 echo $ECHO_N "(cached) $ECHO_C" >&6
33877 wx_save_CXXFLAGS
="$CXXFLAGS"
33878 wx_save_LDFLAGS
="$LDFLAGS"
33879 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33880 LDFLAGS
="$LDFLAGS -shared -fPIC"
33882 ac_cpp
='$CXXCPP $CPPFLAGS'
33883 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33884 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33885 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33887 cat >conftest.
$ac_ext <<_ACEOF
33890 cat confdefs.h
>>conftest.
$ac_ext
33891 cat >>conftest.
$ac_ext <<_ACEOF
33892 /* end confdefs.h. */
33900 std::string s("hello");
33907 rm -f conftest.
$ac_objext conftest
$ac_exeext
33908 if { (ac_try
="$ac_link"
33909 case "(($ac_try" in
33910 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33911 *) ac_try_echo=$ac_try;;
33913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33914 (eval "$ac_link") 2>conftest.er1
33916 grep -v '^ *+' conftest.er1 >conftest.err
33918 cat conftest.err >&5
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); } && {
33921 test -z "$ac_cxx_werror_flag" ||
33922 test ! -s conftest.err
33923 } && test -s conftest$ac_exeext &&
33924 $as_test_x conftest$ac_exeext; then
33925 wx_cv_cc_broken_libstdcxx_visibility=no
33927 echo "$as_me: failed program was:" >&5
33928 sed 's/^/| /' conftest.$ac_ext >&5
33930 wx_cv_cc_broken_libstdcxx_visibility=yes
33933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33934 conftest$ac_exeext conftest.$ac_ext
33936 ac_cpp='$CPP $CPPFLAGS'
33937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33941 CXXFLAGS="$wx_save_CXXFLAGS"
33942 LDFLAGS="$wx_save_LDFLAGS"
33945 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33946 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33948 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33949 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33950 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33951 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33952 echo $ECHO_N "(cached) $ECHO_C" >&6
33956 ac_cpp='$CXXCPP $CPPFLAGS'
33957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33961 cat >conftest.$ac_ext <<_ACEOF
33964 cat confdefs.h >>conftest.$ac_ext
33965 cat >>conftest.$ac_ext <<_ACEOF
33966 /* end confdefs.h. */
33968 #pragma GCC visibility push(default)
33970 #pragma GCC visibility pop
33976 std::string s("hello");
33983 rm -f conftest.$ac_objext conftest$ac_exeext
33984 if { (ac_try="$ac_link"
33985 case "(($ac_try" in
33986 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33987 *) ac_try_echo
=$ac_try;;
33989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33990 (eval "$ac_link") 2>conftest.er1
33992 grep -v '^ *+' conftest.er1
>conftest.err
33994 cat conftest.err
>&5
33995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33996 (exit $ac_status); } && {
33997 test -z "$ac_cxx_werror_flag" ||
33998 test ! -s conftest.err
33999 } && test -s conftest
$ac_exeext &&
34000 $as_test_x conftest
$ac_exeext; then
34001 wx_cv_cc_visibility_workaround
=no
34003 echo "$as_me: failed program was:" >&5
34004 sed 's/^/| /' conftest.
$ac_ext >&5
34006 wx_cv_cc_visibility_workaround
=yes
34009 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34010 conftest
$ac_exeext conftest.
$ac_ext
34012 ac_cpp
='$CPP $CPPFLAGS'
34013 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34014 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34015 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34020 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34021 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34023 if test $wx_cv_cc_visibility_workaround = no
; then
34024 wx_cv_cc_visibility
=no
34029 if test $wx_cv_cc_visibility = yes; then
34030 cat >>confdefs.h
<<\_ACEOF
34031 #define HAVE_VISIBILITY 1
34034 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34035 cat >>confdefs.h
<<\_ACEOF
34036 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34041 CFLAGS_VISIBILITY
=""
34042 CXXFLAGS_VISIBILITY
=""
34050 if test "x$SUNCXX" = xyes
; then
34051 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34052 WXCONFIG_RPATH
="-R\$libdir"
34055 *-*-linux* | *-*-gnu* )
34056 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34057 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34062 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34064 saveLdflags
="$LDFLAGS"
34065 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34066 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34067 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34068 cat >conftest.
$ac_ext <<_ACEOF
34071 cat confdefs.h
>>conftest.
$ac_ext
34072 cat >>conftest.
$ac_ext <<_ACEOF
34073 /* end confdefs.h. */
34083 rm -f conftest.
$ac_objext conftest
$ac_exeext
34084 if { (ac_try
="$ac_link"
34085 case "(($ac_try" in
34086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34087 *) ac_try_echo=$ac_try;;
34089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34090 (eval "$ac_link") 2>conftest.er1
34092 grep -v '^ *+' conftest.er1 >conftest.err
34094 cat conftest.err >&5
34095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34096 (exit $ac_status); } && {
34097 test -z "$ac_c_werror_flag" ||
34098 test ! -s conftest.err
34099 } && test -s conftest$ac_exeext &&
34100 $as_test_x conftest$ac_exeext; then
34102 { echo "$as_me:$LINENO: result: yes" >&5
34103 echo "${ECHO_T}yes" >&6; }
34104 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34105 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34108 echo "$as_me: failed program was:" >&5
34109 sed 's/^/| /' conftest.$ac_ext >&5
34112 { echo "$as_me:$LINENO: result: no" >&5
34113 echo "${ECHO_T}no" >&6; }
34114 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34115 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34116 LDFLAGS="$saveLdflags -Wl,-R,/"
34117 cat >conftest.$ac_ext <<_ACEOF
34120 cat confdefs.h >>conftest.$ac_ext
34121 cat >>conftest.$ac_ext <<_ACEOF
34122 /* end confdefs.h. */
34132 rm -f conftest.$ac_objext conftest$ac_exeext
34133 if { (ac_try="$ac_link"
34134 case "(($ac_try" in
34135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34136 *) ac_try_echo
=$ac_try;;
34138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34139 (eval "$ac_link") 2>conftest.er1
34141 grep -v '^ *+' conftest.er1
>conftest.err
34143 cat conftest.err
>&5
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); } && {
34146 test -z "$ac_c_werror_flag" ||
34147 test ! -s conftest.err
34148 } && test -s conftest
$ac_exeext &&
34149 $as_test_x conftest
$ac_exeext; then
34151 { echo "$as_me:$LINENO: result: yes" >&5
34152 echo "${ECHO_T}yes" >&6; }
34153 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34154 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34157 echo "$as_me: failed program was:" >&5
34158 sed 's/^/| /' conftest.
$ac_ext >&5
34161 { echo "$as_me:$LINENO: result: no" >&5
34162 echo "${ECHO_T}no" >&6; }
34166 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34167 conftest
$ac_exeext conftest.
$ac_ext
34171 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34172 conftest
$ac_exeext conftest.
$ac_ext
34173 LDFLAGS
="$saveLdflags"
34177 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
34178 if test "$install_name_tool" -a -x "$install_name_tool"; then
34179 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34180 cat <<EOF >change-install-names
34182 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34183 for i in \${libnames} ; do
34184 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34185 for dep in \${libnames} ; do
34186 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34190 chmod +x change
-install-names
34191 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34194 HEADER_PAD_OPTION
="-headerpad_max_install_names"
34197 *-*-cygwin* | *-*-mingw32* )
34201 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34202 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34208 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34210 if test $wxUSE_RPATH = "no"; then
34211 SAMPLES_RPATH_FLAG
=''
34212 DYLIB_PATH_POSTLINK
=''
34220 config_linkage_component
="-static"
34227 lib_unicode_suffix
=
34229 if test "$wxUSE_UNICODE" = "yes"; then
34230 lib_unicode_suffix
=u
34231 WX_CHARTYPE
="unicode"
34235 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34236 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34239 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34243 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34245 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34247 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34250 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34251 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34253 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34255 if test "${TOOLKIT_DIR}" = "os2"; then
34256 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34258 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34263 if test "$wxUSE_COCOA" = 1; then
34266 ac_cpp
='$CPP $CPPFLAGS'
34267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34273 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34274 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34275 cat >conftest.
$ac_ext <<_ACEOF
34278 cat confdefs.h
>>conftest.
$ac_ext
34279 cat >>conftest.
$ac_ext <<_ACEOF
34280 /* end confdefs.h. */
34281 #include <AppKit/NSEvent.h>
34282 #include <CoreFoundation/CoreFoundation.h>
34292 rm -f conftest.
$ac_objext
34293 if { (ac_try
="$ac_compile"
34294 case "(($ac_try" in
34295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34296 *) ac_try_echo=$ac_try;;
34298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34299 (eval "$ac_compile") 2>conftest.er1
34301 grep -v '^ *+' conftest.er1 >conftest.err
34303 cat conftest.err >&5
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); } && {
34306 test -z "$ac_c_werror_flag" ||
34307 test ! -s conftest.err
34308 } && test -s conftest.$ac_objext; then
34309 { echo "$as_me:$LINENO: result: no" >&5
34310 echo "${ECHO_T}no" >&6; }
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.$ac_ext >&5
34315 { echo "$as_me:$LINENO: result: yes" >&5
34316 echo "${ECHO_T}yes" >&6; }
34317 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34318 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34319 cat >conftest.$ac_ext <<_ACEOF
34322 cat confdefs.h >>conftest.$ac_ext
34323 cat >>conftest.$ac_ext <<_ACEOF
34324 /* end confdefs.h. */
34325 #define __Point__ 1
34326 #include <AppKit/NSEvent.h>
34327 #include <CoreFoundation/CoreFoundation.h>
34337 rm -f conftest.$ac_objext
34338 if { (ac_try="$ac_compile"
34339 case "(($ac_try" in
34340 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34341 *) ac_try_echo
=$ac_try;;
34343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34344 (eval "$ac_compile") 2>conftest.er1
34346 grep -v '^ *+' conftest.er1
>conftest.err
34348 cat conftest.err
>&5
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); } && {
34351 test -z "$ac_c_werror_flag" ||
34352 test ! -s conftest.err
34353 } && test -s conftest.
$ac_objext; then
34354 { echo "$as_me:$LINENO: result: yes" >&5
34355 echo "${ECHO_T}yes" >&6; }
34356 cat >>confdefs.h
<<\_ACEOF
34357 #define __Point__ 1
34362 echo "$as_me: failed program was:" >&5
34363 sed 's/^/| /' conftest.
$ac_ext >&5
34365 { { echo "$as_me:$LINENO: error: no
34366 See \`config.log' for more details." >&5
34367 echo "$as_me: error: no
34368 See \`config.log' for more details." >&2;}
34369 { (exit 1); exit 1; }; }
34373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34379 ac_cpp
='$CPP $CPPFLAGS'
34380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34387 { echo "$as_me:$LINENO: checking for mode_t" >&5
34388 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34389 if test "${ac_cv_type_mode_t+set}" = set; then
34390 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 cat >conftest.
$ac_ext <<_ACEOF
34395 cat confdefs.h
>>conftest.
$ac_ext
34396 cat >>conftest.
$ac_ext <<_ACEOF
34397 /* end confdefs.h. */
34398 $ac_includes_default
34399 typedef mode_t ac__type_new_;
34403 if ((ac__type_new_ *) 0)
34405 if (sizeof (ac__type_new_))
34411 rm -f conftest.
$ac_objext
34412 if { (ac_try
="$ac_compile"
34413 case "(($ac_try" in
34414 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34415 *) ac_try_echo=$ac_try;;
34417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34418 (eval "$ac_compile") 2>conftest.er1
34420 grep -v '^ *+' conftest.er1 >conftest.err
34422 cat conftest.err >&5
34423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424 (exit $ac_status); } && {
34425 test -z "$ac_c_werror_flag" ||
34426 test ! -s conftest.err
34427 } && test -s conftest.$ac_objext; then
34428 ac_cv_type_mode_t=yes
34430 echo "$as_me: failed program was:" >&5
34431 sed 's/^/| /' conftest.$ac_ext >&5
34433 ac_cv_type_mode_t=no
34436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34438 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34439 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34440 if test $ac_cv_type_mode_t = yes; then
34444 cat >>confdefs.h <<_ACEOF
34450 { echo "$as_me:$LINENO: checking for off_t" >&5
34451 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34452 if test "${ac_cv_type_off_t+set}" = set; then
34453 echo $ECHO_N "(cached) $ECHO_C" >&6
34455 cat >conftest.$ac_ext <<_ACEOF
34458 cat confdefs.h >>conftest.$ac_ext
34459 cat >>conftest.$ac_ext <<_ACEOF
34460 /* end confdefs.h. */
34461 $ac_includes_default
34462 typedef off_t ac__type_new_;
34466 if ((ac__type_new_ *) 0)
34468 if (sizeof (ac__type_new_))
34474 rm -f conftest.$ac_objext
34475 if { (ac_try="$ac_compile"
34476 case "(($ac_try" in
34477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34478 *) ac_try_echo
=$ac_try;;
34480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34481 (eval "$ac_compile") 2>conftest.er1
34483 grep -v '^ *+' conftest.er1
>conftest.err
34485 cat conftest.err
>&5
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); } && {
34488 test -z "$ac_c_werror_flag" ||
34489 test ! -s conftest.err
34490 } && test -s conftest.
$ac_objext; then
34491 ac_cv_type_off_t
=yes
34493 echo "$as_me: failed program was:" >&5
34494 sed 's/^/| /' conftest.
$ac_ext >&5
34496 ac_cv_type_off_t
=no
34499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34501 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34502 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34503 if test $ac_cv_type_off_t = yes; then
34507 cat >>confdefs.h
<<_ACEOF
34508 #define off_t long int
34513 { echo "$as_me:$LINENO: checking for pid_t" >&5
34514 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34515 if test "${ac_cv_type_pid_t+set}" = set; then
34516 echo $ECHO_N "(cached) $ECHO_C" >&6
34518 cat >conftest.
$ac_ext <<_ACEOF
34521 cat confdefs.h
>>conftest.
$ac_ext
34522 cat >>conftest.
$ac_ext <<_ACEOF
34523 /* end confdefs.h. */
34524 $ac_includes_default
34525 typedef pid_t ac__type_new_;
34529 if ((ac__type_new_ *) 0)
34531 if (sizeof (ac__type_new_))
34537 rm -f conftest.
$ac_objext
34538 if { (ac_try
="$ac_compile"
34539 case "(($ac_try" in
34540 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34541 *) ac_try_echo=$ac_try;;
34543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34544 (eval "$ac_compile") 2>conftest.er1
34546 grep -v '^ *+' conftest.er1 >conftest.err
34548 cat conftest.err >&5
34549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34550 (exit $ac_status); } && {
34551 test -z "$ac_c_werror_flag" ||
34552 test ! -s conftest.err
34553 } && test -s conftest.$ac_objext; then
34554 ac_cv_type_pid_t=yes
34556 echo "$as_me: failed program was:" >&5
34557 sed 's/^/| /' conftest.$ac_ext >&5
34559 ac_cv_type_pid_t=no
34562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34564 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34565 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34566 if test $ac_cv_type_pid_t = yes; then
34570 cat >>confdefs.h <<_ACEOF
34576 { echo "$as_me:$LINENO: checking for size_t" >&5
34577 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34578 if test "${ac_cv_type_size_t+set}" = set; then
34579 echo $ECHO_N "(cached) $ECHO_C" >&6
34581 cat >conftest.$ac_ext <<_ACEOF
34584 cat confdefs.h >>conftest.$ac_ext
34585 cat >>conftest.$ac_ext <<_ACEOF
34586 /* end confdefs.h. */
34587 $ac_includes_default
34588 typedef size_t ac__type_new_;
34592 if ((ac__type_new_ *) 0)
34594 if (sizeof (ac__type_new_))
34600 rm -f conftest.$ac_objext
34601 if { (ac_try="$ac_compile"
34602 case "(($ac_try" in
34603 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34604 *) ac_try_echo
=$ac_try;;
34606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34607 (eval "$ac_compile") 2>conftest.er1
34609 grep -v '^ *+' conftest.er1
>conftest.err
34611 cat conftest.err
>&5
34612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34613 (exit $ac_status); } && {
34614 test -z "$ac_c_werror_flag" ||
34615 test ! -s conftest.err
34616 } && test -s conftest.
$ac_objext; then
34617 ac_cv_type_size_t
=yes
34619 echo "$as_me: failed program was:" >&5
34620 sed 's/^/| /' conftest.
$ac_ext >&5
34622 ac_cv_type_size_t
=no
34625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34627 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34628 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34629 if test $ac_cv_type_size_t = yes; then
34633 cat >>confdefs.h
<<_ACEOF
34634 #define size_t unsigned int
34640 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34641 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34642 if test "${ac_cv_type_ssize_t+set}" = set; then
34643 echo $ECHO_N "(cached) $ECHO_C" >&6
34645 cat >conftest.
$ac_ext <<_ACEOF
34648 cat confdefs.h
>>conftest.
$ac_ext
34649 cat >>conftest.
$ac_ext <<_ACEOF
34650 /* end confdefs.h. */
34651 $ac_includes_default
34652 typedef ssize_t ac__type_new_;
34656 if ((ac__type_new_ *) 0)
34658 if (sizeof (ac__type_new_))
34664 rm -f conftest.
$ac_objext
34665 if { (ac_try
="$ac_compile"
34666 case "(($ac_try" in
34667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34668 *) ac_try_echo=$ac_try;;
34670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34671 (eval "$ac_compile") 2>conftest.er1
34673 grep -v '^ *+' conftest.er1 >conftest.err
34675 cat conftest.err >&5
34676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34677 (exit $ac_status); } && {
34678 test -z "$ac_c_werror_flag" ||
34679 test ! -s conftest.err
34680 } && test -s conftest.$ac_objext; then
34681 ac_cv_type_ssize_t=yes
34683 echo "$as_me: failed program was:" >&5
34684 sed 's/^/| /' conftest.$ac_ext >&5
34686 ac_cv_type_ssize_t=no
34689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34691 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34692 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34693 if test $ac_cv_type_ssize_t = yes; then
34695 cat >>confdefs.h <<_ACEOF
34696 #define HAVE_SSIZE_T 1
34704 ac_cpp='$CXXCPP $CPPFLAGS'
34705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34708 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34709 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34710 if test "${wx_cv_size_t_is_uint+set}" = set; then
34711 echo $ECHO_N "(cached) $ECHO_C" >&6
34714 cat >conftest.$ac_ext <<_ACEOF
34717 cat confdefs.h >>conftest.$ac_ext
34718 cat >>conftest.$ac_ext <<_ACEOF
34719 /* end confdefs.h. */
34720 #include <stddef.h>
34727 struct Foo { void foo(size_t); void foo(unsigned int); };
34735 rm -f conftest.$ac_objext
34736 if { (ac_try="$ac_compile"
34737 case "(($ac_try" in
34738 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34739 *) ac_try_echo
=$ac_try;;
34741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34742 (eval "$ac_compile") 2>conftest.er1
34744 grep -v '^ *+' conftest.er1
>conftest.err
34746 cat conftest.err
>&5
34747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34748 (exit $ac_status); } && {
34749 test -z "$ac_cxx_werror_flag" ||
34750 test ! -s conftest.err
34751 } && test -s conftest.
$ac_objext; then
34752 wx_cv_size_t_is_uint
=no
34754 echo "$as_me: failed program was:" >&5
34755 sed 's/^/| /' conftest.
$ac_ext >&5
34757 wx_cv_size_t_is_uint
=yes
34761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34765 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34766 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34768 if test "$wx_cv_size_t_is_uint" = "yes"; then
34769 cat >>confdefs.h
<<\_ACEOF
34770 #define wxSIZE_T_IS_UINT 1
34774 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34775 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34776 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34777 echo $ECHO_N "(cached) $ECHO_C" >&6
34779 cat >conftest.
$ac_ext <<_ACEOF
34782 cat confdefs.h
>>conftest.
$ac_ext
34783 cat >>conftest.
$ac_ext <<_ACEOF
34784 /* end confdefs.h. */
34785 #include <stddef.h>
34792 struct Foo { void foo(size_t); void foo(unsigned long); };
34800 rm -f conftest.
$ac_objext
34801 if { (ac_try
="$ac_compile"
34802 case "(($ac_try" in
34803 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34804 *) ac_try_echo=$ac_try;;
34806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34807 (eval "$ac_compile") 2>conftest.er1
34809 grep -v '^ *+' conftest.er1 >conftest.err
34811 cat conftest.err >&5
34812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813 (exit $ac_status); } && {
34814 test -z "$ac_cxx_werror_flag" ||
34815 test ! -s conftest.err
34816 } && test -s conftest.$ac_objext; then
34817 wx_cv_size_t_is_ulong=no
34819 echo "$as_me: failed program was:" >&5
34820 sed 's/^/| /' conftest.$ac_ext >&5
34822 wx_cv_size_t_is_ulong=yes
34826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34829 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34830 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34832 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34833 cat >>confdefs.h <<\_ACEOF
34834 #define wxSIZE_T_IS_ULONG 1
34840 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34841 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34842 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34843 echo $ECHO_N "(cached) $ECHO_C" >&6
34845 cat >conftest.$ac_ext <<_ACEOF
34848 cat confdefs.h >>conftest.$ac_ext
34849 cat >>conftest.$ac_ext <<_ACEOF
34850 /* end confdefs.h. */
34858 struct Foo { void foo(wchar_t);
34859 void foo(unsigned short);
34860 void foo(unsigned int);
34861 void foo(unsigned long); };
34869 rm -f conftest.$ac_objext
34870 if { (ac_try="$ac_compile"
34871 case "(($ac_try" in
34872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34873 *) ac_try_echo
=$ac_try;;
34875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34876 (eval "$ac_compile") 2>conftest.er1
34878 grep -v '^ *+' conftest.er1
>conftest.err
34880 cat conftest.err
>&5
34881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882 (exit $ac_status); } && {
34883 test -z "$ac_cxx_werror_flag" ||
34884 test ! -s conftest.err
34885 } && test -s conftest.
$ac_objext; then
34886 wx_cv_wchar_t_is_separate_type
=yes
34888 echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.
$ac_ext >&5
34891 wx_cv_wchar_t_is_separate_type
=no
34895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34898 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34899 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34901 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34902 cat >>confdefs.h
<<\_ACEOF
34903 #define wxWCHAR_T_IS_REAL_TYPE 1
34907 cat >>confdefs.h
<<\_ACEOF
34908 #define wxWCHAR_T_IS_REAL_TYPE 0
34914 ac_cpp
='$CPP $CPPFLAGS'
34915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34920 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34921 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34922 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34923 echo $ECHO_N "(cached) $ECHO_C" >&6
34926 cat >conftest.
$ac_ext <<_ACEOF
34929 cat confdefs.h
>>conftest.
$ac_ext
34930 cat >>conftest.
$ac_ext <<_ACEOF
34931 /* end confdefs.h. */
34945 rm -f conftest.
$ac_objext
34946 if { (ac_try
="$ac_compile"
34947 case "(($ac_try" in
34948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34949 *) ac_try_echo=$ac_try;;
34951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34952 (eval "$ac_compile") 2>conftest.er1
34954 grep -v '^ *+' conftest.er1 >conftest.err
34956 cat conftest.err >&5
34957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34958 (exit $ac_status); } && {
34959 test -z "$ac_c_werror_flag" ||
34960 test ! -s conftest.err
34961 } && test -s conftest.$ac_objext; then
34963 wx_cv_struct_pw_gecos=yes
34966 echo "$as_me: failed program was:" >&5
34967 sed 's/^/| /' conftest.$ac_ext >&5
34970 wx_cv_struct_pw_gecos=no
34975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34979 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34980 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34982 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34983 cat >>confdefs.h <<\_ACEOF
34984 #define HAVE_PW_GECOS 1
34990 if test "$wxUSE_WCHAR_T" = "yes"; then
34991 cat >>confdefs.h <<\_ACEOF
34992 #define wxUSE_WCHAR_T 1
34999 for ac_func in wcslen
35001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35002 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35004 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35005 echo $ECHO_N "(cached) $ECHO_C" >&6
35007 cat >conftest.$ac_ext <<_ACEOF
35010 cat confdefs.h >>conftest.$ac_ext
35011 cat >>conftest.$ac_ext <<_ACEOF
35012 /* end confdefs.h. */
35013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35015 #define $ac_func innocuous_$ac_func
35017 /* System header to define __stub macros and hopefully few prototypes,
35018 which can conflict with char $ac_func (); below.
35019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35020 <limits.h> exists even on freestanding compilers. */
35023 # include <limits.h>
35025 # include <assert.h>
35030 /* Override any GCC internal prototype to avoid an error.
35031 Use char because int might match the return type of a GCC
35032 builtin and then its argument prototype would still apply. */
35037 /* The GNU C library defines this for functions which it implements
35038 to always fail with ENOSYS. Some functions are actually named
35039 something starting with __ and the normal name is an alias. */
35040 #if defined __stub_$ac_func || defined __stub___$ac_func
35047 return $ac_func ();
35052 rm -f conftest.$ac_objext conftest$ac_exeext
35053 if { (ac_try="$ac_link"
35054 case "(($ac_try" in
35055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35056 *) ac_try_echo
=$ac_try;;
35058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35059 (eval "$ac_link") 2>conftest.er1
35061 grep -v '^ *+' conftest.er1
>conftest.err
35063 cat conftest.err
>&5
35064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35065 (exit $ac_status); } && {
35066 test -z "$ac_c_werror_flag" ||
35067 test ! -s conftest.err
35068 } && test -s conftest
$ac_exeext &&
35069 $as_test_x conftest
$ac_exeext; then
35070 eval "$as_ac_var=yes"
35072 echo "$as_me: failed program was:" >&5
35073 sed 's/^/| /' conftest.
$ac_ext >&5
35075 eval "$as_ac_var=no"
35078 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35079 conftest
$ac_exeext conftest.
$ac_ext
35081 ac_res
=`eval echo '${'$as_ac_var'}'`
35082 { echo "$as_me:$LINENO: result: $ac_res" >&5
35083 echo "${ECHO_T}$ac_res" >&6; }
35084 if test `eval echo '${'$as_ac_var'}'` = yes; then
35085 cat >>confdefs.h
<<_ACEOF
35086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35093 if test "$WCSLEN_FOUND" = 0; then
35094 if test "$TOOLKIT" = "MSW"; then
35095 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35096 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35097 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35098 echo $ECHO_N "(cached) $ECHO_C" >&6
35100 ac_check_lib_save_LIBS
=$LIBS
35101 LIBS
="-lmsvcrt $LIBS"
35102 cat >conftest.
$ac_ext <<_ACEOF
35105 cat confdefs.h
>>conftest.
$ac_ext
35106 cat >>conftest.
$ac_ext <<_ACEOF
35107 /* end confdefs.h. */
35109 /* Override any GCC internal prototype to avoid an error.
35110 Use char because int might match the return type of a GCC
35111 builtin and then its argument prototype would still apply. */
35124 rm -f conftest.
$ac_objext conftest
$ac_exeext
35125 if { (ac_try
="$ac_link"
35126 case "(($ac_try" in
35127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35128 *) ac_try_echo=$ac_try;;
35130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35131 (eval "$ac_link") 2>conftest.er1
35133 grep -v '^ *+' conftest.er1 >conftest.err
35135 cat conftest.err >&5
35136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35137 (exit $ac_status); } && {
35138 test -z "$ac_c_werror_flag" ||
35139 test ! -s conftest.err
35140 } && test -s conftest$ac_exeext &&
35141 $as_test_x conftest$ac_exeext; then
35142 ac_cv_lib_msvcrt_wcslen=yes
35144 echo "$as_me: failed program was:" >&5
35145 sed 's/^/| /' conftest.$ac_ext >&5
35147 ac_cv_lib_msvcrt_wcslen=no
35150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35151 conftest$ac_exeext conftest.$ac_ext
35152 LIBS=$ac_check_lib_save_LIBS
35154 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35155 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35156 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35161 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35162 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35163 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35164 echo $ECHO_N "(cached) $ECHO_C" >&6
35166 ac_check_lib_save_LIBS=$LIBS
35168 cat >conftest.$ac_ext <<_ACEOF
35171 cat confdefs.h >>conftest.$ac_ext
35172 cat >>conftest.$ac_ext <<_ACEOF
35173 /* end confdefs.h. */
35175 /* Override any GCC internal prototype to avoid an error.
35176 Use char because int might match the return type of a GCC
35177 builtin and then its argument prototype would still apply. */
35190 rm -f conftest.$ac_objext conftest$ac_exeext
35191 if { (ac_try="$ac_link"
35192 case "(($ac_try" in
35193 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35194 *) ac_try_echo
=$ac_try;;
35196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35197 (eval "$ac_link") 2>conftest.er1
35199 grep -v '^ *+' conftest.er1
>conftest.err
35201 cat conftest.err
>&5
35202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35203 (exit $ac_status); } && {
35204 test -z "$ac_c_werror_flag" ||
35205 test ! -s conftest.err
35206 } && test -s conftest
$ac_exeext &&
35207 $as_test_x conftest
$ac_exeext; then
35208 ac_cv_lib_w_wcslen
=yes
35210 echo "$as_me: failed program was:" >&5
35211 sed 's/^/| /' conftest.
$ac_ext >&5
35213 ac_cv_lib_w_wcslen
=no
35216 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35217 conftest
$ac_exeext conftest.
$ac_ext
35218 LIBS
=$ac_check_lib_save_LIBS
35220 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35221 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35222 if test $ac_cv_lib_w_wcslen = yes; then
35232 if test "$WCSLEN_FOUND" = 1; then
35233 cat >>confdefs.h
<<\_ACEOF
35234 #define HAVE_WCSLEN 1
35244 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35246 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35249 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35250 echo $ECHO_N "(cached) $ECHO_C" >&6
35252 cat >conftest.
$ac_ext <<_ACEOF
35255 cat confdefs.h
>>conftest.
$ac_ext
35256 cat >>conftest.
$ac_ext <<_ACEOF
35257 /* end confdefs.h. */
35258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35260 #define $ac_func innocuous_$ac_func
35262 /* System header to define __stub macros and hopefully few prototypes,
35263 which can conflict with char $ac_func (); below.
35264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35265 <limits.h> exists even on freestanding compilers. */
35268 # include <limits.h>
35270 # include <assert.h>
35275 /* Override any GCC internal prototype to avoid an error.
35276 Use char because int might match the return type of a GCC
35277 builtin and then its argument prototype would still apply. */
35282 /* The GNU C library defines this for functions which it implements
35283 to always fail with ENOSYS. Some functions are actually named
35284 something starting with __ and the normal name is an alias. */
35285 #if defined __stub_$ac_func || defined __stub___$ac_func
35292 return $ac_func ();
35297 rm -f conftest.
$ac_objext conftest
$ac_exeext
35298 if { (ac_try
="$ac_link"
35299 case "(($ac_try" in
35300 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35301 *) ac_try_echo=$ac_try;;
35303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35304 (eval "$ac_link") 2>conftest.er1
35306 grep -v '^ *+' conftest.er1 >conftest.err
35308 cat conftest.err >&5
35309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35310 (exit $ac_status); } && {
35311 test -z "$ac_c_werror_flag" ||
35312 test ! -s conftest.err
35313 } && test -s conftest$ac_exeext &&
35314 $as_test_x conftest$ac_exeext; then
35315 eval "$as_ac_var=yes"
35317 echo "$as_me: failed program was:" >&5
35318 sed 's/^/| /' conftest.$ac_ext >&5
35320 eval "$as_ac_var=no"
35323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35324 conftest$ac_exeext conftest.$ac_ext
35326 ac_res=`eval echo '${'$as_ac_var'}'`
35327 { echo "$as_me:$LINENO: result: $ac_res" >&5
35328 echo "${ECHO_T}$ac_res" >&6; }
35329 if test `eval echo '${'$as_ac_var'}'` = yes; then
35330 cat >>confdefs.h <<_ACEOF
35331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35338 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35339 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35342 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35343 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35344 if test "${ac_cv_type_mbstate_t+set}" = set; then
35345 echo $ECHO_N "(cached) $ECHO_C" >&6
35347 cat >conftest.$ac_ext <<_ACEOF
35350 cat confdefs.h >>conftest.$ac_ext
35351 cat >>conftest.$ac_ext <<_ACEOF
35352 /* end confdefs.h. */
35355 typedef mbstate_t ac__type_new_;
35359 if ((ac__type_new_ *) 0)
35361 if (sizeof (ac__type_new_))
35367 rm -f conftest.$ac_objext
35368 if { (ac_try="$ac_compile"
35369 case "(($ac_try" in
35370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35371 *) ac_try_echo
=$ac_try;;
35373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35374 (eval "$ac_compile") 2>conftest.er1
35376 grep -v '^ *+' conftest.er1
>conftest.err
35378 cat conftest.err
>&5
35379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380 (exit $ac_status); } && {
35381 test -z "$ac_c_werror_flag" ||
35382 test ! -s conftest.err
35383 } && test -s conftest.
$ac_objext; then
35384 ac_cv_type_mbstate_t
=yes
35386 echo "$as_me: failed program was:" >&5
35387 sed 's/^/| /' conftest.
$ac_ext >&5
35389 ac_cv_type_mbstate_t
=no
35392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35394 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35395 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35396 if test $ac_cv_type_mbstate_t = yes; then
35398 cat >>confdefs.h
<<_ACEOF
35399 #define HAVE_MBSTATE_T 1
35403 for ac_func
in wcsrtombs
35405 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35406 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35408 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35409 echo $ECHO_N "(cached) $ECHO_C" >&6
35411 cat >conftest.
$ac_ext <<_ACEOF
35414 cat confdefs.h
>>conftest.
$ac_ext
35415 cat >>conftest.
$ac_ext <<_ACEOF
35416 /* end confdefs.h. */
35417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35419 #define $ac_func innocuous_$ac_func
35421 /* System header to define __stub macros and hopefully few prototypes,
35422 which can conflict with char $ac_func (); below.
35423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35424 <limits.h> exists even on freestanding compilers. */
35427 # include <limits.h>
35429 # include <assert.h>
35434 /* Override any GCC internal prototype to avoid an error.
35435 Use char because int might match the return type of a GCC
35436 builtin and then its argument prototype would still apply. */
35441 /* The GNU C library defines this for functions which it implements
35442 to always fail with ENOSYS. Some functions are actually named
35443 something starting with __ and the normal name is an alias. */
35444 #if defined __stub_$ac_func || defined __stub___$ac_func
35451 return $ac_func ();
35456 rm -f conftest.
$ac_objext conftest
$ac_exeext
35457 if { (ac_try
="$ac_link"
35458 case "(($ac_try" in
35459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35460 *) ac_try_echo=$ac_try;;
35462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35463 (eval "$ac_link") 2>conftest.er1
35465 grep -v '^ *+' conftest.er1 >conftest.err
35467 cat conftest.err >&5
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); } && {
35470 test -z "$ac_c_werror_flag" ||
35471 test ! -s conftest.err
35472 } && test -s conftest$ac_exeext &&
35473 $as_test_x conftest$ac_exeext; then
35474 eval "$as_ac_var=yes"
35476 echo "$as_me: failed program was:" >&5
35477 sed 's/^/| /' conftest.$ac_ext >&5
35479 eval "$as_ac_var=no"
35482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35483 conftest$ac_exeext conftest.$ac_ext
35485 ac_res=`eval echo '${'$as_ac_var'}'`
35486 { echo "$as_me:$LINENO: result: $ac_res" >&5
35487 echo "${ECHO_T}$ac_res" >&6; }
35488 if test `eval echo '${'$as_ac_var'}'` = yes; then
35489 cat >>confdefs.h <<_ACEOF
35490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35499 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35500 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35506 for ac_func in snprintf vsnprintf vsscanf
35508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35509 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35511 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35512 echo $ECHO_N "(cached) $ECHO_C" >&6
35514 cat >conftest.$ac_ext <<_ACEOF
35517 cat confdefs.h >>conftest.$ac_ext
35518 cat >>conftest.$ac_ext <<_ACEOF
35519 /* end confdefs.h. */
35520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35522 #define $ac_func innocuous_$ac_func
35524 /* System header to define __stub macros and hopefully few prototypes,
35525 which can conflict with char $ac_func (); below.
35526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35527 <limits.h> exists even on freestanding compilers. */
35530 # include <limits.h>
35532 # include <assert.h>
35537 /* Override any GCC internal prototype to avoid an error.
35538 Use char because int might match the return type of a GCC
35539 builtin and then its argument prototype would still apply. */
35544 /* The GNU C library defines this for functions which it implements
35545 to always fail with ENOSYS. Some functions are actually named
35546 something starting with __ and the normal name is an alias. */
35547 #if defined __stub_$ac_func || defined __stub___$ac_func
35554 return $ac_func ();
35559 rm -f conftest.$ac_objext conftest$ac_exeext
35560 if { (ac_try="$ac_link"
35561 case "(($ac_try" in
35562 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35563 *) ac_try_echo
=$ac_try;;
35565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35566 (eval "$ac_link") 2>conftest.er1
35568 grep -v '^ *+' conftest.er1
>conftest.err
35570 cat conftest.err
>&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); } && {
35573 test -z "$ac_c_werror_flag" ||
35574 test ! -s conftest.err
35575 } && test -s conftest
$ac_exeext &&
35576 $as_test_x conftest
$ac_exeext; then
35577 eval "$as_ac_var=yes"
35579 echo "$as_me: failed program was:" >&5
35580 sed 's/^/| /' conftest.
$ac_ext >&5
35582 eval "$as_ac_var=no"
35585 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35586 conftest
$ac_exeext conftest.
$ac_ext
35588 ac_res
=`eval echo '${'$as_ac_var'}'`
35589 { echo "$as_me:$LINENO: result: $ac_res" >&5
35590 echo "${ECHO_T}$ac_res" >&6; }
35591 if test `eval echo '${'$as_ac_var'}'` = yes; then
35592 cat >>confdefs.h
<<_ACEOF
35593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35601 ac_cpp
='$CXXCPP $CPPFLAGS'
35602 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35603 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35604 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35606 if test "$ac_cv_func_vsnprintf" = "yes"; then
35607 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35608 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35609 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35610 echo $ECHO_N "(cached) $ECHO_C" >&6
35613 cat >conftest.
$ac_ext <<_ACEOF
35616 cat confdefs.h
>>conftest.
$ac_ext
35617 cat >>conftest.
$ac_ext <<_ACEOF
35618 /* end confdefs.h. */
35621 #include <stdarg.h>
35623 #if __MSL__ >= 0x6000
35625 using namespace std;
35635 vsnprintf(buf, 10u, "%s", ap);
35641 rm -f conftest.
$ac_objext
35642 if { (ac_try
="$ac_compile"
35643 case "(($ac_try" in
35644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35645 *) ac_try_echo=$ac_try;;
35647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35648 (eval "$ac_compile") 2>conftest.er1
35650 grep -v '^ *+' conftest.er1 >conftest.err
35652 cat conftest.err >&5
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); } && {
35655 test -z "$ac_cxx_werror_flag" ||
35656 test ! -s conftest.err
35657 } && test -s conftest.$ac_objext; then
35658 wx_cv_func_vsnprintf_decl=yes
35660 echo "$as_me: failed program was:" >&5
35661 sed 's/^/| /' conftest.$ac_ext >&5
35663 wx_cv_func_vsnprintf_decl=no
35667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35671 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35672 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35674 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35675 cat >>confdefs.h <<\_ACEOF
35676 #define HAVE_VSNPRINTF_DECL 1
35680 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35681 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35682 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35683 echo $ECHO_N "(cached) $ECHO_C" >&6
35686 cat >conftest.$ac_ext <<_ACEOF
35689 cat confdefs.h >>conftest.$ac_ext
35690 cat >>conftest.$ac_ext <<_ACEOF
35691 /* end confdefs.h. */
35694 #include <stdarg.h>
35696 #if __MSL__ >= 0x6000
35698 using namespace std;
35708 const char *fmt = "%s";
35709 vsnprintf(buf, 10u, fmt, ap);
35715 rm -f conftest.$ac_objext
35716 if { (ac_try="$ac_compile"
35717 case "(($ac_try" in
35718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35719 *) ac_try_echo
=$ac_try;;
35721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35722 (eval "$ac_compile") 2>conftest.er1
35724 grep -v '^ *+' conftest.er1
>conftest.err
35726 cat conftest.err
>&5
35727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35728 (exit $ac_status); } && {
35729 test -z "$ac_cxx_werror_flag" ||
35730 test ! -s conftest.err
35731 } && test -s conftest.
$ac_objext; then
35732 wx_cv_func_broken_vsnprintf_decl
=no
35734 echo "$as_me: failed program was:" >&5
35735 sed 's/^/| /' conftest.
$ac_ext >&5
35737 wx_cv_func_broken_vsnprintf_decl
=yes
35741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35745 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35746 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35748 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35749 cat >>confdefs.h
<<\_ACEOF
35750 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35757 if test "$ac_cv_func_snprintf" = "yes"; then
35758 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35759 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35760 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35761 echo $ECHO_N "(cached) $ECHO_C" >&6
35764 cat >conftest.
$ac_ext <<_ACEOF
35767 cat confdefs.h
>>conftest.
$ac_ext
35768 cat >>conftest.
$ac_ext <<_ACEOF
35769 /* end confdefs.h. */
35772 #include <stdarg.h>
35774 #if __MSL__ >= 0x6000
35776 using namespace std;
35785 snprintf(buf, 10u, "%s", "wx");
35791 rm -f conftest.
$ac_objext
35792 if { (ac_try
="$ac_compile"
35793 case "(($ac_try" in
35794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35795 *) ac_try_echo=$ac_try;;
35797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35798 (eval "$ac_compile") 2>conftest.er1
35800 grep -v '^ *+' conftest.er1 >conftest.err
35802 cat conftest.err >&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); } && {
35805 test -z "$ac_cxx_werror_flag" ||
35806 test ! -s conftest.err
35807 } && test -s conftest.$ac_objext; then
35808 wx_cv_func_snprintf_decl=yes
35810 echo "$as_me: failed program was:" >&5
35811 sed 's/^/| /' conftest.$ac_ext >&5
35813 wx_cv_func_snprintf_decl=no
35817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35821 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35822 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35824 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35825 cat >>confdefs.h <<\_ACEOF
35826 #define HAVE_SNPRINTF_DECL 1
35831 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35833 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35834 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35835 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35836 echo $ECHO_N "(cached) $ECHO_C" >&6
35839 if test "$cross_compiling" = yes; then
35841 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35842 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35843 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35844 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35845 wx_cv_func_snprintf_pos_params=no
35849 cat >conftest.$ac_ext <<_ACEOF
35852 cat confdefs.h >>conftest.$ac_ext
35853 cat >>conftest.$ac_ext <<_ACEOF
35854 /* end confdefs.h. */
35861 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35862 if (strcmp ("2 3 1", buffer) == 0)
35868 rm -f conftest$ac_exeext
35869 if { (ac_try="$ac_link"
35870 case "(($ac_try" in
35871 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35872 *) ac_try_echo
=$ac_try;;
35874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35875 (eval "$ac_link") 2>&5
35877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35878 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35879 { (case "(($ac_try" in
35880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35881 *) ac_try_echo=$ac_try;;
35883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35884 (eval "$ac_try") 2>&5
35886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35887 (exit $ac_status); }; }; then
35888 wx_cv_func_snprintf_pos_params=no
35890 echo "$as_me: program exited with status $ac_status" >&5
35891 echo "$as_me: failed program was:" >&5
35892 sed 's/^/| /' conftest.$ac_ext >&5
35894 ( exit $ac_status )
35895 wx_cv_func_snprintf_pos_params=yes
35897 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35904 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35905 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35907 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35908 cat >>confdefs.h <<\_ACEOF
35909 #define HAVE_UNIX98_PRINTF 1
35916 if test "$ac_cv_func_vsscanf" = "yes"; then
35917 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35918 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35919 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35920 echo $ECHO_N "(cached) $ECHO_C" >&6
35923 cat >conftest.$ac_ext <<_ACEOF
35926 cat confdefs.h >>conftest.$ac_ext
35927 cat >>conftest.$ac_ext <<_ACEOF
35928 /* end confdefs.h. */
35931 #include <stdarg.h>
35933 #if __MSL__ >= 0x6000
35935 using namespace std;
35945 vsscanf(buf, "%s", args);
35951 rm -f conftest.$ac_objext
35952 if { (ac_try="$ac_compile"
35953 case "(($ac_try" in
35954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35955 *) ac_try_echo
=$ac_try;;
35957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35958 (eval "$ac_compile") 2>conftest.er1
35960 grep -v '^ *+' conftest.er1
>conftest.err
35962 cat conftest.err
>&5
35963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35964 (exit $ac_status); } && {
35965 test -z "$ac_cxx_werror_flag" ||
35966 test ! -s conftest.err
35967 } && test -s conftest.
$ac_objext; then
35968 wx_cv_func_vsscanf_decl
=yes
35970 echo "$as_me: failed program was:" >&5
35971 sed 's/^/| /' conftest.
$ac_ext >&5
35973 wx_cv_func_vsscanf_decl
=no
35977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35981 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35982 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35984 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35985 cat >>confdefs.h
<<\_ACEOF
35986 #define HAVE_VSSCANF_DECL 1
35992 ac_cpp
='$CPP $CPPFLAGS'
35993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35998 if test "$wxUSE_UNICODE" = yes; then
36000 wchar_headers
="#include <stdio.h>
36001 #include <wchar.h>"
36005 for ac_header
in widec.h
36007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36010 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36011 echo $ECHO_N "(cached) $ECHO_C" >&6
36013 cat >conftest.
$ac_ext <<_ACEOF
36016 cat confdefs.h
>>conftest.
$ac_ext
36017 cat >>conftest.
$ac_ext <<_ACEOF
36018 /* end confdefs.h. */
36019 $ac_includes_default
36021 #include <$ac_header>
36023 rm -f conftest.
$ac_objext
36024 if { (ac_try
="$ac_compile"
36025 case "(($ac_try" in
36026 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36027 *) ac_try_echo=$ac_try;;
36029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36030 (eval "$ac_compile") 2>conftest.er1
36032 grep -v '^ *+' conftest.er1 >conftest.err
36034 cat conftest.err >&5
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); } && {
36037 test -z "$ac_c_werror_flag" ||
36038 test ! -s conftest.err
36039 } && test -s conftest.$ac_objext; then
36040 eval "$as_ac_Header=yes"
36042 echo "$as_me: failed program was:" >&5
36043 sed 's/^/| /' conftest.$ac_ext >&5
36045 eval "$as_ac_Header=no"
36048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36050 ac_res=`eval echo '${'$as_ac_Header'}'`
36051 { echo "$as_me:$LINENO: result: $ac_res" >&5
36052 echo "${ECHO_T}$ac_res" >&6; }
36053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36054 cat >>confdefs.h <<_ACEOF
36055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36062 if test "$ac_cv_header_widec_h" = "yes"; then
36063 wchar_headers="$wchar_headers
36064 #include <widec.h>"
36069 for wx_func in putws fputws wprintf vswprintf vswscanf
36071 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36072 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36073 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36074 echo $ECHO_N "(cached) $ECHO_C" >&6
36077 cat >conftest.$ac_ext <<_ACEOF
36081 cat confdefs.h >>conftest.$ac_ext
36082 cat >>conftest.$ac_ext <<_ACEOF
36083 /* end confdefs.h. */
36086 $ac_includes_default
36102 rm -f conftest.$ac_objext conftest$ac_exeext
36103 if { (ac_try="$ac_link"
36104 case "(($ac_try" in
36105 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36106 *) ac_try_echo
=$ac_try;;
36108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36109 (eval "$ac_link") 2>conftest.er1
36111 grep -v '^ *+' conftest.er1
>conftest.err
36113 cat conftest.err
>&5
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); } && {
36116 test -z "$ac_c_werror_flag" ||
36117 test ! -s conftest.err
36118 } && test -s conftest
$ac_exeext &&
36119 $as_test_x conftest
$ac_exeext; then
36120 eval wx_cv_func_
$wx_func=yes
36122 echo "$as_me: failed program was:" >&5
36123 sed 's/^/| /' conftest.
$ac_ext >&5
36125 eval wx_cv_func_
$wx_func=no
36128 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36129 conftest
$ac_exeext conftest.
$ac_ext
36132 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36133 { echo "$as_me:$LINENO: result: $ac_res" >&5
36134 echo "${ECHO_T}$ac_res" >&6; }
36136 if eval test \
$wx_cv_func_$wx_func = yes
36138 cat >>confdefs.h
<<_ACEOF
36139 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36150 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36151 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36152 cat >conftest.
$ac_ext <<_ACEOF
36155 cat confdefs.h
>>conftest.
$ac_ext
36156 cat >>conftest.
$ac_ext <<_ACEOF
36157 /* end confdefs.h. */
36167 rm -f conftest.
$ac_objext
36168 if { (ac_try
="$ac_compile"
36169 case "(($ac_try" in
36170 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36171 *) ac_try_echo=$ac_try;;
36173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36174 (eval "$ac_compile") 2>conftest.er1
36176 grep -v '^ *+' conftest.er1 >conftest.err
36178 cat conftest.err >&5
36179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180 (exit $ac_status); } && {
36181 test -z "$ac_c_werror_flag" ||
36182 test ! -s conftest.err
36183 } && test -s conftest.$ac_objext; then
36184 { echo "$as_me:$LINENO: result: yes" >&5
36185 echo "${ECHO_T}yes" >&6; }
36186 cat >>confdefs.h <<\_ACEOF
36187 #define HAVE__VSNWPRINTF 1
36191 echo "$as_me: failed program was:" >&5
36192 sed 's/^/| /' conftest.$ac_ext >&5
36194 { echo "$as_me:$LINENO: result: no" >&5
36195 echo "${ECHO_T}no" >&6; }
36198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36201 if test "$wxUSE_FILE" = "yes"; then
36203 for wx_func in fsync
36205 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36206 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36207 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36208 echo $ECHO_N "(cached) $ECHO_C" >&6
36211 cat >conftest.$ac_ext <<_ACEOF
36215 cat confdefs.h >>conftest.$ac_ext
36216 cat >>conftest.$ac_ext <<_ACEOF
36217 /* end confdefs.h. */
36220 $ac_includes_default
36236 rm -f conftest.$ac_objext conftest$ac_exeext
36237 if { (ac_try="$ac_link"
36238 case "(($ac_try" in
36239 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36240 *) ac_try_echo
=$ac_try;;
36242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36243 (eval "$ac_link") 2>conftest.er1
36245 grep -v '^ *+' conftest.er1
>conftest.err
36247 cat conftest.err
>&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); } && {
36250 test -z "$ac_c_werror_flag" ||
36251 test ! -s conftest.err
36252 } && test -s conftest
$ac_exeext &&
36253 $as_test_x conftest
$ac_exeext; then
36254 eval wx_cv_func_
$wx_func=yes
36256 echo "$as_me: failed program was:" >&5
36257 sed 's/^/| /' conftest.
$ac_ext >&5
36259 eval wx_cv_func_
$wx_func=no
36262 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36263 conftest
$ac_exeext conftest.
$ac_ext
36266 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36267 { echo "$as_me:$LINENO: result: $ac_res" >&5
36268 echo "${ECHO_T}$ac_res" >&6; }
36270 if eval test \
$wx_cv_func_$wx_func = yes
36272 cat >>confdefs.h
<<_ACEOF
36273 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36286 ac_cpp
='$CXXCPP $CPPFLAGS'
36287 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36288 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36289 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36292 for wx_func
in round
36294 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36295 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36296 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36297 echo $ECHO_N "(cached) $ECHO_C" >&6
36300 cat >conftest.
$ac_ext <<_ACEOF
36304 cat confdefs.h
>>conftest.
$ac_ext
36305 cat >>conftest.
$ac_ext <<_ACEOF
36306 /* end confdefs.h. */
36309 $ac_includes_default
36325 rm -f conftest.
$ac_objext conftest
$ac_exeext
36326 if { (ac_try
="$ac_link"
36327 case "(($ac_try" in
36328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36329 *) ac_try_echo=$ac_try;;
36331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36332 (eval "$ac_link") 2>conftest.er1
36334 grep -v '^ *+' conftest.er1 >conftest.err
36336 cat conftest.err >&5
36337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36338 (exit $ac_status); } && {
36339 test -z "$ac_cxx_werror_flag" ||
36340 test ! -s conftest.err
36341 } && test -s conftest$ac_exeext &&
36342 $as_test_x conftest$ac_exeext; then
36343 eval wx_cv_func_$wx_func=yes
36345 echo "$as_me: failed program was:" >&5
36346 sed 's/^/| /' conftest.$ac_ext >&5
36348 eval wx_cv_func_$wx_func=no
36351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36352 conftest$ac_exeext conftest.$ac_ext
36355 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36356 { echo "$as_me:$LINENO: result: $ac_res" >&5
36357 echo "${ECHO_T}$ac_res" >&6; }
36359 if eval test \$wx_cv_func_$wx_func = yes
36361 cat >>confdefs.h <<_ACEOF
36362 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36373 ac_cpp='$CPP $CPPFLAGS'
36374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36379 if test "$TOOLKIT" != "MSW"; then
36381 if test "$wxUSE_LIBICONV" != "no" ; then
36385 # Check whether --with-libiconv-prefix was given.
36386 if test "${with_libiconv_prefix+set}" = set; then
36387 withval=$with_libiconv_prefix;
36388 for dir in `echo "$withval" | tr : ' '`; do
36389 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36390 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36396 { echo "$as_me:$LINENO: checking for iconv" >&5
36397 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36398 if test "${am_cv_func_iconv+set}" = set; then
36399 echo $ECHO_N "(cached) $ECHO_C" >&6
36402 am_cv_func_iconv="no, consider installing GNU libiconv"
36404 cat >conftest.$ac_ext <<_ACEOF
36407 cat confdefs.h >>conftest.$ac_ext
36408 cat >>conftest.$ac_ext <<_ACEOF
36409 /* end confdefs.h. */
36410 #include <stdlib.h>
36415 iconv_t cd = iconv_open("","");
36416 iconv(cd,NULL,NULL,NULL,NULL);
36422 rm -f conftest.$ac_objext conftest$ac_exeext
36423 if { (ac_try="$ac_link"
36424 case "(($ac_try" in
36425 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36426 *) ac_try_echo
=$ac_try;;
36428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36429 (eval "$ac_link") 2>conftest.er1
36431 grep -v '^ *+' conftest.er1
>conftest.err
36433 cat conftest.err
>&5
36434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36435 (exit $ac_status); } && {
36436 test -z "$ac_c_werror_flag" ||
36437 test ! -s conftest.err
36438 } && test -s conftest
$ac_exeext &&
36439 $as_test_x conftest
$ac_exeext; then
36440 am_cv_func_iconv
=yes
36442 echo "$as_me: failed program was:" >&5
36443 sed 's/^/| /' conftest.
$ac_ext >&5
36448 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36449 conftest
$ac_exeext conftest.
$ac_ext
36450 if test "$am_cv_func_iconv" != yes; then
36451 am_save_LIBS
="$LIBS"
36452 LIBS
="$LIBS -liconv"
36453 cat >conftest.
$ac_ext <<_ACEOF
36456 cat confdefs.h
>>conftest.
$ac_ext
36457 cat >>conftest.
$ac_ext <<_ACEOF
36458 /* end confdefs.h. */
36459 #include <stdlib.h>
36464 iconv_t cd = iconv_open("","");
36465 iconv(cd,NULL,NULL,NULL,NULL);
36471 rm -f conftest.
$ac_objext conftest
$ac_exeext
36472 if { (ac_try
="$ac_link"
36473 case "(($ac_try" in
36474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36475 *) ac_try_echo=$ac_try;;
36477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36478 (eval "$ac_link") 2>conftest.er1
36480 grep -v '^ *+' conftest.er1 >conftest.err
36482 cat conftest.err >&5
36483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36484 (exit $ac_status); } && {
36485 test -z "$ac_c_werror_flag" ||
36486 test ! -s conftest.err
36487 } && test -s conftest$ac_exeext &&
36488 $as_test_x conftest$ac_exeext; then
36489 am_cv_lib_iconv=yes
36490 am_cv_func_iconv=yes
36492 echo "$as_me: failed program was:" >&5
36493 sed 's/^/| /' conftest.$ac_ext >&5
36498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36499 conftest$ac_exeext conftest.$ac_ext
36500 LIBS="$am_save_LIBS"
36504 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36505 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36506 if test "$am_cv_func_iconv" = yes; then
36508 cat >>confdefs.h <<\_ACEOF
36509 #define HAVE_ICONV 1
36512 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36513 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36514 if test "${wx_cv_func_iconv_const+set}" = set; then
36515 echo $ECHO_N "(cached) $ECHO_C" >&6
36517 cat >conftest.$ac_ext <<_ACEOF
36520 cat confdefs.h >>conftest.$ac_ext
36521 cat >>conftest.$ac_ext <<_ACEOF
36522 /* end confdefs.h. */
36524 #include <stdlib.h>
36530 #if defined(__STDC__) || defined(__cplusplus)
36531 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36544 rm -f conftest.$ac_objext
36545 if { (ac_try="$ac_compile"
36546 case "(($ac_try" in
36547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36548 *) ac_try_echo
=$ac_try;;
36550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36551 (eval "$ac_compile") 2>conftest.er1
36553 grep -v '^ *+' conftest.er1
>conftest.err
36555 cat conftest.err
>&5
36556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36557 (exit $ac_status); } && {
36558 test -z "$ac_c_werror_flag" ||
36559 test ! -s conftest.err
36560 } && test -s conftest.
$ac_objext; then
36561 wx_cv_func_iconv_const
="no"
36563 echo "$as_me: failed program was:" >&5
36564 sed 's/^/| /' conftest.
$ac_ext >&5
36566 wx_cv_func_iconv_const
="yes"
36570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36573 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36574 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36577 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36578 iconv_const
="const"
36582 cat >>confdefs.h
<<_ACEOF
36583 #define ICONV_CONST $iconv_const
36588 if test "$am_cv_lib_iconv" = yes; then
36593 LIBS
="$LIBICONV $LIBS"
36596 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36598 for ac_func
in sigaction
36600 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36601 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36603 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36604 echo $ECHO_N "(cached) $ECHO_C" >&6
36606 cat >conftest.
$ac_ext <<_ACEOF
36609 cat confdefs.h
>>conftest.
$ac_ext
36610 cat >>conftest.
$ac_ext <<_ACEOF
36611 /* end confdefs.h. */
36612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36614 #define $ac_func innocuous_$ac_func
36616 /* System header to define __stub macros and hopefully few prototypes,
36617 which can conflict with char $ac_func (); below.
36618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36619 <limits.h> exists even on freestanding compilers. */
36622 # include <limits.h>
36624 # include <assert.h>
36629 /* Override any GCC internal prototype to avoid an error.
36630 Use char because int might match the return type of a GCC
36631 builtin and then its argument prototype would still apply. */
36636 /* The GNU C library defines this for functions which it implements
36637 to always fail with ENOSYS. Some functions are actually named
36638 something starting with __ and the normal name is an alias. */
36639 #if defined __stub_$ac_func || defined __stub___$ac_func
36646 return $ac_func ();
36651 rm -f conftest.
$ac_objext conftest
$ac_exeext
36652 if { (ac_try
="$ac_link"
36653 case "(($ac_try" in
36654 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36655 *) ac_try_echo=$ac_try;;
36657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36658 (eval "$ac_link") 2>conftest.er1
36660 grep -v '^ *+' conftest.er1 >conftest.err
36662 cat conftest.err >&5
36663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36664 (exit $ac_status); } && {
36665 test -z "$ac_c_werror_flag" ||
36666 test ! -s conftest.err
36667 } && test -s conftest$ac_exeext &&
36668 $as_test_x conftest$ac_exeext; then
36669 eval "$as_ac_var=yes"
36671 echo "$as_me: failed program was:" >&5
36672 sed 's/^/| /' conftest.$ac_ext >&5
36674 eval "$as_ac_var=no"
36677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36678 conftest$ac_exeext conftest.$ac_ext
36680 ac_res=`eval echo '${'$as_ac_var'}'`
36681 { echo "$as_me:$LINENO: result: $ac_res" >&5
36682 echo "${ECHO_T}$ac_res" >&6; }
36683 if test `eval echo '${'$as_ac_var'}'` = yes; then
36684 cat >>confdefs.h <<_ACEOF
36685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36692 if test "$ac_cv_func_sigaction" = "no"; then
36693 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36694 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36695 wxUSE_ON_FATAL_EXCEPTION=no
36698 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36699 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36700 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36701 if test "${wx_cv_type_sa_handler+set}" = set; then
36702 echo $ECHO_N "(cached) $ECHO_C" >&6
36706 ac_cpp='$CXXCPP $CPPFLAGS'
36707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36711 cat >conftest.$ac_ext <<_ACEOF
36714 cat confdefs.h >>conftest.$ac_ext
36715 cat >>conftest.$ac_ext <<_ACEOF
36716 /* end confdefs.h. */
36717 #include <signal.h>
36722 extern void testSigHandler(int);
36724 struct sigaction sa;
36725 sa.sa_handler = testSigHandler;
36731 rm -f conftest.$ac_objext
36732 if { (ac_try="$ac_compile"
36733 case "(($ac_try" in
36734 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36735 *) ac_try_echo
=$ac_try;;
36737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36738 (eval "$ac_compile") 2>conftest.er1
36740 grep -v '^ *+' conftest.er1
>conftest.err
36742 cat conftest.err
>&5
36743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36744 (exit $ac_status); } && {
36745 test -z "$ac_cxx_werror_flag" ||
36746 test ! -s conftest.err
36747 } && test -s conftest.
$ac_objext; then
36749 wx_cv_type_sa_handler
=int
36752 echo "$as_me: failed program was:" >&5
36753 sed 's/^/| /' conftest.
$ac_ext >&5
36756 wx_cv_type_sa_handler
=void
36760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36762 ac_cpp
='$CPP $CPPFLAGS'
36763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36769 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36770 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36772 cat >>confdefs.h
<<_ACEOF
36773 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36779 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36780 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36781 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36782 if test "${wx_cv_func_backtrace+set}" = set; then
36783 echo $ECHO_N "(cached) $ECHO_C" >&6
36787 ac_cpp
='$CXXCPP $CPPFLAGS'
36788 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36789 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36790 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36792 cat >conftest.
$ac_ext <<_ACEOF
36795 cat confdefs.h
>>conftest.
$ac_ext
36796 cat >>conftest.
$ac_ext <<_ACEOF
36797 /* end confdefs.h. */
36798 #include <execinfo.h>
36806 backtrace(trace, 1);
36807 messages = backtrace_symbols(trace, 1);
36813 rm -f conftest.
$ac_objext
36814 if { (ac_try
="$ac_compile"
36815 case "(($ac_try" in
36816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36817 *) ac_try_echo=$ac_try;;
36819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36820 (eval "$ac_compile") 2>conftest.er1
36822 grep -v '^ *+' conftest.er1 >conftest.err
36824 cat conftest.err >&5
36825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36826 (exit $ac_status); } && {
36827 test -z "$ac_cxx_werror_flag" ||
36828 test ! -s conftest.err
36829 } && test -s conftest.$ac_objext; then
36830 wx_cv_func_backtrace=yes
36832 echo "$as_me: failed program was:" >&5
36833 sed 's/^/| /' conftest.$ac_ext >&5
36835 wx_cv_func_backtrace=no
36839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36841 ac_cpp='$CPP $CPPFLAGS'
36842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36849 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36850 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36853 if test "$wx_cv_func_backtrace" = "no"; then
36854 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36855 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36856 wxUSE_STACKWALKER=no
36858 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36859 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36860 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36861 echo $ECHO_N "(cached) $ECHO_C" >&6
36865 ac_cpp='$CXXCPP $CPPFLAGS'
36866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36870 cat >conftest.$ac_ext <<_ACEOF
36873 cat confdefs.h >>conftest.$ac_ext
36874 cat >>conftest.$ac_ext <<_ACEOF
36875 /* end confdefs.h. */
36876 #include <cxxabi.h>
36882 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36888 rm -f conftest.$ac_objext conftest$ac_exeext
36889 if { (ac_try="$ac_link"
36890 case "(($ac_try" in
36891 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36892 *) ac_try_echo
=$ac_try;;
36894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36895 (eval "$ac_link") 2>conftest.er1
36897 grep -v '^ *+' conftest.er1
>conftest.err
36899 cat conftest.err
>&5
36900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901 (exit $ac_status); } && {
36902 test -z "$ac_cxx_werror_flag" ||
36903 test ! -s conftest.err
36904 } && test -s conftest
$ac_exeext &&
36905 $as_test_x conftest
$ac_exeext; then
36906 wx_cv_func_cxa_demangle
=yes
36908 echo "$as_me: failed program was:" >&5
36909 sed 's/^/| /' conftest.
$ac_ext >&5
36911 wx_cv_func_cxa_demangle
=no
36915 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36916 conftest
$ac_exeext conftest.
$ac_ext
36918 ac_cpp
='$CPP $CPPFLAGS'
36919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36926 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36927 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36929 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36930 cat >>confdefs.h
<<\_ACEOF
36931 #define HAVE_CXA_DEMANGLE 1
36938 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36939 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36940 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36941 wxUSE_STACKWALKER
=no
36947 for ac_func
in mkstemp mktemp
36949 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36950 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36952 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36953 echo $ECHO_N "(cached) $ECHO_C" >&6
36955 cat >conftest.
$ac_ext <<_ACEOF
36958 cat confdefs.h
>>conftest.
$ac_ext
36959 cat >>conftest.
$ac_ext <<_ACEOF
36960 /* end confdefs.h. */
36961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36963 #define $ac_func innocuous_$ac_func
36965 /* System header to define __stub macros and hopefully few prototypes,
36966 which can conflict with char $ac_func (); below.
36967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36968 <limits.h> exists even on freestanding compilers. */
36971 # include <limits.h>
36973 # include <assert.h>
36978 /* Override any GCC internal prototype to avoid an error.
36979 Use char because int might match the return type of a GCC
36980 builtin and then its argument prototype would still apply. */
36985 /* The GNU C library defines this for functions which it implements
36986 to always fail with ENOSYS. Some functions are actually named
36987 something starting with __ and the normal name is an alias. */
36988 #if defined __stub_$ac_func || defined __stub___$ac_func
36995 return $ac_func ();
37000 rm -f conftest.
$ac_objext conftest
$ac_exeext
37001 if { (ac_try
="$ac_link"
37002 case "(($ac_try" in
37003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37004 *) ac_try_echo=$ac_try;;
37006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37007 (eval "$ac_link") 2>conftest.er1
37009 grep -v '^ *+' conftest.er1 >conftest.err
37011 cat conftest.err >&5
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); } && {
37014 test -z "$ac_c_werror_flag" ||
37015 test ! -s conftest.err
37016 } && test -s conftest$ac_exeext &&
37017 $as_test_x conftest$ac_exeext; then
37018 eval "$as_ac_var=yes"
37020 echo "$as_me: failed program was:" >&5
37021 sed 's/^/| /' conftest.$ac_ext >&5
37023 eval "$as_ac_var=no"
37026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37027 conftest$ac_exeext conftest.$ac_ext
37029 ac_res=`eval echo '${'$as_ac_var'}'`
37030 { echo "$as_me:$LINENO: result: $ac_res" >&5
37031 echo "${ECHO_T}$ac_res" >&6; }
37032 if test `eval echo '${'$as_ac_var'}'` = yes; then
37033 cat >>confdefs.h <<_ACEOF
37034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37041 { echo "$as_me:$LINENO: checking for statfs" >&5
37042 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37043 if test "${wx_cv_func_statfs+set}" = set; then
37044 echo $ECHO_N "(cached) $ECHO_C" >&6
37046 cat >conftest.$ac_ext <<_ACEOF
37049 cat confdefs.h >>conftest.$ac_ext
37050 cat >>conftest.$ac_ext <<_ACEOF
37051 /* end confdefs.h. */
37053 #if defined(__BSD__)
37054 #include <sys/param.h>
37055 #include <sys/mount.h>
37057 #include <sys/vfs.h>
37075 rm -f conftest.$ac_objext
37076 if { (ac_try="$ac_compile"
37077 case "(($ac_try" in
37078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37079 *) ac_try_echo
=$ac_try;;
37081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37082 (eval "$ac_compile") 2>conftest.er1
37084 grep -v '^ *+' conftest.er1
>conftest.err
37086 cat conftest.err
>&5
37087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37088 (exit $ac_status); } && {
37089 test -z "$ac_c_werror_flag" ||
37090 test ! -s conftest.err
37091 } && test -s conftest.
$ac_objext; then
37092 wx_cv_func_statfs
=yes
37094 echo "$as_me: failed program was:" >&5
37095 sed 's/^/| /' conftest.
$ac_ext >&5
37097 wx_cv_func_statfs
=no
37101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37104 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37105 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37107 if test "$wx_cv_func_statfs" = "yes"; then
37108 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37109 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37110 if test "${wx_cv_func_statfs_decl+set}" = set; then
37111 echo $ECHO_N "(cached) $ECHO_C" >&6
37114 ac_cpp
='$CXXCPP $CPPFLAGS'
37115 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37116 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37117 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37119 cat >conftest.
$ac_ext <<_ACEOF
37122 cat confdefs.h
>>conftest.
$ac_ext
37123 cat >>conftest.
$ac_ext <<_ACEOF
37124 /* end confdefs.h. */
37126 #if defined(__BSD__)
37127 #include <sys/param.h>
37128 #include <sys/mount.h>
37130 #include <sys/vfs.h>
37144 rm -f conftest.
$ac_objext
37145 if { (ac_try
="$ac_compile"
37146 case "(($ac_try" in
37147 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37148 *) ac_try_echo=$ac_try;;
37150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37151 (eval "$ac_compile") 2>conftest.er1
37153 grep -v '^ *+' conftest.er1 >conftest.err
37155 cat conftest.err >&5
37156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37157 (exit $ac_status); } && {
37158 test -z "$ac_cxx_werror_flag" ||
37159 test ! -s conftest.err
37160 } && test -s conftest.$ac_objext; then
37161 wx_cv_func_statfs_decl=yes
37163 echo "$as_me: failed program was:" >&5
37164 sed 's/^/| /' conftest.$ac_ext >&5
37166 wx_cv_func_statfs_decl=no
37170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37172 ac_cpp='$CPP $CPPFLAGS'
37173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37179 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37180 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37182 if test "$wx_cv_func_statfs_decl" = "yes"; then
37183 cat >>confdefs.h <<\_ACEOF
37184 #define HAVE_STATFS_DECL 1
37189 wx_cv_type_statvfs_t="struct statfs"
37190 cat >>confdefs.h <<\_ACEOF
37191 #define HAVE_STATFS 1
37195 { echo "$as_me:$LINENO: checking for statvfs" >&5
37196 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37197 if test "${wx_cv_func_statvfs+set}" = set; then
37198 echo $ECHO_N "(cached) $ECHO_C" >&6
37200 cat >conftest.$ac_ext <<_ACEOF
37203 cat confdefs.h >>conftest.$ac_ext
37204 cat >>conftest.$ac_ext <<_ACEOF
37205 /* end confdefs.h. */
37207 #include <stddef.h>
37208 #include <sys/statvfs.h>
37214 statvfs("/", NULL);
37220 rm -f conftest.$ac_objext
37221 if { (ac_try="$ac_compile"
37222 case "(($ac_try" in
37223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37224 *) ac_try_echo
=$ac_try;;
37226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37227 (eval "$ac_compile") 2>conftest.er1
37229 grep -v '^ *+' conftest.er1
>conftest.err
37231 cat conftest.err
>&5
37232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37233 (exit $ac_status); } && {
37234 test -z "$ac_c_werror_flag" ||
37235 test ! -s conftest.err
37236 } && test -s conftest.
$ac_objext; then
37237 wx_cv_func_statvfs
=yes
37239 echo "$as_me: failed program was:" >&5
37240 sed 's/^/| /' conftest.
$ac_ext >&5
37242 wx_cv_func_statvfs
=no
37246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37249 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37250 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37252 if test "$wx_cv_func_statvfs" = "yes"; then
37253 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37254 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37255 if test "${wx_cv_type_statvfs_t+set}" = set; then
37256 echo $ECHO_N "(cached) $ECHO_C" >&6
37259 ac_cpp
='$CXXCPP $CPPFLAGS'
37260 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37261 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37262 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37264 cat >conftest.
$ac_ext <<_ACEOF
37267 cat confdefs.h
>>conftest.
$ac_ext
37268 cat >>conftest.
$ac_ext <<_ACEOF
37269 /* end confdefs.h. */
37271 #include <sys/statvfs.h>
37288 rm -f conftest.
$ac_objext
37289 if { (ac_try
="$ac_compile"
37290 case "(($ac_try" in
37291 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37292 *) ac_try_echo=$ac_try;;
37294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37295 (eval "$ac_compile") 2>conftest.er1
37297 grep -v '^ *+' conftest.er1 >conftest.err
37299 cat conftest.err >&5
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); } && {
37302 test -z "$ac_cxx_werror_flag" ||
37303 test ! -s conftest.err
37304 } && test -s conftest.$ac_objext; then
37305 wx_cv_type_statvfs_t=statvfs_t
37307 echo "$as_me: failed program was:" >&5
37308 sed 's/^/| /' conftest.$ac_ext >&5
37311 cat >conftest.$ac_ext <<_ACEOF
37314 cat confdefs.h >>conftest.$ac_ext
37315 cat >>conftest.$ac_ext <<_ACEOF
37316 /* end confdefs.h. */
37318 #include <sys/statvfs.h>
37335 rm -f conftest.$ac_objext
37336 if { (ac_try="$ac_compile"
37337 case "(($ac_try" in
37338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37339 *) ac_try_echo
=$ac_try;;
37341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37342 (eval "$ac_compile") 2>conftest.er1
37344 grep -v '^ *+' conftest.er1
>conftest.err
37346 cat conftest.err
>&5
37347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37348 (exit $ac_status); } && {
37349 test -z "$ac_cxx_werror_flag" ||
37350 test ! -s conftest.err
37351 } && test -s conftest.
$ac_objext; then
37352 wx_cv_type_statvfs_t
="struct statvfs"
37354 echo "$as_me: failed program was:" >&5
37355 sed 's/^/| /' conftest.
$ac_ext >&5
37357 wx_cv_type_statvfs_t
="unknown"
37361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37368 ac_cpp
='$CPP $CPPFLAGS'
37369 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37370 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37371 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37375 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37376 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37378 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37379 cat >>confdefs.h
<<\_ACEOF
37380 #define HAVE_STATVFS 1
37385 wx_cv_type_statvfs_t
="unknown"
37389 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37390 cat >>confdefs.h
<<_ACEOF
37391 #define WX_STATFS_T $wx_cv_type_statvfs_t
37395 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37396 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37399 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37402 for ac_func
in fcntl flock
37404 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37405 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37407 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37408 echo $ECHO_N "(cached) $ECHO_C" >&6
37410 cat >conftest.
$ac_ext <<_ACEOF
37413 cat confdefs.h
>>conftest.
$ac_ext
37414 cat >>conftest.
$ac_ext <<_ACEOF
37415 /* end confdefs.h. */
37416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37418 #define $ac_func innocuous_$ac_func
37420 /* System header to define __stub macros and hopefully few prototypes,
37421 which can conflict with char $ac_func (); below.
37422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37423 <limits.h> exists even on freestanding compilers. */
37426 # include <limits.h>
37428 # include <assert.h>
37433 /* Override any GCC internal prototype to avoid an error.
37434 Use char because int might match the return type of a GCC
37435 builtin and then its argument prototype would still apply. */
37440 /* The GNU C library defines this for functions which it implements
37441 to always fail with ENOSYS. Some functions are actually named
37442 something starting with __ and the normal name is an alias. */
37443 #if defined __stub_$ac_func || defined __stub___$ac_func
37450 return $ac_func ();
37455 rm -f conftest.
$ac_objext conftest
$ac_exeext
37456 if { (ac_try
="$ac_link"
37457 case "(($ac_try" in
37458 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37459 *) ac_try_echo=$ac_try;;
37461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37462 (eval "$ac_link") 2>conftest.er1
37464 grep -v '^ *+' conftest.er1 >conftest.err
37466 cat conftest.err >&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } && {
37469 test -z "$ac_c_werror_flag" ||
37470 test ! -s conftest.err
37471 } && test -s conftest$ac_exeext &&
37472 $as_test_x conftest$ac_exeext; then
37473 eval "$as_ac_var=yes"
37475 echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.$ac_ext >&5
37478 eval "$as_ac_var=no"
37481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37482 conftest$ac_exeext conftest.$ac_ext
37484 ac_res=`eval echo '${'$as_ac_var'}'`
37485 { echo "$as_me:$LINENO: result: $ac_res" >&5
37486 echo "${ECHO_T}$ac_res" >&6; }
37487 if test `eval echo '${'$as_ac_var'}'` = yes; then
37488 cat >>confdefs.h <<_ACEOF
37489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37496 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37497 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37498 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37499 wxUSE_SNGLINST_CHECKER=no
37505 for ac_func in setenv putenv
37507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37508 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37510 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37511 echo $ECHO_N "(cached) $ECHO_C" >&6
37513 cat >conftest.$ac_ext <<_ACEOF
37516 cat confdefs.h >>conftest.$ac_ext
37517 cat >>conftest.$ac_ext <<_ACEOF
37518 /* end confdefs.h. */
37519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37521 #define $ac_func innocuous_$ac_func
37523 /* System header to define __stub macros and hopefully few prototypes,
37524 which can conflict with char $ac_func (); below.
37525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37526 <limits.h> exists even on freestanding compilers. */
37529 # include <limits.h>
37531 # include <assert.h>
37536 /* Override any GCC internal prototype to avoid an error.
37537 Use char because int might match the return type of a GCC
37538 builtin and then its argument prototype would still apply. */
37543 /* The GNU C library defines this for functions which it implements
37544 to always fail with ENOSYS. Some functions are actually named
37545 something starting with __ and the normal name is an alias. */
37546 #if defined __stub_$ac_func || defined __stub___$ac_func
37553 return $ac_func ();
37558 rm -f conftest.$ac_objext conftest$ac_exeext
37559 if { (ac_try="$ac_link"
37560 case "(($ac_try" in
37561 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37562 *) ac_try_echo
=$ac_try;;
37564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37565 (eval "$ac_link") 2>conftest.er1
37567 grep -v '^ *+' conftest.er1
>conftest.err
37569 cat conftest.err
>&5
37570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37571 (exit $ac_status); } && {
37572 test -z "$ac_c_werror_flag" ||
37573 test ! -s conftest.err
37574 } && test -s conftest
$ac_exeext &&
37575 $as_test_x conftest
$ac_exeext; then
37576 eval "$as_ac_var=yes"
37578 echo "$as_me: failed program was:" >&5
37579 sed 's/^/| /' conftest.
$ac_ext >&5
37581 eval "$as_ac_var=no"
37584 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37585 conftest
$ac_exeext conftest.
$ac_ext
37587 ac_res
=`eval echo '${'$as_ac_var'}'`
37588 { echo "$as_me:$LINENO: result: $ac_res" >&5
37589 echo "${ECHO_T}$ac_res" >&6; }
37590 if test `eval echo '${'$as_ac_var'}'` = yes; then
37591 cat >>confdefs.h
<<_ACEOF
37592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37598 if test "$ac_cv_func_setenv" = "yes"; then
37600 for ac_func
in unsetenv
37602 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37603 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37605 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37606 echo $ECHO_N "(cached) $ECHO_C" >&6
37608 cat >conftest.
$ac_ext <<_ACEOF
37611 cat confdefs.h
>>conftest.
$ac_ext
37612 cat >>conftest.
$ac_ext <<_ACEOF
37613 /* end confdefs.h. */
37614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37616 #define $ac_func innocuous_$ac_func
37618 /* System header to define __stub macros and hopefully few prototypes,
37619 which can conflict with char $ac_func (); below.
37620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37621 <limits.h> exists even on freestanding compilers. */
37624 # include <limits.h>
37626 # include <assert.h>
37631 /* Override any GCC internal prototype to avoid an error.
37632 Use char because int might match the return type of a GCC
37633 builtin and then its argument prototype would still apply. */
37638 /* The GNU C library defines this for functions which it implements
37639 to always fail with ENOSYS. Some functions are actually named
37640 something starting with __ and the normal name is an alias. */
37641 #if defined __stub_$ac_func || defined __stub___$ac_func
37648 return $ac_func ();
37653 rm -f conftest.
$ac_objext conftest
$ac_exeext
37654 if { (ac_try
="$ac_link"
37655 case "(($ac_try" in
37656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37657 *) ac_try_echo=$ac_try;;
37659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37660 (eval "$ac_link") 2>conftest.er1
37662 grep -v '^ *+' conftest.er1 >conftest.err
37664 cat conftest.err >&5
37665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37666 (exit $ac_status); } && {
37667 test -z "$ac_c_werror_flag" ||
37668 test ! -s conftest.err
37669 } && test -s conftest$ac_exeext &&
37670 $as_test_x conftest$ac_exeext; then
37671 eval "$as_ac_var=yes"
37673 echo "$as_me: failed program was:" >&5
37674 sed 's/^/| /' conftest.$ac_ext >&5
37676 eval "$as_ac_var=no"
37679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37680 conftest$ac_exeext conftest.$ac_ext
37682 ac_res=`eval echo '${'$as_ac_var'}'`
37683 { echo "$as_me:$LINENO: result: $ac_res" >&5
37684 echo "${ECHO_T}$ac_res" >&6; }
37685 if test `eval echo '${'$as_ac_var'}'` = yes; then
37686 cat >>confdefs.h <<_ACEOF
37687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37695 HAVE_SOME_SLEEP_FUNC=0
37696 if test "$USE_BEOS" = 1; then
37697 cat >>confdefs.h <<\_ACEOF
37698 #define HAVE_SLEEP 1
37701 HAVE_SOME_SLEEP_FUNC=1
37704 if test "$USE_DARWIN" = 1; then
37705 cat >>confdefs.h <<\_ACEOF
37706 #define HAVE_USLEEP 1
37709 HAVE_SOME_SLEEP_FUNC=1
37712 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37715 for ac_func in nanosleep
37717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37721 echo $ECHO_N "(cached) $ECHO_C" >&6
37723 cat >conftest.$ac_ext <<_ACEOF
37726 cat confdefs.h >>conftest.$ac_ext
37727 cat >>conftest.$ac_ext <<_ACEOF
37728 /* end confdefs.h. */
37729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37731 #define $ac_func innocuous_$ac_func
37733 /* System header to define __stub macros and hopefully few prototypes,
37734 which can conflict with char $ac_func (); below.
37735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37736 <limits.h> exists even on freestanding compilers. */
37739 # include <limits.h>
37741 # include <assert.h>
37746 /* Override any GCC internal prototype to avoid an error.
37747 Use char because int might match the return type of a GCC
37748 builtin and then its argument prototype would still apply. */
37753 /* The GNU C library defines this for functions which it implements
37754 to always fail with ENOSYS. Some functions are actually named
37755 something starting with __ and the normal name is an alias. */
37756 #if defined __stub_$ac_func || defined __stub___$ac_func
37763 return $ac_func ();
37768 rm -f conftest.$ac_objext conftest$ac_exeext
37769 if { (ac_try="$ac_link"
37770 case "(($ac_try" in
37771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37772 *) ac_try_echo
=$ac_try;;
37774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37775 (eval "$ac_link") 2>conftest.er1
37777 grep -v '^ *+' conftest.er1
>conftest.err
37779 cat conftest.err
>&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); } && {
37782 test -z "$ac_c_werror_flag" ||
37783 test ! -s conftest.err
37784 } && test -s conftest
$ac_exeext &&
37785 $as_test_x conftest
$ac_exeext; then
37786 eval "$as_ac_var=yes"
37788 echo "$as_me: failed program was:" >&5
37789 sed 's/^/| /' conftest.
$ac_ext >&5
37791 eval "$as_ac_var=no"
37794 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37795 conftest
$ac_exeext conftest.
$ac_ext
37797 ac_res
=`eval echo '${'$as_ac_var'}'`
37798 { echo "$as_me:$LINENO: result: $ac_res" >&5
37799 echo "${ECHO_T}$ac_res" >&6; }
37800 if test `eval echo '${'$as_ac_var'}'` = yes; then
37801 cat >>confdefs.h
<<_ACEOF
37802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37804 cat >>confdefs.h
<<\_ACEOF
37805 #define HAVE_NANOSLEEP 1
37810 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37811 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37812 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37813 echo $ECHO_N "(cached) $ECHO_C" >&6
37815 ac_check_lib_save_LIBS
=$LIBS
37816 LIBS
="-lposix4 $LIBS"
37817 cat >conftest.
$ac_ext <<_ACEOF
37820 cat confdefs.h
>>conftest.
$ac_ext
37821 cat >>conftest.
$ac_ext <<_ACEOF
37822 /* end confdefs.h. */
37824 /* Override any GCC internal prototype to avoid an error.
37825 Use char because int might match the return type of a GCC
37826 builtin and then its argument prototype would still apply. */
37834 return nanosleep ();
37839 rm -f conftest.
$ac_objext conftest
$ac_exeext
37840 if { (ac_try
="$ac_link"
37841 case "(($ac_try" in
37842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37843 *) ac_try_echo=$ac_try;;
37845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37846 (eval "$ac_link") 2>conftest.er1
37848 grep -v '^ *+' conftest.er1 >conftest.err
37850 cat conftest.err >&5
37851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37852 (exit $ac_status); } && {
37853 test -z "$ac_c_werror_flag" ||
37854 test ! -s conftest.err
37855 } && test -s conftest$ac_exeext &&
37856 $as_test_x conftest$ac_exeext; then
37857 ac_cv_lib_posix4_nanosleep=yes
37859 echo "$as_me: failed program was:" >&5
37860 sed 's/^/| /' conftest.$ac_ext >&5
37862 ac_cv_lib_posix4_nanosleep=no
37865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37866 conftest$ac_exeext conftest.$ac_ext
37867 LIBS=$ac_check_lib_save_LIBS
37869 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37870 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37871 if test $ac_cv_lib_posix4_nanosleep = yes; then
37873 cat >>confdefs.h <<\_ACEOF
37874 #define HAVE_NANOSLEEP 1
37877 POSIX4_LINK=" -lposix4"
37882 for wx_func in usleep
37884 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37885 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37886 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37887 echo $ECHO_N "(cached) $ECHO_C" >&6
37890 cat >conftest.$ac_ext <<_ACEOF
37894 cat confdefs.h >>conftest.$ac_ext
37895 cat >>conftest.$ac_ext <<_ACEOF
37896 /* end confdefs.h. */
37899 $ac_includes_default
37915 rm -f conftest.$ac_objext conftest$ac_exeext
37916 if { (ac_try="$ac_link"
37917 case "(($ac_try" in
37918 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37919 *) ac_try_echo
=$ac_try;;
37921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37922 (eval "$ac_link") 2>conftest.er1
37924 grep -v '^ *+' conftest.er1
>conftest.err
37926 cat conftest.err
>&5
37927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928 (exit $ac_status); } && {
37929 test -z "$ac_c_werror_flag" ||
37930 test ! -s conftest.err
37931 } && test -s conftest
$ac_exeext &&
37932 $as_test_x conftest
$ac_exeext; then
37933 eval wx_cv_func_
$wx_func=yes
37935 echo "$as_me: failed program was:" >&5
37936 sed 's/^/| /' conftest.
$ac_ext >&5
37938 eval wx_cv_func_
$wx_func=no
37941 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37942 conftest
$ac_exeext conftest.
$ac_ext
37945 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37946 { echo "$as_me:$LINENO: result: $ac_res" >&5
37947 echo "${ECHO_T}$ac_res" >&6; }
37949 if eval test \
$wx_cv_func_$wx_func = yes
37951 cat >>confdefs.h
<<_ACEOF
37952 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37958 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37959 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37976 for wx_func
in uname
37978 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37979 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37980 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37981 echo $ECHO_N "(cached) $ECHO_C" >&6
37984 cat >conftest.
$ac_ext <<_ACEOF
37988 cat confdefs.h
>>conftest.
$ac_ext
37989 cat >>conftest.
$ac_ext <<_ACEOF
37990 /* end confdefs.h. */
37992 #include <sys/utsname.h>
37993 $ac_includes_default
38009 rm -f conftest.
$ac_objext conftest
$ac_exeext
38010 if { (ac_try
="$ac_link"
38011 case "(($ac_try" in
38012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38013 *) ac_try_echo=$ac_try;;
38015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38016 (eval "$ac_link") 2>conftest.er1
38018 grep -v '^ *+' conftest.er1 >conftest.err
38020 cat conftest.err >&5
38021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38022 (exit $ac_status); } && {
38023 test -z "$ac_c_werror_flag" ||
38024 test ! -s conftest.err
38025 } && test -s conftest$ac_exeext &&
38026 $as_test_x conftest$ac_exeext; then
38027 eval wx_cv_func_$wx_func=yes
38029 echo "$as_me: failed program was:" >&5
38030 sed 's/^/| /' conftest.$ac_ext >&5
38032 eval wx_cv_func_$wx_func=no
38035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38036 conftest$ac_exeext conftest.$ac_ext
38039 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38040 { echo "$as_me:$LINENO: result: $ac_res" >&5
38041 echo "${ECHO_T}$ac_res" >&6; }
38043 if eval test \$wx_cv_func_$wx_func = yes
38045 cat >>confdefs.h <<_ACEOF
38046 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38056 if test "$wx_cv_func_uname" != yes; then
38058 for wx_func in gethostname
38060 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38061 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38062 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38063 echo $ECHO_N "(cached) $ECHO_C" >&6
38066 cat >conftest.$ac_ext <<_ACEOF
38070 cat confdefs.h >>conftest.$ac_ext
38071 cat >>conftest.$ac_ext <<_ACEOF
38072 /* end confdefs.h. */
38075 $ac_includes_default
38091 rm -f conftest.$ac_objext conftest$ac_exeext
38092 if { (ac_try="$ac_link"
38093 case "(($ac_try" in
38094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38095 *) ac_try_echo
=$ac_try;;
38097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38098 (eval "$ac_link") 2>conftest.er1
38100 grep -v '^ *+' conftest.er1
>conftest.err
38102 cat conftest.err
>&5
38103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38104 (exit $ac_status); } && {
38105 test -z "$ac_c_werror_flag" ||
38106 test ! -s conftest.err
38107 } && test -s conftest
$ac_exeext &&
38108 $as_test_x conftest
$ac_exeext; then
38109 eval wx_cv_func_
$wx_func=yes
38111 echo "$as_me: failed program was:" >&5
38112 sed 's/^/| /' conftest.
$ac_ext >&5
38114 eval wx_cv_func_
$wx_func=no
38117 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38118 conftest
$ac_exeext conftest.
$ac_ext
38121 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38122 { echo "$as_me:$LINENO: result: $ac_res" >&5
38123 echo "${ECHO_T}$ac_res" >&6; }
38125 if eval test \
$wx_cv_func_$wx_func = yes
38127 cat >>confdefs.h
<<_ACEOF
38128 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38141 for wx_func
in strtok_r
38143 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38144 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38145 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38146 echo $ECHO_N "(cached) $ECHO_C" >&6
38149 cat >conftest.
$ac_ext <<_ACEOF
38153 cat confdefs.h
>>conftest.
$ac_ext
38154 cat >>conftest.
$ac_ext <<_ACEOF
38155 /* end confdefs.h. */
38158 $ac_includes_default
38174 rm -f conftest.
$ac_objext conftest
$ac_exeext
38175 if { (ac_try
="$ac_link"
38176 case "(($ac_try" in
38177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38178 *) ac_try_echo=$ac_try;;
38180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38181 (eval "$ac_link") 2>conftest.er1
38183 grep -v '^ *+' conftest.er1 >conftest.err
38185 cat conftest.err >&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); } && {
38188 test -z "$ac_c_werror_flag" ||
38189 test ! -s conftest.err
38190 } && test -s conftest$ac_exeext &&
38191 $as_test_x conftest$ac_exeext; then
38192 eval wx_cv_func_$wx_func=yes
38194 echo "$as_me: failed program was:" >&5
38195 sed 's/^/| /' conftest.$ac_ext >&5
38197 eval wx_cv_func_$wx_func=no
38200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38201 conftest$ac_exeext conftest.$ac_ext
38204 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38205 { echo "$as_me:$LINENO: result: $ac_res" >&5
38206 echo "${ECHO_T}$ac_res" >&6; }
38208 if eval test \$wx_cv_func_$wx_func = yes
38210 cat >>confdefs.h <<_ACEOF
38211 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38224 for ac_func in inet_addr
38226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38230 echo $ECHO_N "(cached) $ECHO_C" >&6
38232 cat >conftest.$ac_ext <<_ACEOF
38235 cat confdefs.h >>conftest.$ac_ext
38236 cat >>conftest.$ac_ext <<_ACEOF
38237 /* end confdefs.h. */
38238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38240 #define $ac_func innocuous_$ac_func
38242 /* System header to define __stub macros and hopefully few prototypes,
38243 which can conflict with char $ac_func (); below.
38244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38245 <limits.h> exists even on freestanding compilers. */
38248 # include <limits.h>
38250 # include <assert.h>
38255 /* Override any GCC internal prototype to avoid an error.
38256 Use char because int might match the return type of a GCC
38257 builtin and then its argument prototype would still apply. */
38262 /* The GNU C library defines this for functions which it implements
38263 to always fail with ENOSYS. Some functions are actually named
38264 something starting with __ and the normal name is an alias. */
38265 #if defined __stub_$ac_func || defined __stub___$ac_func
38272 return $ac_func ();
38277 rm -f conftest.$ac_objext conftest$ac_exeext
38278 if { (ac_try="$ac_link"
38279 case "(($ac_try" in
38280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38281 *) ac_try_echo
=$ac_try;;
38283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38284 (eval "$ac_link") 2>conftest.er1
38286 grep -v '^ *+' conftest.er1
>conftest.err
38288 cat conftest.err
>&5
38289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38290 (exit $ac_status); } && {
38291 test -z "$ac_c_werror_flag" ||
38292 test ! -s conftest.err
38293 } && test -s conftest
$ac_exeext &&
38294 $as_test_x conftest
$ac_exeext; then
38295 eval "$as_ac_var=yes"
38297 echo "$as_me: failed program was:" >&5
38298 sed 's/^/| /' conftest.
$ac_ext >&5
38300 eval "$as_ac_var=no"
38303 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38304 conftest
$ac_exeext conftest.
$ac_ext
38306 ac_res
=`eval echo '${'$as_ac_var'}'`
38307 { echo "$as_me:$LINENO: result: $ac_res" >&5
38308 echo "${ECHO_T}$ac_res" >&6; }
38309 if test `eval echo '${'$as_ac_var'}'` = yes; then
38310 cat >>confdefs.h
<<_ACEOF
38311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38313 cat >>confdefs.h
<<\_ACEOF
38314 #define HAVE_INET_ADDR 1
38319 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38320 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38321 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38322 echo $ECHO_N "(cached) $ECHO_C" >&6
38324 ac_check_lib_save_LIBS
=$LIBS
38326 cat >conftest.
$ac_ext <<_ACEOF
38329 cat confdefs.h
>>conftest.
$ac_ext
38330 cat >>conftest.
$ac_ext <<_ACEOF
38331 /* end confdefs.h. */
38333 /* Override any GCC internal prototype to avoid an error.
38334 Use char because int might match the return type of a GCC
38335 builtin and then its argument prototype would still apply. */
38343 return inet_addr ();
38348 rm -f conftest.
$ac_objext conftest
$ac_exeext
38349 if { (ac_try
="$ac_link"
38350 case "(($ac_try" in
38351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38352 *) ac_try_echo=$ac_try;;
38354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38355 (eval "$ac_link") 2>conftest.er1
38357 grep -v '^ *+' conftest.er1 >conftest.err
38359 cat conftest.err >&5
38360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38361 (exit $ac_status); } && {
38362 test -z "$ac_c_werror_flag" ||
38363 test ! -s conftest.err
38364 } && test -s conftest$ac_exeext &&
38365 $as_test_x conftest$ac_exeext; then
38366 ac_cv_lib_nsl_inet_addr=yes
38368 echo "$as_me: failed program was:" >&5
38369 sed 's/^/| /' conftest.$ac_ext >&5
38371 ac_cv_lib_nsl_inet_addr=no
38374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38375 conftest$ac_exeext conftest.$ac_ext
38376 LIBS=$ac_check_lib_save_LIBS
38378 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38379 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38380 if test $ac_cv_lib_nsl_inet_addr = yes; then
38384 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38385 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38386 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38387 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 ac_check_lib_save_LIBS=$LIBS
38390 LIBS="-lresolv $LIBS"
38391 cat >conftest.$ac_ext <<_ACEOF
38394 cat confdefs.h >>conftest.$ac_ext
38395 cat >>conftest.$ac_ext <<_ACEOF
38396 /* end confdefs.h. */
38398 /* Override any GCC internal prototype to avoid an error.
38399 Use char because int might match the return type of a GCC
38400 builtin and then its argument prototype would still apply. */
38408 return inet_addr ();
38413 rm -f conftest.$ac_objext conftest$ac_exeext
38414 if { (ac_try="$ac_link"
38415 case "(($ac_try" in
38416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38417 *) ac_try_echo
=$ac_try;;
38419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38420 (eval "$ac_link") 2>conftest.er1
38422 grep -v '^ *+' conftest.er1
>conftest.err
38424 cat conftest.err
>&5
38425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426 (exit $ac_status); } && {
38427 test -z "$ac_c_werror_flag" ||
38428 test ! -s conftest.err
38429 } && test -s conftest
$ac_exeext &&
38430 $as_test_x conftest
$ac_exeext; then
38431 ac_cv_lib_resolv_inet_addr
=yes
38433 echo "$as_me: failed program was:" >&5
38434 sed 's/^/| /' conftest.
$ac_ext >&5
38436 ac_cv_lib_resolv_inet_addr
=no
38439 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38440 conftest
$ac_exeext conftest.
$ac_ext
38441 LIBS
=$ac_check_lib_save_LIBS
38443 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38444 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38445 if test $ac_cv_lib_resolv_inet_addr = yes; then
38449 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38450 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38451 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38452 echo $ECHO_N "(cached) $ECHO_C" >&6
38454 ac_check_lib_save_LIBS
=$LIBS
38455 LIBS
="-lsocket $LIBS"
38456 cat >conftest.
$ac_ext <<_ACEOF
38459 cat confdefs.h
>>conftest.
$ac_ext
38460 cat >>conftest.
$ac_ext <<_ACEOF
38461 /* end confdefs.h. */
38463 /* Override any GCC internal prototype to avoid an error.
38464 Use char because int might match the return type of a GCC
38465 builtin and then its argument prototype would still apply. */
38473 return inet_addr ();
38478 rm -f conftest.
$ac_objext conftest
$ac_exeext
38479 if { (ac_try
="$ac_link"
38480 case "(($ac_try" in
38481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38482 *) ac_try_echo=$ac_try;;
38484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38485 (eval "$ac_link") 2>conftest.er1
38487 grep -v '^ *+' conftest.er1 >conftest.err
38489 cat conftest.err >&5
38490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38491 (exit $ac_status); } && {
38492 test -z "$ac_c_werror_flag" ||
38493 test ! -s conftest.err
38494 } && test -s conftest$ac_exeext &&
38495 $as_test_x conftest$ac_exeext; then
38496 ac_cv_lib_socket_inet_addr=yes
38498 echo "$as_me: failed program was:" >&5
38499 sed 's/^/| /' conftest.$ac_ext >&5
38501 ac_cv_lib_socket_inet_addr=no
38504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38505 conftest$ac_exeext conftest.$ac_ext
38506 LIBS=$ac_check_lib_save_LIBS
38508 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38509 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38510 if test $ac_cv_lib_socket_inet_addr = yes; then
38530 for ac_func in inet_aton
38532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38533 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38535 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38536 echo $ECHO_N "(cached) $ECHO_C" >&6
38538 cat >conftest.$ac_ext <<_ACEOF
38541 cat confdefs.h >>conftest.$ac_ext
38542 cat >>conftest.$ac_ext <<_ACEOF
38543 /* end confdefs.h. */
38544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38546 #define $ac_func innocuous_$ac_func
38548 /* System header to define __stub macros and hopefully few prototypes,
38549 which can conflict with char $ac_func (); below.
38550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38551 <limits.h> exists even on freestanding compilers. */
38554 # include <limits.h>
38556 # include <assert.h>
38561 /* Override any GCC internal prototype to avoid an error.
38562 Use char because int might match the return type of a GCC
38563 builtin and then its argument prototype would still apply. */
38568 /* The GNU C library defines this for functions which it implements
38569 to always fail with ENOSYS. Some functions are actually named
38570 something starting with __ and the normal name is an alias. */
38571 #if defined __stub_$ac_func || defined __stub___$ac_func
38578 return $ac_func ();
38583 rm -f conftest.$ac_objext conftest$ac_exeext
38584 if { (ac_try="$ac_link"
38585 case "(($ac_try" in
38586 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38587 *) ac_try_echo
=$ac_try;;
38589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38590 (eval "$ac_link") 2>conftest.er1
38592 grep -v '^ *+' conftest.er1
>conftest.err
38594 cat conftest.err
>&5
38595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38596 (exit $ac_status); } && {
38597 test -z "$ac_c_werror_flag" ||
38598 test ! -s conftest.err
38599 } && test -s conftest
$ac_exeext &&
38600 $as_test_x conftest
$ac_exeext; then
38601 eval "$as_ac_var=yes"
38603 echo "$as_me: failed program was:" >&5
38604 sed 's/^/| /' conftest.
$ac_ext >&5
38606 eval "$as_ac_var=no"
38609 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38610 conftest
$ac_exeext conftest.
$ac_ext
38612 ac_res
=`eval echo '${'$as_ac_var'}'`
38613 { echo "$as_me:$LINENO: result: $ac_res" >&5
38614 echo "${ECHO_T}$ac_res" >&6; }
38615 if test `eval echo '${'$as_ac_var'}'` = yes; then
38616 cat >>confdefs.h
<<_ACEOF
38617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38619 cat >>confdefs.h
<<\_ACEOF
38620 #define HAVE_INET_ATON 1
38625 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38626 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38627 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38628 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38629 echo $ECHO_N "(cached) $ECHO_C" >&6
38631 ac_check_lib_save_LIBS
=$LIBS
38632 LIBS
="-l$INET_LINK $LIBS"
38633 cat >conftest.
$ac_ext <<_ACEOF
38636 cat confdefs.h
>>conftest.
$ac_ext
38637 cat >>conftest.
$ac_ext <<_ACEOF
38638 /* end confdefs.h. */
38640 /* Override any GCC internal prototype to avoid an error.
38641 Use char because int might match the return type of a GCC
38642 builtin and then its argument prototype would still apply. */
38650 return inet_aton ();
38655 rm -f conftest.
$ac_objext conftest
$ac_exeext
38656 if { (ac_try
="$ac_link"
38657 case "(($ac_try" in
38658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38659 *) ac_try_echo=$ac_try;;
38661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38662 (eval "$ac_link") 2>conftest.er1
38664 grep -v '^ *+' conftest.er1 >conftest.err
38666 cat conftest.err >&5
38667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38668 (exit $ac_status); } && {
38669 test -z "$ac_c_werror_flag" ||
38670 test ! -s conftest.err
38671 } && test -s conftest$ac_exeext &&
38672 $as_test_x conftest$ac_exeext; then
38673 eval "$as_ac_Lib=yes"
38675 echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.$ac_ext >&5
38678 eval "$as_ac_Lib=no"
38681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38682 conftest$ac_exeext conftest.$ac_ext
38683 LIBS=$ac_check_lib_save_LIBS
38685 ac_res=`eval echo '${'$as_ac_Lib'}'`
38686 { echo "$as_me:$LINENO: result: $ac_res" >&5
38687 echo "${ECHO_T}$ac_res" >&6; }
38688 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38689 cat >>confdefs.h <<\_ACEOF
38690 #define HAVE_INET_ATON 1
38700 if test "x$INET_LINK" != "x"; then
38701 cat >>confdefs.h <<\_ACEOF
38702 #define HAVE_INET_ADDR 1
38705 INET_LINK=" -l$INET_LINK"
38709 for wx_func in fdopen
38711 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38712 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38713 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38714 echo $ECHO_N "(cached) $ECHO_C" >&6
38717 cat >conftest.$ac_ext <<_ACEOF
38721 cat confdefs.h >>conftest.$ac_ext
38722 cat >>conftest.$ac_ext <<_ACEOF
38723 /* end confdefs.h. */
38726 $ac_includes_default
38742 rm -f conftest.$ac_objext conftest$ac_exeext
38743 if { (ac_try="$ac_link"
38744 case "(($ac_try" in
38745 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38746 *) ac_try_echo
=$ac_try;;
38748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38749 (eval "$ac_link") 2>conftest.er1
38751 grep -v '^ *+' conftest.er1
>conftest.err
38753 cat conftest.err
>&5
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); } && {
38756 test -z "$ac_c_werror_flag" ||
38757 test ! -s conftest.err
38758 } && test -s conftest
$ac_exeext &&
38759 $as_test_x conftest
$ac_exeext; then
38760 eval wx_cv_func_
$wx_func=yes
38762 echo "$as_me: failed program was:" >&5
38763 sed 's/^/| /' conftest.
$ac_ext >&5
38765 eval wx_cv_func_
$wx_func=no
38768 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38769 conftest
$ac_exeext conftest.
$ac_ext
38772 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38773 { echo "$as_me:$LINENO: result: $ac_res" >&5
38774 echo "${ECHO_T}$ac_res" >&6; }
38776 if eval test \
$wx_cv_func_$wx_func = yes
38778 cat >>confdefs.h
<<_ACEOF
38779 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38790 if test "$wxUSE_TARSTREAM" = "yes"; then
38792 for wx_func
in sysconf
38794 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38795 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38796 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38797 echo $ECHO_N "(cached) $ECHO_C" >&6
38800 cat >conftest.
$ac_ext <<_ACEOF
38804 cat confdefs.h
>>conftest.
$ac_ext
38805 cat >>conftest.
$ac_ext <<_ACEOF
38806 /* end confdefs.h. */
38809 $ac_includes_default
38825 rm -f conftest.
$ac_objext conftest
$ac_exeext
38826 if { (ac_try
="$ac_link"
38827 case "(($ac_try" in
38828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38829 *) ac_try_echo=$ac_try;;
38831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38832 (eval "$ac_link") 2>conftest.er1
38834 grep -v '^ *+' conftest.er1 >conftest.err
38836 cat conftest.err >&5
38837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38838 (exit $ac_status); } && {
38839 test -z "$ac_c_werror_flag" ||
38840 test ! -s conftest.err
38841 } && test -s conftest$ac_exeext &&
38842 $as_test_x conftest$ac_exeext; then
38843 eval wx_cv_func_$wx_func=yes
38845 echo "$as_me: failed program was:" >&5
38846 sed 's/^/| /' conftest.$ac_ext >&5
38848 eval wx_cv_func_$wx_func=no
38851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38852 conftest$ac_exeext conftest.$ac_ext
38855 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38856 { echo "$as_me:$LINENO: result: $ac_res" >&5
38857 echo "${ECHO_T}$ac_res" >&6; }
38859 if eval test \$wx_cv_func_$wx_func = yes
38861 cat >>confdefs.h <<_ACEOF
38862 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38874 for wx_func in getpwuid_r
38876 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38877 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38878 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38879 echo $ECHO_N "(cached) $ECHO_C" >&6
38882 cat >conftest.$ac_ext <<_ACEOF
38886 cat confdefs.h >>conftest.$ac_ext
38887 cat >>conftest.$ac_ext <<_ACEOF
38888 /* end confdefs.h. */
38894 $ac_includes_default
38904 struct passwd pw, *ppw;
38906 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38914 rm -f conftest.$ac_objext conftest$ac_exeext
38915 if { (ac_try="$ac_link"
38916 case "(($ac_try" in
38917 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38918 *) ac_try_echo
=$ac_try;;
38920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38921 (eval "$ac_link") 2>conftest.er1
38923 grep -v '^ *+' conftest.er1
>conftest.err
38925 cat conftest.err
>&5
38926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38927 (exit $ac_status); } && {
38928 test -z "$ac_c_werror_flag" ||
38929 test ! -s conftest.err
38930 } && test -s conftest
$ac_exeext &&
38931 $as_test_x conftest
$ac_exeext; then
38932 eval wx_cv_func_
$wx_func=yes
38934 echo "$as_me: failed program was:" >&5
38935 sed 's/^/| /' conftest.
$ac_ext >&5
38937 eval wx_cv_func_
$wx_func=no
38940 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38941 conftest
$ac_exeext conftest.
$ac_ext
38944 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38945 { echo "$as_me:$LINENO: result: $ac_res" >&5
38946 echo "${ECHO_T}$ac_res" >&6; }
38948 if eval test \
$wx_cv_func_$wx_func = yes
38950 cat >>confdefs.h
<<_ACEOF
38951 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38963 for wx_func
in getgrgid_r
38965 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38966 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38967 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38968 echo $ECHO_N "(cached) $ECHO_C" >&6
38971 cat >conftest.
$ac_ext <<_ACEOF
38975 cat confdefs.h
>>conftest.
$ac_ext
38976 cat >>conftest.
$ac_ext <<_ACEOF
38977 /* end confdefs.h. */
38983 $ac_includes_default
38993 struct group grp, *pgrp;
38995 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39003 rm -f conftest.
$ac_objext conftest
$ac_exeext
39004 if { (ac_try
="$ac_link"
39005 case "(($ac_try" in
39006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39007 *) ac_try_echo=$ac_try;;
39009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39010 (eval "$ac_link") 2>conftest.er1
39012 grep -v '^ *+' conftest.er1 >conftest.err
39014 cat conftest.err >&5
39015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39016 (exit $ac_status); } && {
39017 test -z "$ac_c_werror_flag" ||
39018 test ! -s conftest.err
39019 } && test -s conftest$ac_exeext &&
39020 $as_test_x conftest$ac_exeext; then
39021 eval wx_cv_func_$wx_func=yes
39023 echo "$as_me: failed program was:" >&5
39024 sed 's/^/| /' conftest.$ac_ext >&5
39026 eval wx_cv_func_$wx_func=no
39029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39030 conftest$ac_exeext conftest.$ac_ext
39033 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39034 { echo "$as_me:$LINENO: result: $ac_res" >&5
39035 echo "${ECHO_T}$ac_res" >&6; }
39037 if eval test \$wx_cv_func_$wx_func = yes
39039 cat >>confdefs.h <<_ACEOF
39040 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39056 cat >confcache <<\_ACEOF
39057 # This file is a shell script that caches the results of configure
39058 # tests run on this system so they can be shared between configure
39059 # scripts and configure runs, see configure's option --config-cache.
39060 # It is not useful on other systems. If it contains results you don't
39061 # want to keep, you may remove or edit it.
39063 # config.status only pays attention to the cache file if you give it
39064 # the --recheck option to rerun configure.
39066 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39067 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39068 # following values.
39072 # The following way of writing the cache mishandles newlines in values,
39073 # but we know of no workaround that is simple, portable, and efficient.
39074 # So, we kill variables containing newlines.
39075 # Ultrix sh set writes to stderr and can't be redirected directly,
39076 # and sets the high bit in the cache file unless we assign to the vars.
39078 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39079 eval ac_val
=\$
$ac_var
39083 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39084 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39087 _
| IFS
| as_nl
) ;; #(
39088 *) $as_unset $ac_var ;;
39094 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39095 *${as_nl}ac_space
=\
*)
39096 # `set' does not quote correctly, so add quotes (double-quote
39097 # substitution turns \\\\ into \\, and sed turns \\ into \).
39100 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39103 # `set' quotes correctly as required by POSIX, so do not add quotes.
39104 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39113 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39115 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39117 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39118 if test -w "$cache_file"; then
39119 test "x$cache_file" != "x/dev/null" &&
39120 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39121 echo "$as_me: updating cache $cache_file" >&6;}
39122 cat confcache
>$cache_file
39124 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39125 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39131 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39137 if test "$wxUSE_THREADS" = "yes" ; then
39138 if test "$USE_BEOS" = 1; then
39139 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39140 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39145 if test "$wxUSE_THREADS" = "yes" ; then
39148 THREAD_OPTS
="-pthread"
39149 if test "x$SUNCXX" = xyes
; then
39150 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
39154 *-*-solaris2* | *-*-sunos4* )
39155 if test "x$GCC" = "xyes"; then
39156 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39160 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39162 *-*-darwin* | *-*-cygwin* )
39166 THREAD_OPTS
="pthreads"
39169 if test "x$GCC" = "xyes"; then
39170 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39178 if test "x$GCC" = "xyes"; then
39184 if test "x$GCC" != "xyes"; then
39185 THREAD_OPTS
="-Ethread"
39190 THREAD_OPTS
="$THREAD_OPTS pthread none"
39193 for flag
in $THREAD_OPTS; do
39196 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39197 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39201 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39202 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39203 THREADS_CFLAGS
="$flag"
39207 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39208 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39209 THREADS_LINK
="-l$flag"
39214 save_CFLAGS
="$CFLAGS"
39215 LIBS
="$THREADS_LINK $LIBS"
39216 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39218 cat >conftest.
$ac_ext <<_ACEOF
39221 cat confdefs.h
>>conftest.
$ac_ext
39222 cat >>conftest.
$ac_ext <<_ACEOF
39223 /* end confdefs.h. */
39224 #include <pthread.h>
39228 pthread_create(0,0,0,0);
39233 rm -f conftest.
$ac_objext conftest
$ac_exeext
39234 if { (ac_try
="$ac_link"
39235 case "(($ac_try" in
39236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39237 *) ac_try_echo=$ac_try;;
39239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39240 (eval "$ac_link") 2>conftest.er1
39242 grep -v '^ *+' conftest.er1 >conftest.err
39244 cat conftest.err >&5
39245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39246 (exit $ac_status); } && {
39247 test -z "$ac_c_werror_flag" ||
39248 test ! -s conftest.err
39249 } && test -s conftest$ac_exeext &&
39250 $as_test_x conftest$ac_exeext; then
39253 echo "$as_me: failed program was:" >&5
39254 sed 's/^/| /' conftest.$ac_ext >&5
39259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39260 conftest$ac_exeext conftest.$ac_ext
39263 CFLAGS="$save_CFLAGS"
39265 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39266 echo "${ECHO_T}$THREADS_OK" >&6; }
39267 if test "x$THREADS_OK" = "xyes"; then
39275 if test "x$THREADS_OK" != "xyes"; then
39277 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39278 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39280 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39281 LIBS="$THREADS_LINK $LIBS"
39283 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39284 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39288 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39289 flag="-D_THREAD_SAFE"
39292 flag="-D_THREAD_SAFE"
39295 flag="-D_REENTRANT"
39296 if test "x$GCC" != "xyes"; then
39297 flag="$flag -D_RWSTD_MULTI_THREAD"
39300 *solaris* | alpha*-osf*)
39301 flag="-D_REENTRANT"
39304 { echo "$as_me:$LINENO: result: ${flag}" >&5
39305 echo "${ECHO_T}${flag}" >&6; }
39306 if test "x$flag" != xno; then
39307 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39310 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39314 if test "$wxUSE_THREADS" = "yes" ; then
39316 for ac_func in thr_setconcurrency
39318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39319 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39321 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39322 echo $ECHO_N "(cached) $ECHO_C" >&6
39324 cat >conftest.$ac_ext <<_ACEOF
39327 cat confdefs.h >>conftest.$ac_ext
39328 cat >>conftest.$ac_ext <<_ACEOF
39329 /* end confdefs.h. */
39330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39332 #define $ac_func innocuous_$ac_func
39334 /* System header to define __stub macros and hopefully few prototypes,
39335 which can conflict with char $ac_func (); below.
39336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39337 <limits.h> exists even on freestanding compilers. */
39340 # include <limits.h>
39342 # include <assert.h>
39347 /* Override any GCC internal prototype to avoid an error.
39348 Use char because int might match the return type of a GCC
39349 builtin and then its argument prototype would still apply. */
39354 /* The GNU C library defines this for functions which it implements
39355 to always fail with ENOSYS. Some functions are actually named
39356 something starting with __ and the normal name is an alias. */
39357 #if defined __stub_$ac_func || defined __stub___$ac_func
39364 return $ac_func ();
39369 rm -f conftest.$ac_objext conftest$ac_exeext
39370 if { (ac_try="$ac_link"
39371 case "(($ac_try" in
39372 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39373 *) ac_try_echo
=$ac_try;;
39375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39376 (eval "$ac_link") 2>conftest.er1
39378 grep -v '^ *+' conftest.er1
>conftest.err
39380 cat conftest.err
>&5
39381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39382 (exit $ac_status); } && {
39383 test -z "$ac_c_werror_flag" ||
39384 test ! -s conftest.err
39385 } && test -s conftest
$ac_exeext &&
39386 $as_test_x conftest
$ac_exeext; then
39387 eval "$as_ac_var=yes"
39389 echo "$as_me: failed program was:" >&5
39390 sed 's/^/| /' conftest.
$ac_ext >&5
39392 eval "$as_ac_var=no"
39395 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39396 conftest
$ac_exeext conftest.
$ac_ext
39398 ac_res
=`eval echo '${'$as_ac_var'}'`
39399 { echo "$as_me:$LINENO: result: $ac_res" >&5
39400 echo "${ECHO_T}$ac_res" >&6; }
39401 if test `eval echo '${'$as_ac_var'}'` = yes; then
39402 cat >>confdefs.h
<<_ACEOF
39403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39410 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39411 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39412 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39413 echo $ECHO_N "(cached) $ECHO_C" >&6
39417 ac_cpp
='$CXXCPP $CPPFLAGS'
39418 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39419 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39420 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39422 cat >conftest.
$ac_ext <<_ACEOF
39425 cat confdefs.h
>>conftest.
$ac_ext
39426 cat >>conftest.
$ac_ext <<_ACEOF
39427 /* end confdefs.h. */
39428 #include <pthread.h>
39429 void ThreadCleanupFunc(void *p);
39436 pthread_cleanup_push(ThreadCleanupFunc, p);
39437 pthread_cleanup_pop(0);
39443 rm -f conftest.
$ac_objext
39444 if { (ac_try
="$ac_compile"
39445 case "(($ac_try" in
39446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39447 *) ac_try_echo=$ac_try;;
39449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39450 (eval "$ac_compile") 2>conftest.er1
39452 grep -v '^ *+' conftest.er1 >conftest.err
39454 cat conftest.err >&5
39455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39456 (exit $ac_status); } && {
39457 test -z "$ac_cxx_werror_flag" ||
39458 test ! -s conftest.err
39459 } && test -s conftest.$ac_objext; then
39461 wx_cv_func_pthread_cleanup=yes
39464 echo "$as_me: failed program was:" >&5
39465 sed 's/^/| /' conftest.$ac_ext >&5
39468 wx_cv_func_pthread_cleanup=no
39473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39475 ac_cpp='$CPP $CPPFLAGS'
39476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39482 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39483 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39484 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39485 cat >>confdefs.h <<\_ACEOF
39486 #define wxHAVE_PTHREAD_CLEANUP 1
39492 for ac_header in sched.h
39494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39498 echo $ECHO_N "(cached) $ECHO_C" >&6
39500 cat >conftest.$ac_ext <<_ACEOF
39503 cat confdefs.h >>conftest.$ac_ext
39504 cat >>conftest.$ac_ext <<_ACEOF
39505 /* end confdefs.h. */
39506 $ac_includes_default
39508 #include <$ac_header>
39510 rm -f conftest.$ac_objext
39511 if { (ac_try="$ac_compile"
39512 case "(($ac_try" in
39513 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39514 *) ac_try_echo
=$ac_try;;
39516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39517 (eval "$ac_compile") 2>conftest.er1
39519 grep -v '^ *+' conftest.er1
>conftest.err
39521 cat conftest.err
>&5
39522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39523 (exit $ac_status); } && {
39524 test -z "$ac_c_werror_flag" ||
39525 test ! -s conftest.err
39526 } && test -s conftest.
$ac_objext; then
39527 eval "$as_ac_Header=yes"
39529 echo "$as_me: failed program was:" >&5
39530 sed 's/^/| /' conftest.
$ac_ext >&5
39532 eval "$as_ac_Header=no"
39535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39537 ac_res
=`eval echo '${'$as_ac_Header'}'`
39538 { echo "$as_me:$LINENO: result: $ac_res" >&5
39539 echo "${ECHO_T}$ac_res" >&6; }
39540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39541 cat >>confdefs.h
<<_ACEOF
39542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39549 if test "$ac_cv_header_sched_h" = "yes"; then
39550 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39551 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39552 if test "${ac_cv_func_sched_yield+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 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39563 #define sched_yield innocuous_sched_yield
39565 /* System header to define __stub macros and hopefully few prototypes,
39566 which can conflict with char sched_yield (); below.
39567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39568 <limits.h> exists even on freestanding compilers. */
39571 # include <limits.h>
39573 # include <assert.h>
39578 /* Override any GCC internal prototype to avoid an error.
39579 Use char because int might match the return type of a GCC
39580 builtin and then its argument prototype would still apply. */
39584 char sched_yield ();
39585 /* The GNU C library defines this for functions which it implements
39586 to always fail with ENOSYS. Some functions are actually named
39587 something starting with __ and the normal name is an alias. */
39588 #if defined __stub_sched_yield || defined __stub___sched_yield
39595 return sched_yield ();
39600 rm -f conftest.
$ac_objext conftest
$ac_exeext
39601 if { (ac_try
="$ac_link"
39602 case "(($ac_try" in
39603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39604 *) ac_try_echo=$ac_try;;
39606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39607 (eval "$ac_link") 2>conftest.er1
39609 grep -v '^ *+' conftest.er1 >conftest.err
39611 cat conftest.err >&5
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); } && {
39614 test -z "$ac_c_werror_flag" ||
39615 test ! -s conftest.err
39616 } && test -s conftest$ac_exeext &&
39617 $as_test_x conftest$ac_exeext; then
39618 ac_cv_func_sched_yield=yes
39620 echo "$as_me: failed program was:" >&5
39621 sed 's/^/| /' conftest.$ac_ext >&5
39623 ac_cv_func_sched_yield=no
39626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39627 conftest$ac_exeext conftest.$ac_ext
39629 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39630 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39631 if test $ac_cv_func_sched_yield = yes; then
39632 cat >>confdefs.h <<\_ACEOF
39633 #define HAVE_SCHED_YIELD 1
39638 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39639 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39640 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39641 echo $ECHO_N "(cached) $ECHO_C" >&6
39643 ac_check_lib_save_LIBS=$LIBS
39644 LIBS="-lposix4 $LIBS"
39645 cat >conftest.$ac_ext <<_ACEOF
39648 cat confdefs.h >>conftest.$ac_ext
39649 cat >>conftest.$ac_ext <<_ACEOF
39650 /* end confdefs.h. */
39652 /* Override any GCC internal prototype to avoid an error.
39653 Use char because int might match the return type of a GCC
39654 builtin and then its argument prototype would still apply. */
39658 char sched_yield ();
39662 return sched_yield ();
39667 rm -f conftest.$ac_objext conftest$ac_exeext
39668 if { (ac_try="$ac_link"
39669 case "(($ac_try" in
39670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39671 *) ac_try_echo
=$ac_try;;
39673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39674 (eval "$ac_link") 2>conftest.er1
39676 grep -v '^ *+' conftest.er1
>conftest.err
39678 cat conftest.err
>&5
39679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39680 (exit $ac_status); } && {
39681 test -z "$ac_c_werror_flag" ||
39682 test ! -s conftest.err
39683 } && test -s conftest
$ac_exeext &&
39684 $as_test_x conftest
$ac_exeext; then
39685 ac_cv_lib_posix4_sched_yield
=yes
39687 echo "$as_me: failed program was:" >&5
39688 sed 's/^/| /' conftest.
$ac_ext >&5
39690 ac_cv_lib_posix4_sched_yield
=no
39693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39694 conftest
$ac_exeext conftest.
$ac_ext
39695 LIBS
=$ac_check_lib_save_LIBS
39697 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39698 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39699 if test $ac_cv_lib_posix4_sched_yield = yes; then
39700 cat >>confdefs.h
<<\_ACEOF
39701 #define HAVE_SCHED_YIELD 1
39703 POSIX4_LINK
=" -lposix4"
39705 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39706 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39717 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39718 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39719 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39720 echo $ECHO_N "(cached) $ECHO_C" >&6
39722 cat >conftest.
$ac_ext <<_ACEOF
39725 cat confdefs.h
>>conftest.
$ac_ext
39726 cat >>conftest.
$ac_ext <<_ACEOF
39727 /* end confdefs.h. */
39728 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39730 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39732 /* System header to define __stub macros and hopefully few prototypes,
39733 which can conflict with char pthread_attr_getschedpolicy (); below.
39734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39735 <limits.h> exists even on freestanding compilers. */
39738 # include <limits.h>
39740 # include <assert.h>
39743 #undef pthread_attr_getschedpolicy
39745 /* Override any GCC internal prototype to avoid an error.
39746 Use char because int might match the return type of a GCC
39747 builtin and then its argument prototype would still apply. */
39751 char pthread_attr_getschedpolicy ();
39752 /* The GNU C library defines this for functions which it implements
39753 to always fail with ENOSYS. Some functions are actually named
39754 something starting with __ and the normal name is an alias. */
39755 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39762 return pthread_attr_getschedpolicy ();
39767 rm -f conftest.
$ac_objext conftest
$ac_exeext
39768 if { (ac_try
="$ac_link"
39769 case "(($ac_try" in
39770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39771 *) ac_try_echo=$ac_try;;
39773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39774 (eval "$ac_link") 2>conftest.er1
39776 grep -v '^ *+' conftest.er1 >conftest.err
39778 cat conftest.err >&5
39779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39780 (exit $ac_status); } && {
39781 test -z "$ac_c_werror_flag" ||
39782 test ! -s conftest.err
39783 } && test -s conftest$ac_exeext &&
39784 $as_test_x conftest$ac_exeext; then
39785 ac_cv_func_pthread_attr_getschedpolicy=yes
39787 echo "$as_me: failed program was:" >&5
39788 sed 's/^/| /' conftest.$ac_ext >&5
39790 ac_cv_func_pthread_attr_getschedpolicy=no
39793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39794 conftest$ac_exeext conftest.$ac_ext
39796 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39797 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39798 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39799 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39800 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39801 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39802 echo $ECHO_N "(cached) $ECHO_C" >&6
39804 cat >conftest.$ac_ext <<_ACEOF
39807 cat confdefs.h >>conftest.$ac_ext
39808 cat >>conftest.$ac_ext <<_ACEOF
39809 /* end confdefs.h. */
39810 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39812 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39814 /* System header to define __stub macros and hopefully few prototypes,
39815 which can conflict with char pthread_attr_setschedparam (); below.
39816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39817 <limits.h> exists even on freestanding compilers. */
39820 # include <limits.h>
39822 # include <assert.h>
39825 #undef pthread_attr_setschedparam
39827 /* Override any GCC internal prototype to avoid an error.
39828 Use char because int might match the return type of a GCC
39829 builtin and then its argument prototype would still apply. */
39833 char pthread_attr_setschedparam ();
39834 /* The GNU C library defines this for functions which it implements
39835 to always fail with ENOSYS. Some functions are actually named
39836 something starting with __ and the normal name is an alias. */
39837 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39844 return pthread_attr_setschedparam ();
39849 rm -f conftest.$ac_objext conftest$ac_exeext
39850 if { (ac_try="$ac_link"
39851 case "(($ac_try" in
39852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39853 *) ac_try_echo
=$ac_try;;
39855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39856 (eval "$ac_link") 2>conftest.er1
39858 grep -v '^ *+' conftest.er1
>conftest.err
39860 cat conftest.err
>&5
39861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39862 (exit $ac_status); } && {
39863 test -z "$ac_c_werror_flag" ||
39864 test ! -s conftest.err
39865 } && test -s conftest
$ac_exeext &&
39866 $as_test_x conftest
$ac_exeext; then
39867 ac_cv_func_pthread_attr_setschedparam
=yes
39869 echo "$as_me: failed program was:" >&5
39870 sed 's/^/| /' conftest.
$ac_ext >&5
39872 ac_cv_func_pthread_attr_setschedparam
=no
39875 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39876 conftest
$ac_exeext conftest.
$ac_ext
39878 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39879 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39880 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39881 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39882 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39883 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39884 echo $ECHO_N "(cached) $ECHO_C" >&6
39886 cat >conftest.
$ac_ext <<_ACEOF
39889 cat confdefs.h
>>conftest.
$ac_ext
39890 cat >>conftest.
$ac_ext <<_ACEOF
39891 /* end confdefs.h. */
39892 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39894 #define sched_get_priority_max innocuous_sched_get_priority_max
39896 /* System header to define __stub macros and hopefully few prototypes,
39897 which can conflict with char sched_get_priority_max (); below.
39898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39899 <limits.h> exists even on freestanding compilers. */
39902 # include <limits.h>
39904 # include <assert.h>
39907 #undef sched_get_priority_max
39909 /* Override any GCC internal prototype to avoid an error.
39910 Use char because int might match the return type of a GCC
39911 builtin and then its argument prototype would still apply. */
39915 char sched_get_priority_max ();
39916 /* The GNU C library defines this for functions which it implements
39917 to always fail with ENOSYS. Some functions are actually named
39918 something starting with __ and the normal name is an alias. */
39919 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39926 return sched_get_priority_max ();
39931 rm -f conftest.
$ac_objext conftest
$ac_exeext
39932 if { (ac_try
="$ac_link"
39933 case "(($ac_try" in
39934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39935 *) ac_try_echo=$ac_try;;
39937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39938 (eval "$ac_link") 2>conftest.er1
39940 grep -v '^ *+' conftest.er1 >conftest.err
39942 cat conftest.err >&5
39943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39944 (exit $ac_status); } && {
39945 test -z "$ac_c_werror_flag" ||
39946 test ! -s conftest.err
39947 } && test -s conftest$ac_exeext &&
39948 $as_test_x conftest$ac_exeext; then
39949 ac_cv_func_sched_get_priority_max=yes
39951 echo "$as_me: failed program was:" >&5
39952 sed 's/^/| /' conftest.$ac_ext >&5
39954 ac_cv_func_sched_get_priority_max=no
39957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39958 conftest$ac_exeext conftest.$ac_ext
39960 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39961 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39962 if test $ac_cv_func_sched_get_priority_max = yes; then
39965 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39966 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39967 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39968 echo $ECHO_N "(cached) $ECHO_C" >&6
39970 ac_check_lib_save_LIBS=$LIBS
39971 LIBS="-lposix4 $LIBS"
39972 cat >conftest.$ac_ext <<_ACEOF
39975 cat confdefs.h >>conftest.$ac_ext
39976 cat >>conftest.$ac_ext <<_ACEOF
39977 /* end confdefs.h. */
39979 /* Override any GCC internal prototype to avoid an error.
39980 Use char because int might match the return type of a GCC
39981 builtin and then its argument prototype would still apply. */
39985 char sched_get_priority_max ();
39989 return sched_get_priority_max ();
39994 rm -f conftest.$ac_objext conftest$ac_exeext
39995 if { (ac_try="$ac_link"
39996 case "(($ac_try" in
39997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39998 *) ac_try_echo
=$ac_try;;
40000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40001 (eval "$ac_link") 2>conftest.er1
40003 grep -v '^ *+' conftest.er1
>conftest.err
40005 cat conftest.err
>&5
40006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40007 (exit $ac_status); } && {
40008 test -z "$ac_c_werror_flag" ||
40009 test ! -s conftest.err
40010 } && test -s conftest
$ac_exeext &&
40011 $as_test_x conftest
$ac_exeext; then
40012 ac_cv_lib_posix4_sched_get_priority_max
=yes
40014 echo "$as_me: failed program was:" >&5
40015 sed 's/^/| /' conftest.
$ac_ext >&5
40017 ac_cv_lib_posix4_sched_get_priority_max
=no
40020 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40021 conftest
$ac_exeext conftest.
$ac_ext
40022 LIBS
=$ac_check_lib_save_LIBS
40024 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40025 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40026 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40029 POSIX4_LINK
=" -lposix4"
40043 if test "$HAVE_PRIOR_FUNCS" = 1; then
40044 cat >>confdefs.h
<<\_ACEOF
40045 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40049 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40050 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40053 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40054 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40055 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40056 echo $ECHO_N "(cached) $ECHO_C" >&6
40058 cat >conftest.
$ac_ext <<_ACEOF
40061 cat confdefs.h
>>conftest.
$ac_ext
40062 cat >>conftest.
$ac_ext <<_ACEOF
40063 /* end confdefs.h. */
40064 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40066 #define pthread_cancel innocuous_pthread_cancel
40068 /* System header to define __stub macros and hopefully few prototypes,
40069 which can conflict with char pthread_cancel (); below.
40070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40071 <limits.h> exists even on freestanding compilers. */
40074 # include <limits.h>
40076 # include <assert.h>
40079 #undef pthread_cancel
40081 /* Override any GCC internal prototype to avoid an error.
40082 Use char because int might match the return type of a GCC
40083 builtin and then its argument prototype would still apply. */
40087 char pthread_cancel ();
40088 /* The GNU C library defines this for functions which it implements
40089 to always fail with ENOSYS. Some functions are actually named
40090 something starting with __ and the normal name is an alias. */
40091 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40098 return pthread_cancel ();
40103 rm -f conftest.
$ac_objext conftest
$ac_exeext
40104 if { (ac_try
="$ac_link"
40105 case "(($ac_try" in
40106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40107 *) ac_try_echo=$ac_try;;
40109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40110 (eval "$ac_link") 2>conftest.er1
40112 grep -v '^ *+' conftest.er1 >conftest.err
40114 cat conftest.err >&5
40115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40116 (exit $ac_status); } && {
40117 test -z "$ac_c_werror_flag" ||
40118 test ! -s conftest.err
40119 } && test -s conftest$ac_exeext &&
40120 $as_test_x conftest$ac_exeext; then
40121 ac_cv_func_pthread_cancel=yes
40123 echo "$as_me: failed program was:" >&5
40124 sed 's/^/| /' conftest.$ac_ext >&5
40126 ac_cv_func_pthread_cancel=no
40129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40130 conftest$ac_exeext conftest.$ac_ext
40132 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40133 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40134 if test $ac_cv_func_pthread_cancel = yes; then
40135 cat >>confdefs.h <<\_ACEOF
40136 #define HAVE_PTHREAD_CANCEL 1
40140 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40141 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40145 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40146 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40147 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40148 echo $ECHO_N "(cached) $ECHO_C" >&6
40150 cat >conftest.$ac_ext <<_ACEOF
40153 cat confdefs.h >>conftest.$ac_ext
40154 cat >>conftest.$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40156 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40158 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40160 /* System header to define __stub macros and hopefully few prototypes,
40161 which can conflict with char pthread_mutex_timedlock (); below.
40162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40163 <limits.h> exists even on freestanding compilers. */
40166 # include <limits.h>
40168 # include <assert.h>
40171 #undef pthread_mutex_timedlock
40173 /* Override any GCC internal prototype to avoid an error.
40174 Use char because int might match the return type of a GCC
40175 builtin and then its argument prototype would still apply. */
40179 char pthread_mutex_timedlock ();
40180 /* The GNU C library defines this for functions which it implements
40181 to always fail with ENOSYS. Some functions are actually named
40182 something starting with __ and the normal name is an alias. */
40183 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40190 return pthread_mutex_timedlock ();
40195 rm -f conftest.$ac_objext conftest$ac_exeext
40196 if { (ac_try="$ac_link"
40197 case "(($ac_try" in
40198 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40199 *) ac_try_echo
=$ac_try;;
40201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40202 (eval "$ac_link") 2>conftest.er1
40204 grep -v '^ *+' conftest.er1
>conftest.err
40206 cat conftest.err
>&5
40207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40208 (exit $ac_status); } && {
40209 test -z "$ac_c_werror_flag" ||
40210 test ! -s conftest.err
40211 } && test -s conftest
$ac_exeext &&
40212 $as_test_x conftest
$ac_exeext; then
40213 ac_cv_func_pthread_mutex_timedlock
=yes
40215 echo "$as_me: failed program was:" >&5
40216 sed 's/^/| /' conftest.
$ac_ext >&5
40218 ac_cv_func_pthread_mutex_timedlock
=no
40221 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40222 conftest
$ac_exeext conftest.
$ac_ext
40224 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40225 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40226 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40227 cat >>confdefs.h
<<\_ACEOF
40228 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40232 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40233 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40237 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40238 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40239 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40240 echo $ECHO_N "(cached) $ECHO_C" >&6
40242 cat >conftest.
$ac_ext <<_ACEOF
40245 cat confdefs.h
>>conftest.
$ac_ext
40246 cat >>conftest.
$ac_ext <<_ACEOF
40247 /* end confdefs.h. */
40248 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40250 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40252 /* System header to define __stub macros and hopefully few prototypes,
40253 which can conflict with char pthread_attr_setstacksize (); below.
40254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40255 <limits.h> exists even on freestanding compilers. */
40258 # include <limits.h>
40260 # include <assert.h>
40263 #undef pthread_attr_setstacksize
40265 /* Override any GCC internal prototype to avoid an error.
40266 Use char because int might match the return type of a GCC
40267 builtin and then its argument prototype would still apply. */
40271 char pthread_attr_setstacksize ();
40272 /* The GNU C library defines this for functions which it implements
40273 to always fail with ENOSYS. Some functions are actually named
40274 something starting with __ and the normal name is an alias. */
40275 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40282 return pthread_attr_setstacksize ();
40287 rm -f conftest.
$ac_objext conftest
$ac_exeext
40288 if { (ac_try
="$ac_link"
40289 case "(($ac_try" in
40290 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40291 *) ac_try_echo=$ac_try;;
40293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40294 (eval "$ac_link") 2>conftest.er1
40296 grep -v '^ *+' conftest.er1 >conftest.err
40298 cat conftest.err >&5
40299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40300 (exit $ac_status); } && {
40301 test -z "$ac_c_werror_flag" ||
40302 test ! -s conftest.err
40303 } && test -s conftest$ac_exeext &&
40304 $as_test_x conftest$ac_exeext; then
40305 ac_cv_func_pthread_attr_setstacksize=yes
40307 echo "$as_me: failed program was:" >&5
40308 sed 's/^/| /' conftest.$ac_ext >&5
40310 ac_cv_func_pthread_attr_setstacksize=no
40313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40314 conftest$ac_exeext conftest.$ac_ext
40316 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40317 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40318 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40319 cat >>confdefs.h <<\_ACEOF
40320 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40327 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40328 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40329 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40330 echo $ECHO_N "(cached) $ECHO_C" >&6
40333 cat >conftest.$ac_ext <<_ACEOF
40336 cat confdefs.h >>conftest.$ac_ext
40337 cat >>conftest.$ac_ext <<_ACEOF
40338 /* end confdefs.h. */
40339 #include <pthread.h>
40344 pthread_mutexattr_t attr;
40345 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40351 rm -f conftest.$ac_objext
40352 if { (ac_try="$ac_compile"
40353 case "(($ac_try" in
40354 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40355 *) ac_try_echo
=$ac_try;;
40357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40358 (eval "$ac_compile") 2>conftest.er1
40360 grep -v '^ *+' conftest.er1
>conftest.err
40362 cat conftest.err
>&5
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); } && {
40365 test -z "$ac_c_werror_flag" ||
40366 test ! -s conftest.err
40367 } && test -s conftest.
$ac_objext; then
40368 wx_cv_type_pthread_mutexattr_t
=yes
40370 echo "$as_me: failed program was:" >&5
40371 sed 's/^/| /' conftest.
$ac_ext >&5
40373 wx_cv_type_pthread_mutexattr_t
=no
40377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40380 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40381 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40383 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40384 cat >>confdefs.h
<<\_ACEOF
40385 #define HAVE_PTHREAD_MUTEXATTR_T 1
40389 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40390 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40391 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40392 echo $ECHO_N "(cached) $ECHO_C" >&6
40395 cat >conftest.
$ac_ext <<_ACEOF
40398 cat confdefs.h
>>conftest.
$ac_ext
40399 cat >>conftest.
$ac_ext <<_ACEOF
40400 /* end confdefs.h. */
40401 #include <pthread.h>
40406 pthread_mutexattr_t attr;
40407 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40413 rm -f conftest.
$ac_objext
40414 if { (ac_try
="$ac_compile"
40415 case "(($ac_try" in
40416 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40417 *) ac_try_echo=$ac_try;;
40419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40420 (eval "$ac_compile") 2>conftest.er1
40422 grep -v '^ *+' conftest.er1 >conftest.err
40424 cat conftest.err >&5
40425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40426 (exit $ac_status); } && {
40427 test -z "$ac_c_werror_flag" ||
40428 test ! -s conftest.err
40429 } && test -s conftest.$ac_objext; then
40430 wx_cv_func_pthread_mutexattr_settype_decl=yes
40432 echo "$as_me: failed program was:" >&5
40433 sed 's/^/| /' conftest.$ac_ext >&5
40435 wx_cv_func_pthread_mutexattr_settype_decl=no
40439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40442 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40443 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40444 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40445 cat >>confdefs.h <<\_ACEOF
40446 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40451 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40452 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40453 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40454 echo $ECHO_N "(cached) $ECHO_C" >&6
40457 cat >conftest.$ac_ext <<_ACEOF
40460 cat confdefs.h >>conftest.$ac_ext
40461 cat >>conftest.$ac_ext <<_ACEOF
40462 /* end confdefs.h. */
40463 #include <pthread.h>
40468 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40474 rm -f conftest.$ac_objext
40475 if { (ac_try="$ac_compile"
40476 case "(($ac_try" in
40477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40478 *) ac_try_echo
=$ac_try;;
40480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40481 (eval "$ac_compile") 2>conftest.er1
40483 grep -v '^ *+' conftest.er1
>conftest.err
40485 cat conftest.err
>&5
40486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40487 (exit $ac_status); } && {
40488 test -z "$ac_c_werror_flag" ||
40489 test ! -s conftest.err
40490 } && test -s conftest.
$ac_objext; then
40492 wx_cv_type_pthread_rec_mutex_init
=yes
40495 echo "$as_me: failed program was:" >&5
40496 sed 's/^/| /' conftest.
$ac_ext >&5
40499 wx_cv_type_pthread_rec_mutex_init
=no
40504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40507 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40508 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40509 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40510 cat >>confdefs.h
<<\_ACEOF
40511 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40515 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40516 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40520 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40521 if test "$USE_NETBSD" = 1; then
40522 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40523 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40524 wxUSE_COMPILER_TLS
=no
40526 wxUSE_COMPILER_TLS
=yes
40530 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40531 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40532 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40533 if test "${wx_cv_cc___thread+set}" = set; then
40534 echo $ECHO_N "(cached) $ECHO_C" >&6
40537 cat >conftest.
$ac_ext <<_ACEOF
40540 cat confdefs.h
>>conftest.
$ac_ext
40541 cat >>conftest.
$ac_ext <<_ACEOF
40542 /* end confdefs.h. */
40543 #include <pthread.h>
40548 static __thread int n = 0;
40549 static __thread int *p = 0;
40555 rm -f conftest.
$ac_objext
40556 if { (ac_try
="$ac_compile"
40557 case "(($ac_try" in
40558 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40559 *) ac_try_echo=$ac_try;;
40561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40562 (eval "$ac_compile") 2>conftest.er1
40564 grep -v '^ *+' conftest.er1 >conftest.err
40566 cat conftest.err >&5
40567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40568 (exit $ac_status); } && {
40569 test -z "$ac_c_werror_flag" ||
40570 test ! -s conftest.err
40571 } && test -s conftest.$ac_objext; then
40572 wx_cv_cc___thread=yes
40574 echo "$as_me: failed program was:" >&5
40575 sed 's/^/| /' conftest.$ac_ext >&5
40577 wx_cv_cc___thread=no
40581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40585 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40586 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40588 if test "$wx_cv_cc___thread" = "yes"; then
40594 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40595 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40597 if test "x$GCC" = "xyes" ; then
40599 if test -z "" ; then
40601 ax_gcc_option_test="int main()
40608 ax_gcc_option_test=""
40613 # Dump the test program to file
40614 cat <<EOF > conftest.c
40615 $ax_gcc_option_test
40618 # Dump back the file to the log, useful for debugging purposes
40619 { ac_try='cat conftest.c 1>&5'
40620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40621 (eval $ac_try) 2>&5
40623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40624 (exit $ac_status); }; }
40626 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40628 (eval $ac_try) 2>&5
40630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40631 (exit $ac_status); }; } ; then
40633 { echo "$as_me:$LINENO: result: yes" >&5
40634 echo "${ECHO_T}yes" >&6; }
40636 ax_gcc_version_option=yes
40641 { echo "$as_me:$LINENO: result: no" >&5
40642 echo "${ECHO_T}no" >&6; }
40644 ax_gcc_version_option=no
40652 { echo "$as_me:$LINENO: result: no gcc available" >&5
40653 echo "${ECHO_T}no gcc available" >&6; }
40658 if test "x$GXX" = "xyes"; then
40660 if test "x$ax_gxx_version_option" != "no"; then
40662 { echo "$as_me:$LINENO: checking gxx version" >&5
40663 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40664 if test "${ax_cv_gxx_version+set}" = set; then
40665 echo $ECHO_N "(cached) $ECHO_C" >&6
40668 ax_cv_gxx_version="`$CXX -dumpversion`"
40669 if test "x$ax_cv_gxx_version" = "x"; then
40671 ax_cv_gxx_version=""
40677 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40678 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40679 GXX_VERSION=$ax_cv_gxx_version
40688 if test -n "$ax_cv_gxx_version"; then
40689 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40690 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40691 case "$ax_cv_gxx_version" in
40693 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40694 echo "${ECHO_T}no, it's broken" >&6; }
40695 wx_cv_cc___thread=no
40698 { echo "$as_me:$LINENO: result: yes, it works" >&5
40699 echo "${ECHO_T}yes, it works" >&6; }
40705 if test "$wx_cv_cc___thread" = "yes"; then
40706 cat >>confdefs.h <<\_ACEOF
40707 #define HAVE___THREAD_KEYWORD 1
40715 if test "$wxUSE_THREADS" = "yes" ; then
40717 x86_64-*-mingw32* )
40720 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40721 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40722 if test "${wx_cv_cflags_mthread+set}" = set; then
40723 echo $ECHO_N "(cached) $ECHO_C" >&6
40726 CFLAGS_OLD="$CFLAGS"
40727 CFLAGS="-mthreads $CFLAGS"
40728 cat >conftest.$ac_ext <<_ACEOF
40731 cat confdefs.h >>conftest.$ac_ext
40732 cat >>conftest.$ac_ext <<_ACEOF
40733 /* end confdefs.h. */
40743 rm -f conftest.$ac_objext
40744 if { (ac_try="$ac_compile"
40745 case "(($ac_try" in
40746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40747 *) ac_try_echo
=$ac_try;;
40749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40750 (eval "$ac_compile") 2>conftest.er1
40752 grep -v '^ *+' conftest.er1
>conftest.err
40754 cat conftest.err
>&5
40755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40756 (exit $ac_status); } && {
40757 test -z "$ac_c_werror_flag" ||
40758 test ! -s conftest.err
40759 } && test -s conftest.
$ac_objext; then
40760 wx_cv_cflags_mthread
=yes
40762 echo "$as_me: failed program was:" >&5
40763 sed 's/^/| /' conftest.
$ac_ext >&5
40765 wx_cv_cflags_mthread
=no
40769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40773 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40774 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40776 if test "$wx_cv_cflags_mthread" = "yes"; then
40777 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40778 LDFLAGS
="$LDFLAGS -mthreads"
40780 CFLAGS
="$CFLAGS_OLD"
40784 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40785 LDFLAGS
="$LDFLAGS -Zmt"
40791 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40792 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40793 if test "${ac_cv_func_localtime_r+set}" = set; then
40794 echo $ECHO_N "(cached) $ECHO_C" >&6
40796 cat >conftest.
$ac_ext <<_ACEOF
40799 cat confdefs.h
>>conftest.
$ac_ext
40800 cat >>conftest.
$ac_ext <<_ACEOF
40801 /* end confdefs.h. */
40802 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40804 #define localtime_r innocuous_localtime_r
40806 /* System header to define __stub macros and hopefully few prototypes,
40807 which can conflict with char localtime_r (); below.
40808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40809 <limits.h> exists even on freestanding compilers. */
40812 # include <limits.h>
40814 # include <assert.h>
40819 /* Override any GCC internal prototype to avoid an error.
40820 Use char because int might match the return type of a GCC
40821 builtin and then its argument prototype would still apply. */
40825 char localtime_r ();
40826 /* The GNU C library defines this for functions which it implements
40827 to always fail with ENOSYS. Some functions are actually named
40828 something starting with __ and the normal name is an alias. */
40829 #if defined __stub_localtime_r || defined __stub___localtime_r
40836 return localtime_r ();
40841 rm -f conftest.
$ac_objext conftest
$ac_exeext
40842 if { (ac_try
="$ac_link"
40843 case "(($ac_try" in
40844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40845 *) ac_try_echo=$ac_try;;
40847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40848 (eval "$ac_link") 2>conftest.er1
40850 grep -v '^ *+' conftest.er1 >conftest.err
40852 cat conftest.err >&5
40853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40854 (exit $ac_status); } && {
40855 test -z "$ac_c_werror_flag" ||
40856 test ! -s conftest.err
40857 } && test -s conftest$ac_exeext &&
40858 $as_test_x conftest$ac_exeext; then
40859 ac_cv_func_localtime_r=yes
40861 echo "$as_me: failed program was:" >&5
40862 sed 's/^/| /' conftest.$ac_ext >&5
40864 ac_cv_func_localtime_r=no
40867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40868 conftest$ac_exeext conftest.$ac_ext
40870 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40871 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40872 if test $ac_cv_func_localtime_r = yes; then
40873 cat >>confdefs.h <<\_ACEOF
40874 #define HAVE_LOCALTIME_R 1
40879 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40880 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40881 if test "${ac_cv_func_gmtime_r+set}" = set; then
40882 echo $ECHO_N "(cached) $ECHO_C" >&6
40884 cat >conftest.$ac_ext <<_ACEOF
40887 cat confdefs.h >>conftest.$ac_ext
40888 cat >>conftest.$ac_ext <<_ACEOF
40889 /* end confdefs.h. */
40890 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40892 #define gmtime_r innocuous_gmtime_r
40894 /* System header to define __stub macros and hopefully few prototypes,
40895 which can conflict with char gmtime_r (); below.
40896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40897 <limits.h> exists even on freestanding compilers. */
40900 # include <limits.h>
40902 # include <assert.h>
40907 /* Override any GCC internal prototype to avoid an error.
40908 Use char because int might match the return type of a GCC
40909 builtin and then its argument prototype would still apply. */
40914 /* The GNU C library defines this for functions which it implements
40915 to always fail with ENOSYS. Some functions are actually named
40916 something starting with __ and the normal name is an alias. */
40917 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40924 return gmtime_r ();
40929 rm -f conftest.$ac_objext conftest$ac_exeext
40930 if { (ac_try="$ac_link"
40931 case "(($ac_try" in
40932 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40933 *) ac_try_echo
=$ac_try;;
40935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40936 (eval "$ac_link") 2>conftest.er1
40938 grep -v '^ *+' conftest.er1
>conftest.err
40940 cat conftest.err
>&5
40941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40942 (exit $ac_status); } && {
40943 test -z "$ac_c_werror_flag" ||
40944 test ! -s conftest.err
40945 } && test -s conftest
$ac_exeext &&
40946 $as_test_x conftest
$ac_exeext; then
40947 ac_cv_func_gmtime_r
=yes
40949 echo "$as_me: failed program was:" >&5
40950 sed 's/^/| /' conftest.
$ac_ext >&5
40952 ac_cv_func_gmtime_r
=no
40955 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40956 conftest
$ac_exeext conftest.
$ac_ext
40958 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40959 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40960 if test $ac_cv_func_gmtime_r = yes; then
40961 cat >>confdefs.h
<<\_ACEOF
40962 #define HAVE_GMTIME_R 1
40971 ac_cpp
='$CPP $CPPFLAGS'
40972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40976 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40977 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40979 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40980 echo $ECHO_N "(cached) $ECHO_C" >&6
40984 ################################################################
40986 ac_cv_func_which_gethostbyname_r
=unknown
40989 # ONE ARGUMENT (sanity check)
40992 # This should fail, as there is no variant of gethostbyname_r() that takes
40993 # a single argument. If it actually compiles, then we can assume that
40994 # netdb.h is not declaring the function, and the compiler is thereby
40995 # assuming an implicit prototype. In which case, we're out of luck.
40997 cat >conftest.
$ac_ext <<_ACEOF
41000 cat confdefs.h
>>conftest.
$ac_ext
41001 cat >>conftest.
$ac_ext <<_ACEOF
41002 /* end confdefs.h. */
41008 char *name = "www.gnu.org";
41009 (void)gethostbyname_r(name) /* ; */
41015 rm -f conftest.
$ac_objext
41016 if { (ac_try
="$ac_compile"
41017 case "(($ac_try" in
41018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41019 *) ac_try_echo=$ac_try;;
41021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41022 (eval "$ac_compile") 2>conftest.er1
41024 grep -v '^ *+' conftest.er1 >conftest.err
41026 cat conftest.err >&5
41027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41028 (exit $ac_status); } && {
41029 test -z "$ac_c_werror_flag" ||
41030 test ! -s conftest.err
41031 } && test -s conftest.$ac_objext; then
41032 ac_cv_func_which_gethostbyname_r=no
41034 echo "$as_me: failed program was:" >&5
41035 sed 's/^/| /' conftest.$ac_ext >&5
41040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41047 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41049 cat >conftest.$ac_ext <<_ACEOF
41052 cat confdefs.h >>conftest.$ac_ext
41053 cat >>conftest.$ac_ext <<_ACEOF
41054 /* end confdefs.h. */
41060 char *name = "www.gnu.org";
41061 struct hostent ret, *retp;
41065 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41071 rm -f conftest.$ac_objext
41072 if { (ac_try="$ac_compile"
41073 case "(($ac_try" in
41074 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41075 *) ac_try_echo
=$ac_try;;
41077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41078 (eval "$ac_compile") 2>conftest.er1
41080 grep -v '^ *+' conftest.er1
>conftest.err
41082 cat conftest.err
>&5
41083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41084 (exit $ac_status); } && {
41085 test -z "$ac_c_werror_flag" ||
41086 test ! -s conftest.err
41087 } && test -s conftest.
$ac_objext; then
41088 ac_cv_func_which_gethostbyname_r
=six
41090 echo "$as_me: failed program was:" >&5
41091 sed 's/^/| /' conftest.
$ac_ext >&5
41096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41105 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41107 cat >conftest.
$ac_ext <<_ACEOF
41110 cat confdefs.h
>>conftest.
$ac_ext
41111 cat >>conftest.
$ac_ext <<_ACEOF
41112 /* end confdefs.h. */
41118 char *name = "www.gnu.org";
41119 struct hostent ret;
41123 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41129 rm -f conftest.
$ac_objext
41130 if { (ac_try
="$ac_compile"
41131 case "(($ac_try" in
41132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41133 *) ac_try_echo=$ac_try;;
41135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41136 (eval "$ac_compile") 2>conftest.er1
41138 grep -v '^ *+' conftest.er1 >conftest.err
41140 cat conftest.err >&5
41141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41142 (exit $ac_status); } && {
41143 test -z "$ac_c_werror_flag" ||
41144 test ! -s conftest.err
41145 } && test -s conftest.$ac_objext; then
41146 ac_cv_func_which_gethostbyname_r=five
41148 echo "$as_me: failed program was:" >&5
41149 sed 's/^/| /' conftest.$ac_ext >&5
41154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41160 # (e.g. AIX, HP-UX, Tru64)
41163 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41165 cat >conftest.$ac_ext <<_ACEOF
41168 cat confdefs.h >>conftest.$ac_ext
41169 cat >>conftest.$ac_ext <<_ACEOF
41170 /* end confdefs.h. */
41176 char *name = "www.gnu.org";
41177 struct hostent ret;
41178 struct hostent_data data;
41179 (void)gethostbyname_r(name, &ret, &data) /* ; */
41185 rm -f conftest.$ac_objext
41186 if { (ac_try="$ac_compile"
41187 case "(($ac_try" in
41188 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41189 *) ac_try_echo
=$ac_try;;
41191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41192 (eval "$ac_compile") 2>conftest.er1
41194 grep -v '^ *+' conftest.er1
>conftest.err
41196 cat conftest.err
>&5
41197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198 (exit $ac_status); } && {
41199 test -z "$ac_c_werror_flag" ||
41200 test ! -s conftest.err
41201 } && test -s conftest.
$ac_objext; then
41202 ac_cv_func_which_gethostbyname_r
=three
41204 echo "$as_me: failed program was:" >&5
41205 sed 's/^/| /' conftest.
$ac_ext >&5
41210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41214 ################################################################
41219 case "$ac_cv_func_which_gethostbyname_r" in
41221 { echo "$as_me:$LINENO: result: three" >&5
41222 echo "${ECHO_T}three" >&6; }
41223 cat >>confdefs.h
<<\_ACEOF
41224 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41230 { echo "$as_me:$LINENO: result: five" >&5
41231 echo "${ECHO_T}five" >&6; }
41232 cat >>confdefs.h
<<\_ACEOF
41233 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41239 { echo "$as_me:$LINENO: result: six" >&5
41240 echo "${ECHO_T}six" >&6; }
41241 cat >>confdefs.h
<<\_ACEOF
41242 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41248 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41249 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41253 { echo "$as_me:$LINENO: result: can't tell" >&5
41254 echo "${ECHO_T}can't tell" >&6; }
41258 { { echo "$as_me:$LINENO: error: internal error" >&5
41259 echo "$as_me: error: internal error" >&2;}
41260 { (exit 1); exit 1; }; }
41265 ac_cpp
='$CPP $CPPFLAGS'
41266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41272 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41273 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41274 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41275 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41276 if test "${ac_cv_func_gethostbyname+set}" = set; then
41277 echo $ECHO_N "(cached) $ECHO_C" >&6
41279 cat >conftest.
$ac_ext <<_ACEOF
41282 cat confdefs.h
>>conftest.
$ac_ext
41283 cat >>conftest.
$ac_ext <<_ACEOF
41284 /* end confdefs.h. */
41285 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41287 #define gethostbyname innocuous_gethostbyname
41289 /* System header to define __stub macros and hopefully few prototypes,
41290 which can conflict with char gethostbyname (); below.
41291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41292 <limits.h> exists even on freestanding compilers. */
41295 # include <limits.h>
41297 # include <assert.h>
41300 #undef gethostbyname
41302 /* Override any GCC internal prototype to avoid an error.
41303 Use char because int might match the return type of a GCC
41304 builtin and then its argument prototype would still apply. */
41308 char gethostbyname ();
41309 /* The GNU C library defines this for functions which it implements
41310 to always fail with ENOSYS. Some functions are actually named
41311 something starting with __ and the normal name is an alias. */
41312 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41319 return gethostbyname ();
41324 rm -f conftest.
$ac_objext conftest
$ac_exeext
41325 if { (ac_try
="$ac_link"
41326 case "(($ac_try" in
41327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41328 *) ac_try_echo=$ac_try;;
41330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41331 (eval "$ac_link") 2>conftest.er1
41333 grep -v '^ *+' conftest.er1 >conftest.err
41335 cat conftest.err >&5
41336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41337 (exit $ac_status); } && {
41338 test -z "$ac_c_werror_flag" ||
41339 test ! -s conftest.err
41340 } && test -s conftest$ac_exeext &&
41341 $as_test_x conftest$ac_exeext; then
41342 ac_cv_func_gethostbyname=yes
41344 echo "$as_me: failed program was:" >&5
41345 sed 's/^/| /' conftest.$ac_ext >&5
41347 ac_cv_func_gethostbyname=no
41350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41351 conftest$ac_exeext conftest.$ac_ext
41353 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41354 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41355 if test $ac_cv_func_gethostbyname = yes; then
41356 cat >>confdefs.h <<\_ACEOF
41357 #define HAVE_GETHOSTBYNAME 1
41364 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41365 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41366 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41367 echo $ECHO_N "(cached) $ECHO_C" >&6
41371 ac_cpp='$CXXCPP $CPPFLAGS'
41372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41377 cat >conftest.$ac_ext <<_ACEOF
41380 cat confdefs.h >>conftest.$ac_ext
41381 cat >>conftest.$ac_ext <<_ACEOF
41382 /* end confdefs.h. */
41390 struct servent *se, *res;
41393 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41399 rm -f conftest.$ac_objext
41400 if { (ac_try="$ac_compile"
41401 case "(($ac_try" in
41402 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41403 *) ac_try_echo
=$ac_try;;
41405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41406 (eval "$ac_compile") 2>conftest.er1
41408 grep -v '^ *+' conftest.er1
>conftest.err
41410 cat conftest.err
>&5
41411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41412 (exit $ac_status); } && {
41413 test -z "$ac_cxx_werror_flag" ||
41414 test ! -s conftest.err
41415 } && test -s conftest.
$ac_objext; then
41416 ac_cv_func_which_getservbyname_r
=six
41418 echo "$as_me: failed program was:" >&5
41419 sed 's/^/| /' conftest.
$ac_ext >&5
41422 cat >conftest.
$ac_ext <<_ACEOF
41425 cat confdefs.h
>>conftest.
$ac_ext
41426 cat >>conftest.
$ac_ext <<_ACEOF
41427 /* end confdefs.h. */
41435 struct servent *se;
41438 (void) getservbyname_r(name, proto, se, buffer, buflen)
41444 rm -f conftest.
$ac_objext
41445 if { (ac_try
="$ac_compile"
41446 case "(($ac_try" in
41447 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41448 *) ac_try_echo=$ac_try;;
41450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41451 (eval "$ac_compile") 2>conftest.er1
41453 grep -v '^ *+' conftest.er1 >conftest.err
41455 cat conftest.err >&5
41456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41457 (exit $ac_status); } && {
41458 test -z "$ac_cxx_werror_flag" ||
41459 test ! -s conftest.err
41460 } && test -s conftest.$ac_objext; then
41461 ac_cv_func_which_getservbyname_r=five
41463 echo "$as_me: failed program was:" >&5
41464 sed 's/^/| /' conftest.$ac_ext >&5
41467 cat >conftest.$ac_ext <<_ACEOF
41470 cat confdefs.h >>conftest.$ac_ext
41471 cat >>conftest.$ac_ext <<_ACEOF
41472 /* end confdefs.h. */
41480 struct servent *se;
41481 struct servent_data data;
41482 (void) getservbyname_r(name, proto, se, &data);
41488 rm -f conftest.$ac_objext
41489 if { (ac_try="$ac_compile"
41490 case "(($ac_try" in
41491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41492 *) ac_try_echo
=$ac_try;;
41494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41495 (eval "$ac_compile") 2>conftest.er1
41497 grep -v '^ *+' conftest.er1
>conftest.err
41499 cat conftest.err
>&5
41500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41501 (exit $ac_status); } && {
41502 test -z "$ac_cxx_werror_flag" ||
41503 test ! -s conftest.err
41504 } && test -s conftest.
$ac_objext; then
41505 ac_cv_func_which_getservbyname_r
=four
41507 echo "$as_me: failed program was:" >&5
41508 sed 's/^/| /' conftest.
$ac_ext >&5
41510 ac_cv_func_which_getservbyname_r
=no
41514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41526 ac_cpp
='$CPP $CPPFLAGS'
41527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41534 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41535 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41537 if test $ac_cv_func_which_getservbyname_r = six
; then
41538 cat >>confdefs.h
<<\_ACEOF
41539 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41542 elif test $ac_cv_func_which_getservbyname_r = five
; then
41543 cat >>confdefs.h
<<\_ACEOF
41544 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41547 elif test $ac_cv_func_which_getservbyname_r = four
; then
41548 cat >>confdefs.h
<<\_ACEOF
41549 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41555 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41556 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41558 for ac_func
in getservbyname
41560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41561 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41563 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41564 echo $ECHO_N "(cached) $ECHO_C" >&6
41566 cat >conftest.
$ac_ext <<_ACEOF
41569 cat confdefs.h
>>conftest.
$ac_ext
41570 cat >>conftest.
$ac_ext <<_ACEOF
41571 /* end confdefs.h. */
41572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41574 #define $ac_func innocuous_$ac_func
41576 /* System header to define __stub macros and hopefully few prototypes,
41577 which can conflict with char $ac_func (); below.
41578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41579 <limits.h> exists even on freestanding compilers. */
41582 # include <limits.h>
41584 # include <assert.h>
41589 /* Override any GCC internal prototype to avoid an error.
41590 Use char because int might match the return type of a GCC
41591 builtin and then its argument prototype would still apply. */
41596 /* The GNU C library defines this for functions which it implements
41597 to always fail with ENOSYS. Some functions are actually named
41598 something starting with __ and the normal name is an alias. */
41599 #if defined __stub_$ac_func || defined __stub___$ac_func
41606 return $ac_func ();
41611 rm -f conftest.
$ac_objext conftest
$ac_exeext
41612 if { (ac_try
="$ac_link"
41613 case "(($ac_try" in
41614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41615 *) ac_try_echo=$ac_try;;
41617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41618 (eval "$ac_link") 2>conftest.er1
41620 grep -v '^ *+' conftest.er1 >conftest.err
41622 cat conftest.err >&5
41623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41624 (exit $ac_status); } && {
41625 test -z "$ac_c_werror_flag" ||
41626 test ! -s conftest.err
41627 } && test -s conftest$ac_exeext &&
41628 $as_test_x conftest$ac_exeext; then
41629 eval "$as_ac_var=yes"
41631 echo "$as_me: failed program was:" >&5
41632 sed 's/^/| /' conftest.$ac_ext >&5
41634 eval "$as_ac_var=no"
41637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41638 conftest$ac_exeext conftest.$ac_ext
41640 ac_res=`eval echo '${'$as_ac_var'}'`
41641 { echo "$as_me:$LINENO: result: $ac_res" >&5
41642 echo "${ECHO_T}$ac_res" >&6; }
41643 if test `eval echo '${'$as_ac_var'}'` = yes; then
41644 cat >>confdefs.h <<_ACEOF
41645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41647 cat >>confdefs.h <<\_ACEOF
41648 #define HAVE_GETSERVBYNAME 1
41656 if test "$wxUSE_THREADS" = "yes"; then
41657 cat >>confdefs.h <<\_ACEOF
41658 #define wxUSE_THREADS 1
41662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41664 if test "$wx_cv_func_strtok_r" = "yes"; then
41665 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41666 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41667 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41668 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41669 { echo "$as_me:$LINENO: result: yes" >&5
41670 echo "${ECHO_T}yes" >&6; }
41672 { echo "$as_me:$LINENO: result: no" >&5
41673 echo "${ECHO_T}no" >&6; }
41678 if test "$WXGTK2" = 1 ; then
41679 cat >>confdefs.h <<_ACEOF
41680 #define __WXGTK20__ $WXGTK2
41686 if test "$WXGTK12" = 1 ; then
41687 cat >>confdefs.h <<_ACEOF
41688 #define __WXGTK12__ $WXGTK12
41693 if test "$WXGTK127" = 1 ; then
41694 cat >>confdefs.h <<_ACEOF
41695 #define __WXGTK127__ $WXGTK127
41700 if test "$WXGPE" = 1 ; then
41701 cat >>confdefs.h <<_ACEOF
41702 #define __WXGPE__ $WXGPE
41708 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
41709 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41710 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41711 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41715 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41716 wxUSE_DEBUG_INFO=yes
41717 if test "$GCC" = yes; then
41718 DEBUG_CFLAGS="-ggdb"
41722 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41723 if test "$wxUSE_GTK" = 1 ; then
41724 if test "x$wxGTK_VERSION" = "x1" ; then
41725 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41730 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41731 cat >>confdefs.h <<\_ACEOF
41732 #define wxUSE_MEMORY_TRACING 1
41735 cat >>confdefs.h <<\_ACEOF
41736 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41739 cat >>confdefs.h <<\_ACEOF
41740 #define wxUSE_DEBUG_NEW_ALWAYS 1
41743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41746 if test "$wxUSE_DMALLOC" = "yes" ; then
41747 DMALLOC_LIBS="-ldmallocthcxx"
41751 if test "$wxUSE_PROFILE" = "yes" ; then
41752 PROFILE_FLAGS=" -pg"
41755 if test "$GCC" = "yes" ; then
41756 if test "$wxUSE_NO_RTTI" = "yes" ; then
41757 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41759 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41760 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41762 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41763 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41768 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41771 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41777 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
41778 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41779 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41781 if test "$wxUSE_OPTIMISE" = "no" ; then
41782 if test "$GCC" = yes ; then
41783 OPTIMISE_CFLAGS="-O0"
41786 if test "$GCC" = yes ; then
41788 *-pc-os2_emx | *-pc-os2-emx )
41789 OPTIMISE_CFLAGS="-O2"
41792 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41796 OPTIMISE_CFLAGS="-O"
41802 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41803 cat >>confdefs.h <<\_ACEOF
41804 #define WXWIN_COMPATIBILITY_2_6 1
41808 WXWIN_COMPATIBILITY_2_8="yes"
41811 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41812 cat >>confdefs.h <<\_ACEOF
41813 #define WXWIN_COMPATIBILITY_2_8 1
41819 if test "$wxUSE_GUI" = "yes"; then
41820 cat >>confdefs.h <<\_ACEOF
41821 #define wxUSE_GUI 1
41828 if test "$wxUSE_UNIX" = "yes"; then
41829 cat >>confdefs.h <<\_ACEOF
41830 #define wxUSE_UNIX 1
41836 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41840 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41841 if test "$USE_DOS" = 1; then
41845 for ac_func in dlopen
41847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41851 echo $ECHO_N "(cached) $ECHO_C" >&6
41853 cat >conftest.$ac_ext <<_ACEOF
41856 cat confdefs.h >>conftest.$ac_ext
41857 cat >>conftest.$ac_ext <<_ACEOF
41858 /* end confdefs.h. */
41859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41861 #define $ac_func innocuous_$ac_func
41863 /* System header to define __stub macros and hopefully few prototypes,
41864 which can conflict with char $ac_func (); below.
41865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41866 <limits.h> exists even on freestanding compilers. */
41869 # include <limits.h>
41871 # include <assert.h>
41876 /* Override any GCC internal prototype to avoid an error.
41877 Use char because int might match the return type of a GCC
41878 builtin and then its argument prototype would still apply. */
41883 /* The GNU C library defines this for functions which it implements
41884 to always fail with ENOSYS. Some functions are actually named
41885 something starting with __ and the normal name is an alias. */
41886 #if defined __stub_$ac_func || defined __stub___$ac_func
41893 return $ac_func ();
41898 rm -f conftest.$ac_objext conftest$ac_exeext
41899 if { (ac_try="$ac_link"
41900 case "(($ac_try" in
41901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41902 *) ac_try_echo
=$ac_try;;
41904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41905 (eval "$ac_link") 2>conftest.er1
41907 grep -v '^ *+' conftest.er1
>conftest.err
41909 cat conftest.err
>&5
41910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41911 (exit $ac_status); } && {
41912 test -z "$ac_c_werror_flag" ||
41913 test ! -s conftest.err
41914 } && test -s conftest
$ac_exeext &&
41915 $as_test_x conftest
$ac_exeext; then
41916 eval "$as_ac_var=yes"
41918 echo "$as_me: failed program was:" >&5
41919 sed 's/^/| /' conftest.
$ac_ext >&5
41921 eval "$as_ac_var=no"
41924 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41925 conftest
$ac_exeext conftest.
$ac_ext
41927 ac_res
=`eval echo '${'$as_ac_var'}'`
41928 { echo "$as_me:$LINENO: result: $ac_res" >&5
41929 echo "${ECHO_T}$ac_res" >&6; }
41930 if test `eval echo '${'$as_ac_var'}'` = yes; then
41931 cat >>confdefs.h
<<_ACEOF
41932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41935 cat >>confdefs.h
<<\_ACEOF
41936 #define HAVE_DLOPEN 1
41943 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41944 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41945 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41946 echo $ECHO_N "(cached) $ECHO_C" >&6
41948 ac_check_lib_save_LIBS
=$LIBS
41950 cat >conftest.
$ac_ext <<_ACEOF
41953 cat confdefs.h
>>conftest.
$ac_ext
41954 cat >>conftest.
$ac_ext <<_ACEOF
41955 /* end confdefs.h. */
41957 /* Override any GCC internal prototype to avoid an error.
41958 Use char because int might match the return type of a GCC
41959 builtin and then its argument prototype would still apply. */
41972 rm -f conftest.
$ac_objext conftest
$ac_exeext
41973 if { (ac_try
="$ac_link"
41974 case "(($ac_try" in
41975 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41976 *) ac_try_echo=$ac_try;;
41978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41979 (eval "$ac_link") 2>conftest.er1
41981 grep -v '^ *+' conftest.er1 >conftest.err
41983 cat conftest.err >&5
41984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41985 (exit $ac_status); } && {
41986 test -z "$ac_c_werror_flag" ||
41987 test ! -s conftest.err
41988 } && test -s conftest$ac_exeext &&
41989 $as_test_x conftest$ac_exeext; then
41990 ac_cv_lib_dl_dlopen=yes
41992 echo "$as_me: failed program was:" >&5
41993 sed 's/^/| /' conftest.$ac_ext >&5
41995 ac_cv_lib_dl_dlopen=no
41998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41999 conftest$ac_exeext conftest.$ac_ext
42000 LIBS=$ac_check_lib_save_LIBS
42002 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42003 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42004 if test $ac_cv_lib_dl_dlopen = yes; then
42006 cat >>confdefs.h <<\_ACEOF
42007 #define HAVE_DLOPEN 1
42011 DL_LINK=" -ldl$DL_LINK"
42016 for ac_func in shl_load
42018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42019 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42021 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42022 echo $ECHO_N "(cached) $ECHO_C" >&6
42024 cat >conftest.$ac_ext <<_ACEOF
42027 cat confdefs.h >>conftest.$ac_ext
42028 cat >>conftest.$ac_ext <<_ACEOF
42029 /* end confdefs.h. */
42030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42032 #define $ac_func innocuous_$ac_func
42034 /* System header to define __stub macros and hopefully few prototypes,
42035 which can conflict with char $ac_func (); below.
42036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42037 <limits.h> exists even on freestanding compilers. */
42040 # include <limits.h>
42042 # include <assert.h>
42047 /* Override any GCC internal prototype to avoid an error.
42048 Use char because int might match the return type of a GCC
42049 builtin and then its argument prototype would still apply. */
42054 /* The GNU C library defines this for functions which it implements
42055 to always fail with ENOSYS. Some functions are actually named
42056 something starting with __ and the normal name is an alias. */
42057 #if defined __stub_$ac_func || defined __stub___$ac_func
42064 return $ac_func ();
42069 rm -f conftest.$ac_objext conftest$ac_exeext
42070 if { (ac_try="$ac_link"
42071 case "(($ac_try" in
42072 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42073 *) ac_try_echo
=$ac_try;;
42075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42076 (eval "$ac_link") 2>conftest.er1
42078 grep -v '^ *+' conftest.er1
>conftest.err
42080 cat conftest.err
>&5
42081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42082 (exit $ac_status); } && {
42083 test -z "$ac_c_werror_flag" ||
42084 test ! -s conftest.err
42085 } && test -s conftest
$ac_exeext &&
42086 $as_test_x conftest
$ac_exeext; then
42087 eval "$as_ac_var=yes"
42089 echo "$as_me: failed program was:" >&5
42090 sed 's/^/| /' conftest.
$ac_ext >&5
42092 eval "$as_ac_var=no"
42095 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42096 conftest
$ac_exeext conftest.
$ac_ext
42098 ac_res
=`eval echo '${'$as_ac_var'}'`
42099 { echo "$as_me:$LINENO: result: $ac_res" >&5
42100 echo "${ECHO_T}$ac_res" >&6; }
42101 if test `eval echo '${'$as_ac_var'}'` = yes; then
42102 cat >>confdefs.h
<<_ACEOF
42103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42106 cat >>confdefs.h
<<\_ACEOF
42107 #define HAVE_SHL_LOAD 1
42114 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42115 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42116 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42117 echo $ECHO_N "(cached) $ECHO_C" >&6
42119 ac_check_lib_save_LIBS
=$LIBS
42120 LIBS
="-lshl_load $LIBS"
42121 cat >conftest.
$ac_ext <<_ACEOF
42124 cat confdefs.h
>>conftest.
$ac_ext
42125 cat >>conftest.
$ac_ext <<_ACEOF
42126 /* end confdefs.h. */
42128 /* Override any GCC internal prototype to avoid an error.
42129 Use char because int might match the return type of a GCC
42130 builtin and then its argument prototype would still apply. */
42143 rm -f conftest.
$ac_objext conftest
$ac_exeext
42144 if { (ac_try
="$ac_link"
42145 case "(($ac_try" in
42146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42147 *) ac_try_echo=$ac_try;;
42149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42150 (eval "$ac_link") 2>conftest.er1
42152 grep -v '^ *+' conftest.er1 >conftest.err
42154 cat conftest.err >&5
42155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42156 (exit $ac_status); } && {
42157 test -z "$ac_c_werror_flag" ||
42158 test ! -s conftest.err
42159 } && test -s conftest$ac_exeext &&
42160 $as_test_x conftest$ac_exeext; then
42161 ac_cv_lib_shl_load_dld=yes
42163 echo "$as_me: failed program was:" >&5
42164 sed 's/^/| /' conftest.$ac_ext >&5
42166 ac_cv_lib_shl_load_dld=no
42169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42170 conftest$ac_exeext conftest.$ac_ext
42171 LIBS=$ac_check_lib_save_LIBS
42173 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42174 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42175 if test $ac_cv_lib_shl_load_dld = yes; then
42178 DL_LINK=" -ldld$DL_LINK"
42194 if test "$HAVE_DL_FUNCS" = 1; then
42196 for ac_func in dlerror
42198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42199 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42201 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42202 echo $ECHO_N "(cached) $ECHO_C" >&6
42204 cat >conftest.$ac_ext <<_ACEOF
42207 cat confdefs.h >>conftest.$ac_ext
42208 cat >>conftest.$ac_ext <<_ACEOF
42209 /* end confdefs.h. */
42210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42212 #define $ac_func innocuous_$ac_func
42214 /* System header to define __stub macros and hopefully few prototypes,
42215 which can conflict with char $ac_func (); below.
42216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42217 <limits.h> exists even on freestanding compilers. */
42220 # include <limits.h>
42222 # include <assert.h>
42227 /* Override any GCC internal prototype to avoid an error.
42228 Use char because int might match the return type of a GCC
42229 builtin and then its argument prototype would still apply. */
42234 /* The GNU C library defines this for functions which it implements
42235 to always fail with ENOSYS. Some functions are actually named
42236 something starting with __ and the normal name is an alias. */
42237 #if defined __stub_$ac_func || defined __stub___$ac_func
42244 return $ac_func ();
42249 rm -f conftest.$ac_objext conftest$ac_exeext
42250 if { (ac_try="$ac_link"
42251 case "(($ac_try" in
42252 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42253 *) ac_try_echo
=$ac_try;;
42255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42256 (eval "$ac_link") 2>conftest.er1
42258 grep -v '^ *+' conftest.er1
>conftest.err
42260 cat conftest.err
>&5
42261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42262 (exit $ac_status); } && {
42263 test -z "$ac_c_werror_flag" ||
42264 test ! -s conftest.err
42265 } && test -s conftest
$ac_exeext &&
42266 $as_test_x conftest
$ac_exeext; then
42267 eval "$as_ac_var=yes"
42269 echo "$as_me: failed program was:" >&5
42270 sed 's/^/| /' conftest.
$ac_ext >&5
42272 eval "$as_ac_var=no"
42275 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42276 conftest
$ac_exeext conftest.
$ac_ext
42278 ac_res
=`eval echo '${'$as_ac_var'}'`
42279 { echo "$as_me:$LINENO: result: $ac_res" >&5
42280 echo "${ECHO_T}$ac_res" >&6; }
42281 if test `eval echo '${'$as_ac_var'}'` = yes; then
42282 cat >>confdefs.h
<<_ACEOF
42283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42285 cat >>confdefs.h
<<\_ACEOF
42286 #define HAVE_DLERROR 1
42291 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42292 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42293 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42294 echo $ECHO_N "(cached) $ECHO_C" >&6
42296 ac_check_lib_save_LIBS
=$LIBS
42298 cat >conftest.
$ac_ext <<_ACEOF
42301 cat confdefs.h
>>conftest.
$ac_ext
42302 cat >>conftest.
$ac_ext <<_ACEOF
42303 /* end confdefs.h. */
42305 /* Override any GCC internal prototype to avoid an error.
42306 Use char because int might match the return type of a GCC
42307 builtin and then its argument prototype would still apply. */
42320 rm -f conftest.
$ac_objext conftest
$ac_exeext
42321 if { (ac_try
="$ac_link"
42322 case "(($ac_try" in
42323 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42324 *) ac_try_echo=$ac_try;;
42326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42327 (eval "$ac_link") 2>conftest.er1
42329 grep -v '^ *+' conftest.er1 >conftest.err
42331 cat conftest.err >&5
42332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42333 (exit $ac_status); } && {
42334 test -z "$ac_c_werror_flag" ||
42335 test ! -s conftest.err
42336 } && test -s conftest$ac_exeext &&
42337 $as_test_x conftest$ac_exeext; then
42338 ac_cv_lib_dl_dlerror=yes
42340 echo "$as_me: failed program was:" >&5
42341 sed 's/^/| /' conftest.$ac_ext >&5
42343 ac_cv_lib_dl_dlerror=no
42346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42347 conftest$ac_exeext conftest.$ac_ext
42348 LIBS=$ac_check_lib_save_LIBS
42350 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42351 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42352 if test $ac_cv_lib_dl_dlerror = yes; then
42353 cat >>confdefs.h <<\_ACEOF
42354 #define HAVE_DLERROR 1
42367 if test "$USE_DARWIN" = 1; then
42371 if test "$HAVE_DL_FUNCS" = 0; then
42372 if test "$HAVE_SHL_FUNCS" = 0; then
42373 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42374 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42375 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42376 wxUSE_DYNAMIC_LOADER=no
42377 wxUSE_DYNLIB_CLASS=no
42379 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42380 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42387 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42388 cat >>confdefs.h <<\_ACEOF
42389 #define wxUSE_DYNAMIC_LOADER 1
42393 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42394 cat >>confdefs.h <<\_ACEOF
42395 #define wxUSE_DYNLIB_CLASS 1
42402 if test "$wxUSE_PLUGINS" = "yes" ; then
42403 if test "$wxUSE_SHARED" = "no" ; then
42404 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42405 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42408 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42409 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42410 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42413 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42414 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42415 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42418 if test "$wxUSE_PLUGINS" = "yes" ; then
42419 cat >>confdefs.h <<\_ACEOF
42420 #define wxUSE_PLUGINS 1
42427 if test "$wxUSE_STL" = "yes"; then
42428 cat >>confdefs.h <<\_ACEOF
42429 #define wxUSE_STL 1
42434 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42435 cat >>confdefs.h <<\_ACEOF
42436 #define wxUSE_EXTENDED_RTTI 1
42441 if test "$wxUSE_ANY" = "yes"; then
42442 cat >>confdefs.h <<\_ACEOF
42443 #define wxUSE_ANY 1
42448 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42449 cat >>confdefs.h <<\_ACEOF
42450 #define wxUSE_APPLE_IEEE 1
42455 if test "$wxUSE_TIMER" = "yes"; then
42456 cat >>confdefs.h <<\_ACEOF
42457 #define wxUSE_TIMER 1
42462 if test "$USE_UNIX" = 1 ; then
42463 if test "$wxUSE_MGL" != 1; then
42464 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42465 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42466 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42467 echo $ECHO_N "(cached) $ECHO_C" >&6
42470 cat >conftest.$ac_ext <<_ACEOF
42473 cat confdefs.h >>conftest.$ac_ext
42474 cat >>conftest.$ac_ext <<_ACEOF
42475 /* end confdefs.h. */
42477 #include <sys/ioctl.h>
42478 #include <sys/soundcard.h>
42484 ioctl(0, SNDCTL_DSP_SPEED, 0);
42490 rm -f conftest.$ac_objext conftest$ac_exeext
42491 if { (ac_try="$ac_link"
42492 case "(($ac_try" in
42493 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42494 *) ac_try_echo
=$ac_try;;
42496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42497 (eval "$ac_link") 2>conftest.er1
42499 grep -v '^ *+' conftest.er1
>conftest.err
42501 cat conftest.err
>&5
42502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42503 (exit $ac_status); } && {
42504 test -z "$ac_c_werror_flag" ||
42505 test ! -s conftest.err
42506 } && test -s conftest
$ac_exeext &&
42507 $as_test_x conftest
$ac_exeext; then
42508 ac_cv_header_sys_soundcard
=yes
42510 echo "$as_me: failed program was:" >&5
42511 sed 's/^/| /' conftest.
$ac_ext >&5
42515 LIBS
="$saveLibs -lossaudio"
42516 cat >conftest.
$ac_ext <<_ACEOF
42519 cat confdefs.h
>>conftest.
$ac_ext
42520 cat >>conftest.
$ac_ext <<_ACEOF
42521 /* end confdefs.h. */
42523 #include <sys/ioctl.h>
42524 #include <sys/soundcard.h>
42530 ioctl(0, SNDCTL_DSP_SPEED, 0);
42536 rm -f conftest.
$ac_objext conftest
$ac_exeext
42537 if { (ac_try
="$ac_link"
42538 case "(($ac_try" in
42539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42540 *) ac_try_echo=$ac_try;;
42542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42543 (eval "$ac_link") 2>conftest.er1
42545 grep -v '^ *+' conftest.er1 >conftest.err
42547 cat conftest.err >&5
42548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42549 (exit $ac_status); } && {
42550 test -z "$ac_c_werror_flag" ||
42551 test ! -s conftest.err
42552 } && test -s conftest$ac_exeext &&
42553 $as_test_x conftest$ac_exeext; then
42554 ac_cv_header_sys_soundcard=yes
42556 echo "$as_me: failed program was:" >&5
42557 sed 's/^/| /' conftest.$ac_ext >&5
42561 ac_cv_header_sys_soundcard=no
42566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42567 conftest$ac_exeext conftest.$ac_ext
42572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42573 conftest$ac_exeext conftest.$ac_ext
42576 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42577 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42580 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42581 cat >>confdefs.h <<\_ACEOF
42582 #define HAVE_SYS_SOUNDCARD_H 1
42589 if test "$wxUSE_SOUND" = "yes"; then
42590 if test "$USE_UNIX" = 1 ; then
42591 if test "$wxUSE_LIBSDL" != "no"; then
42593 # Check whether --with-sdl-prefix was given.
42594 if test "${with_sdl_prefix+set}" = set; then
42595 withval=$with_sdl_prefix; sdl_prefix="$withval"
42601 # Check whether --with-sdl-exec-prefix was given.
42602 if test "${with_sdl_exec_prefix+set}" = set; then
42603 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42608 # Check whether --enable-sdltest was given.
42609 if test "${enable_sdltest+set}" = set; then
42610 enableval=$enable_sdltest;
42616 if test x$sdl_exec_prefix != x ; then
42617 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42618 if test x${SDL_CONFIG+set} != xset ; then
42619 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42622 if test x$sdl_prefix != x ; then
42623 sdl_args="$sdl_args --prefix=$sdl_prefix"
42624 if test x${SDL_CONFIG+set} != xset ; then
42625 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42629 if test "x$prefix" != xNONE; then
42630 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42632 # Extract the first word of "sdl-config", so it can be a program name with args.
42633 set dummy sdl-config; ac_word=$2
42634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42636 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42637 echo $ECHO_N "(cached) $ECHO_C" >&6
42639 case $SDL_CONFIG in
42641 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42645 for as_dir in $PATH
42648 test -z "$as_dir" && as_dir=.
42649 for ac_exec_ext in '' $ac_executable_extensions; do
42650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42651 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42659 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42663 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42664 if test -n "$SDL_CONFIG"; then
42665 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42666 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42668 { echo "$as_me:$LINENO: result: no" >&5
42669 echo "${ECHO_T}no" >&6; }
42673 min_sdl_version=1.2.0
42674 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42675 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42677 if test "$SDL_CONFIG" = "no" ; then
42680 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42681 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42683 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42684 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42685 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42686 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42687 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42688 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42689 if test "x$enable_sdltest" = "xyes" ; then
42690 ac_save_CFLAGS="$CFLAGS"
42691 ac_save_CXXFLAGS="$CXXFLAGS"
42692 ac_save_LIBS="$LIBS"
42693 CFLAGS="$CFLAGS $SDL_CFLAGS"
42694 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42695 LIBS="$LIBS $SDL_LIBS"
42697 if test "$cross_compiling" = yes; then
42698 echo $ac_n "cross compiling; assumed OK... $ac_c"
42700 cat >conftest.$ac_ext <<_ACEOF
42703 cat confdefs.h >>conftest.$ac_ext
42704 cat >>conftest.$ac_ext <<_ACEOF
42705 /* end confdefs.h. */
42708 #include <stdlib.h>
42709 #include <string.h>
42713 my_strdup (char *str)
42719 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42720 strcpy (new_str, str);
42728 int main (int argc, char *argv[])
42730 int major, minor, micro;
42733 /* This hangs on some systems (?)
42734 system ("touch conf.sdltest");
42736 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42738 /* HP/UX 9 (%@#!) writes to sscanf strings */
42739 tmp_version = my_strdup("$min_sdl_version");
42740 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42741 printf("%s, bad version string\n", "$min_sdl_version");
42745 if (($sdl_major_version > major) ||
42746 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42747 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42753 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42754 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42755 printf("*** best to upgrade to the required version.\n");
42756 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42757 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42758 printf("*** config.cache before re-running configure\n");
42765 rm -f conftest$ac_exeext
42766 if { (ac_try="$ac_link"
42767 case "(($ac_try" in
42768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42769 *) ac_try_echo
=$ac_try;;
42771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42772 (eval "$ac_link") 2>&5
42774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42775 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42776 { (case "(($ac_try" in
42777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42778 *) ac_try_echo=$ac_try;;
42780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42781 (eval "$ac_try") 2>&5
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); }; }; then
42787 echo "$as_me: program exited with status $ac_status" >&5
42788 echo "$as_me: failed program was:" >&5
42789 sed 's/^/| /' conftest.$ac_ext >&5
42791 ( exit $ac_status )
42794 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42798 CFLAGS="$ac_save_CFLAGS"
42799 CXXFLAGS="$ac_save_CXXFLAGS"
42800 LIBS="$ac_save_LIBS"
42803 if test "x$no_sdl" = x ; then
42804 { echo "$as_me:$LINENO: result: yes" >&5
42805 echo "${ECHO_T}yes" >&6; }
42807 EXTRALIBS_SDL="$SDL_LIBS"
42808 CFLAGS="$SDL_CFLAGS $CFLAGS"
42809 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42810 cat >>confdefs.h <<\_ACEOF
42811 #define wxUSE_LIBSDL 1
42816 { echo "$as_me:$LINENO: result: no" >&5
42817 echo "${ECHO_T}no" >&6; }
42818 if test "$SDL_CONFIG" = "no" ; then
42819 echo "*** The sdl-config script installed by SDL could not be found"
42820 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42821 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42822 echo "*** full path to sdl-config."
42824 if test -f conf.sdltest ; then
42827 echo "*** Could not run SDL test program, checking why..."
42828 CFLAGS="$CFLAGS $SDL_CFLAGS"
42829 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42830 LIBS="$LIBS $SDL_LIBS"
42831 cat >conftest.$ac_ext <<_ACEOF
42834 cat confdefs.h >>conftest.$ac_ext
42835 cat >>conftest.$ac_ext <<_ACEOF
42836 /* end confdefs.h. */
42841 int main(int argc, char *argv[])
42844 #define main K_and_R_C_main
42854 rm -f conftest.$ac_objext conftest$ac_exeext
42855 if { (ac_try="$ac_link"
42856 case "(($ac_try" in
42857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42858 *) ac_try_echo
=$ac_try;;
42860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42861 (eval "$ac_link") 2>conftest.er1
42863 grep -v '^ *+' conftest.er1
>conftest.err
42865 cat conftest.err
>&5
42866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42867 (exit $ac_status); } && {
42868 test -z "$ac_c_werror_flag" ||
42869 test ! -s conftest.err
42870 } && test -s conftest
$ac_exeext &&
42871 $as_test_x conftest
$ac_exeext; then
42872 echo "*** The test program compiled, but did not run. This usually means"
42873 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42874 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42875 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42876 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42877 echo "*** is required on your system"
42879 echo "*** If you have an old version installed, it is best to remove it, although"
42880 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42882 echo "$as_me: failed program was:" >&5
42883 sed 's/^/| /' conftest.
$ac_ext >&5
42885 echo "*** The test program failed to compile or link. See the file config.log for the"
42886 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42887 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42888 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42891 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42892 conftest
$ac_exeext conftest.
$ac_ext
42893 CFLAGS
="$ac_save_CFLAGS"
42894 CXXFLAGS
="$ac_save_CXXFLAGS"
42895 LIBS
="$ac_save_LIBS"
42906 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42911 if test "$wxUSE_MGL" = 1; then
42912 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42913 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42919 if test "$wxUSE_SOUND" = "yes"; then
42920 cat >>confdefs.h
<<\_ACEOF
42921 #define wxUSE_SOUND 1
42924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42927 if test "$WXGTK2" = 1; then
42930 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42931 if test -n "$ac_tool_prefix"; then
42932 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42933 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42936 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42937 echo $ECHO_N "(cached) $ECHO_C" >&6
42939 case $PKG_CONFIG in
42941 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42945 for as_dir
in $PATH
42948 test -z "$as_dir" && as_dir
=.
42949 for ac_exec_ext
in '' $ac_executable_extensions; do
42950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42951 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42962 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42963 if test -n "$PKG_CONFIG"; then
42964 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42965 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42967 { echo "$as_me:$LINENO: result: no" >&5
42968 echo "${ECHO_T}no" >&6; }
42973 if test -z "$ac_cv_path_PKG_CONFIG"; then
42974 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42975 # Extract the first word of "pkg-config", so it can be a program name with args.
42976 set dummy pkg
-config; ac_word
=$2
42977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42979 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42980 echo $ECHO_N "(cached) $ECHO_C" >&6
42982 case $ac_pt_PKG_CONFIG in
42984 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42988 for as_dir
in $PATH
42991 test -z "$as_dir" && as_dir
=.
42992 for ac_exec_ext
in '' $ac_executable_extensions; do
42993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42994 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43005 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43006 if test -n "$ac_pt_PKG_CONFIG"; then
43007 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43008 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43010 { echo "$as_me:$LINENO: result: no" >&5
43011 echo "${ECHO_T}no" >&6; }
43014 if test "x$ac_pt_PKG_CONFIG" = x
; then
43017 case $cross_compiling:$ac_tool_warned in
43019 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43020 whose name does not start with the host triplet. If you think this
43021 configuration is useful to you, please write to autoconf@gnu.org." >&5
43022 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43023 whose name does not start with the host triplet. If you think this
43024 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43025 ac_tool_warned
=yes ;;
43027 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43030 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43034 if test -n "$PKG_CONFIG"; then
43035 _pkg_min_version
=0.9.0
43036 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43037 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43038 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43039 { echo "$as_me:$LINENO: result: yes" >&5
43040 echo "${ECHO_T}yes" >&6; }
43042 { echo "$as_me:$LINENO: result: no" >&5
43043 echo "${ECHO_T}no" >&6; }
43049 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43051 if test "$wxUSE_GTKPRINT" = "yes" ; then
43055 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43056 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43058 if test -n "$PKG_CONFIG"; then
43059 if test -n "$GTKPRINT_CFLAGS"; then
43060 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
43062 if test -n "$PKG_CONFIG" && \
43063 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43064 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43067 (exit $ac_status); }; then
43068 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43076 if test -n "$PKG_CONFIG"; then
43077 if test -n "$GTKPRINT_LIBS"; then
43078 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
43080 if test -n "$PKG_CONFIG" && \
43081 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43082 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43085 (exit $ac_status); }; then
43086 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43097 if test $pkg_failed = yes; then
43099 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43100 _pkg_short_errors_supported
=yes
43102 _pkg_short_errors_supported
=no
43104 if test $_pkg_short_errors_supported = yes; then
43105 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43107 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43109 # Put the nasty error message in config.log where it belongs
43110 echo "$GTKPRINT_PKG_ERRORS" >&5
43113 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43114 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43115 wxUSE_GTKPRINT
="no"
43118 elif test $pkg_failed = untried
; then
43120 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43121 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43122 wxUSE_GTKPRINT
="no"
43126 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
43127 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
43128 { echo "$as_me:$LINENO: result: yes" >&5
43129 echo "${ECHO_T}yes" >&6; }
43131 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
43132 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
43133 cat >>confdefs.h
<<\_ACEOF
43134 #define wxUSE_GTKPRINT 1
43141 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43145 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43146 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43148 if test -n "$PKG_CONFIG"; then
43149 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43150 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43152 if test -n "$PKG_CONFIG" && \
43153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43154 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43157 (exit $ac_status); }; then
43158 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43166 if test -n "$PKG_CONFIG"; then
43167 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43168 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43170 if test -n "$PKG_CONFIG" && \
43171 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43172 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43175 (exit $ac_status); }; then
43176 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43187 if test $pkg_failed = yes; then
43189 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43190 _pkg_short_errors_supported
=yes
43192 _pkg_short_errors_supported
=no
43194 if test $_pkg_short_errors_supported = yes; then
43195 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43197 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43199 # Put the nasty error message in config.log where it belongs
43200 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43203 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43204 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43205 wxUSE_LIBGNOMEPRINT
="no"
43208 elif test $pkg_failed = untried
; then
43210 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43211 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43212 wxUSE_LIBGNOMEPRINT
="no"
43216 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43217 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43218 { echo "$as_me:$LINENO: result: yes" >&5
43219 echo "${ECHO_T}yes" >&6; }
43221 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43222 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43223 cat >>confdefs.h
<<\_ACEOF
43224 #define wxUSE_LIBGNOMEPRINT 1
43232 if test "$wxUSE_MIMETYPE" = "yes" ; then
43233 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43237 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43238 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43240 if test -n "$PKG_CONFIG"; then
43241 if test -n "$GNOMEVFS_CFLAGS"; then
43242 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43244 if test -n "$PKG_CONFIG" && \
43245 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43246 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43249 (exit $ac_status); }; then
43250 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43258 if test -n "$PKG_CONFIG"; then
43259 if test -n "$GNOMEVFS_LIBS"; then
43260 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43262 if test -n "$PKG_CONFIG" && \
43263 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43264 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43267 (exit $ac_status); }; then
43268 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43279 if test $pkg_failed = yes; then
43281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43282 _pkg_short_errors_supported
=yes
43284 _pkg_short_errors_supported
=no
43286 if test $_pkg_short_errors_supported = yes; then
43287 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43289 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43291 # Put the nasty error message in config.log where it belongs
43292 echo "$GNOMEVFS_PKG_ERRORS" >&5
43295 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43296 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43297 wxUSE_LIBGNOMEVFS
="no"
43300 elif test $pkg_failed = untried
; then
43302 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43303 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43304 wxUSE_LIBGNOMEVFS
="no"
43308 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43309 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43310 { echo "$as_me:$LINENO: result: yes" >&5
43311 echo "${ECHO_T}yes" >&6; }
43313 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43314 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43315 cat >>confdefs.h
<<\_ACEOF
43316 #define wxUSE_LIBGNOMEVFS 1
43324 if test "$wxUSE_LIBHILDON" = "yes" ; then
43327 { echo "$as_me:$LINENO: checking for HILDON" >&5
43328 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43330 if test -n "$PKG_CONFIG"; then
43331 if test -n "$HILDON_CFLAGS"; then
43332 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43334 if test -n "$PKG_CONFIG" && \
43335 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43336 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43339 (exit $ac_status); }; then
43340 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43348 if test -n "$PKG_CONFIG"; then
43349 if test -n "$HILDON_LIBS"; then
43350 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43352 if test -n "$PKG_CONFIG" && \
43353 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43354 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43357 (exit $ac_status); }; then
43358 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43369 if test $pkg_failed = yes; then
43371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43372 _pkg_short_errors_supported
=yes
43374 _pkg_short_errors_supported
=no
43376 if test $_pkg_short_errors_supported = yes; then
43377 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43379 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43381 # Put the nasty error message in config.log where it belongs
43382 echo "$HILDON_PKG_ERRORS" >&5
43385 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43386 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43387 wxUSE_LIBHILDON
="no"
43391 elif test $pkg_failed = untried
; then
43393 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43394 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43395 wxUSE_LIBHILDON
="no"
43400 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43401 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43402 { echo "$as_me:$LINENO: result: yes" >&5
43403 echo "${ECHO_T}yes" >&6; }
43405 EXTRALIBS_HILDON
="$HILDON_LIBS"
43406 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43407 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43408 cat >>confdefs.h
<<\_ACEOF
43409 #define wxUSE_LIBHILDON 1
43416 if test "$ac_hildon_lgpl" = 0 ; then
43419 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43420 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43422 if test -n "$PKG_CONFIG"; then
43423 if test -n "$HILDON2_CFLAGS"; then
43424 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
43426 if test -n "$PKG_CONFIG" && \
43427 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43428 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43431 (exit $ac_status); }; then
43432 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43440 if test -n "$PKG_CONFIG"; then
43441 if test -n "$HILDON2_LIBS"; then
43442 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
43444 if test -n "$PKG_CONFIG" && \
43445 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43446 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43449 (exit $ac_status); }; then
43450 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43461 if test $pkg_failed = yes; then
43463 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43464 _pkg_short_errors_supported
=yes
43466 _pkg_short_errors_supported
=no
43468 if test $_pkg_short_errors_supported = yes; then
43469 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43471 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43473 # Put the nasty error message in config.log where it belongs
43474 echo "$HILDON2_PKG_ERRORS" >&5
43477 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43478 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43479 wxUSE_LIBHILDON2
="no"
43482 elif test $pkg_failed = untried
; then
43484 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43485 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43486 wxUSE_LIBHILDON2
="no"
43490 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
43491 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
43492 { echo "$as_me:$LINENO: result: yes" >&5
43493 echo "${ECHO_T}yes" >&6; }
43495 EXTRALIBS_HILDON
="$HILDON2_LIBS"
43496 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
43497 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
43498 cat >>confdefs.h
<<\_ACEOF
43499 #define wxUSE_LIBHILDON2 1
43508 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43509 cat >>confdefs.h
<<\_ACEOF
43510 #define wxUSE_CMDLINE_PARSER 1
43515 if test "$wxUSE_STOPWATCH" = "yes"; then
43516 cat >>confdefs.h
<<\_ACEOF
43517 #define wxUSE_STOPWATCH 1
43522 if test "$wxUSE_DATETIME" = "yes"; then
43523 cat >>confdefs.h
<<\_ACEOF
43524 #define wxUSE_DATETIME 1
43529 if test "$wxUSE_FILE" = "yes"; then
43530 cat >>confdefs.h
<<\_ACEOF
43531 #define wxUSE_FILE 1
43536 if test "$wxUSE_FFILE" = "yes"; then
43537 cat >>confdefs.h
<<\_ACEOF
43538 #define wxUSE_FFILE 1
43543 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43544 if test "$wxUSE_STREAMS" != yes; then
43545 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43546 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43547 wxUSE_ARCHIVE_STREAMS
=no
43549 cat >>confdefs.h
<<\_ACEOF
43550 #define wxUSE_ARCHIVE_STREAMS 1
43556 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43557 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43558 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43559 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43560 elif test "$wxUSE_ZLIB" = "no"; then
43561 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43562 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43564 cat >>confdefs.h
<<\_ACEOF
43565 #define wxUSE_ZIPSTREAM 1
43571 if test "$wxUSE_TARSTREAM" = "yes"; then
43572 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43573 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43574 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43576 cat >>confdefs.h
<<\_ACEOF
43577 #define wxUSE_TARSTREAM 1
43583 if test "$wxUSE_FILESYSTEM" = "yes"; then
43584 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43585 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43586 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43587 wxUSE_FILESYSTEM
=no
43589 cat >>confdefs.h
<<\_ACEOF
43590 #define wxUSE_FILESYSTEM 1
43596 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43597 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43598 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43599 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43601 cat >>confdefs.h
<<\_ACEOF
43602 #define wxUSE_FS_ARCHIVE 1
43608 if test "$wxUSE_FS_ZIP" = "yes"; then
43609 if test "$wxUSE_FS_ARCHIVE" != yes; then
43610 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43611 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43613 cat >>confdefs.h
<<\_ACEOF
43614 #define wxUSE_FS_ZIP 1
43620 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43621 if test "$USE_UNIX" != 1; then
43622 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43623 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43624 wxUSE_ON_FATAL_EXCEPTION
=no
43626 cat >>confdefs.h
<<\_ACEOF
43627 #define wxUSE_ON_FATAL_EXCEPTION 1
43633 if test "$wxUSE_STACKWALKER" = "yes"; then
43634 cat >>confdefs.h
<<\_ACEOF
43635 #define wxUSE_STACKWALKER 1
43640 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43641 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43642 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43643 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43644 wxUSE_DEBUGREPORT
=no
43646 cat >>confdefs.h
<<\_ACEOF
43647 #define wxUSE_DEBUGREPORT 1
43650 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43656 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43657 cat >>confdefs.h
<<\_ACEOF
43658 #define wxUSE_SNGLINST_CHECKER 1
43663 if test "$wxUSE_BUSYINFO" = "yes"; then
43664 cat >>confdefs.h
<<\_ACEOF
43665 #define wxUSE_BUSYINFO 1
43670 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43671 cat >>confdefs.h
<<\_ACEOF
43672 #define wxUSE_STD_IOSTREAM 1
43677 if test "$wxUSE_STD_STRING" = "yes"; then
43678 cat >>confdefs.h
<<\_ACEOF
43679 #define wxUSE_STD_STRING 1
43684 if test "$wxUSE_STDPATHS" = "yes"; then
43685 cat >>confdefs.h
<<\_ACEOF
43686 #define wxUSE_STDPATHS 1
43691 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43692 cat >>confdefs.h
<<\_ACEOF
43693 #define wxUSE_TEXTBUFFER 1
43698 if test "$wxUSE_TEXTFILE" = "yes"; then
43699 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43700 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43701 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43703 cat >>confdefs.h
<<\_ACEOF
43704 #define wxUSE_TEXTFILE 1
43710 if test "$wxUSE_CONFIG" = "yes" ; then
43711 if test "$wxUSE_TEXTFILE" != "yes"; then
43712 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43713 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43715 cat >>confdefs.h
<<\_ACEOF
43716 #define wxUSE_CONFIG 1
43719 cat >>confdefs.h
<<\_ACEOF
43720 #define wxUSE_CONFIG_NATIVE 1
43723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43727 if test "$wxUSE_INTL" = "yes" ; then
43728 if test "$wxUSE_FILE" != "yes"; then
43729 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43730 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43732 cat >>confdefs.h
<<\_ACEOF
43733 #define wxUSE_INTL 1
43736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43737 GUIDIST
="$GUIDIST INTL_DIST"
43741 if test "$wxUSE_XLOCALE" = "yes" ; then
43742 cat >>confdefs.h
<<\_ACEOF
43743 #define wxUSE_XLOCALE 1
43746 { echo "$as_me:$LINENO: checking for locale_t" >&5
43747 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43748 if test "${ac_cv_type_locale_t+set}" = set; then
43749 echo $ECHO_N "(cached) $ECHO_C" >&6
43751 cat >conftest.
$ac_ext <<_ACEOF
43754 cat confdefs.h
>>conftest.
$ac_ext
43755 cat >>conftest.
$ac_ext <<_ACEOF
43756 /* end confdefs.h. */
43757 #include <xlocale.h>
43758 #include <locale.h>
43760 typedef locale_t ac__type_new_;
43764 if ((ac__type_new_ *) 0)
43766 if (sizeof (ac__type_new_))
43772 rm -f conftest.
$ac_objext
43773 if { (ac_try
="$ac_compile"
43774 case "(($ac_try" in
43775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43776 *) ac_try_echo=$ac_try;;
43778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43779 (eval "$ac_compile") 2>conftest.er1
43781 grep -v '^ *+' conftest.er1 >conftest.err
43783 cat conftest.err >&5
43784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43785 (exit $ac_status); } && {
43786 test -z "$ac_c_werror_flag" ||
43787 test ! -s conftest.err
43788 } && test -s conftest.$ac_objext; then
43789 ac_cv_type_locale_t=yes
43791 echo "$as_me: failed program was:" >&5
43792 sed 's/^/| /' conftest.$ac_ext >&5
43794 ac_cv_type_locale_t=no
43797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43799 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43800 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43801 if test $ac_cv_type_locale_t = yes; then
43803 cat >>confdefs.h <<_ACEOF
43804 #define HAVE_LOCALE_T 1
43812 if test "$wxUSE_LOG" = "yes"; then
43813 cat >>confdefs.h <<\_ACEOF
43814 #define wxUSE_LOG 1
43818 if test "$wxUSE_LOGGUI" = "yes"; then
43819 cat >>confdefs.h <<\_ACEOF
43820 #define wxUSE_LOGGUI 1
43825 if test "$wxUSE_LOGWINDOW" = "yes"; then
43826 cat >>confdefs.h <<\_ACEOF
43827 #define wxUSE_LOGWINDOW 1
43832 if test "$wxUSE_LOGDIALOG" = "yes"; then
43833 cat >>confdefs.h <<\_ACEOF
43834 #define wxUSE_LOG_DIALOG 1
43839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43842 if test "$wxUSE_LONGLONG" = "yes"; then
43843 cat >>confdefs.h <<\_ACEOF
43844 #define wxUSE_LONGLONG 1
43849 if test "$wxUSE_GEOMETRY" = "yes"; then
43850 cat >>confdefs.h <<\_ACEOF
43851 #define wxUSE_GEOMETRY 1
43856 if test "$wxUSE_BASE64" = "yes"; then
43857 cat >>confdefs.h <<\_ACEOF
43858 #define wxUSE_BASE64 1
43863 if test "$wxUSE_STREAMS" = "yes" ; then
43864 cat >>confdefs.h <<\_ACEOF
43865 #define wxUSE_STREAMS 1
43870 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43871 cat >>confdefs.h <<\_ACEOF
43872 #define wxUSE_PRINTF_POS_PARAMS 1
43877 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43878 cat >>confdefs.h <<\_ACEOF
43879 #define wxUSE_OBJC_UNIQUIFYING 1
43885 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43886 cat >>confdefs.h <<\_ACEOF
43887 #define wxUSE_CONSOLE_EVENTLOOP 1
43891 if test "$wxUSE_UNIX" = "yes"; then
43892 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43893 cat >>confdefs.h <<\_ACEOF
43894 #define wxUSE_SELECT_DISPATCHER 1
43899 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43901 for ac_header in sys/epoll.h
43903 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43904 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43906 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43907 echo $ECHO_N "(cached) $ECHO_C" >&6
43909 cat >conftest.$ac_ext <<_ACEOF
43912 cat confdefs.h >>conftest.$ac_ext
43913 cat >>conftest.$ac_ext <<_ACEOF
43914 /* end confdefs.h. */
43915 $ac_includes_default
43917 #include <$ac_header>
43919 rm -f conftest.$ac_objext
43920 if { (ac_try="$ac_compile"
43921 case "(($ac_try" in
43922 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43923 *) ac_try_echo
=$ac_try;;
43925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43926 (eval "$ac_compile") 2>conftest.er1
43928 grep -v '^ *+' conftest.er1
>conftest.err
43930 cat conftest.err
>&5
43931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43932 (exit $ac_status); } && {
43933 test -z "$ac_c_werror_flag" ||
43934 test ! -s conftest.err
43935 } && test -s conftest.
$ac_objext; then
43936 eval "$as_ac_Header=yes"
43938 echo "$as_me: failed program was:" >&5
43939 sed 's/^/| /' conftest.
$ac_ext >&5
43941 eval "$as_ac_Header=no"
43944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43946 ac_res
=`eval echo '${'$as_ac_Header'}'`
43947 { echo "$as_me:$LINENO: result: $ac_res" >&5
43948 echo "${ECHO_T}$ac_res" >&6; }
43949 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43950 cat >>confdefs.h
<<_ACEOF
43951 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43958 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43959 cat >>confdefs.h
<<\_ACEOF
43960 #define wxUSE_EPOLL_DISPATCHER 1
43964 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43965 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43974 for ac_func
in gettimeofday ftime
43976 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43977 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43979 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43980 echo $ECHO_N "(cached) $ECHO_C" >&6
43982 cat >conftest.
$ac_ext <<_ACEOF
43985 cat confdefs.h
>>conftest.
$ac_ext
43986 cat >>conftest.
$ac_ext <<_ACEOF
43987 /* end confdefs.h. */
43988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43990 #define $ac_func innocuous_$ac_func
43992 /* System header to define __stub macros and hopefully few prototypes,
43993 which can conflict with char $ac_func (); below.
43994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43995 <limits.h> exists even on freestanding compilers. */
43998 # include <limits.h>
44000 # include <assert.h>
44005 /* Override any GCC internal prototype to avoid an error.
44006 Use char because int might match the return type of a GCC
44007 builtin and then its argument prototype would still apply. */
44012 /* The GNU C library defines this for functions which it implements
44013 to always fail with ENOSYS. Some functions are actually named
44014 something starting with __ and the normal name is an alias. */
44015 #if defined __stub_$ac_func || defined __stub___$ac_func
44022 return $ac_func ();
44027 rm -f conftest.
$ac_objext conftest
$ac_exeext
44028 if { (ac_try
="$ac_link"
44029 case "(($ac_try" in
44030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44031 *) ac_try_echo=$ac_try;;
44033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44034 (eval "$ac_link") 2>conftest.er1
44036 grep -v '^ *+' conftest.er1 >conftest.err
44038 cat conftest.err >&5
44039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040 (exit $ac_status); } && {
44041 test -z "$ac_c_werror_flag" ||
44042 test ! -s conftest.err
44043 } && test -s conftest$ac_exeext &&
44044 $as_test_x conftest$ac_exeext; then
44045 eval "$as_ac_var=yes"
44047 echo "$as_me: failed program was:" >&5
44048 sed 's/^/| /' conftest.$ac_ext >&5
44050 eval "$as_ac_var=no"
44053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44054 conftest$ac_exeext conftest.$ac_ext
44056 ac_res=`eval echo '${'$as_ac_var'}'`
44057 { echo "$as_me:$LINENO: result: $ac_res" >&5
44058 echo "${ECHO_T}$ac_res" >&6; }
44059 if test `eval echo '${'$as_ac_var'}'` = yes; then
44060 cat >>confdefs.h <<_ACEOF
44061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44068 if test "$ac_cv_func_gettimeofday" = "yes"; then
44069 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44070 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44071 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44072 echo $ECHO_N "(cached) $ECHO_C" >&6
44075 cat >conftest.$ac_ext <<_ACEOF
44078 cat confdefs.h >>conftest.$ac_ext
44079 cat >>conftest.$ac_ext <<_ACEOF
44080 /* end confdefs.h. */
44082 #include <sys/time.h>
44083 #include <unistd.h>
44090 gettimeofday(&tv, NULL);
44096 rm -f conftest.$ac_objext
44097 if { (ac_try="$ac_compile"
44098 case "(($ac_try" in
44099 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44100 *) ac_try_echo
=$ac_try;;
44102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44103 (eval "$ac_compile") 2>conftest.er1
44105 grep -v '^ *+' conftest.er1
>conftest.err
44107 cat conftest.err
>&5
44108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44109 (exit $ac_status); } && {
44110 test -z "$ac_c_werror_flag" ||
44111 test ! -s conftest.err
44112 } && test -s conftest.
$ac_objext; then
44113 wx_cv_func_gettimeofday_has_2_args
=yes
44115 echo "$as_me: failed program was:" >&5
44116 sed 's/^/| /' conftest.
$ac_ext >&5
44118 cat >conftest.
$ac_ext <<_ACEOF
44121 cat confdefs.h
>>conftest.
$ac_ext
44122 cat >>conftest.
$ac_ext <<_ACEOF
44123 /* end confdefs.h. */
44125 #include <sys/time.h>
44126 #include <unistd.h>
44139 rm -f conftest.
$ac_objext
44140 if { (ac_try
="$ac_compile"
44141 case "(($ac_try" in
44142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44143 *) ac_try_echo=$ac_try;;
44145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44146 (eval "$ac_compile") 2>conftest.er1
44148 grep -v '^ *+' conftest.er1 >conftest.err
44150 cat conftest.err >&5
44151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152 (exit $ac_status); } && {
44153 test -z "$ac_c_werror_flag" ||
44154 test ! -s conftest.err
44155 } && test -s conftest.$ac_objext; then
44156 wx_cv_func_gettimeofday_has_2_args=no
44158 echo "$as_me: failed program was:" >&5
44159 sed 's/^/| /' conftest.$ac_ext >&5
44162 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44163 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44164 wx_cv_func_gettimeofday_has_2_args=unknown
44169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44176 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44177 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44179 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44180 cat >>confdefs.h <<\_ACEOF
44181 #define WX_GETTIMEOFDAY_NO_TZ 1
44187 if test "$wxUSE_DATETIME" = "yes"; then
44188 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44189 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44190 if test "${wx_cv_var_timezone+set}" = set; then
44191 echo $ECHO_N "(cached) $ECHO_C" >&6
44195 ac_cpp='$CXXCPP $CPPFLAGS'
44196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44200 cat >conftest.$ac_ext <<_ACEOF
44203 cat confdefs.h >>conftest.$ac_ext
44204 cat >>conftest.$ac_ext <<_ACEOF
44205 /* end confdefs.h. */
44220 rm -f conftest.$ac_objext
44221 if { (ac_try="$ac_compile"
44222 case "(($ac_try" in
44223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44224 *) ac_try_echo
=$ac_try;;
44226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44227 (eval "$ac_compile") 2>conftest.er1
44229 grep -v '^ *+' conftest.er1
>conftest.err
44231 cat conftest.err
>&5
44232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44233 (exit $ac_status); } && {
44234 test -z "$ac_cxx_werror_flag" ||
44235 test ! -s conftest.err
44236 } && test -s conftest.
$ac_objext; then
44238 wx_cv_var_timezone
=timezone
44241 echo "$as_me: failed program was:" >&5
44242 sed 's/^/| /' conftest.
$ac_ext >&5
44245 cat >conftest.
$ac_ext <<_ACEOF
44248 cat confdefs.h
>>conftest.
$ac_ext
44249 cat >>conftest.
$ac_ext <<_ACEOF
44250 /* end confdefs.h. */
44265 rm -f conftest.
$ac_objext
44266 if { (ac_try
="$ac_compile"
44267 case "(($ac_try" in
44268 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44269 *) ac_try_echo=$ac_try;;
44271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44272 (eval "$ac_compile") 2>conftest.er1
44274 grep -v '^ *+' conftest.er1 >conftest.err
44276 cat conftest.err >&5
44277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44278 (exit $ac_status); } && {
44279 test -z "$ac_cxx_werror_flag" ||
44280 test ! -s conftest.err
44281 } && test -s conftest.$ac_objext; then
44283 wx_cv_var_timezone=_timezone
44286 echo "$as_me: failed program was:" >&5
44287 sed 's/^/| /' conftest.$ac_ext >&5
44290 cat >conftest.$ac_ext <<_ACEOF
44293 cat confdefs.h >>conftest.$ac_ext
44294 cat >>conftest.$ac_ext <<_ACEOF
44295 /* end confdefs.h. */
44310 rm -f conftest.$ac_objext
44311 if { (ac_try="$ac_compile"
44312 case "(($ac_try" in
44313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44314 *) ac_try_echo
=$ac_try;;
44316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44317 (eval "$ac_compile") 2>conftest.er1
44319 grep -v '^ *+' conftest.er1
>conftest.err
44321 cat conftest.err
>&5
44322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44323 (exit $ac_status); } && {
44324 test -z "$ac_cxx_werror_flag" ||
44325 test ! -s conftest.err
44326 } && test -s conftest.
$ac_objext; then
44328 wx_cv_var_timezone
=__timezone
44331 echo "$as_me: failed program was:" >&5
44332 sed 's/^/| /' conftest.
$ac_ext >&5
44335 if test "$USE_DOS" = 0 ; then
44336 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44337 echo "$as_me: WARNING: no timezone variable" >&2;}
44343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44355 ac_cpp
='$CPP $CPPFLAGS'
44356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44363 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44364 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44366 if test "x$wx_cv_var_timezone" != x
; then
44367 cat >>confdefs.h
<<_ACEOF
44368 #define WX_TIMEZONE $wx_cv_var_timezone
44374 for ac_func
in localtime
44376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44379 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44380 echo $ECHO_N "(cached) $ECHO_C" >&6
44382 cat >conftest.
$ac_ext <<_ACEOF
44385 cat confdefs.h
>>conftest.
$ac_ext
44386 cat >>conftest.
$ac_ext <<_ACEOF
44387 /* end confdefs.h. */
44388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44390 #define $ac_func innocuous_$ac_func
44392 /* System header to define __stub macros and hopefully few prototypes,
44393 which can conflict with char $ac_func (); below.
44394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44395 <limits.h> exists even on freestanding compilers. */
44398 # include <limits.h>
44400 # include <assert.h>
44405 /* Override any GCC internal prototype to avoid an error.
44406 Use char because int might match the return type of a GCC
44407 builtin and then its argument prototype would still apply. */
44412 /* The GNU C library defines this for functions which it implements
44413 to always fail with ENOSYS. Some functions are actually named
44414 something starting with __ and the normal name is an alias. */
44415 #if defined __stub_$ac_func || defined __stub___$ac_func
44422 return $ac_func ();
44427 rm -f conftest.
$ac_objext conftest
$ac_exeext
44428 if { (ac_try
="$ac_link"
44429 case "(($ac_try" in
44430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44431 *) ac_try_echo=$ac_try;;
44433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44434 (eval "$ac_link") 2>conftest.er1
44436 grep -v '^ *+' conftest.er1 >conftest.err
44438 cat conftest.err >&5
44439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44440 (exit $ac_status); } && {
44441 test -z "$ac_c_werror_flag" ||
44442 test ! -s conftest.err
44443 } && test -s conftest$ac_exeext &&
44444 $as_test_x conftest$ac_exeext; then
44445 eval "$as_ac_var=yes"
44447 echo "$as_me: failed program was:" >&5
44448 sed 's/^/| /' conftest.$ac_ext >&5
44450 eval "$as_ac_var=no"
44453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44454 conftest$ac_exeext conftest.$ac_ext
44456 ac_res=`eval echo '${'$as_ac_var'}'`
44457 { echo "$as_me:$LINENO: result: $ac_res" >&5
44458 echo "${ECHO_T}$ac_res" >&6; }
44459 if test `eval echo '${'$as_ac_var'}'` = yes; then
44460 cat >>confdefs.h <<_ACEOF
44461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44468 if test "$ac_cv_func_localtime" = "yes"; then
44469 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44470 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44471 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44472 echo $ECHO_N "(cached) $ECHO_C" >&6
44475 cat >conftest.$ac_ext <<_ACEOF
44478 cat confdefs.h >>conftest.$ac_ext
44479 cat >>conftest.$ac_ext <<_ACEOF
44480 /* end confdefs.h. */
44495 rm -f conftest.$ac_objext
44496 if { (ac_try="$ac_compile"
44497 case "(($ac_try" in
44498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44499 *) ac_try_echo
=$ac_try;;
44501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44502 (eval "$ac_compile") 2>conftest.er1
44504 grep -v '^ *+' conftest.er1
>conftest.err
44506 cat conftest.err
>&5
44507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44508 (exit $ac_status); } && {
44509 test -z "$ac_c_werror_flag" ||
44510 test ! -s conftest.err
44511 } && test -s conftest.
$ac_objext; then
44513 wx_cv_struct_tm_has_gmtoff
=yes
44516 echo "$as_me: failed program was:" >&5
44517 sed 's/^/| /' conftest.
$ac_ext >&5
44519 wx_cv_struct_tm_has_gmtoff
=no
44523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44526 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44527 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44530 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44531 cat >>confdefs.h
<<\_ACEOF
44532 #define WX_GMTOFF_IN_TM 1
44537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44541 if test "$wxUSE_SOCKETS" = "yes"; then
44542 if test "$wxUSE_MGL" = 1; then
44543 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44544 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44549 if test "$wxUSE_SOCKETS" = "yes"; then
44550 if test "$TOOLKIT" != "MSW"; then
44551 { echo "$as_me:$LINENO: checking for socket" >&5
44552 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44553 if test "${ac_cv_func_socket+set}" = set; then
44554 echo $ECHO_N "(cached) $ECHO_C" >&6
44556 cat >conftest.
$ac_ext <<_ACEOF
44559 cat confdefs.h
>>conftest.
$ac_ext
44560 cat >>conftest.
$ac_ext <<_ACEOF
44561 /* end confdefs.h. */
44562 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44564 #define socket innocuous_socket
44566 /* System header to define __stub macros and hopefully few prototypes,
44567 which can conflict with char socket (); below.
44568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44569 <limits.h> exists even on freestanding compilers. */
44572 # include <limits.h>
44574 # include <assert.h>
44579 /* Override any GCC internal prototype to avoid an error.
44580 Use char because int might match the return type of a GCC
44581 builtin and then its argument prototype would still apply. */
44586 /* The GNU C library defines this for functions which it implements
44587 to always fail with ENOSYS. Some functions are actually named
44588 something starting with __ and the normal name is an alias. */
44589 #if defined __stub_socket || defined __stub___socket
44601 rm -f conftest.
$ac_objext conftest
$ac_exeext
44602 if { (ac_try
="$ac_link"
44603 case "(($ac_try" in
44604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44605 *) ac_try_echo=$ac_try;;
44607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44608 (eval "$ac_link") 2>conftest.er1
44610 grep -v '^ *+' conftest.er1 >conftest.err
44612 cat conftest.err >&5
44613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614 (exit $ac_status); } && {
44615 test -z "$ac_c_werror_flag" ||
44616 test ! -s conftest.err
44617 } && test -s conftest$ac_exeext &&
44618 $as_test_x conftest$ac_exeext; then
44619 ac_cv_func_socket=yes
44621 echo "$as_me: failed program was:" >&5
44622 sed 's/^/| /' conftest.$ac_ext >&5
44624 ac_cv_func_socket=no
44627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44628 conftest$ac_exeext conftest.$ac_ext
44630 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44631 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44632 if test $ac_cv_func_socket = yes; then
44636 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44637 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44638 if test "${ac_cv_lib_socket_socket+set}" = set; then
44639 echo $ECHO_N "(cached) $ECHO_C" >&6
44641 ac_check_lib_save_LIBS=$LIBS
44642 LIBS="-lsocket $LIBS"
44643 cat >conftest.$ac_ext <<_ACEOF
44646 cat confdefs.h >>conftest.$ac_ext
44647 cat >>conftest.$ac_ext <<_ACEOF
44648 /* end confdefs.h. */
44650 /* Override any GCC internal prototype to avoid an error.
44651 Use char because int might match the return type of a GCC
44652 builtin and then its argument prototype would still apply. */
44665 rm -f conftest.$ac_objext conftest$ac_exeext
44666 if { (ac_try="$ac_link"
44667 case "(($ac_try" in
44668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44669 *) ac_try_echo
=$ac_try;;
44671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44672 (eval "$ac_link") 2>conftest.er1
44674 grep -v '^ *+' conftest.er1
>conftest.err
44676 cat conftest.err
>&5
44677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44678 (exit $ac_status); } && {
44679 test -z "$ac_c_werror_flag" ||
44680 test ! -s conftest.err
44681 } && test -s conftest
$ac_exeext &&
44682 $as_test_x conftest
$ac_exeext; then
44683 ac_cv_lib_socket_socket
=yes
44685 echo "$as_me: failed program was:" >&5
44686 sed 's/^/| /' conftest.
$ac_ext >&5
44688 ac_cv_lib_socket_socket
=no
44691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44692 conftest
$ac_exeext conftest.
$ac_ext
44693 LIBS
=$ac_check_lib_save_LIBS
44695 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44696 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44697 if test $ac_cv_lib_socket_socket = yes; then
44698 if test "$INET_LINK" != " -lsocket"; then
44699 INET_LINK
="$INET_LINK -lsocket"
44703 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44704 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44717 if test "$wxUSE_SOCKETS" = "yes" ; then
44718 if test "$TOOLKIT" != "MSW"; then
44719 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44720 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44721 if test "${wx_cv_type_getsockname3+set}" = set; then
44722 echo $ECHO_N "(cached) $ECHO_C" >&6
44726 ac_cpp
='$CXXCPP $CPPFLAGS'
44727 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44728 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44729 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44731 cat >conftest.
$ac_ext <<_ACEOF
44734 cat confdefs.h
>>conftest.
$ac_ext
44735 cat >>conftest.
$ac_ext <<_ACEOF
44736 /* end confdefs.h. */
44738 #include <sys/types.h>
44739 #include <sys/socket.h>
44746 getsockname(0, 0, &len);
44752 rm -f conftest.
$ac_objext
44753 if { (ac_try
="$ac_compile"
44754 case "(($ac_try" in
44755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44756 *) ac_try_echo=$ac_try;;
44758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44759 (eval "$ac_compile") 2>conftest.er1
44761 grep -v '^ *+' conftest.er1 >conftest.err
44763 cat conftest.err >&5
44764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44765 (exit $ac_status); } && {
44766 test -z "$ac_cxx_werror_flag" ||
44767 test ! -s conftest.err
44768 } && test -s conftest.$ac_objext; then
44769 wx_cv_type_getsockname3=socklen_t
44771 echo "$as_me: failed program was:" >&5
44772 sed 's/^/| /' conftest.$ac_ext >&5
44775 CFLAGS_OLD="$CFLAGS"
44776 if test "$GCC" = yes ; then
44777 CFLAGS="-Werror $CFLAGS"
44780 cat >conftest.$ac_ext <<_ACEOF
44783 cat confdefs.h >>conftest.$ac_ext
44784 cat >>conftest.$ac_ext <<_ACEOF
44785 /* end confdefs.h. */
44787 #include <sys/types.h>
44788 #include <sys/socket.h>
44795 getsockname(0, 0, &len);
44801 rm -f conftest.$ac_objext
44802 if { (ac_try="$ac_compile"
44803 case "(($ac_try" in
44804 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44805 *) ac_try_echo
=$ac_try;;
44807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44808 (eval "$ac_compile") 2>conftest.er1
44810 grep -v '^ *+' conftest.er1
>conftest.err
44812 cat conftest.err
>&5
44813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44814 (exit $ac_status); } && {
44815 test -z "$ac_cxx_werror_flag" ||
44816 test ! -s conftest.err
44817 } && test -s conftest.
$ac_objext; then
44818 wx_cv_type_getsockname3
=size_t
44820 echo "$as_me: failed program was:" >&5
44821 sed 's/^/| /' conftest.
$ac_ext >&5
44823 cat >conftest.
$ac_ext <<_ACEOF
44826 cat confdefs.h
>>conftest.
$ac_ext
44827 cat >>conftest.
$ac_ext <<_ACEOF
44828 /* end confdefs.h. */
44830 #include <sys/types.h>
44831 #include <sys/socket.h>
44838 getsockname(0, 0, &len);
44844 rm -f conftest.
$ac_objext
44845 if { (ac_try
="$ac_compile"
44846 case "(($ac_try" in
44847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44848 *) ac_try_echo=$ac_try;;
44850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44851 (eval "$ac_compile") 2>conftest.er1
44853 grep -v '^ *+' conftest.er1 >conftest.err
44855 cat conftest.err >&5
44856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44857 (exit $ac_status); } && {
44858 test -z "$ac_cxx_werror_flag" ||
44859 test ! -s conftest.err
44860 } && test -s conftest.$ac_objext; then
44861 wx_cv_type_getsockname3=int
44863 echo "$as_me: failed program was:" >&5
44864 sed 's/^/| /' conftest.$ac_ext >&5
44866 wx_cv_type_getsockname3=unknown
44870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44876 CFLAGS="$CFLAGS_OLD"
44881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44883 ac_cpp='$CPP $CPPFLAGS'
44884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44890 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44891 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44893 if test "$wx_cv_type_getsockname3" = "unknown"; then
44895 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44896 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44898 cat >>confdefs.h <<_ACEOF
44899 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44903 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44904 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44905 if test "${wx_cv_type_getsockopt5+set}" = set; then
44906 echo $ECHO_N "(cached) $ECHO_C" >&6
44910 ac_cpp='$CXXCPP $CPPFLAGS'
44911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44915 cat >conftest.$ac_ext <<_ACEOF
44918 cat confdefs.h >>conftest.$ac_ext
44919 cat >>conftest.$ac_ext <<_ACEOF
44920 /* end confdefs.h. */
44922 #include <sys/types.h>
44923 #include <sys/socket.h>
44930 getsockopt(0, 0, 0, 0, &len);
44936 rm -f conftest.$ac_objext
44937 if { (ac_try="$ac_compile"
44938 case "(($ac_try" in
44939 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44940 *) ac_try_echo
=$ac_try;;
44942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44943 (eval "$ac_compile") 2>conftest.er1
44945 grep -v '^ *+' conftest.er1
>conftest.err
44947 cat conftest.err
>&5
44948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44949 (exit $ac_status); } && {
44950 test -z "$ac_cxx_werror_flag" ||
44951 test ! -s conftest.err
44952 } && test -s conftest.
$ac_objext; then
44953 wx_cv_type_getsockopt5
=socklen_t
44955 echo "$as_me: failed program was:" >&5
44956 sed 's/^/| /' conftest.
$ac_ext >&5
44959 cat >conftest.
$ac_ext <<_ACEOF
44962 cat confdefs.h
>>conftest.
$ac_ext
44963 cat >>conftest.
$ac_ext <<_ACEOF
44964 /* end confdefs.h. */
44966 #include <sys/types.h>
44967 #include <sys/socket.h>
44974 getsockopt(0, 0, 0, 0, &len);
44980 rm -f conftest.
$ac_objext
44981 if { (ac_try
="$ac_compile"
44982 case "(($ac_try" in
44983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44984 *) ac_try_echo=$ac_try;;
44986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44987 (eval "$ac_compile") 2>conftest.er1
44989 grep -v '^ *+' conftest.er1 >conftest.err
44991 cat conftest.err >&5
44992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44993 (exit $ac_status); } && {
44994 test -z "$ac_cxx_werror_flag" ||
44995 test ! -s conftest.err
44996 } && test -s conftest.$ac_objext; then
44997 wx_cv_type_getsockopt5=size_t
44999 echo "$as_me: failed program was:" >&5
45000 sed 's/^/| /' conftest.$ac_ext >&5
45002 cat >conftest.$ac_ext <<_ACEOF
45005 cat confdefs.h >>conftest.$ac_ext
45006 cat >>conftest.$ac_ext <<_ACEOF
45007 /* end confdefs.h. */
45009 #include <sys/types.h>
45010 #include <sys/socket.h>
45017 getsockopt(0, 0, 0, 0, &len);
45023 rm -f conftest.$ac_objext
45024 if { (ac_try="$ac_compile"
45025 case "(($ac_try" in
45026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45027 *) ac_try_echo
=$ac_try;;
45029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45030 (eval "$ac_compile") 2>conftest.er1
45032 grep -v '^ *+' conftest.er1
>conftest.err
45034 cat conftest.err
>&5
45035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45036 (exit $ac_status); } && {
45037 test -z "$ac_cxx_werror_flag" ||
45038 test ! -s conftest.err
45039 } && test -s conftest.
$ac_objext; then
45040 wx_cv_type_getsockopt5
=int
45042 echo "$as_me: failed program was:" >&5
45043 sed 's/^/| /' conftest.
$ac_ext >&5
45045 wx_cv_type_getsockopt5
=unknown
45049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45060 ac_cpp
='$CPP $CPPFLAGS'
45061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45067 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45068 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45070 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45072 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45073 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45075 cat >>confdefs.h
<<_ACEOF
45076 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45083 if test "$wxUSE_SOCKETS" = "yes" ; then
45084 if test "$wxUSE_IPV6" = "yes"; then
45085 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45086 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45087 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45088 echo $ECHO_N "(cached) $ECHO_C" >&6
45091 cat >conftest.
$ac_ext <<_ACEOF
45094 cat confdefs.h
>>conftest.
$ac_ext
45095 cat >>conftest.
$ac_ext <<_ACEOF
45096 /* end confdefs.h. */
45098 #include <sys/types.h>
45099 #include <sys/socket.h>
45100 #include <netinet/in.h>
45106 struct sockaddr_in6 sa6;
45112 rm -f conftest.
$ac_objext
45113 if { (ac_try
="$ac_compile"
45114 case "(($ac_try" in
45115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45116 *) ac_try_echo=$ac_try;;
45118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45119 (eval "$ac_compile") 2>conftest.er1
45121 grep -v '^ *+' conftest.er1 >conftest.err
45123 cat conftest.err >&5
45124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45125 (exit $ac_status); } && {
45126 test -z "$ac_c_werror_flag" ||
45127 test ! -s conftest.err
45128 } && test -s conftest.$ac_objext; then
45129 wx_cv_type_sockaddr_in6=yes
45131 echo "$as_me: failed program was:" >&5
45132 sed 's/^/| /' conftest.$ac_ext >&5
45134 wx_cv_type_sockaddr_in6=no
45138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45142 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45143 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45145 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45146 cat >>confdefs.h <<\_ACEOF
45147 #define wxUSE_IPV6 1
45151 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45152 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45156 cat >>confdefs.h <<\_ACEOF
45157 #define wxUSE_SOCKETS 1
45160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45163 if test "$wxUSE_PROTOCOL" = "yes"; then
45164 if test "$wxUSE_SOCKETS" != "yes"; then
45165 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45166 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45171 if test "$wxUSE_PROTOCOL" = "yes"; then
45172 cat >>confdefs.h <<\_ACEOF
45173 #define wxUSE_PROTOCOL 1
45177 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45178 cat >>confdefs.h <<\_ACEOF
45179 #define wxUSE_PROTOCOL_HTTP 1
45183 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_PROTOCOL_FTP 1
45189 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45190 cat >>confdefs.h <<\_ACEOF
45191 #define wxUSE_PROTOCOL_FILE 1
45196 if test "$wxUSE_FS_INET" = "yes"; then
45197 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45198 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45203 if test "$wxUSE_URL" = "yes"; then
45204 if test "$wxUSE_PROTOCOL" != "yes"; then
45205 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45206 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45209 if test "$wxUSE_URL" = "yes"; then
45210 cat >>confdefs.h <<\_ACEOF
45211 #define wxUSE_URL 1
45217 if test "$wxUSE_VARIANT" = "yes"; then
45218 cat >>confdefs.h <<\_ACEOF
45219 #define wxUSE_VARIANT 1
45224 if test "$wxUSE_FS_INET" = "yes"; then
45225 cat >>confdefs.h <<\_ACEOF
45226 #define wxUSE_FS_INET 1
45232 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45235 if test "$TOOLKIT" = "MSW"; then
45238 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45239 if test "$USE_DARWIN" = 1; then
45240 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45241 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45243 ac_cpp='$CXXCPP $CPPFLAGS'
45244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45248 cat >conftest.$ac_ext <<_ACEOF
45251 cat confdefs.h >>conftest.$ac_ext
45252 cat >>conftest.$ac_ext <<_ACEOF
45253 /* end confdefs.h. */
45254 #include <IOKit/hid/IOHIDLib.h>
45258 IOHIDQueueInterface *qi = NULL;
45259 IOHIDCallbackFunction cb = NULL;
45260 qi->setEventCallout(NULL, cb, NULL, NULL);
45265 rm -f conftest.$ac_objext
45266 if { (ac_try="$ac_compile"
45267 case "(($ac_try" in
45268 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45269 *) ac_try_echo
=$ac_try;;
45271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45272 (eval "$ac_compile") 2>conftest.er1
45274 grep -v '^ *+' conftest.er1
>conftest.err
45276 cat conftest.err
>&5
45277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45278 (exit $ac_status); } && {
45279 test -z "$ac_cxx_werror_flag" ||
45280 test ! -s conftest.err
45281 } && test -s conftest.
$ac_objext; then
45285 echo "$as_me: failed program was:" >&5
45286 sed 's/^/| /' conftest.
$ac_ext >&5
45291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45293 ac_cpp
='$CPP $CPPFLAGS'
45294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45298 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45299 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45303 if test "$wxUSE_MGL" != 1; then
45305 for ac_header
in linux
/joystick.h
45307 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45308 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45310 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45311 echo $ECHO_N "(cached) $ECHO_C" >&6
45313 cat >conftest.
$ac_ext <<_ACEOF
45316 cat confdefs.h
>>conftest.
$ac_ext
45317 cat >>conftest.
$ac_ext <<_ACEOF
45318 /* end confdefs.h. */
45319 $ac_includes_default
45321 #include <$ac_header>
45323 rm -f conftest.
$ac_objext
45324 if { (ac_try
="$ac_compile"
45325 case "(($ac_try" in
45326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45327 *) ac_try_echo=$ac_try;;
45329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45330 (eval "$ac_compile") 2>conftest.er1
45332 grep -v '^ *+' conftest.er1 >conftest.err
45334 cat conftest.err >&5
45335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45336 (exit $ac_status); } && {
45337 test -z "$ac_c_werror_flag" ||
45338 test ! -s conftest.err
45339 } && test -s conftest.$ac_objext; then
45340 eval "$as_ac_Header=yes"
45342 echo "$as_me: failed program was:" >&5
45343 sed 's/^/| /' conftest.$ac_ext >&5
45345 eval "$as_ac_Header=no"
45348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45350 ac_res=`eval echo '${'$as_ac_Header'}'`
45351 { echo "$as_me:$LINENO: result: $ac_res" >&5
45352 echo "${ECHO_T}$ac_res" >&6; }
45353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45354 cat >>confdefs.h <<_ACEOF
45355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45365 if test "$wxUSE_JOYSTICK" = "yes"; then
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_JOYSTICK 1
45370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45372 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45373 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45379 if test "$wxUSE_FONTENUM" = "yes" ; then
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_FONTENUM 1
45386 if test "$wxUSE_FONTMAP" = "yes" ; then
45387 cat >>confdefs.h <<\_ACEOF
45388 #define wxUSE_FONTMAP 1
45393 if test "$wxUSE_UNICODE" = "yes" ; then
45394 cat >>confdefs.h <<\_ACEOF
45395 #define wxUSE_UNICODE 1
45399 if test "$USE_WIN32" != 1; then
45400 wxUSE_UNICODE_MSLU=no
45403 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45404 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45405 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45406 if test "${ac_cv_lib_unicows_main+set}" = set; then
45407 echo $ECHO_N "(cached) $ECHO_C" >&6
45409 ac_check_lib_save_LIBS=$LIBS
45410 LIBS="-lunicows $LIBS"
45411 cat >conftest.$ac_ext <<_ACEOF
45414 cat confdefs.h >>conftest.$ac_ext
45415 cat >>conftest.$ac_ext <<_ACEOF
45416 /* end confdefs.h. */
45427 rm -f conftest.$ac_objext conftest$ac_exeext
45428 if { (ac_try="$ac_link"
45429 case "(($ac_try" in
45430 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45431 *) ac_try_echo
=$ac_try;;
45433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45434 (eval "$ac_link") 2>conftest.er1
45436 grep -v '^ *+' conftest.er1
>conftest.err
45438 cat conftest.err
>&5
45439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45440 (exit $ac_status); } && {
45441 test -z "$ac_c_werror_flag" ||
45442 test ! -s conftest.err
45443 } && test -s conftest
$ac_exeext &&
45444 $as_test_x conftest
$ac_exeext; then
45445 ac_cv_lib_unicows_main
=yes
45447 echo "$as_me: failed program was:" >&5
45448 sed 's/^/| /' conftest.
$ac_ext >&5
45450 ac_cv_lib_unicows_main
=no
45453 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45454 conftest
$ac_exeext conftest.
$ac_ext
45455 LIBS
=$ac_check_lib_save_LIBS
45457 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45458 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45459 if test $ac_cv_lib_unicows_main = yes; then
45461 cat >>confdefs.h
<<\_ACEOF
45462 #define wxUSE_UNICODE_MSLU 1
45468 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45469 Applications will only run on Windows NT/2000/XP!" >&5
45470 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45471 Applications will only run on Windows NT/2000/XP!" >&2;}
45472 wxUSE_UNICODE_MSLU
=no
45479 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45480 cat >>confdefs.h
<<\_ACEOF
45481 #define wxUSE_UNICODE_UTF8 1
45485 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45486 cat >>confdefs.h
<<\_ACEOF
45487 #define wxUSE_UTF8_LOCALE_ONLY 1
45494 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45495 cat >>confdefs.h
<<\_ACEOF
45496 #define wxUSE_CONSTRAINTS 1
45499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45502 if test "$wxUSE_MDI" = "yes"; then
45503 cat >>confdefs.h
<<\_ACEOF
45504 #define wxUSE_MDI 1
45508 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45509 cat >>confdefs.h
<<\_ACEOF
45510 #define wxUSE_MDI_ARCHITECTURE 1
45513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45517 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45518 cat >>confdefs.h
<<\_ACEOF
45519 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45525 if test "$wxUSE_HELP" = "yes"; then
45526 cat >>confdefs.h
<<\_ACEOF
45527 #define wxUSE_HELP 1
45530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45532 if test "$wxUSE_MSW" = 1; then
45533 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45534 cat >>confdefs.h
<<\_ACEOF
45535 #define wxUSE_MS_HTML_HELP 1
45541 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45542 if test "$wxUSE_HTML" = "yes"; then
45543 cat >>confdefs.h
<<\_ACEOF
45544 #define wxUSE_WXHTML_HELP 1
45548 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45549 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45550 wxUSE_WXHTML_HELP
=no
45555 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45556 cat >>confdefs.h
<<\_ACEOF
45557 #define wxUSE_PRINTING_ARCHITECTURE 1
45560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45563 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45564 cat >>confdefs.h
<<\_ACEOF
45565 #define wxUSE_POSTSCRIPT 1
45570 cat >>confdefs.h
<<\_ACEOF
45571 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45575 if test "$wxUSE_SVG" = "yes"; then
45576 cat >>confdefs.h
<<\_ACEOF
45577 #define wxUSE_SVG 1
45583 if test "$wxUSE_METAFILE" = "yes"; then
45584 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45585 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45586 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45592 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45593 -o "$wxUSE_CLIPBOARD" = "yes" \
45594 -o "$wxUSE_OLE" = "yes" \
45595 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45596 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45597 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45598 if test "${ac_cv_header_ole2_h+set}" = set; then
45599 echo $ECHO_N "(cached) $ECHO_C" >&6
45601 cat >conftest.
$ac_ext <<_ACEOF
45604 cat confdefs.h
>>conftest.
$ac_ext
45605 cat >>conftest.
$ac_ext <<_ACEOF
45606 /* end confdefs.h. */
45611 rm -f conftest.
$ac_objext
45612 if { (ac_try
="$ac_compile"
45613 case "(($ac_try" in
45614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45615 *) ac_try_echo=$ac_try;;
45617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45618 (eval "$ac_compile") 2>conftest.er1
45620 grep -v '^ *+' conftest.er1 >conftest.err
45622 cat conftest.err >&5
45623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45624 (exit $ac_status); } && {
45625 test -z "$ac_c_werror_flag" ||
45626 test ! -s conftest.err
45627 } && test -s conftest.$ac_objext; then
45628 ac_cv_header_ole2_h=yes
45630 echo "$as_me: failed program was:" >&5
45631 sed 's/^/| /' conftest.$ac_ext >&5
45633 ac_cv_header_ole2_h=no
45636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45638 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45639 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45643 if test "$ac_cv_header_ole2_h" = "yes" ; then
45644 if test "$GCC" = yes ; then
45645 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45646 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45647 cat >conftest.$ac_ext <<_ACEOF
45650 cat confdefs.h >>conftest.$ac_ext
45651 cat >>conftest.$ac_ext <<_ACEOF
45652 /* end confdefs.h. */
45653 #include <windows.h>
45663 rm -f conftest.$ac_objext
45664 if { (ac_try="$ac_compile"
45665 case "(($ac_try" in
45666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45667 *) ac_try_echo
=$ac_try;;
45669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45670 (eval "$ac_compile") 2>conftest.er1
45672 grep -v '^ *+' conftest.er1
>conftest.err
45674 cat conftest.err
>&5
45675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45676 (exit $ac_status); } && {
45677 test -z "$ac_c_werror_flag" ||
45678 test ! -s conftest.err
45679 } && test -s conftest.
$ac_objext; then
45680 { echo "$as_me:$LINENO: result: no" >&5
45681 echo "${ECHO_T}no" >&6; }
45683 echo "$as_me: failed program was:" >&5
45684 sed 's/^/| /' conftest.
$ac_ext >&5
45686 { echo "$as_me:$LINENO: result: yes" >&5
45687 echo "${ECHO_T}yes" >&6; }
45688 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45692 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45693 if test "$wxUSE_OLE" = "yes" ; then
45694 cat >>confdefs.h
<<\_ACEOF
45695 #define wxUSE_OLE 1
45698 cat >>confdefs.h
<<\_ACEOF
45699 #define wxUSE_OLE_AUTOMATION 1
45702 cat >>confdefs.h
<<\_ACEOF
45703 #define wxUSE_ACTIVEX 1
45706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45710 if test "$wxUSE_DATAOBJ" = "yes" ; then
45711 cat >>confdefs.h
<<\_ACEOF
45712 #define wxUSE_DATAOBJ 1
45717 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45718 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45721 wxUSE_DRAG_AND_DROP
=no
45726 if test "$wxUSE_METAFILE" = "yes"; then
45727 cat >>confdefs.h
<<\_ACEOF
45728 #define wxUSE_METAFILE 1
45732 cat >>confdefs.h
<<\_ACEOF
45733 #define wxUSE_ENH_METAFILE 1
45739 if test "$wxUSE_IPC" = "yes"; then
45740 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45741 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45742 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45746 if test "$wxUSE_IPC" = "yes"; then
45747 cat >>confdefs.h
<<\_ACEOF
45748 #define wxUSE_IPC 1
45751 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45755 if test "$wxUSE_DATAOBJ" = "yes"; then
45756 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45757 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45758 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45761 cat >>confdefs.h
<<\_ACEOF
45762 #define wxUSE_DATAOBJ 1
45767 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45768 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45770 wxUSE_DRAG_AND_DROP
=no
45773 if test "$wxUSE_CLIPBOARD" = "yes"; then
45774 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45775 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45776 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45780 if test "$wxUSE_CLIPBOARD" = "yes"; then
45781 cat >>confdefs.h
<<\_ACEOF
45782 #define wxUSE_CLIPBOARD 1
45788 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45789 if test "$wxUSE_GTK" = 1; then
45790 if test "$WXGTK12" != 1; then
45791 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45792 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45793 wxUSE_DRAG_AND_DROP
=no
45797 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45798 "$wxUSE_DFB" = 1; then
45799 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45800 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45801 wxUSE_DRAG_AND_DROP
=no
45804 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45805 cat >>confdefs.h
<<\_ACEOF
45806 #define wxUSE_DRAG_AND_DROP 1
45813 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45817 if test "$wxUSE_CLIPBOARD" = "yes"; then
45818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
45821 if test "$wxUSE_SPLINES" = "yes" ; then
45822 cat >>confdefs.h
<<\_ACEOF
45823 #define wxUSE_SPLINES 1
45828 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45829 cat >>confdefs.h
<<\_ACEOF
45830 #define wxUSE_MOUSEWHEEL 1
45837 if test "$wxUSE_CONTROLS" = "yes"; then
45841 if test "$wxUSE_ACCEL" = "yes"; then
45842 cat >>confdefs.h
<<\_ACEOF
45843 #define wxUSE_ACCEL 1
45849 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45850 cat >>confdefs.h
<<\_ACEOF
45851 #define wxUSE_ANIMATIONCTRL 1
45855 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45858 if test "$wxUSE_BUTTON" = "yes"; then
45859 cat >>confdefs.h
<<\_ACEOF
45860 #define wxUSE_BUTTON 1
45866 if test "$wxUSE_BMPBUTTON" = "yes"; then
45867 cat >>confdefs.h
<<\_ACEOF
45868 #define wxUSE_BMPBUTTON 1
45874 if test "$wxUSE_CALCTRL" = "yes"; then
45875 cat >>confdefs.h
<<\_ACEOF
45876 #define wxUSE_CALENDARCTRL 1
45880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45883 if test "$wxUSE_CARET" = "yes"; then
45884 cat >>confdefs.h
<<\_ACEOF
45885 #define wxUSE_CARET 1
45889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45892 if test "$wxUSE_COLLPANE" = "yes"; then
45893 cat >>confdefs.h
<<\_ACEOF
45894 #define wxUSE_COLLPANE 1
45898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45901 if test "$wxUSE_COMBOBOX" = "yes"; then
45902 cat >>confdefs.h
<<\_ACEOF
45903 #define wxUSE_COMBOBOX 1
45909 if test "$wxUSE_COMBOCTRL" = "yes"; then
45910 cat >>confdefs.h
<<\_ACEOF
45911 #define wxUSE_COMBOCTRL 1
45917 if test "$wxUSE_CHOICE" = "yes"; then
45918 cat >>confdefs.h
<<\_ACEOF
45919 #define wxUSE_CHOICE 1
45925 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45926 cat >>confdefs.h
<<\_ACEOF
45927 #define wxUSE_CHOICEBOOK 1
45933 if test "$wxUSE_CHECKBOX" = "yes"; then
45934 cat >>confdefs.h
<<\_ACEOF
45935 #define wxUSE_CHECKBOX 1
45941 if test "$wxUSE_CHECKLST" = "yes"; then
45942 cat >>confdefs.h
<<\_ACEOF
45943 #define wxUSE_CHECKLISTBOX 1
45949 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45950 cat >>confdefs.h
<<\_ACEOF
45951 #define wxUSE_COLOURPICKERCTRL 1
45957 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45958 cat >>confdefs.h
<<\_ACEOF
45959 #define wxUSE_DATEPICKCTRL 1
45965 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45966 cat >>confdefs.h
<<\_ACEOF
45967 #define wxUSE_DIRPICKERCTRL 1
45973 if test "$wxUSE_FILECTRL" = "yes"; then
45974 cat >>confdefs.h
<<\_ACEOF
45975 #define wxUSE_FILECTRL 1
45981 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45982 cat >>confdefs.h
<<\_ACEOF
45983 #define wxUSE_FILEPICKERCTRL 1
45989 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45990 cat >>confdefs.h
<<\_ACEOF
45991 #define wxUSE_FONTPICKERCTRL 1
45997 if test "$wxUSE_DISPLAY" = "yes"; then
45998 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45999 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46000 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46003 cat >>confdefs.h
<<\_ACEOF
46004 #define wxUSE_DISPLAY 1
46007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
46011 if test "$wxUSE_DETECT_SM" = "yes"; then
46012 cat >>confdefs.h
<<\_ACEOF
46013 #define wxUSE_DETECT_SM 1
46018 if test "$wxUSE_GAUGE" = "yes"; then
46019 cat >>confdefs.h
<<\_ACEOF
46020 #define wxUSE_GAUGE 1
46026 if test "$wxUSE_GRID" = "yes"; then
46027 cat >>confdefs.h
<<\_ACEOF
46028 #define wxUSE_GRID 1
46032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46035 if test "$wxUSE_HEADERCTRL" = "yes"; then
46036 cat >>confdefs.h
<<\_ACEOF
46037 #define wxUSE_HEADERCTRL 1
46043 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46044 cat >>confdefs.h
<<\_ACEOF
46045 #define wxUSE_HYPERLINKCTRL 1
46051 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46052 cat >>confdefs.h
<<\_ACEOF
46053 #define wxUSE_BITMAPCOMBOBOX 1
46059 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46060 cat >>confdefs.h
<<\_ACEOF
46061 #define wxUSE_DATAVIEWCTRL 1
46065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46068 if test "$wxUSE_IMAGLIST" = "yes"; then
46069 cat >>confdefs.h
<<\_ACEOF
46070 #define wxUSE_IMAGLIST 1
46075 if test "$wxUSE_INFOBAR" = "yes"; then
46076 cat >>confdefs.h
<<\_ACEOF
46077 #define wxUSE_INFOBAR 1
46082 if test "$wxUSE_LISTBOOK" = "yes"; then
46083 cat >>confdefs.h
<<\_ACEOF
46084 #define wxUSE_LISTBOOK 1
46090 if test "$wxUSE_LISTBOX" = "yes"; then
46091 cat >>confdefs.h
<<\_ACEOF
46092 #define wxUSE_LISTBOX 1
46098 if test "$wxUSE_LISTCTRL" = "yes"; then
46099 if test "$wxUSE_IMAGLIST" = "yes"; then
46100 cat >>confdefs.h
<<\_ACEOF
46101 #define wxUSE_LISTCTRL 1
46105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46107 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46108 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46112 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46113 cat >>confdefs.h
<<\_ACEOF
46114 #define wxUSE_EDITABLELISTBOX 1
46120 if test "$wxUSE_NOTEBOOK" = "yes"; then
46121 cat >>confdefs.h
<<\_ACEOF
46122 #define wxUSE_NOTEBOOK 1
46126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46129 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46130 cat >>confdefs.h
<<\_ACEOF
46131 #define wxUSE_NOTIFICATION_MESSAGE 1
46136 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46137 cat >>confdefs.h
<<\_ACEOF
46138 #define wxUSE_ODCOMBOBOX 1
46142 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46145 if test "$wxUSE_RADIOBOX" = "yes"; then
46146 cat >>confdefs.h
<<\_ACEOF
46147 #define wxUSE_RADIOBOX 1
46153 if test "$wxUSE_RADIOBTN" = "yes"; then
46154 cat >>confdefs.h
<<\_ACEOF
46155 #define wxUSE_RADIOBTN 1
46161 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46162 cat >>confdefs.h
<<\_ACEOF
46163 #define wxUSE_REARRANGECTRL 1
46168 if test "$wxUSE_SASH" = "yes"; then
46169 cat >>confdefs.h
<<\_ACEOF
46170 #define wxUSE_SASH 1
46173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46176 if test "$wxUSE_SCROLLBAR" = "yes"; then
46177 cat >>confdefs.h
<<\_ACEOF
46178 #define wxUSE_SCROLLBAR 1
46182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
46185 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46186 cat >>confdefs.h
<<\_ACEOF
46187 #define wxUSE_SEARCHCTRL 1
46193 if test "$wxUSE_SLIDER" = "yes"; then
46194 cat >>confdefs.h
<<\_ACEOF
46195 #define wxUSE_SLIDER 1
46201 if test "$wxUSE_SPINBTN" = "yes"; then
46202 cat >>confdefs.h
<<\_ACEOF
46203 #define wxUSE_SPINBTN 1
46209 if test "$wxUSE_SPINCTRL" = "yes"; then
46210 cat >>confdefs.h
<<\_ACEOF
46211 #define wxUSE_SPINCTRL 1
46217 if test "$wxUSE_SPLITTER" = "yes"; then
46218 cat >>confdefs.h
<<\_ACEOF
46219 #define wxUSE_SPLITTER 1
46222 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46225 if test "$wxUSE_STATBMP" = "yes"; then
46226 cat >>confdefs.h
<<\_ACEOF
46227 #define wxUSE_STATBMP 1
46233 if test "$wxUSE_STATBOX" = "yes"; then
46234 cat >>confdefs.h
<<\_ACEOF
46235 #define wxUSE_STATBOX 1
46241 if test "$wxUSE_STATTEXT" = "yes"; then
46242 cat >>confdefs.h
<<\_ACEOF
46243 #define wxUSE_STATTEXT 1
46249 if test "$wxUSE_STATLINE" = "yes"; then
46250 cat >>confdefs.h
<<\_ACEOF
46251 #define wxUSE_STATLINE 1
46257 if test "$wxUSE_STATUSBAR" = "yes"; then
46258 cat >>confdefs.h
<<\_ACEOF
46259 #define wxUSE_NATIVE_STATUSBAR 1
46262 cat >>confdefs.h
<<\_ACEOF
46263 #define wxUSE_STATUSBAR 1
46268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46271 if test "$wxUSE_TEXTCTRL" = "yes"; then
46272 cat >>confdefs.h
<<\_ACEOF
46273 #define wxUSE_TEXTCTRL 1
46277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46279 cat >>confdefs.h
<<\_ACEOF
46280 #define wxUSE_RICHEDIT 1
46283 cat >>confdefs.h
<<\_ACEOF
46284 #define wxUSE_RICHEDIT2 1
46289 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46290 if test "$wxUSE_COCOA" = 1 ; then
46291 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46292 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46296 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46297 cat >>confdefs.h
<<\_ACEOF
46298 #define wxUSE_TOGGLEBTN 1
46305 if test "$wxUSE_TOOLBAR" = "yes"; then
46306 cat >>confdefs.h
<<\_ACEOF
46307 #define wxUSE_TOOLBAR 1
46312 if test "$wxUSE_UNIVERSAL" = "yes"; then
46313 wxUSE_TOOLBAR_NATIVE
="no"
46315 wxUSE_TOOLBAR_NATIVE
="yes"
46316 cat >>confdefs.h
<<\_ACEOF
46317 #define wxUSE_TOOLBAR_NATIVE 1
46322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46325 if test "$wxUSE_TOOLTIPS" = "yes"; then
46326 if test "$wxUSE_MOTIF" = 1; then
46327 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46328 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46330 if test "$wxUSE_UNIVERSAL" = "yes"; then
46331 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46332 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46334 cat >>confdefs.h
<<\_ACEOF
46335 #define wxUSE_TOOLTIPS 1
46342 if test "$wxUSE_TREEBOOK" = "yes"; then
46343 cat >>confdefs.h
<<\_ACEOF
46344 #define wxUSE_TREEBOOK 1
46350 if test "$wxUSE_TOOLBOOK" = "yes"; then
46351 cat >>confdefs.h
<<\_ACEOF
46352 #define wxUSE_TOOLBOOK 1
46358 if test "$wxUSE_TREECTRL" = "yes"; then
46359 if test "$wxUSE_IMAGLIST" = "yes"; then
46360 cat >>confdefs.h
<<\_ACEOF
46361 #define wxUSE_TREECTRL 1
46365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46367 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46368 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46372 if test "$wxUSE_POPUPWIN" = "yes"; then
46373 if test "$wxUSE_COCOA" = 1 ; then
46374 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46375 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46377 if test "$wxUSE_PM" = 1; then
46378 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46379 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46381 cat >>confdefs.h
<<\_ACEOF
46382 #define wxUSE_POPUPWIN 1
46385 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46392 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46393 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46394 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46395 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46397 cat >>confdefs.h
<<\_ACEOF
46398 #define wxUSE_DIALUP_MANAGER 1
46401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46405 if test "$wxUSE_TIPWINDOW" = "yes"; then
46406 if test "$wxUSE_PM" = 1; then
46407 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46408 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46410 cat >>confdefs.h
<<\_ACEOF
46411 #define wxUSE_TIPWINDOW 1
46417 if test "$USES_CONTROLS" = 1; then
46418 cat >>confdefs.h
<<\_ACEOF
46419 #define wxUSE_CONTROLS 1
46425 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46426 cat >>confdefs.h
<<\_ACEOF
46427 #define wxUSE_ACCESSIBILITY 1
46430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46433 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46434 cat >>confdefs.h
<<\_ACEOF
46435 #define wxUSE_DRAGIMAGE 1
46438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46441 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46442 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46443 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46444 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46446 cat >>confdefs.h
<<\_ACEOF
46447 #define wxUSE_EXCEPTIONS 1
46450 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46455 if test "$wxUSE_HTML" = "yes"; then
46456 cat >>confdefs.h
<<\_ACEOF
46457 #define wxUSE_HTML 1
46461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46463 if test "$wxUSE_WEBKIT" = "yes"; then
46464 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46465 old_CPPFLAGS
="$CPPFLAGS"
46466 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46467 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46468 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46469 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46470 echo $ECHO_N "(cached) $ECHO_C" >&6
46472 cat >conftest.
$ac_ext <<_ACEOF
46475 cat confdefs.h
>>conftest.
$ac_ext
46476 cat >>conftest.
$ac_ext <<_ACEOF
46477 /* end confdefs.h. */
46479 #include <Carbon/Carbon.h>
46480 #include <WebKit/WebKit.h>
46483 #include <WebKit/HIWebView.h>
46485 rm -f conftest.
$ac_objext
46486 if { (ac_try
="$ac_compile"
46487 case "(($ac_try" in
46488 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46489 *) ac_try_echo=$ac_try;;
46491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46492 (eval "$ac_compile") 2>conftest.er1
46494 grep -v '^ *+' conftest.er1 >conftest.err
46496 cat conftest.err >&5
46497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46498 (exit $ac_status); } && {
46499 test -z "$ac_c_werror_flag" ||
46500 test ! -s conftest.err
46501 } && test -s conftest.$ac_objext; then
46502 ac_cv_header_WebKit_HIWebView_h=yes
46504 echo "$as_me: failed program was:" >&5
46505 sed 's/^/| /' conftest.$ac_ext >&5
46507 ac_cv_header_WebKit_HIWebView_h=no
46510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46512 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46513 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46514 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46516 cat >>confdefs.h <<\_ACEOF
46517 #define wxUSE_WEBKIT 1
46520 WEBKIT_LINK="-framework WebKit"
46524 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46525 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46531 CPPFLAGS="$old_CPPFLAGS"
46532 elif test "$wxUSE_COCOA" = 1; then
46533 cat >>confdefs.h <<\_ACEOF
46534 #define wxUSE_WEBKIT 1
46540 if test "$wxUSE_WEBKIT" = "yes"; then
46541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46546 if test "$wxUSE_XRC" = "yes"; then
46547 if test "$wxUSE_XML" != "yes"; then
46548 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46549 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_XRC 1
46557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46562 if test "$wxUSE_AUI" = "yes"; then
46563 cat >>confdefs.h <<\_ACEOF
46564 #define wxUSE_AUI 1
46568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46572 if test "$wxUSE_PROPGRID" = "yes"; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_PROPGRID 1
46578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46582 if test "$wxUSE_RIBBON" = "yes"; then
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_RIBBON 1
46588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46592 if test "$wxUSE_STC" = "yes"; then
46593 cat >>confdefs.h <<\_ACEOF
46594 #define wxUSE_STC 1
46598 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46600 # Extract the first word of "python", so it can be a program name with args.
46601 set dummy python; ac_word=$2
46602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46604 if test "${ac_cv_path_PYTHON+set}" = set; then
46605 echo $ECHO_N "(cached) $ECHO_C" >&6
46609 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46613 for as_dir in $PATH
46616 test -z "$as_dir" && as_dir=.
46617 for ac_exec_ext in '' $ac_executable_extensions; do
46618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46619 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46630 PYTHON=$ac_cv_path_PYTHON
46631 if test -n "$PYTHON"; then
46632 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46633 echo "${ECHO_T}$PYTHON" >&6; }
46635 { echo "$as_me:$LINENO: result: no" >&5
46636 echo "${ECHO_T}no" >&6; }
46640 if test "x$PYTHON" = "x"; then
46646 if test "$wxUSE_MENUS" = "yes"; then
46647 cat >>confdefs.h <<\_ACEOF
46648 #define wxUSE_MENUS 1
46651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46654 if test "$wxUSE_METAFILE" = "yes"; then
46655 cat >>confdefs.h <<\_ACEOF
46656 #define wxUSE_METAFILE 1
46661 if test "$wxUSE_MIMETYPE" = "yes"; then
46662 cat >>confdefs.h <<\_ACEOF
46663 #define wxUSE_MIMETYPE 1
46668 if test "$wxUSE_MINIFRAME" = "yes"; then
46669 cat >>confdefs.h <<\_ACEOF
46670 #define wxUSE_MINIFRAME 1
46675 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46676 cat >>confdefs.h <<\_ACEOF
46677 #define wxUSE_SYSTEM_OPTIONS 1
46682 if test "$wxUSE_TASKBARICON" = "yes"; then
46683 cat >>confdefs.h <<\_ACEOF
46684 #define wxUSE_TASKBARICON 1
46687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46691 if test "$wxUSE_VALIDATORS" = "yes"; then
46692 cat >>confdefs.h <<\_ACEOF
46693 #define wxUSE_VALIDATORS 1
46696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46699 if test "$wxUSE_PALETTE" = "yes" ; then
46700 if test "$wxUSE_DFB" = 1; then
46701 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46702 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46705 cat >>confdefs.h <<\_ACEOF
46706 #define wxUSE_PALETTE 1
46712 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46713 LIBS=" -lunicows $LIBS"
46717 if test "$wxUSE_RICHTEXT" = "yes"; then
46718 cat >>confdefs.h <<\_ACEOF
46719 #define wxUSE_RICHTEXT 1
46723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46727 if test "$wxUSE_IMAGE" = "yes" ; then
46728 cat >>confdefs.h <<\_ACEOF
46729 #define wxUSE_IMAGE 1
46733 if test "$wxUSE_GIF" = "yes" ; then
46734 cat >>confdefs.h <<\_ACEOF
46735 #define wxUSE_GIF 1
46740 if test "$wxUSE_PCX" = "yes" ; then
46741 cat >>confdefs.h <<\_ACEOF
46742 #define wxUSE_PCX 1
46747 if test "$wxUSE_TGA" = "yes" ; then
46748 cat >>confdefs.h <<\_ACEOF
46749 #define wxUSE_TGA 1
46754 if test "$wxUSE_IFF" = "yes" ; then
46755 cat >>confdefs.h <<\_ACEOF
46756 #define wxUSE_IFF 1
46761 if test "$wxUSE_PNM" = "yes" ; then
46762 cat >>confdefs.h <<\_ACEOF
46763 #define wxUSE_PNM 1
46768 if test "$wxUSE_XPM" = "yes" ; then
46769 cat >>confdefs.h <<\_ACEOF
46770 #define wxUSE_XPM 1
46775 if test "$wxUSE_ICO_CUR" = "yes" ; then
46776 cat >>confdefs.h <<\_ACEOF
46777 #define wxUSE_ICO_CUR 1
46784 if test "$wxUSE_ABOUTDLG" = "yes"; then
46785 cat >>confdefs.h <<\_ACEOF
46786 #define wxUSE_ABOUTDLG 1
46791 if test "$wxUSE_CHOICEDLG" = "yes"; then
46792 cat >>confdefs.h <<\_ACEOF
46793 #define wxUSE_CHOICEDLG 1
46798 if test "$wxUSE_COLOURDLG" = "yes"; then
46799 cat >>confdefs.h <<\_ACEOF
46800 #define wxUSE_COLOURDLG 1
46805 if test "$wxUSE_FILEDLG" = "yes"; then
46806 cat >>confdefs.h <<\_ACEOF
46807 #define wxUSE_FILEDLG 1
46812 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46813 cat >>confdefs.h <<\_ACEOF
46814 #define wxUSE_FINDREPLDLG 1
46819 if test "$wxUSE_FONTDLG" = "yes"; then
46820 cat >>confdefs.h <<\_ACEOF
46821 #define wxUSE_FONTDLG 1
46826 if test "$wxUSE_DIRDLG" = "yes"; then
46827 if test "$wxUSE_TREECTRL" != "yes"; then
46828 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46829 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46831 cat >>confdefs.h <<\_ACEOF
46832 #define wxUSE_DIRDLG 1
46838 if test "$wxUSE_MSGDLG" = "yes"; then
46839 cat >>confdefs.h <<\_ACEOF
46840 #define wxUSE_MSGDLG 1
46845 if test "$wxUSE_NUMBERDLG" = "yes"; then
46846 cat >>confdefs.h <<\_ACEOF
46847 #define wxUSE_NUMBERDLG 1
46852 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46853 cat >>confdefs.h <<\_ACEOF
46854 #define wxUSE_PROGRESSDLG 1
46859 if test "$wxUSE_SPLASH" = "yes"; then
46860 cat >>confdefs.h <<\_ACEOF
46861 #define wxUSE_SPLASH 1
46864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46867 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46868 cat >>confdefs.h <<\_ACEOF
46869 #define wxUSE_STARTUP_TIPS 1
46874 if test "$wxUSE_TEXTDLG" = "yes"; then
46875 cat >>confdefs.h <<\_ACEOF
46876 #define wxUSE_TEXTDLG 1
46881 if test "$wxUSE_WIZARDDLG" = "yes"; then
46882 cat >>confdefs.h <<\_ACEOF
46883 #define wxUSE_WIZARDDLG 1
46886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46890 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46891 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46892 cat >>confdefs.h <<\_ACEOF
46893 #define wxUSE_OWNER_DRAWN 1
46900 if test "$wxUSE_MSW" = 1 ; then
46902 if test "$wxUSE_DC_CACHEING" = "yes"; then
46903 cat >>confdefs.h <<\_ACEOF
46904 #define wxUSE_DC_CACHEING 1
46909 if test "$wxUSE_DIB" = "yes"; then
46910 cat >>confdefs.h <<\_ACEOF
46911 #define wxUSE_WXDIB 1
46916 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46917 cat >>confdefs.h <<\_ACEOF
46918 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46923 if test "$wxUSE_UXTHEME" = "yes"; then
46924 cat >>confdefs.h <<\_ACEOF
46925 #define wxUSE_UXTHEME 1
46932 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46933 cat >>confdefs.h <<\_ACEOF
46934 #define wxUSE_AUTOID_MANAGEMENT 1
46939 if test "$USE_WIN32" = 1 ; then
46940 if test "$wxUSE_INICONF" = "yes"; then
46941 cat >>confdefs.h <<\_ACEOF
46942 #define wxUSE_INICONF 1
46947 if test "$wxUSE_REGKEY" = "yes"; then
46948 cat >>confdefs.h <<\_ACEOF
46949 #define wxUSE_REGKEY 1
46956 if test "$wxUSE_MAC" = 1; then
46957 wxUSE_GRAPHICS_CONTEXT="yes"
46960 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46961 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46962 cat >>confdefs.h <<\_ACEOF
46963 #define wxUSE_GRAPHICS_CONTEXT 1
46966 elif test "$wxUSE_GTK" != 1; then
46967 cat >>confdefs.h <<\_ACEOF
46968 #define wxUSE_GRAPHICS_CONTEXT 1
46974 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46975 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46977 if test -n "$PKG_CONFIG"; then
46978 if test -n "$CAIRO_CFLAGS"; then
46979 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46981 if test -n "$PKG_CONFIG" && \
46982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46983 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46986 (exit $ac_status); }; then
46987 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46995 if test -n "$PKG_CONFIG"; then
46996 if test -n "$CAIRO_LIBS"; then
46997 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46999 if test -n "$PKG_CONFIG" && \
47000 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47001 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47004 (exit $ac_status); }; then
47005 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
47016 if test $pkg_failed = yes; then
47018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47019 _pkg_short_errors_supported=yes
47021 _pkg_short_errors_supported=no
47023 if test $_pkg_short_errors_supported = yes; then
47024 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47026 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47028 # Put the nasty error message in config.log where it belongs
47029 echo "$CAIRO_PKG_ERRORS" >&5
47031 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47032 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47034 elif test $pkg_failed = untried; then
47035 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47036 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47039 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47040 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47041 { echo "$as_me:$LINENO: result: yes" >&5
47042 echo "${ECHO_T}yes" >&6; }
47043 cat >>confdefs.h <<\_ACEOF
47044 #define wxUSE_GRAPHICS_CONTEXT 1
47054 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47057 if test "$wxUSE_GTK" = 1; then
47058 wxUSE_GSTREAMER="no"
47060 GST_VERSION_MAJOR=0
47061 GST_VERSION_MINOR=10
47062 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47064 if test "$wxUSE_GSTREAMER8" = "no"; then
47067 { echo "$as_me:$LINENO: checking for GST" >&5
47068 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47070 if test -n "$PKG_CONFIG"; then
47071 if test -n "$GST_CFLAGS"; then
47072 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47074 if test -n "$PKG_CONFIG" && \
47075 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47076 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47079 (exit $ac_status); }; then
47080 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
47088 if test -n "$PKG_CONFIG"; then
47089 if test -n "$GST_LIBS"; then
47090 pkg_cv_GST_LIBS="$GST_LIBS"
47092 if test -n "$PKG_CONFIG" && \
47093 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47094 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47097 (exit $ac_status); }; then
47098 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
47109 if test $pkg_failed = yes; then
47111 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47112 _pkg_short_errors_supported=yes
47114 _pkg_short_errors_supported=no
47116 if test $_pkg_short_errors_supported = yes; then
47117 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47119 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47121 # Put the nasty error message in config.log where it belongs
47122 echo "$GST_PKG_ERRORS" >&5
47125 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47126 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47127 GST_VERSION_MINOR=8
47130 elif test $pkg_failed = untried; then
47132 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47133 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47134 GST_VERSION_MINOR=8
47138 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47139 GST_LIBS=$pkg_cv_GST_LIBS
47140 { echo "$as_me:$LINENO: result: yes" >&5
47141 echo "${ECHO_T}yes" >&6; }
47143 wxUSE_GSTREAMER="yes"
47144 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47148 GST_VERSION_MINOR=8
47151 if test $GST_VERSION_MINOR = "8"; then
47152 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47155 { echo "$as_me:$LINENO: checking for GST" >&5
47156 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47158 if test -n "$PKG_CONFIG"; then
47159 if test -n "$GST_CFLAGS"; then
47160 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47162 if test -n "$PKG_CONFIG" && \
47163 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47164 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47167 (exit $ac_status); }; then
47168 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
47176 if test -n "$PKG_CONFIG"; then
47177 if test -n "$GST_LIBS"; then
47178 pkg_cv_GST_LIBS="$GST_LIBS"
47180 if test -n "$PKG_CONFIG" && \
47181 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47182 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47185 (exit $ac_status); }; then
47186 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
47197 if test $pkg_failed = yes; then
47199 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47200 _pkg_short_errors_supported=yes
47202 _pkg_short_errors_supported=no
47204 if test $_pkg_short_errors_supported = yes; then
47205 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47207 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47209 # Put the nasty error message in config.log where it belongs
47210 echo "$GST_PKG_ERRORS" >&5
47213 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47214 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47216 elif test $pkg_failed = untried; then
47218 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47219 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47222 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47223 GST_LIBS=$pkg_cv_GST_LIBS
47224 { echo "$as_me:$LINENO: result: yes" >&5
47225 echo "${ECHO_T}yes" >&6; }
47226 wxUSE_GSTREAMER="yes"
47231 if test "$wxUSE_GSTREAMER" = "yes"; then
47232 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47233 EXTRALIBS_MEDIA="$GST_LIBS"
47235 cat >>confdefs.h <<\_ACEOF
47236 #define wxUSE_GSTREAMER 1
47244 if test $USE_MEDIA = 1; then
47245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47246 cat >>confdefs.h <<\_ACEOF
47247 #define wxUSE_MEDIACTRL 1
47251 if test "$wxUSE_MEDIACTRL" = "yes"; then
47252 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47253 echo "$as_me: error: GStreamer not available" >&2;}
47254 { (exit 1); exit 1; }; }
47256 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47257 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47263 if test "$cross_compiling" != "no"; then
47266 OSINFO=`uname
-s -r -m`
47267 OSINFO="\"$OSINFO\""
47270 cat >>confdefs.h <<_ACEOF
47271 #define WXWIN_OS_DESCRIPTION $OSINFO
47276 if test "x$prefix" != "xNONE"; then
47279 wxPREFIX=$ac_default_prefix
47282 cat >>confdefs.h <<_ACEOF
47283 #define wxINSTALL_PREFIX "$wxPREFIX"
47289 STD_BASE_LIBS="base"
47291 BUILT_WX_LIBS="base"
47292 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47294 if test "$wxUSE_SOCKETS" = "yes" ; then
47295 STD_BASE_LIBS="net $STD_BASE_LIBS"
47296 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47298 if test "$wxUSE_XML" = "yes" ; then
47299 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47300 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47303 if test "$wxUSE_GUI" = "yes"; then
47304 STD_GUI_LIBS="adv core"
47305 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47307 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47308 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47309 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47311 if test "$wxUSE_HTML" = "yes" ; then
47312 STD_GUI_LIBS="html $STD_GUI_LIBS"
47313 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47315 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47316 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47318 if test "$wxUSE_OPENGL" = "yes" ; then
47319 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47321 if test "$wxUSE_AUI" = "yes" ; then
47322 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47324 if test "$wxUSE_PROPGRID" = "yes" ; then
47325 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47327 if test "$wxUSE_RIBBON" = "yes" ; then
47328 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47330 if test "$wxUSE_RICHTEXT" = "yes" ; then
47331 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47333 if test "$wxUSE_STC" = "yes" ; then
47334 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47336 if test "$wxUSE_XRC" = "yes" ; then
47337 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47338 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47349 if test "$wxUSE_MAC" = 1 ; then
47350 if test "$USE_DARWIN" = 1; then
47351 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47354 if test "$wxUSE_COCOA" = 1 ; then
47355 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47356 if test "$wxUSE_MEDIACTRL" = "yes"; then
47357 LDFLAGS="$LDFLAGS -framework QuickTime"
47360 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47361 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47364 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47366 if test "$wxUSE_GUI" = "yes"; then
47369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47370 erase event exec font image minimal render \
47371 shaped svg taborder vscroll widgets wrapsizer"
47373 if test "$wxUSE_MONOLITHIC" != "yes"; then
47374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47376 if test "$TOOLKIT" = "MSW"; then
47377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47378 if test "$wxUSE_UNIVERSAL" != "yes"; then
47379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47382 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47386 SAMPLES_SUBDIRS="console"
47387 if test "$wxUSE_SOCKETS" = "yes" ; then
47388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47390 if test "$wxUSE_IPC" = "yes" ; then
47391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47396 if test "x$INTELCC" = "xyes" ; then
47397 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47398 elif test "$GCC" = yes ; then
47399 CWARNINGS="-Wall -Wundef"
47402 if test "x$INTELCXX" = "xyes" ; then
47403 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47404 elif test "$GXX" = yes ; then
47405 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47406 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47407 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47408 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47409 echo $ECHO_N "(cached) $ECHO_C" >&6
47411 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47414 ac_cpp='$CXXCPP $CPPFLAGS'
47415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47419 ac_save_CXXFLAGS="$CXXFLAGS"
47420 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47421 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47422 cat >conftest.$ac_ext <<_ACEOF
47425 cat confdefs.h >>conftest.$ac_ext
47426 cat >>conftest.$ac_ext <<_ACEOF
47427 /* end confdefs.h. */
47437 rm -f conftest.$ac_objext
47438 if { (ac_try="$ac_compile"
47439 case "(($ac_try" in
47440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47441 *) ac_try_echo
=$ac_try;;
47443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47444 (eval "$ac_compile") 2>conftest.er1
47446 grep -v '^ *+' conftest.er1
>conftest.err
47448 cat conftest.err
>&5
47449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47450 (exit $ac_status); } && {
47451 test -z "$ac_cxx_werror_flag" ||
47452 test ! -s conftest.err
47453 } && test -s conftest.
$ac_objext; then
47454 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47456 echo "$as_me: failed program was:" >&5
47457 sed 's/^/| /' conftest.
$ac_ext >&5
47462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47464 CXXFLAGS
="$ac_save_CXXFLAGS"
47466 ac_cpp
='$CPP $CPPFLAGS'
47467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47473 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47474 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47475 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47479 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47480 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47481 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47484 (exit $ac_status); }
47485 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47486 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47489 (exit $ac_status); }
47490 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47496 if test "$wxUSE_MAC" = 1 ; then
47497 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
47502 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47503 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47506 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47507 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47508 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47511 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47512 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47513 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47514 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47515 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47517 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47520 if test "x$MWCC" = "xyes"; then
47522 CC
="$CC -cwd source -I-"
47523 CXX
="$CXX -cwd source -I-"
47528 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47529 EXTRALIBS_XML
="$EXPAT_LINK"
47530 EXTRALIBS_HTML
="$MSPACK_LINK"
47531 EXTRALIBS_MEDIA
="$GST_LIBS"
47532 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47533 if test "$wxUSE_GUI" = "yes"; then
47534 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47536 if test "$wxUSE_OPENGL" = "yes"; then
47537 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47540 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47542 WXCONFIG_LIBS
="$LIBS"
47544 if test "$wxUSE_REGEX" = "builtin" ; then
47545 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47547 if test "$wxUSE_EXPAT" = "builtin" ; then
47548 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47550 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47551 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47553 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47554 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47556 if test "$wxUSE_LIBPNG" = "builtin" ; then
47557 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47559 if test "$wxUSE_ZLIB" = "builtin" ; then
47560 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47563 for i
in $wxconfig_3rdparty ; do
47564 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47568 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47571 case "$wxUNIV_THEMES" in
47573 cat >>confdefs.h
<<\_ACEOF
47574 #define wxUSE_ALL_THEMES 1
47580 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47581 cat >>confdefs.h
<<_ACEOF
47582 #define wxUSE_THEME_$t 1
47598 if test $wxUSE_MONOLITHIC = "yes" ; then
47604 if test $wxUSE_PLUGINS = "yes" ; then
47610 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47616 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47648 TOOLKIT_LOWERCASE
=xxx
47649 if test "$TOOLKIT" = "MAC"; then
47650 TOOLKIT_LOWERCASE
=osx_carbon
47652 if test "$TOOLKIT" = "OSX_CARBON"; then
47653 TOOLKIT_LOWERCASE
=osx_carbon
47655 if test "$TOOLKIT" = "OSX_COCOA"; then
47656 TOOLKIT_LOWERCASE
=osx_cocoa
47658 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47659 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47673 TOOLKIT_DESC
="GTK+"
47674 if test "$WXGTK2" = 1; then
47675 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47676 if test "$wxUSE_GTKPRINT" = "yes" ; then
47677 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47679 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47680 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47682 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47683 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47685 if test "$wxUSE_LIBHILDON" = "yes"; then
47686 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47688 if test "$wxUSE_LIBHILDON2" = "yes"; then
47689 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47692 if test "$TOOLKIT_EXTRA" != ""; then
47693 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47699 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47703 TOOLKIT_DESC
="base only"
47707 if test "$wxUSE_WINE" = "yes"; then
47708 BAKEFILE_FORCE_PLATFORM
=win32
47711 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47713 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47714 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47715 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47716 echo $ECHO_N "(cached) $ECHO_C" >&6
47719 echo '#include <stdio.h>
47720 const wchar_t test_var[] = L"awidetest";' > conftest.h
47722 echo '#include "conftest.h"
47725 printf("%ls", test_var);
47729 wx_cv_gcc_pch_bug
="pch not supported"
47731 if $CXX conftest.h
>/dev
/null
2>&1
47735 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47737 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47738 grep awidetest
>/dev
/null
47740 wx_cv_gcc_pch_bug
=no
47742 wx_cv_gcc_pch_bug
=yes
47747 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47750 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47751 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47753 if test "$wx_cv_gcc_pch_bug" = yes; then
47764 if test "x$BAKEFILE_HOST" = "x"; then
47765 if test "x${host}" = "x" ; then
47766 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47767 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47768 { (exit 1); exit 1; }; }
47771 BAKEFILE_HOST
="${host}"
47774 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47776 if test -n "$ac_tool_prefix"; then
47777 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47778 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47781 if test "${ac_cv_prog_RANLIB+set}" = set; then
47782 echo $ECHO_N "(cached) $ECHO_C" >&6
47784 if test -n "$RANLIB"; then
47785 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47788 for as_dir
in $PATH
47791 test -z "$as_dir" && as_dir
=.
47792 for ac_exec_ext
in '' $ac_executable_extensions; do
47793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47794 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47804 RANLIB
=$ac_cv_prog_RANLIB
47805 if test -n "$RANLIB"; then
47806 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47807 echo "${ECHO_T}$RANLIB" >&6; }
47809 { echo "$as_me:$LINENO: result: no" >&5
47810 echo "${ECHO_T}no" >&6; }
47815 if test -z "$ac_cv_prog_RANLIB"; then
47816 ac_ct_RANLIB
=$RANLIB
47817 # Extract the first word of "ranlib", so it can be a program name with args.
47818 set dummy ranlib
; ac_word
=$2
47819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47821 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47822 echo $ECHO_N "(cached) $ECHO_C" >&6
47824 if test -n "$ac_ct_RANLIB"; then
47825 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47828 for as_dir
in $PATH
47831 test -z "$as_dir" && as_dir
=.
47832 for ac_exec_ext
in '' $ac_executable_extensions; do
47833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47834 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47844 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47845 if test -n "$ac_ct_RANLIB"; then
47846 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47847 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47849 { echo "$as_me:$LINENO: result: no" >&5
47850 echo "${ECHO_T}no" >&6; }
47853 if test "x$ac_ct_RANLIB" = x
; then
47856 case $cross_compiling:$ac_tool_warned in
47858 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47859 whose name does not start with the host triplet. If you think this
47860 configuration is useful to you, please write to autoconf@gnu.org." >&5
47861 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47862 whose name does not start with the host triplet. If you think this
47863 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47864 ac_tool_warned
=yes ;;
47866 RANLIB
=$ac_ct_RANLIB
47869 RANLIB
="$ac_cv_prog_RANLIB"
47872 # Find a good install program. We prefer a C program (faster),
47873 # so one script is as good as another. But avoid the broken or
47874 # incompatible versions:
47875 # SysV /etc/install, /usr/sbin/install
47876 # SunOS /usr/etc/install
47877 # IRIX /sbin/install
47879 # AmigaOS /C/install, which installs bootblocks on floppy discs
47880 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47881 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47882 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47883 # OS/2's system install, which has a completely different semantic
47884 # ./install, which can be erroneously created by make from ./install.sh.
47885 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47886 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47887 if test -z "$INSTALL"; then
47888 if test "${ac_cv_path_install+set}" = set; then
47889 echo $ECHO_N "(cached) $ECHO_C" >&6
47891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47892 for as_dir
in $PATH
47895 test -z "$as_dir" && as_dir
=.
47896 # Account for people who put trailing slashes in PATH elements.
47898 .
/ | .
// | /cC
/* | \
47899 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47900 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47903 # OSF1 and SCO ODT 3.0 have their own names for install.
47904 # Don't use installbsd from OSF since it installs stuff as root
47906 for ac_prog
in ginstall scoinst
install; do
47907 for ac_exec_ext
in '' $ac_executable_extensions; do
47908 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47909 if test $ac_prog = install &&
47910 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47911 # AIX install. It has an incompatible calling convention.
47913 elif test $ac_prog = install &&
47914 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47915 # program-specific install script used by HP pwplus--don't use.
47918 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47931 if test "${ac_cv_path_install+set}" = set; then
47932 INSTALL
=$ac_cv_path_install
47934 # As a last resort, use the slow shell script. Don't cache a
47935 # value for INSTALL within a source directory, because that will
47936 # break other packages using the cache if that directory is
47937 # removed, or if the value is a relative name.
47938 INSTALL
=$ac_install_sh
47941 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47942 echo "${ECHO_T}$INSTALL" >&6; }
47944 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47945 # It thinks the first close brace ends the variable substitution.
47946 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47948 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47950 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47952 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47953 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47955 if test "$LN_S" = "ln -s"; then
47956 { echo "$as_me:$LINENO: result: yes" >&5
47957 echo "${ECHO_T}yes" >&6; }
47959 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47960 echo "${ECHO_T}no, using $LN_S" >&6; }
47964 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47965 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47966 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47967 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47968 echo $ECHO_N "(cached) $ECHO_C" >&6
47970 cat >conftest.
make <<\_ACEOF
47973 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47975 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47976 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47977 *@@@
%%%=?
*=@@@
%%%*)
47978 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47980 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47982 rm -f conftest.
make
47984 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47985 { echo "$as_me:$LINENO: result: yes" >&5
47986 echo "${ECHO_T}yes" >&6; }
47989 { echo "$as_me:$LINENO: result: no" >&5
47990 echo "${ECHO_T}no" >&6; }
47991 SET_MAKE
="MAKE=${MAKE-make}"
47996 if test "x$SUNCXX" = "xyes"; then
47998 AROPTIONS
="-xar -o"
48000 elif test "x$SGICC" = "xyes"; then
48005 if test -n "$ac_tool_prefix"; then
48006 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48007 set dummy
${ac_tool_prefix}ar; ac_word
=$2
48008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48010 if test "${ac_cv_prog_AR+set}" = set; then
48011 echo $ECHO_N "(cached) $ECHO_C" >&6
48013 if test -n "$AR"; then
48014 ac_cv_prog_AR
="$AR" # Let the user override the test.
48016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48017 for as_dir
in $PATH
48020 test -z "$as_dir" && as_dir
=.
48021 for ac_exec_ext
in '' $ac_executable_extensions; do
48022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48023 ac_cv_prog_AR
="${ac_tool_prefix}ar"
48024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48034 if test -n "$AR"; then
48035 { echo "$as_me:$LINENO: result: $AR" >&5
48036 echo "${ECHO_T}$AR" >&6; }
48038 { echo "$as_me:$LINENO: result: no" >&5
48039 echo "${ECHO_T}no" >&6; }
48044 if test -z "$ac_cv_prog_AR"; then
48046 # Extract the first word of "ar", so it can be a program name with args.
48047 set dummy
ar; ac_word
=$2
48048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48050 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48051 echo $ECHO_N "(cached) $ECHO_C" >&6
48053 if test -n "$ac_ct_AR"; then
48054 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
48056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48057 for as_dir
in $PATH
48060 test -z "$as_dir" && as_dir
=.
48061 for ac_exec_ext
in '' $ac_executable_extensions; do
48062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48063 ac_cv_prog_ac_ct_AR
="ar"
48064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48073 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
48074 if test -n "$ac_ct_AR"; then
48075 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48076 echo "${ECHO_T}$ac_ct_AR" >&6; }
48078 { echo "$as_me:$LINENO: result: no" >&5
48079 echo "${ECHO_T}no" >&6; }
48082 if test "x$ac_ct_AR" = x
; then
48085 case $cross_compiling:$ac_tool_warned in
48087 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48088 whose name does not start with the host triplet. If you think this
48089 configuration is useful to you, please write to autoconf@gnu.org." >&5
48090 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48091 whose name does not start with the host triplet. If you think this
48092 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48093 ac_tool_warned
=yes ;;
48098 AR
="$ac_cv_prog_AR"
48105 if test -n "$ac_tool_prefix"; then
48106 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48107 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
48108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48110 if test "${ac_cv_prog_STRIP+set}" = set; then
48111 echo $ECHO_N "(cached) $ECHO_C" >&6
48113 if test -n "$STRIP"; then
48114 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
48116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48117 for as_dir
in $PATH
48120 test -z "$as_dir" && as_dir
=.
48121 for ac_exec_ext
in '' $ac_executable_extensions; do
48122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48123 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
48124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48133 STRIP
=$ac_cv_prog_STRIP
48134 if test -n "$STRIP"; then
48135 { echo "$as_me:$LINENO: result: $STRIP" >&5
48136 echo "${ECHO_T}$STRIP" >&6; }
48138 { echo "$as_me:$LINENO: result: no" >&5
48139 echo "${ECHO_T}no" >&6; }
48144 if test -z "$ac_cv_prog_STRIP"; then
48146 # Extract the first word of "strip", so it can be a program name with args.
48147 set dummy strip
; ac_word
=$2
48148 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48150 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48151 echo $ECHO_N "(cached) $ECHO_C" >&6
48153 if test -n "$ac_ct_STRIP"; then
48154 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
48156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48157 for as_dir
in $PATH
48160 test -z "$as_dir" && as_dir
=.
48161 for ac_exec_ext
in '' $ac_executable_extensions; do
48162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48163 ac_cv_prog_ac_ct_STRIP
="strip"
48164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48173 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
48174 if test -n "$ac_ct_STRIP"; then
48175 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48176 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48178 { echo "$as_me:$LINENO: result: no" >&5
48179 echo "${ECHO_T}no" >&6; }
48182 if test "x$ac_ct_STRIP" = x
; then
48185 case $cross_compiling:$ac_tool_warned in
48187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48188 whose name does not start with the host triplet. If you think this
48189 configuration is useful to you, please write to autoconf@gnu.org." >&5
48190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48191 whose name does not start with the host triplet. If you think this
48192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48193 ac_tool_warned
=yes ;;
48198 STRIP
="$ac_cv_prog_STRIP"
48201 if test -n "$ac_tool_prefix"; then
48202 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48203 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
48204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48206 if test "${ac_cv_prog_NM+set}" = set; then
48207 echo $ECHO_N "(cached) $ECHO_C" >&6
48209 if test -n "$NM"; then
48210 ac_cv_prog_NM
="$NM" # Let the user override the test.
48212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48213 for as_dir
in $PATH
48216 test -z "$as_dir" && as_dir
=.
48217 for ac_exec_ext
in '' $ac_executable_extensions; do
48218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48219 ac_cv_prog_NM
="${ac_tool_prefix}nm"
48220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48230 if test -n "$NM"; then
48231 { echo "$as_me:$LINENO: result: $NM" >&5
48232 echo "${ECHO_T}$NM" >&6; }
48234 { echo "$as_me:$LINENO: result: no" >&5
48235 echo "${ECHO_T}no" >&6; }
48240 if test -z "$ac_cv_prog_NM"; then
48242 # Extract the first word of "nm", so it can be a program name with args.
48243 set dummy nm
; ac_word
=$2
48244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48246 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48247 echo $ECHO_N "(cached) $ECHO_C" >&6
48249 if test -n "$ac_ct_NM"; then
48250 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48253 for as_dir
in $PATH
48256 test -z "$as_dir" && as_dir
=.
48257 for ac_exec_ext
in '' $ac_executable_extensions; do
48258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48259 ac_cv_prog_ac_ct_NM
="nm"
48260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48269 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48270 if test -n "$ac_ct_NM"; then
48271 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48272 echo "${ECHO_T}$ac_ct_NM" >&6; }
48274 { echo "$as_me:$LINENO: result: no" >&5
48275 echo "${ECHO_T}no" >&6; }
48278 if test "x$ac_ct_NM" = x
; then
48281 case $cross_compiling:$ac_tool_warned in
48283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48284 whose name does not start with the host triplet. If you think this
48285 configuration is useful to you, please write to autoconf@gnu.org." >&5
48286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48287 whose name does not start with the host triplet. If you think this
48288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48289 ac_tool_warned
=yes ;;
48294 NM
="$ac_cv_prog_NM"
48298 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48299 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48300 INSTALL_TEST_DIR
=acbftest$$
48301 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
48302 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
48303 rmdir $INSTALL_TEST_DIR
48304 INSTALL_DIR
='$(INSTALL) -d'
48305 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48306 echo "${ECHO_T}$INSTALL -d" >&6; }
48308 INSTALL_DIR
="mkdir -p"
48309 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48310 echo "${ECHO_T}mkdir -p" >&6; }
48315 case ${BAKEFILE_HOST} in
48316 *-*-cygwin* | *-*-mingw32* )
48317 LDFLAGS_GUI
="-mwindows"
48323 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48324 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48325 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48326 echo $ECHO_N "(cached) $ECHO_C" >&6
48329 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48330 egrep -s GNU
> /dev
/null
); then
48331 bakefile_cv_prog_makeisgnu
="yes"
48333 bakefile_cv_prog_makeisgnu
="no"
48337 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48338 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48340 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48357 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48358 case "${BAKEFILE_HOST}" in
48365 *-pc-os2_emx | *-pc-os2-emx )
48375 powerpc
-apple-macos* )
48384 case "$BAKEFILE_FORCE_PLATFORM" in
48419 # Check whether --enable-omf was given.
48420 if test "${enable_omf+set}" = set; then
48421 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48425 case "${BAKEFILE_HOST}" in
48427 if test "x$GCC" = "xyes"; then
48428 CFLAGS
="$CFLAGS -fno-common"
48429 CXXFLAGS
="$CXXFLAGS -fno-common"
48431 if test "x$XLCC" = "xyes"; then
48432 CFLAGS
="$CFLAGS -qnocommon"
48433 CXXFLAGS
="$CXXFLAGS -qnocommon"
48437 *-pc-os2_emx | *-pc-os2-emx )
48438 if test "x$bk_os2_use_omf" = "xyes" ; then
48441 LDFLAGS
="-Zomf $LDFLAGS"
48442 CFLAGS
="-Zomf $CFLAGS"
48443 CXXFLAGS
="-Zomf $CXXFLAGS"
48451 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48457 SO_SUFFIX_MODULE
="so"
48462 DLLPREFIX_MODULE
=""
48466 case "${BAKEFILE_HOST}" in
48471 SO_SUFFIX_MODULE
="sl"
48475 SO_SUFFIX_MODULE
="a"
48479 SO_SUFFIX_MODULE
="dll"
48480 DLLIMP_SUFFIX
="dll.a"
48487 SO_SUFFIX_MODULE
="dll"
48488 DLLIMP_SUFFIX
="dll.a"
48498 *-pc-os2_emx | *-pc-os2-emx )
48500 SO_SUFFIX_MODULE
="dll"
48501 DLLIMP_SUFFIX
=$OS2_LIBEXT
48505 LIBEXT
=".$OS2_LIBEXT"
48510 SO_SUFFIX_MODULE
="bundle"
48514 if test "x$DLLIMP_SUFFIX" = "x" ; then
48515 DLLIMP_SUFFIX
="$SO_SUFFIX"
48530 if test "x$GCC" = "xyes"; then
48534 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48535 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48538 case "${BAKEFILE_HOST}" in
48540 if test "x$GCC" != "xyes"; then
48541 LDFLAGS
="$LDFLAGS -L/usr/lib"
48543 SHARED_LD_CC
="${CC} -b -o"
48544 SHARED_LD_CXX
="${CXX} -b -o"
48550 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48552 elif test "x$SUNCXX" = "xyes"; then
48553 SHARED_LD_CC
="${CC} -G -o"
48554 SHARED_LD_CXX
="${CXX} -G -o"
48560 if test "x$SUNCXX" = xyes
; then
48561 SHARED_LD_CC
="${CC} -G -o"
48562 SHARED_LD_CXX
="${CXX} -G -o"
48570 cat <<EOF >shared-ld-sh
48572 #-----------------------------------------------------------------------------
48573 #-- Name: distrib/mac/shared-ld-sh
48574 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48575 #-- Author: Gilles Depeyrot
48576 #-- Copyright: (c) 2002 Gilles Depeyrot
48577 #-- Licence: any use permitted
48578 #-----------------------------------------------------------------------------
48583 linking_flag="-dynamiclib"
48584 ldargs="-r -keep_private_externs -nostdlib"
48586 if test "x${D}CXX" = "x"; then
48590 while test ${D}# -gt 0; do
48597 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48598 # collect these options and values
48599 args="${D}{args} ${D}1 ${D}2"
48604 # collect these options and values
48605 ldargs="${D}{ldargs} ${D}1 ${D}2"
48610 # collect these load args
48611 ldargs="${D}{ldargs} ${D}1"
48614 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48615 # collect these options
48616 args="${D}{args} ${D}1"
48619 -dynamiclib|-bundle)
48620 linking_flag="${D}1"
48624 echo "shared-ld: unhandled option '${D}1'"
48628 *.o | *.a | *.dylib)
48629 # collect object files
48630 objects="${D}{objects} ${D}1"
48634 echo "shared-ld: unhandled argument '${D}1'"
48645 # Link one module containing all the others
48647 if test ${D}{verbose} = 1; then
48648 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48650 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48654 # Link the shared library from the single module created, but only if the
48655 # previous command didn't fail:
48657 if test ${D}{status} = 0; then
48658 if test ${D}{verbose} = 1; then
48659 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48661 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48666 # Remove intermediate module
48668 rm -f master.${D}${D}.o
48673 chmod +x shared
-ld-sh
48675 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48676 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48679 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48680 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48681 if test "${bakefile_cv_gcc31+set}" = set; then
48682 echo $ECHO_N "(cached) $ECHO_C" >&6
48685 cat >conftest.
$ac_ext <<_ACEOF
48688 cat confdefs.h
>>conftest.
$ac_ext
48689 cat >>conftest.
$ac_ext <<_ACEOF
48690 /* end confdefs.h. */
48696 #if (__GNUC__ < 3) || \
48697 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48705 rm -f conftest.
$ac_objext
48706 if { (ac_try
="$ac_compile"
48707 case "(($ac_try" in
48708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48709 *) ac_try_echo=$ac_try;;
48711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48712 (eval "$ac_compile") 2>conftest.er1
48714 grep -v '^ *+' conftest.er1 >conftest.err
48716 cat conftest.err >&5
48717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48718 (exit $ac_status); } && {
48719 test -z "$ac_c_werror_flag" ||
48720 test ! -s conftest.err
48721 } && test -s conftest.$ac_objext; then
48723 bakefile_cv_gcc31=yes
48726 echo "$as_me: failed program was:" >&5
48727 sed 's/^/| /' conftest.$ac_ext >&5
48730 bakefile_cv_gcc31=no
48735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48738 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48739 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48740 if test "$bakefile_cv_gcc31" = "no"; then
48741 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48742 SHARED_LD_CXX="$SHARED_LD_CC"
48744 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48745 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48748 if test "x$GCC" == "xyes"; then
48749 PIC_FLAG="-dynamic -fPIC"
48751 if test "x$XLCC" = "xyes"; then
48752 PIC_FLAG="-dynamic -DPIC"
48757 if test "x$GCC" = "xyes"; then
48760 case "${BAKEFILE_HOST}" in
48762 LD_EXPFULL="-Wl,-bexpfull"
48766 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48767 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48769 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48770 set dummy makeC++SharedLib; ac_word=$2
48771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48773 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48774 echo $ECHO_N "(cached) $ECHO_C" >&6
48776 if test -n "$AIX_CXX_LD"; then
48777 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48780 for as_dir in $PATH
48783 test -z "$as_dir" && as_dir=.
48784 for ac_exec_ext in '' $ac_executable_extensions; do
48785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48786 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48794 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48797 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48798 if test -n "$AIX_CXX_LD"; then
48799 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48800 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48802 { echo "$as_me:$LINENO: result: no" >&5
48803 echo "${ECHO_T}no" >&6; }
48807 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48808 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48813 SHARED_LD_CC="${LD} -nostart -o"
48814 SHARED_LD_CXX="${LD} -nostart -o"
48818 if test "x$GCC" != "xyes"; then
48823 *-*-cygwin* | *-*-mingw32* )
48825 SHARED_LD_CC="\$(CC) -shared -o"
48826 SHARED_LD_CXX="\$(CXX) -shared -o"
48830 *-pc-os2_emx | *-pc-os2-emx )
48831 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48832 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48836 cat <<EOF >dllar.sh
48839 # dllar - a tool to build both a .dll and an .a file
48840 # from a set of object (.o) files for EMX/OS2.
48842 # Written by Andrew Zabolotny, bit@freya.etu.ru
48843 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48845 # This script will accept a set of files on the command line.
48846 # All the public symbols from the .o files will be exported into
48847 # a .DEF file, then linker will be run (through gcc) against them to
48848 # build a shared library consisting of all given .o files. All libraries
48849 # (.a) will be first decompressed into component .o files then act as
48850 # described above. You can optionally give a description (-d "description")
48851 # which will be put into .DLL. To see the list of accepted options (as well
48852 # as command-line format) simply run this program without options. The .DLL
48853 # is built to be imported by name (there is no guarantee that new versions
48854 # of the library you build will have same ordinals for same symbols).
48856 # dllar is free software; you can redistribute it and/or modify
48857 # it under the terms of the GNU General Public License as published by
48858 # the Free Software Foundation; either version 2, or (at your option)
48859 # any later version.
48861 # dllar is distributed in the hope that it will be useful,
48862 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48863 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48864 # GNU General Public License for more details.
48866 # You should have received a copy of the GNU General Public License
48867 # along with dllar; see the file COPYING. If not, write to the Free
48868 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48871 # To successfuly run this program you will need:
48872 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48873 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48875 # (used to build the .dll)
48877 # (used to create .def file from .o files)
48879 # (used to create .a file from .def file)
48880 # - GNU text utilites (cat, sort, uniq)
48881 # used to process emxexp output
48882 # - GNU file utilities (mv, rm)
48884 # - lxlite (optional, see flag below)
48885 # (used for general .dll cleanup)
48892 # basnam, variant of basename, which does _not_ remove the path, _iff_
48893 # second argument (suffix to remove) is given
48897 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48900 echo ${D}1 | sed 's/'${D}2'${D}//'
48903 echo "error in basnam ${D}*"
48909 # Cleanup temporary files and output
48912 for i in ${D}inputFiles ; do
48915 rm -rf \`basnam
${D}i
!\
`
48922 # Kill result in case of failure as there is just to many stupid make/nmake
48923 # things out there which doesn't do this.
48924 if [ ${D}# -eq 0 ]; then
48925 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48929 # Print usage and exit script with rc=1.
48931 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48932 echo ' [-name-mangler-script script.sh]'
48933 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48934 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48935 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48936 echo ' [*.o] [*.a]'
48937 echo '*> "output_file" should have no extension.'
48938 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48939 echo ' The import library name is derived from this and is set to "name".a,'
48940 echo ' unless overridden by -import'
48941 echo '*> "importlib_name" should have no extension.'
48942 echo ' If it has the .o, or .a extension, it is automatically removed.'
48943 echo ' This name is used as the import library name and may be longer and'
48944 echo ' more descriptive than the DLL name which has to follow the old '
48945 echo ' 8.3 convention of FAT.'
48946 echo '*> "script.sh may be given to override the output_file name by a'
48947 echo ' different name. It is mainly useful if the regular make process'
48948 echo ' of some package does not take into account OS/2 restriction of'
48949 echo ' DLL name lengths. It takes the importlib name as input and is'
48950 echo ' supposed to procude a shorter name as output. The script should'
48951 echo ' expect to get importlib_name without extension and should produce'
48952 echo ' a (max.) 8 letter name without extension.'
48953 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48954 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48955 echo ' These flags will be put at the start of GCC command line.'
48956 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48957 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48958 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48959 echo ' If the last character of a symbol is "*", all symbols beginning'
48960 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48961 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48962 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48963 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48964 echo ' C runtime DLLs.'
48965 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48966 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48967 echo ' unchanged to GCC at the end of command line.'
48968 echo '*> If you create a DLL from a library and you do not specify -o,'
48969 echo ' the basename for DLL and import library will be set to library name,'
48970 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48971 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48972 echo ' library will be renamed into gcc_s.a.'
48975 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48976 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48981 # Execute a command.
48982 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48983 # @Uses Whatever CleanUp() uses.
48989 if [ ${D}rcCmd -ne 0 ]; then
48990 echo "command failed, exit code="${D}rcCmd
49005 CFLAGS="-s -Zcrtdll"
49007 EXPORT_BY_ORDINALS=0
49012 case ${D}curDirS in
49016 curDirS=${D}{curDirS}"/"
49019 # Parse commandline
49022 while [ ${D}1 ]; do
49025 EXPORT_BY_ORDINALS=1;
49035 -name-mangler-script)
49056 exclude_symbols=${D}{exclude_symbols}${D}1" "
49060 library_flags=${D}{library_flags}${D}1" "
49079 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49082 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
49083 if [ ${D}omfLinking -eq 1 ]; then
49084 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49086 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49091 if [ ${D}libsToLink -ne 0 ]; then
49092 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49094 for file in ${D}1 ; do
49095 if [ -f ${D}file ]; then
49096 inputFiles="${D}{inputFiles} ${D}file"
49100 if [ ${D}found -eq 0 ]; then
49101 echo "ERROR: No file(s) found: "${D}1
49108 done # iterate cmdline words
49111 if [ -z "${D}inputFiles" ]; then
49112 echo "dllar: no input files"
49116 # Now extract all .o files from .a files
49118 for file in ${D}inputFiles ; do
49129 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49134 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
49136 if [ ${D}? -ne 0 ]; then
49137 echo "Failed to create subdirectory ./${D}dirname"
49141 # Append '!' to indicate archive
49142 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49143 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49146 for subfile in ${D}dirname/*.o* ; do
49147 if [ -f ${D}subfile ]; then
49149 if [ -s ${D}subfile ]; then
49150 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49151 newInputFiles="${D}newInputFiles ${D}subfile"
49155 if [ ${D}found -eq 0 ]; then
49156 echo "WARNING: there are no files in archive \\'${D}file\\'"
49160 newInputFiles="${D}{newInputFiles} ${D}file"
49164 inputFiles="${D}newInputFiles"
49166 # Output filename(s).
49168 if [ -z ${D}outFile ]; then
49170 set outFile ${D}inputFiles; outFile=${D}2
49173 # If it is an archive, remove the '!' and the '_%' suffixes
49174 case ${D}outFile in
49176 outFile=\`basnam
${D}outFile _
%!\
`
49181 case ${D}outFile in
49183 outFile=\`basnam
${D}outFile .dll\
`
49186 outFile=\`basnam
${D}outFile .DLL\
`
49189 outFile=\`basnam
${D}outFile .o\
`
49192 outFile=\`basnam
${D}outFile .obj\
`
49195 outFile=\`basnam
${D}outFile .a\
`
49198 outFile=\`basnam
${D}outFile .lib\
`
49203 case ${D}outimpFile in
49205 outimpFile=\`basnam
${D}outimpFile .a\
`
49208 outimpFile=\`basnam
${D}outimpFile .lib\
`
49213 if [ -z ${D}outimpFile ]; then
49214 outimpFile=${D}outFile
49216 defFile="${D}{outFile}.def"
49217 arcFile="${D}{outimpFile}.a"
49218 arcFile2="${D}{outimpFile}.lib"
49220 #create ${D}dllFile as something matching 8.3 restrictions,
49221 if [ -z ${D}renameScript ] ; then
49222 dllFile="${D}outFile"
49224 dllFile=\`${D}renameScript
${D}outimpFile\
`
49227 if [ ${D}do_backup -ne 0 ] ; then
49228 if [ -f ${D}arcFile ] ; then
49229 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49231 if [ -f ${D}arcFile2 ] ; then
49232 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49236 # Extract public symbols from all the object files.
49237 tmpdefFile=${D}{defFile}_%
49238 rm -f ${D}tmpdefFile
49239 for file in ${D}inputFiles ; do
49244 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49249 # Create the def file.
49251 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
49252 dllFile="${D}{dllFile}.dll"
49253 if [ ! -z ${D}description ]; then
49254 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49256 echo "EXPORTS" >> ${D}defFile
49258 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49259 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49261 # Checks if the export is ok or not.
49262 for word in ${D}exclude_symbols; do
49263 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49264 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49268 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49269 sed "=" < ${D}tmpdefFile | \\
49273 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49275 ' > ${D}{tmpdefFile}%
49276 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49278 rm -f ${D}{tmpdefFile}%
49280 cat ${D}tmpdefFile >> ${D}defFile
49281 rm -f ${D}tmpdefFile
49283 # Do linking, create implib, and apply lxlite.
49285 for file in ${D}inputFiles ; do
49290 gccCmdl="${D}gccCmdl ${D}file"
49294 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49295 touch "${D}{outFile}.dll"
49297 doCommand "emximp -o ${D}arcFile ${D}defFile"
49298 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49300 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49303 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49305 doCommand "emxomf -s -l ${D}arcFile"
49315 powerpc-apple-macos* | \
49316 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49326 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49327 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49328 { (exit 1); exit 1; }; }
49331 if test "x$PIC_FLAG" != "x" ; then
49332 PIC_FLAG="$PIC_FLAG -DPIC"
49335 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49336 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49338 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49339 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49354 USE_SOTWOSYMLINKS=0
49358 case "${BAKEFILE_HOST}" in
49359 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49360 *-*-k*bsd*-gnu | *-*-mirbsd* )
49361 if test "x$SUNCXX" = "xyes"; then
49364 SONAME_FLAG="-Wl,-soname,"
49368 USE_SOTWOSYMLINKS=1
49380 USE_SOTWOSYMLINKS=1
49398 # Check whether --enable-dependency-tracking was given.
49399 if test "${enable_dependency_tracking+set}" = set; then
49400 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49404 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49405 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49408 if test "x$bk_use_trackdeps" = "xno" ; then
49410 { echo "$as_me:$LINENO: result: disabled" >&5
49411 echo "${ECHO_T}disabled" >&6; }
49415 if test "x$GCC" = "xyes"; then
49417 case "${BAKEFILE_HOST}" in
49419 DEPSFLAG="-no-cpp-precomp -MMD"
49425 { echo "$as_me:$LINENO: result: gcc" >&5
49426 echo "${ECHO_T}gcc" >&6; }
49427 elif test "x$MWCC" = "xyes"; then
49430 { echo "$as_me:$LINENO: result: mwcc" >&5
49431 echo "${ECHO_T}mwcc" >&6; }
49432 elif test "x$SUNCC" = "xyes"; then
49435 { echo "$as_me:$LINENO: result: Sun cc" >&5
49436 echo "${ECHO_T}Sun cc" >&6; }
49437 elif test "x$SGICC" = "xyes"; then
49440 { echo "$as_me:$LINENO: result: SGI cc" >&5
49441 echo "${ECHO_T}SGI cc" >&6; }
49442 elif test "x$HPCC" = "xyes"; then
49445 { echo "$as_me:$LINENO: result: HP cc" >&5
49446 echo "${ECHO_T}HP cc" >&6; }
49447 elif test "x$COMPAQCC" = "xyes"; then
49450 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49451 echo "${ECHO_T}Compaq cc" >&6; }
49454 { echo "$as_me:$LINENO: result: none" >&5
49455 echo "${ECHO_T}none" >&6; }
49458 if test $DEPS_TRACKING = 1 ; then
49464 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49465 # script. It is used to track C/C++ files dependencies in portable way.
49467 # Permission is given to use this file in any way.
49469 DEPSMODE=${DEPSMODE}
49470 DEPSFLAG="${DEPSFLAG}"
49473 if test ${D}DEPSMODE = gcc ; then
49474 ${D}* ${D}{DEPSFLAG}
49477 # determine location of created files:
49478 while test ${D}# -gt 0; do
49492 objfilebase=\`basename ${D}objfile\
`
49493 builddir=\`dirname ${D}objfile\
`
49494 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49495 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49496 depsdir=${D}builddir/${D}DEPSDIRBASE
49497 mkdir -p ${D}depsdir
49499 # if the compiler failed, we're done:
49500 if test ${D}{status} != 0 ; then
49505 # move created file to the location we want it in:
49506 if test -f ${D}depfile ; then
49507 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49510 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49511 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49512 if test ! -f ${D}depfile ; then
49513 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49514 depfile="${D}objfile.d"
49516 if test -f ${D}depfile ; then
49517 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49523 elif test ${D}DEPSMODE = mwcc ; then
49524 ${D}* || exit ${D}?
49525 # Run mwcc again with -MM and redirect into the dep file we want
49526 # NOTE: We can't use shift here because we need ${D}* to be valid
49528 for arg in ${D}* ; do
49529 if test "${D}prevarg" = "-o"; then
49543 objfilebase=\`basename ${D}objfile\
`
49544 builddir=\`dirname ${D}objfile\
`
49545 depsdir=${D}builddir/${D}DEPSDIRBASE
49546 mkdir -p ${D}depsdir
49548 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49551 elif test ${D}DEPSMODE = unixcc; then
49552 ${D}* || exit ${D}?
49553 # Run compiler again with deps flag and redirect into the dep file.
49554 # It doesn't work if the '-o FILE' option is used, but without it the
49555 # dependency file will contain the wrong name for the object. So it is
49556 # removed from the command line, and the dep file is fixed with sed.
49558 while test ${D}# -gt 0; do
49565 eval arg${D}#=\\${D}1
49566 cmd="${D}cmd \\${D}arg${D}#"
49572 objfilebase=\`basename ${D}objfile\
`
49573 builddir=\`dirname ${D}objfile\
`
49574 depsdir=${D}builddir/${D}DEPSDIRBASE
49575 mkdir -p ${D}depsdir
49577 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49587 BK_DEPS="`pwd`/bk-deps"
49595 case ${BAKEFILE_HOST} in
49596 *-*-cygwin* | *-*-mingw32* )
49597 if test -n "$ac_tool_prefix"; then
49598 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49599 set dummy ${ac_tool_prefix}windres; ac_word=$2
49600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49602 if test "${ac_cv_prog_WINDRES+set}" = set; then
49603 echo $ECHO_N "(cached) $ECHO_C" >&6
49605 if test -n "$WINDRES"; then
49606 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49609 for as_dir in $PATH
49612 test -z "$as_dir" && as_dir=.
49613 for ac_exec_ext in '' $ac_executable_extensions; do
49614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49615 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49625 WINDRES=$ac_cv_prog_WINDRES
49626 if test -n "$WINDRES"; then
49627 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49628 echo "${ECHO_T}$WINDRES" >&6; }
49630 { echo "$as_me:$LINENO: result: no" >&5
49631 echo "${ECHO_T}no" >&6; }
49636 if test -z "$ac_cv_prog_WINDRES"; then
49637 ac_ct_WINDRES=$WINDRES
49638 # Extract the first word of "windres", so it can be a program name with args.
49639 set dummy windres; ac_word=$2
49640 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49642 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49643 echo $ECHO_N "(cached) $ECHO_C" >&6
49645 if test -n "$ac_ct_WINDRES"; then
49646 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49649 for as_dir in $PATH
49652 test -z "$as_dir" && as_dir=.
49653 for ac_exec_ext in '' $ac_executable_extensions; do
49654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49655 ac_cv_prog_ac_ct_WINDRES="windres"
49656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49665 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49666 if test -n "$ac_ct_WINDRES"; then
49667 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49668 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49670 { echo "$as_me:$LINENO: result: no" >&5
49671 echo "${ECHO_T}no" >&6; }
49674 if test "x$ac_ct_WINDRES" = x; then
49677 case $cross_compiling:$ac_tool_warned in
49679 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49680 whose name does not start with the host triplet. If you think this
49681 configuration is useful to you, please write to autoconf@gnu.org." >&5
49682 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49683 whose name does not start with the host triplet. If you think this
49684 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49685 ac_tool_warned=yes ;;
49687 WINDRES=$ac_ct_WINDRES
49690 WINDRES="$ac_cv_prog_WINDRES"
49695 *-*-darwin* | powerpc-apple-macos* )
49696 # Extract the first word of "Rez", so it can be a program name with args.
49697 set dummy Rez; ac_word=$2
49698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49700 if test "${ac_cv_prog_REZ+set}" = set; then
49701 echo $ECHO_N "(cached) $ECHO_C" >&6
49703 if test -n "$REZ"; then
49704 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49707 for as_dir in $PATH
49710 test -z "$as_dir" && as_dir=.
49711 for ac_exec_ext in '' $ac_executable_extensions; do
49712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49713 ac_cv_prog_REZ="Rez"
49714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49721 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49724 REZ=$ac_cv_prog_REZ
49725 if test -n "$REZ"; then
49726 { echo "$as_me:$LINENO: result: $REZ" >&5
49727 echo "${ECHO_T}$REZ" >&6; }
49729 { echo "$as_me:$LINENO: result: no" >&5
49730 echo "${ECHO_T}no" >&6; }
49734 # Extract the first word of "SetFile", so it can be a program name with args.
49735 set dummy SetFile; ac_word=$2
49736 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49738 if test "${ac_cv_prog_SETFILE+set}" = set; then
49739 echo $ECHO_N "(cached) $ECHO_C" >&6
49741 if test -n "$SETFILE"; then
49742 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49745 for as_dir in $PATH
49748 test -z "$as_dir" && as_dir=.
49749 for ac_exec_ext in '' $ac_executable_extensions; do
49750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49751 ac_cv_prog_SETFILE="SetFile"
49752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49759 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49762 SETFILE=$ac_cv_prog_SETFILE
49763 if test -n "$SETFILE"; then
49764 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49765 echo "${ECHO_T}$SETFILE" >&6; }
49767 { echo "$as_me:$LINENO: result: no" >&5
49768 echo "${ECHO_T}no" >&6; }
49783 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49786 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49790 # Check whether --enable-precomp-headers was given.
49791 if test "${enable_precomp_headers+set}" = set; then
49792 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49801 case ${BAKEFILE_HOST} in
49807 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49808 if test "x$GCC" = "xyes"; then
49809 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49810 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49811 cat >conftest.$ac_ext <<_ACEOF
49814 cat confdefs.h >>conftest.$ac_ext
49815 cat >>conftest.$ac_ext <<_ACEOF
49816 /* end confdefs.h. */
49822 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49823 There is no PCH support
49826 There is no PCH support
49828 #if (__GNUC__ == 3) && \
49829 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49830 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49831 ( defined(__INTEL_COMPILER) )
49832 There is no PCH support
49839 rm -f conftest.$ac_objext
49840 if { (ac_try="$ac_compile"
49841 case "(($ac_try" in
49842 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49843 *) ac_try_echo
=$ac_try;;
49845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49846 (eval "$ac_compile") 2>conftest.er1
49848 grep -v '^ *+' conftest.er1
>conftest.err
49850 cat conftest.err
>&5
49851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49852 (exit $ac_status); } && {
49853 test -z "$ac_c_werror_flag" ||
49854 test ! -s conftest.err
49855 } && test -s conftest.
$ac_objext; then
49857 { echo "$as_me:$LINENO: result: yes" >&5
49858 echo "${ECHO_T}yes" >&6; }
49862 echo "$as_me: failed program was:" >&5
49863 sed 's/^/| /' conftest.
$ac_ext >&5
49866 if test "$INTELCXX8" = "yes"; then
49867 { echo "$as_me:$LINENO: result: yes" >&5
49868 echo "${ECHO_T}yes" >&6; }
49870 if test "$INTELCXX10" = "yes"; then
49871 ICC_PCH_CREATE_SWITCH
="-pch-create"
49872 ICC_PCH_USE_SWITCH
="-pch-use"
49874 ICC_PCH_CREATE_SWITCH
="-create-pch"
49875 ICC_PCH_USE_SWITCH
="-use-pch"
49878 { echo "$as_me:$LINENO: result: no" >&5
49879 echo "${ECHO_T}no" >&6; }
49884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49885 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49889 cat <<EOF >bk-make-pch
49892 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49893 # script. It is used to generated precompiled headers.
49895 # Permission is given to use this file in any way.
49902 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49907 while test ${D}{#} -gt 0; do
49911 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49912 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49913 headerfile="${D}{incdir}/${D}{header}"
49916 -use-pch|-use_pch|-pch-use )
49921 if test ${D}add_to_cmdline = 1 ; then
49922 compiler="${D}{compiler} ${D}{1}"
49927 if test "x${D}{headerfile}" = "x" ; then
49928 echo "error: can't find header ${D}{header} in include paths" >&2
49930 if test -f ${D}{outfile} ; then
49931 rm -f ${D}{outfile}
49933 mkdir -p \`dirname ${D}{outfile}\`
49935 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49936 mkdir -p ${D}{builddir}/.deps
49937 if test "x${GCC_PCH}" = "x1" ; then
49938 # can do this because gcc is >= 3.4:
49939 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49940 elif test "x${ICC_PCH}" = "x1" ; then
49941 filename=pch_gen-${D}${D}
49942 file=${D}{filename}.c
49943 dfile=${D}{filename}.d
49944 cat > ${D}file <<EOT
49945 #include "${D}header"
49947 # using -MF icc complains about differing command lines in creation/use
49948 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49949 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49950 rm -f ${D}file ${D}dfile ${D}{filename}.o
49956 chmod +x bk
-make-pch
49957 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49968 COND_BUILD_DEBUG
="#"
49969 if test "x$BUILD" = "xdebug" ; then
49970 COND_BUILD_DEBUG
=""
49973 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49974 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49975 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49978 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49979 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49980 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49983 COND_BUILD_DEBUG_UNICODE_0
="#"
49984 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49985 COND_BUILD_DEBUG_UNICODE_0
=""
49988 COND_BUILD_DEBUG_UNICODE_1
="#"
49989 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49990 COND_BUILD_DEBUG_UNICODE_1
=""
49993 COND_BUILD_RELEASE
="#"
49994 if test "x$BUILD" = "xrelease" ; then
49995 COND_BUILD_RELEASE
=""
49998 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49999 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50000 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
50003 COND_BUILD_RELEASE_UNICODE_0
="#"
50004 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50005 COND_BUILD_RELEASE_UNICODE_0
=""
50008 COND_BUILD_RELEASE_UNICODE_1
="#"
50009 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50010 COND_BUILD_RELEASE_UNICODE_1
=""
50013 COND_BUILD_debug
="#"
50014 if test "x$BUILD" = "xdebug" ; then
50015 COND_BUILD_debug
=""
50018 COND_BUILD_debug_DEBUG_FLAG_default
="#"
50019 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50020 COND_BUILD_debug_DEBUG_FLAG_default
=""
50023 COND_BUILD_debug_DEBUG_INFO_default
="#"
50024 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50025 COND_BUILD_debug_DEBUG_INFO_default
=""
50028 COND_BUILD_debug_UNICODE_0
="#"
50029 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50030 COND_BUILD_debug_UNICODE_0
=""
50033 COND_BUILD_debug_UNICODE_1
="#"
50034 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50035 COND_BUILD_debug_UNICODE_1
=""
50038 COND_BUILD_release
="#"
50039 if test "x$BUILD" = "xrelease" ; then
50040 COND_BUILD_release
=""
50043 COND_BUILD_release_DEBUG_INFO_default
="#"
50044 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50045 COND_BUILD_release_DEBUG_INFO_default
=""
50048 COND_BUILD_release_UNICODE_0
="#"
50049 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50050 COND_BUILD_release_UNICODE_0
=""
50053 COND_BUILD_release_UNICODE_1
="#"
50054 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50055 COND_BUILD_release_UNICODE_1
=""
50058 COND_DEBUG_FLAG_0
="#"
50059 if test "x$DEBUG_FLAG" = "x0" ; then
50060 COND_DEBUG_FLAG_0
=""
50063 COND_DEBUG_FLAG_1
="#"
50064 if test "x$DEBUG_FLAG" = "x1" ; then
50065 COND_DEBUG_FLAG_1
=""
50068 COND_DEBUG_INFO_0
="#"
50069 if test "x$DEBUG_INFO" = "x0" ; then
50070 COND_DEBUG_INFO_0
=""
50073 COND_DEBUG_INFO_1
="#"
50074 if test "x$DEBUG_INFO" = "x1" ; then
50075 COND_DEBUG_INFO_1
=""
50078 COND_DEPS_TRACKING_0
="#"
50079 if test "x$DEPS_TRACKING" = "x0" ; then
50080 COND_DEPS_TRACKING_0
=""
50083 COND_DEPS_TRACKING_1
="#"
50084 if test "x$DEPS_TRACKING" = "x1" ; then
50085 COND_DEPS_TRACKING_1
=""
50089 if test "x$GCC_PCH" = "x1" ; then
50094 if test "x$ICC_PCH" = "x1" ; then
50098 COND_MONOLITHIC_0
="#"
50099 if test "x$MONOLITHIC" = "x0" ; then
50100 COND_MONOLITHIC_0
=""
50103 COND_MONOLITHIC_0_SHARED_0
="#"
50104 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50105 COND_MONOLITHIC_0_SHARED_0
=""
50108 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
50109 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50110 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
50113 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
50114 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50115 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
50118 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
50119 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50120 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
50123 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
50124 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50125 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
50128 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
50129 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50130 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
50133 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
50134 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50135 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
50138 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
50139 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50140 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
50143 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
50144 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50145 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
50148 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
50149 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50150 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
50153 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
50154 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50155 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
50158 COND_MONOLITHIC_0_SHARED_1
="#"
50159 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50160 COND_MONOLITHIC_0_SHARED_1
=""
50163 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
50164 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50165 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
50168 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
50169 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50170 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
50173 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
50174 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50175 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
50178 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
50179 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50180 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
50183 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
50184 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50185 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
50188 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
50189 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50190 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
50193 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
50194 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50195 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
50198 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
50199 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50200 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
50203 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
50204 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50205 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
50208 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
50209 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50210 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
50213 COND_MONOLITHIC_0_USE_AUI_1
="#"
50214 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50215 COND_MONOLITHIC_0_USE_AUI_1
=""
50218 COND_MONOLITHIC_0_USE_GUI_1
="#"
50219 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50220 COND_MONOLITHIC_0_USE_GUI_1
=""
50223 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
50224 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50225 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
50228 COND_MONOLITHIC_0_USE_HTML_1
="#"
50229 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50230 COND_MONOLITHIC_0_USE_HTML_1
=""
50233 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
50234 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50235 COND_MONOLITHIC_0_USE_MEDIA_1
=""
50238 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
50239 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50240 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
50243 COND_MONOLITHIC_0_USE_QA_1
="#"
50244 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50245 COND_MONOLITHIC_0_USE_QA_1
=""
50248 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
50249 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50250 COND_MONOLITHIC_0_USE_RIBBON_1
=""
50253 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
50254 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50255 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
50258 COND_MONOLITHIC_0_USE_STC_1
="#"
50259 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50260 COND_MONOLITHIC_0_USE_STC_1
=""
50263 COND_MONOLITHIC_0_USE_XRC_1
="#"
50264 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50265 COND_MONOLITHIC_0_USE_XRC_1
=""
50268 COND_MONOLITHIC_1
="#"
50269 if test "x$MONOLITHIC" = "x1" ; then
50270 COND_MONOLITHIC_1
=""
50273 COND_MONOLITHIC_1_SHARED_0
="#"
50274 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50275 COND_MONOLITHIC_1_SHARED_0
=""
50278 COND_MONOLITHIC_1_SHARED_1
="#"
50279 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50280 COND_MONOLITHIC_1_SHARED_1
=""
50283 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50284 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50285 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50288 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50289 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50290 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50293 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50294 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50295 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50298 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50299 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50300 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50303 COND_PLATFORM_MACOSX_1
="#"
50304 if test "x$PLATFORM_MACOSX" = "x1" ; then
50305 COND_PLATFORM_MACOSX_1
=""
50308 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
50309 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50310 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
50313 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50314 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50315 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50318 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50319 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50320 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50323 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50324 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50325 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50328 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50329 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50330 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50333 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50334 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50335 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50338 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
50339 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50340 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
50343 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50344 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50345 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50348 COND_PLATFORM_MACOS_1
="#"
50349 if test "x$PLATFORM_MACOS" = "x1" ; then
50350 COND_PLATFORM_MACOS_1
=""
50353 COND_PLATFORM_MAC_0
="#"
50354 if test "x$PLATFORM_MAC" = "x0" ; then
50355 COND_PLATFORM_MAC_0
=""
50358 COND_PLATFORM_MAC_1
="#"
50359 if test "x$PLATFORM_MAC" = "x1" ; then
50360 COND_PLATFORM_MAC_1
=""
50363 COND_PLATFORM_MSDOS_0
="#"
50364 if test "x$PLATFORM_MSDOS" = "x0" ; then
50365 COND_PLATFORM_MSDOS_0
=""
50368 COND_PLATFORM_MSDOS_1
="#"
50369 if test "x$PLATFORM_MSDOS" = "x1" ; then
50370 COND_PLATFORM_MSDOS_1
=""
50373 COND_PLATFORM_OS2_1
="#"
50374 if test "x$PLATFORM_OS2" = "x1" ; then
50375 COND_PLATFORM_OS2_1
=""
50378 COND_PLATFORM_UNIX_0
="#"
50379 if test "x$PLATFORM_UNIX" = "x0" ; then
50380 COND_PLATFORM_UNIX_0
=""
50383 COND_PLATFORM_UNIX_1
="#"
50384 if test "x$PLATFORM_UNIX" = "x1" ; then
50385 COND_PLATFORM_UNIX_1
=""
50388 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50389 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50390 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50393 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50394 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50395 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50398 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50399 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50400 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50403 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50404 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50405 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50408 COND_PLATFORM_WIN32_0
="#"
50409 if test "x$PLATFORM_WIN32" = "x0" ; then
50410 COND_PLATFORM_WIN32_0
=""
50413 COND_PLATFORM_WIN32_1
="#"
50414 if test "x$PLATFORM_WIN32" = "x1" ; then
50415 COND_PLATFORM_WIN32_1
=""
50419 if test "x$SHARED" = "x0" ; then
50423 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50424 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50425 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50428 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50429 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50430 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50433 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50434 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50435 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50438 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50439 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50440 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50443 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50444 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50445 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50448 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50449 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50450 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50453 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50454 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50455 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50458 COND_SHARED_0_USE_STC_1
="#"
50459 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50460 COND_SHARED_0_USE_STC_1
=""
50463 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50464 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50465 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50468 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50469 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50470 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50473 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50474 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50475 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50479 if test "x$SHARED" = "x1" ; then
50483 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50484 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50485 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50489 if test "x$TOOLKIT" = "x" ; then
50493 COND_TOOLKIT_COCOA
="#"
50494 if test "x$TOOLKIT" = "xCOCOA" ; then
50495 COND_TOOLKIT_COCOA
=""
50498 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50499 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50500 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50503 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50504 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50505 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50508 COND_TOOLKIT_DFB
="#"
50509 if test "x$TOOLKIT" = "xDFB" ; then
50510 COND_TOOLKIT_DFB
=""
50513 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50514 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50515 COND_TOOLKIT_DFB_USE_GUI_1
=""
50518 COND_TOOLKIT_GTK
="#"
50519 if test "x$TOOLKIT" = "xGTK" ; then
50520 COND_TOOLKIT_GTK
=""
50523 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50524 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50525 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50528 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50529 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50530 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50533 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50534 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50535 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50538 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50539 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50540 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50543 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50544 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50545 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50548 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50549 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50550 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50553 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50554 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50555 COND_TOOLKIT_GTK_USE_GUI_1
=""
50558 COND_TOOLKIT_MAC
="#"
50559 if test "x$TOOLKIT" = "xMAC" ; then
50560 COND_TOOLKIT_MAC
=""
50563 COND_TOOLKIT_MGL
="#"
50564 if test "x$TOOLKIT" = "xMGL" ; then
50565 COND_TOOLKIT_MGL
=""
50568 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50569 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50570 COND_TOOLKIT_MGL_USE_GUI_1
=""
50573 COND_TOOLKIT_MOTIF
="#"
50574 if test "x$TOOLKIT" = "xMOTIF" ; then
50575 COND_TOOLKIT_MOTIF
=""
50578 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50579 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50580 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50583 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50584 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50585 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50588 COND_TOOLKIT_MSW
="#"
50589 if test "x$TOOLKIT" = "xMSW" ; then
50590 COND_TOOLKIT_MSW
=""
50593 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50594 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50595 COND_TOOLKIT_MSW_USE_GUI_1
=""
50598 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50599 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50600 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50603 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50604 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50605 COND_TOOLKIT_MSW_WXUNIV_0
=""
50608 COND_TOOLKIT_OSX_CARBON
="#"
50609 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50610 COND_TOOLKIT_OSX_CARBON
=""
50613 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50614 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50615 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50618 COND_TOOLKIT_OSX_COCOA
="#"
50619 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50620 COND_TOOLKIT_OSX_COCOA
=""
50623 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50624 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50625 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50628 COND_TOOLKIT_OSX_IPHONE
="#"
50629 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50630 COND_TOOLKIT_OSX_IPHONE
=""
50633 COND_TOOLKIT_PM
="#"
50634 if test "x$TOOLKIT" = "xPM" ; then
50638 COND_TOOLKIT_PM_USE_GUI_1
="#"
50639 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50640 COND_TOOLKIT_PM_USE_GUI_1
=""
50643 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50644 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50645 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50648 COND_TOOLKIT_WINCE
="#"
50649 if test "x$TOOLKIT" = "xWINCE" ; then
50650 COND_TOOLKIT_WINCE
=""
50653 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50654 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50655 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50658 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50659 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50660 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50663 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50664 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50665 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50668 COND_TOOLKIT_X11
="#"
50669 if test "x$TOOLKIT" = "xX11" ; then
50670 COND_TOOLKIT_X11
=""
50673 COND_TOOLKIT_X11_USE_GUI_1
="#"
50674 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50675 COND_TOOLKIT_X11_USE_GUI_1
=""
50679 if test "x$UNICODE" = "x1" ; then
50683 COND_USE_EXCEPTIONS_0
="#"
50684 if test "x$USE_EXCEPTIONS" = "x0" ; then
50685 COND_USE_EXCEPTIONS_0
=""
50688 COND_USE_EXCEPTIONS_1
="#"
50689 if test "x$USE_EXCEPTIONS" = "x1" ; then
50690 COND_USE_EXCEPTIONS_1
=""
50694 if test "x$USE_GUI" = "x0" ; then
50699 if test "x$USE_GUI" = "x1" ; then
50703 COND_USE_GUI_1_USE_OPENGL_1
="#"
50704 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50705 COND_USE_GUI_1_USE_OPENGL_1
=""
50708 COND_USE_GUI_1_WXUNIV_0
="#"
50709 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50710 COND_USE_GUI_1_WXUNIV_0
=""
50713 COND_USE_GUI_1_WXUNIV_1
="#"
50714 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50715 COND_USE_GUI_1_WXUNIV_1
=""
50718 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50719 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50720 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50723 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50724 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50725 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50728 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50729 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50730 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50733 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50734 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50735 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50738 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50739 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50740 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50743 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50744 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50745 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50748 COND_USE_OPENGL_1
="#"
50749 if test "x$USE_OPENGL" = "x1" ; then
50750 COND_USE_OPENGL_1
=""
50754 if test "x$USE_PCH" = "x1" ; then
50758 COND_USE_PLUGINS_0
="#"
50759 if test "x$USE_PLUGINS" = "x0" ; then
50760 COND_USE_PLUGINS_0
=""
50763 COND_USE_RTTI_0
="#"
50764 if test "x$USE_RTTI" = "x0" ; then
50768 COND_USE_RTTI_1
="#"
50769 if test "x$USE_RTTI" = "x1" ; then
50773 COND_USE_SOTWOSYMLINKS_1
="#"
50774 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
50775 COND_USE_SOTWOSYMLINKS_1
=""
50778 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50779 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50780 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50783 COND_USE_SOVERLINUX_1
="#"
50784 if test "x$USE_SOVERLINUX" = "x1" ; then
50785 COND_USE_SOVERLINUX_1
=""
50788 COND_USE_SOVERSION_0
="#"
50789 if test "x$USE_SOVERSION" = "x0" ; then
50790 COND_USE_SOVERSION_0
=""
50793 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
50794 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
50795 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
50798 COND_USE_SOVERSOLARIS_1
="#"
50799 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50800 COND_USE_SOVERSOLARIS_1
=""
50804 if test "x$USE_STC" = "x1" ; then
50808 COND_USE_THREADS_0
="#"
50809 if test "x$USE_THREADS" = "x0" ; then
50810 COND_USE_THREADS_0
=""
50813 COND_USE_THREADS_1
="#"
50814 if test "x$USE_THREADS" = "x1" ; then
50815 COND_USE_THREADS_1
=""
50819 if test "x$USE_XRC" = "x1" ; then
50823 COND_WINDOWS_IMPLIB_1
="#"
50824 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50825 COND_WINDOWS_IMPLIB_1
=""
50828 COND_WITH_PLUGIN_SDL_1
="#"
50829 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50830 COND_WITH_PLUGIN_SDL_1
=""
50834 if test "x$WXUNIV" = "x0" ; then
50839 if test "x$WXUNIV" = "x1" ; then
50843 COND_WXUSE_EXPAT_BUILTIN
="#"
50844 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50845 COND_WXUSE_EXPAT_BUILTIN
=""
50848 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50849 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50850 COND_WXUSE_LIBJPEG_BUILTIN
=""
50853 COND_WXUSE_LIBPNG_BUILTIN
="#"
50854 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50855 COND_WXUSE_LIBPNG_BUILTIN
=""
50858 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50859 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50860 COND_WXUSE_LIBTIFF_BUILTIN
=""
50863 COND_WXUSE_REGEX_BUILTIN
="#"
50864 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50865 COND_WXUSE_REGEX_BUILTIN
=""
50868 COND_WXUSE_ZLIB_BUILTIN
="#"
50869 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50870 COND_WXUSE_ZLIB_BUILTIN
=""
50873 COND_wxUSE_EXPAT_builtin
="#"
50874 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50875 COND_wxUSE_EXPAT_builtin
=""
50878 COND_wxUSE_LIBJPEG_builtin
="#"
50879 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50880 COND_wxUSE_LIBJPEG_builtin
=""
50883 COND_wxUSE_LIBPNG_builtin
="#"
50884 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50885 COND_wxUSE_LIBPNG_builtin
=""
50888 COND_wxUSE_LIBTIFF_builtin
="#"
50889 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50890 COND_wxUSE_LIBTIFF_builtin
=""
50893 COND_wxUSE_REGEX_builtin
="#"
50894 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50895 COND_wxUSE_REGEX_builtin
=""
50898 COND_wxUSE_ZLIB_builtin
="#"
50899 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50900 COND_wxUSE_ZLIB_builtin
=""
50905 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50906 { { 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
50907 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;}
50908 { (exit 1); exit 1; }; }
50911 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50912 { { 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
50913 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;}
50914 { (exit 1); exit 1; }; }
50921 ?
:* ) # Drive letter, considered as absolute.
50924 INSTALL
=`pwd`/${INSTALL} ;;
50927 if test "$wxUSE_GUI" = "yes"; then
50929 if test "$wxUSE_MSW" = 1 ; then
50930 if test "x$WINDRES" = "x"; then
50931 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50932 echo "$as_me: error: Required windres program not found" >&2;}
50933 { (exit 1); exit 1; }; }
50936 RESCOMP
="$WINDRES $WINDRES_CPU_DEFINE"
50939 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50940 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50941 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50943 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50945 # Extract the first word of "DeRez", so it can be a program name with args.
50946 set dummy DeRez
; ac_word
=$2
50947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50949 if test "${ac_cv_prog_DEREZ+set}" = set; then
50950 echo $ECHO_N "(cached) $ECHO_C" >&6
50952 if test -n "$DEREZ"; then
50953 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50956 for as_dir
in $PATH
50959 test -z "$as_dir" && as_dir
=.
50960 for ac_exec_ext
in '' $ac_executable_extensions; do
50961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50962 ac_cv_prog_DEREZ
="DeRez"
50963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50970 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50973 DEREZ
=$ac_cv_prog_DEREZ
50974 if test -n "$DEREZ"; then
50975 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50976 echo "${ECHO_T}$DEREZ" >&6; }
50978 { echo "$as_me:$LINENO: result: no" >&5
50979 echo "${ECHO_T}no" >&6; }
50984 MACSETFILE
="\$(SETFILE)"
50986 if test "$wxUSE_OSX_CARBON" = 1; then
50987 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50989 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50991 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50992 RESCOMP
="cat /dev/null \| $REZ"
50993 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50999 if test "$wxUSE_PM" = 1; then
51001 WXCONFIG_RESFLAGS
="-ep"
51003 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
51005 POSTLINK_COMMAND
="@true"
51012 if test $GCC_PCH = 1
51014 if test "$wx_cv_gcc_pch_bug" = yes; then
51015 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51016 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51017 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51018 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51019 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51020 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51023 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51024 # the headers that benefit from precompilation are mostly C++ headers.
51025 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
51026 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51027 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51031 if test "$wxUSE_MAC" = 1 ; then
51032 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51033 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
51039 if test "$wxUSE_SHARED" = "yes"; then
51041 *-pc-os2_emx | *-pc-os2-emx )
51042 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51043 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51044 cp -p ${srcdir}/src
/os
2/dllnames.sh .
51045 cp -p ${srcdir}/src
/os
2/dllar.sh .
51049 if test "$wxUSE_OMF" = "yes"; then
51051 *-pc-os2_emx | *-pc-os2-emx )
51052 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
51053 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
51054 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
51059 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51064 if test "$GCC" = yes; then
51065 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
51066 LIBS
=`echo $LIBS | sed 's/-mt//'`
51067 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51072 if test "x$SUNCXX" = xyes
; then
51073 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
51074 LIBS
=`echo $LIBS | sed 's/-pthread//'`
51075 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51080 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
51081 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51082 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
51083 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51085 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51145 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51146 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51147 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51148 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
51149 echo $ECHO_N "(cached) $ECHO_C" >&6
51151 cat >conftest.
make <<\_ACEOF
51154 @
echo '@@@%%%=$(MAKE)=@@@%%%'
51156 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51157 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51158 *@@@
%%%=?
*=@@@
%%%*)
51159 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
51161 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
51163 rm -f conftest.
make
51165 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
51166 { echo "$as_me:$LINENO: result: yes" >&5
51167 echo "${ECHO_T}yes" >&6; }
51170 { echo "$as_me:$LINENO: result: no" >&5
51171 echo "${ECHO_T}no" >&6; }
51172 SET_MAKE
="MAKE=${MAKE-make}"
51177 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51180 if test "$USE_WIN32" = 1; then
51181 ac_config_commands
="$ac_config_commands rcdefs.h"
51185 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51188 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51191 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
51194 if test "$wx_cv_version_script" = "yes"; then
51195 ac_config_files
="$ac_config_files version-script"
51198 ac_config_files
="$ac_config_files Makefile"
51201 ac_config_commands
="$ac_config_commands wx-config"
51205 if test "$wxWITH_SUBDIRS" != "no"; then
51206 if test "$wxUSE_GUI" = "yes"; then
51207 SUBDIRS
="samples demos utils"
51209 SUBDIRS
="samples utils"
51214 # Check whether --with-cppunit-prefix was given.
51215 if test "${with_cppunit_prefix+set}" = set; then
51216 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
51218 cppunit_config_prefix
=""
51222 # Check whether --with-cppunit-exec-prefix was given.
51223 if test "${with_cppunit_exec_prefix+set}" = set; then
51224 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
51226 cppunit_config_exec_prefix
=""
51230 if test x
$cppunit_config_exec_prefix != x
; then
51231 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51232 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51233 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
51236 if test x
$cppunit_config_prefix != x
; then
51237 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
51238 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51239 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
51243 # Extract the first word of "cppunit-config", so it can be a program name with args.
51244 set dummy cppunit
-config; ac_word
=$2
51245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51247 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51248 echo $ECHO_N "(cached) $ECHO_C" >&6
51250 case $CPPUNIT_CONFIG in
51252 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51256 for as_dir
in $PATH
51259 test -z "$as_dir" && as_dir
=.
51260 for ac_exec_ext
in '' $ac_executable_extensions; do
51261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51262 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
51263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51270 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
51274 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
51275 if test -n "$CPPUNIT_CONFIG"; then
51276 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51277 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51279 { echo "$as_me:$LINENO: result: no" >&5
51280 echo "${ECHO_T}no" >&6; }
51284 cppunit_version_min
=1.8.0
51286 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51287 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51289 if test "$CPPUNIT_CONFIG" = "no" ; then
51290 { echo "$as_me:$LINENO: result: no" >&5
51291 echo "${ECHO_T}no" >&6; }
51294 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
51295 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
51296 cppunit_version
=`$CPPUNIT_CONFIG --version`
51298 cppunit_major_version
=`echo $cppunit_version | \
51299 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51300 cppunit_minor_version
=`echo $cppunit_version | \
51301 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51302 cppunit_micro_version
=`echo $cppunit_version | \
51303 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51305 cppunit_major_min
=`echo $cppunit_version_min | \
51306 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51307 cppunit_minor_min
=`echo $cppunit_version_min | \
51308 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51309 cppunit_micro_min
=`echo $cppunit_version_min | \
51310 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51312 cppunit_version_proper
=`expr \
51313 $cppunit_major_version \> $cppunit_major_min \| \
51314 $cppunit_major_version \= $cppunit_major_min \& \
51315 $cppunit_minor_version \> $cppunit_minor_min \| \
51316 $cppunit_major_version \= $cppunit_major_min \& \
51317 $cppunit_minor_version \= $cppunit_minor_min \& \
51318 $cppunit_micro_version \>= $cppunit_micro_min `
51320 if test "$cppunit_version_proper" = "1" ; then
51321 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51322 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51324 { echo "$as_me:$LINENO: result: no" >&5
51325 echo "${ECHO_T}no" >&6; }
51330 if test "x$no_cppunit" = x
; then
51331 SUBDIRS
="$SUBDIRS tests"
51342 for subdir
in $SUBDIRS; do
51343 if test -d ${srcdir}/${subdir} ; then
51344 if test "$wxUSE_GUI" = "yes"; then
51345 if test ${subdir} = "samples"; then
51346 makefiles
="samples/Makefile.in $makefiles"
51347 for sample
in $SAMPLES_SUBDIRS; do
51348 if test -d $srcdir/samples
/$sample; then
51349 makefiles
="samples/$sample/Makefile.in $makefiles"
51353 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
51354 eval "disabled=\$$disabled_var"
51355 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51356 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51359 if test ${subdir} = "samples"; then
51360 makefiles
="samples/Makefile.in $makefiles"
51361 for sample
in `echo $SAMPLES_SUBDIRS`; do
51362 if test -d $srcdir/samples
/$sample; then
51363 makefiles
="samples/$sample/Makefile.in $makefiles"
51366 elif test ${subdir} = "utils"; then
51368 for util
in ifacecheck
; do
51369 if test -d $srcdir/utils
/$util ; then
51370 makefiles
="utils/$util/src/Makefile.in \
51375 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51379 for mkin
in $makefiles ; do
51380 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51381 ac_config_files
="$ac_config_files $mk"
51387 cat >confcache
<<\_ACEOF
51388 # This file is a shell script that caches the results of configure
51389 # tests run on this system so they can be shared between configure
51390 # scripts and configure runs, see configure's option --config-cache.
51391 # It is not useful on other systems. If it contains results you don't
51392 # want to keep, you may remove or edit it.
51394 # config.status only pays attention to the cache file if you give it
51395 # the --recheck option to rerun configure.
51397 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51398 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51399 # following values.
51403 # The following way of writing the cache mishandles newlines in values,
51404 # but we know of no workaround that is simple, portable, and efficient.
51405 # So, we kill variables containing newlines.
51406 # Ultrix sh set writes to stderr and can't be redirected directly,
51407 # and sets the high bit in the cache file unless we assign to the vars.
51409 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51410 eval ac_val
=\$
$ac_var
51414 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51415 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51418 _
| IFS
| as_nl
) ;; #(
51419 *) $as_unset $ac_var ;;
51425 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51426 *${as_nl}ac_space
=\
*)
51427 # `set' does not quote correctly, so add quotes (double-quote
51428 # substitution turns \\\\ into \\, and sed turns \\ into \).
51431 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51434 # `set' quotes correctly as required by POSIX, so do not add quotes.
51435 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51444 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51446 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51448 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51449 if test -w "$cache_file"; then
51450 test "x$cache_file" != "x/dev/null" &&
51451 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51452 echo "$as_me: updating cache $cache_file" >&6;}
51453 cat confcache
>$cache_file
51455 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51456 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51461 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51462 # Let make expand exec_prefix.
51463 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51465 DEFS
=-DHAVE_CONFIG_H
51469 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51470 # 1. Remove the extension, and $U if already installed.
51471 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51472 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51473 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51474 # will be set to the directory where LIBOBJS objects are built.
51475 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51476 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51478 LIBOBJS
=$ac_libobjs
51480 LTLIBOBJS
=$ac_ltlibobjs
51484 : ${CONFIG_STATUS=./config.status}
51485 ac_clean_files_save
=$ac_clean_files
51486 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51487 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51488 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51489 cat >$CONFIG_STATUS <<_ACEOF
51491 # Generated by $as_me.
51492 # Run this file to recreate the current configuration.
51493 # Compiler output produced by configure, useful for debugging
51494 # configure, is in config.log if it exists.
51497 ac_cs_recheck=false
51499 SHELL=\${CONFIG_SHELL-$SHELL}
51502 cat >>$CONFIG_STATUS <<\_ACEOF
51503 ## --------------------- ##
51504 ## M4sh Initialization. ##
51505 ## --------------------- ##
51507 # Be more Bourne compatible
51508 DUALCASE
=1; export DUALCASE
# for MKS sh
51509 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51512 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51513 # is contrary to our usage. Disable this feature.
51514 alias -g '${1+"$@"}'='"$@"'
51515 setopt NO_GLOB_SUBST
51517 case `(set -o) 2>/dev/null` in
51518 *posix
*) set -o posix
;;
51527 # Avoid depending upon Character Ranges.
51528 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51529 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51530 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51531 as_cr_digits
='0123456789'
51532 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51534 # The user is always right.
51535 if test "${PATH_SEPARATOR+set}" != set; then
51536 echo "#! /bin/sh" >conf$$.sh
51537 echo "exit 0" >>conf$$.sh
51539 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51547 # Support unset when possible.
51548 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51556 # We need space, tab and new line, in precisely that order. Quoting is
51557 # there to prevent editors from complaining about space-tab.
51558 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51559 # splitting by setting IFS to empty value.)
51564 # Find who we are. Look in the path if we contain no directory separator.
51566 *[\\/]* ) as_myself
=$0 ;;
51567 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51568 for as_dir
in $PATH
51571 test -z "$as_dir" && as_dir
=.
51572 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51578 # We did not find ourselves, most probably we were run as `sh COMMAND'
51579 # in which case we are not to be found in the path.
51580 if test "x$as_myself" = x
; then
51583 if test ! -f "$as_myself"; then
51584 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51585 { (exit 1); exit 1; }
51588 # Work around bugs in pre-3.0 UWIN ksh.
51589 for as_var
in ENV MAIL MAILPATH
51590 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51598 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51599 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51600 LC_TELEPHONE LC_TIME
51602 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51603 eval $as_var=C
; export $as_var
51605 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51609 # Required to use basename.
51610 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51611 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51617 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51618 as_basename
=basename
51624 # Name of the executable.
51625 as_me
=`$as_basename -- "$0" ||
51626 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51627 X"$0" : 'X\(//\)$' \| \
51628 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51630 sed '/^.*\/\([^/][^/]*\)\/*$/{
51649 as_lineno_1
=$LINENO
51650 as_lineno_2
=$LINENO
51651 test "x$as_lineno_1" != "x$as_lineno_2" &&
51652 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51654 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51655 # uniformly replaced by the line number. The first 'sed' inserts a
51656 # line-number line after each line using $LINENO; the second 'sed'
51657 # does the real work. The second script uses 'N' to pair each
51658 # line-number line with the line containing $LINENO, and appends
51659 # trailing '-' during substitution so that $LINENO is not a special
51660 # case at line end.
51661 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51662 # scripts with optimization help from Paolo Bonzini. Blame Lee
51663 # E. McMahon (1931-1989) for sed's syntax. :-)
51675 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51678 ' >$as_me.lineno
&&
51679 chmod +x
"$as_me.lineno" ||
51680 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51681 { (exit 1); exit 1; }; }
51683 # Don't try to exec as it changes $[0], causing all sort of problems
51684 # (the dirname of $[0] is not the place where we might find the
51685 # original and so on. Autoconf is especially sensitive to this).
51686 .
"./$as_me.lineno"
51687 # Exit status is that of the last command.
51692 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51698 ECHO_C
= ECHO_N
= ECHO_T
=
51699 case `echo -n x` in
51701 case `echo 'x\c'` in
51702 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51709 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51710 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51716 rm -f conf$$ conf$$.exe conf$$.
file
51717 if test -d conf$$.dir
; then
51718 rm -f conf$$.dir
/conf$$.
file
51724 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51726 # ... but there are two gotchas:
51727 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51728 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51729 # In both cases, we have to default to `cp -p'.
51730 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51732 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51737 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51738 rmdir conf$$.dir
2>/dev
/null
51740 if mkdir -p .
2>/dev
/null
; then
51743 test -d .
/-p && rmdir .
/-p
51747 if test -x / >/dev
/null
2>&1; then
51748 as_test_x
='test -x'
51750 if ls -dL / >/dev
/null
2>&1; then
51757 if test -d "$1"; then
51763 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51764 ???[sx]*):;;*)false;;esac;fi
51768 as_executable_p
=$as_test_x
51770 # Sed expression to map a string onto a valid CPP name.
51771 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51773 # Sed expression to map a string onto a valid variable name.
51774 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51779 # Save the log message, to keep $[0] and so on meaningful, and to
51780 # report actual input values of CONFIG_FILES etc. instead of their
51781 # values after options handling.
51783 This file was extended by wxWidgets $as_me 2.9.1, which was
51784 generated by GNU Autoconf 2.61. Invocation command line was
51786 CONFIG_FILES = $CONFIG_FILES
51787 CONFIG_HEADERS = $CONFIG_HEADERS
51788 CONFIG_LINKS = $CONFIG_LINKS
51789 CONFIG_COMMANDS = $CONFIG_COMMANDS
51792 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51797 cat >>$CONFIG_STATUS <<_ACEOF
51798 # Files that config.status was made for.
51799 config_files="$ac_config_files"
51800 config_headers="$ac_config_headers"
51801 config_commands="$ac_config_commands"
51805 cat >>$CONFIG_STATUS <<\_ACEOF
51807 \`$as_me' instantiates files from templates according to the
51808 current configuration.
51810 Usage: $0 [OPTIONS] [FILE]...
51812 -h, --help print this help, then exit
51813 -V, --version print version number and configuration settings, then exit
51814 -q, --quiet do not print progress messages
51815 -d, --debug don't remove temporary files
51816 --recheck update $as_me by reconfiguring in the same conditions
51817 --file=FILE[:TEMPLATE]
51818 instantiate the configuration file FILE
51819 --header=FILE[:TEMPLATE]
51820 instantiate the configuration header FILE
51822 Configuration files:
51825 Configuration headers:
51828 Configuration commands:
51831 Report bugs to <bug-autoconf@gnu.org>."
51834 cat >>$CONFIG_STATUS <<_ACEOF
51836 wxWidgets config.status 2.9.1
51837 configured by $0, generated by GNU Autoconf 2.61,
51838 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51840 Copyright (C) 2006 Free Software Foundation, Inc.
51841 This config.status script is free software; the Free Software Foundation
51842 gives unlimited permission to copy, distribute and modify it."
51849 cat >>$CONFIG_STATUS <<\_ACEOF
51850 # If no file are specified by the user, then we need to provide default
51851 # value. By we need to know if files were specified by the user.
51857 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51858 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51869 # Handling of the options.
51870 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51872 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51873 echo "$ac_cs_version"; exit ;;
51874 --debug | --debu | --deb | --de | --d | -d )
51876 --file | --fil | --fi | --f )
51878 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51879 ac_need_defaults
=false
;;
51880 --header | --heade | --head | --hea )
51882 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51883 ac_need_defaults
=false
;;
51885 # Conflict between --help and --header
51886 { echo "$as_me: error: ambiguous option: $1
51887 Try \`$0 --help' for more information." >&2
51888 { (exit 1); exit 1; }; };;
51889 --help | --hel | -h )
51890 echo "$ac_cs_usage"; exit ;;
51891 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51892 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51895 # This is an error.
51896 -*) { echo "$as_me: error: unrecognized option: $1
51897 Try \`$0 --help' for more information." >&2
51898 { (exit 1); exit 1; }; } ;;
51900 *) ac_config_targets
="$ac_config_targets $1"
51901 ac_need_defaults
=false
;;
51907 ac_configure_extra_args
=
51909 if $ac_cs_silent; then
51911 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51915 cat >>$CONFIG_STATUS <<_ACEOF
51916 if \$ac_cs_recheck; then
51917 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51918 CONFIG_SHELL=$SHELL
51919 export CONFIG_SHELL
51920 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51924 cat >>$CONFIG_STATUS <<\_ACEOF
51928 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51929 ## Running $as_me. ##
51935 cat >>$CONFIG_STATUS <<_ACEOF
51941 infile="$srcdir/include/wx/msw/genrcdefs.h"
51942 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51945 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51946 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51947 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51953 cat >>$CONFIG_STATUS <<\_ACEOF
51955 # Handling of arguments.
51956 for ac_config_target
in $ac_config_targets
51958 case $ac_config_target in
51959 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51960 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51961 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51962 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51963 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51964 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51965 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51966 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51967 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51969 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51970 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51971 { (exit 1); exit 1; }; };;
51976 # If the user did not use the arguments to specify the items to instantiate,
51977 # then the envvar interface is used. Set only those that are not.
51978 # We use the long form for the default assignment because of an extremely
51979 # bizarre bug on SunOS 4.1.3.
51980 if $ac_need_defaults; then
51981 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51982 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51983 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51986 # Have a temporary directory for convenience. Make it in the build tree
51987 # simply because there is no reason against having it here, and in addition,
51988 # creating and moving files from /tmp can sometimes cause problems.
51989 # Hook for its removal unless debugging.
51990 # Note that there is a small window in which the directory will not be cleaned:
51991 # after its creation but before its name has been assigned to `$tmp'.
51995 trap 'exit_status=$?
51996 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51998 trap '{ (exit 1); exit 1; }' 1 2 13 15
52000 # Create a (secure) tmp directory for tmp files.
52003 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52004 test -n "$tmp" && test -d "$tmp"
52007 tmp
=.
/conf$$
-$RANDOM
52008 (umask 077 && mkdir "$tmp")
52011 echo "$me: cannot create a temporary directory in ." >&2
52012 { (exit 1); exit 1; }
52016 # Set up the sed scripts for CONFIG_FILES section.
52019 # No need to generate the scripts if there are no CONFIG_FILES.
52020 # This happens for instance when ./config.status config.h
52021 if test -n "$CONFIG_FILES"; then
52028 for ac_last_try
in false false false false false
:; do
52029 cat >conf$
$subs.
sed <<_ACEOF
52030 SHELL!$SHELL$ac_delim
52031 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52032 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52033 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52034 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52035 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52036 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52037 exec_prefix!$exec_prefix$ac_delim
52038 prefix!$prefix$ac_delim
52039 program_transform_name!$program_transform_name$ac_delim
52040 bindir!$bindir$ac_delim
52041 sbindir!$sbindir$ac_delim
52042 libexecdir!$libexecdir$ac_delim
52043 datarootdir!$datarootdir$ac_delim
52044 datadir!$datadir$ac_delim
52045 sysconfdir!$sysconfdir$ac_delim
52046 sharedstatedir!$sharedstatedir$ac_delim
52047 localstatedir!$localstatedir$ac_delim
52048 includedir!$includedir$ac_delim
52049 oldincludedir!$oldincludedir$ac_delim
52050 docdir!$docdir$ac_delim
52051 infodir!$infodir$ac_delim
52052 htmldir!$htmldir$ac_delim
52053 dvidir!$dvidir$ac_delim
52054 pdfdir!$pdfdir$ac_delim
52055 psdir!$psdir$ac_delim
52056 libdir!$libdir$ac_delim
52057 localedir!$localedir$ac_delim
52058 mandir!$mandir$ac_delim
52059 DEFS!$DEFS$ac_delim
52060 ECHO_C!$ECHO_C$ac_delim
52061 ECHO_N!$ECHO_N$ac_delim
52062 ECHO_T!$ECHO_T$ac_delim
52063 LIBS!$LIBS$ac_delim
52064 build_alias!$build_alias$ac_delim
52065 host_alias!$host_alias$ac_delim
52066 target_alias!$target_alias$ac_delim
52067 build!$build$ac_delim
52068 build_cpu!$build_cpu$ac_delim
52069 build_vendor!$build_vendor$ac_delim
52070 build_os!$build_os$ac_delim
52071 host!$host$ac_delim
52072 host_cpu!$host_cpu$ac_delim
52073 host_vendor!$host_vendor$ac_delim
52074 host_os!$host_os$ac_delim
52075 wx_top_builddir!$wx_top_builddir$ac_delim
52077 CFLAGS!$CFLAGS$ac_delim
52078 LDFLAGS!$LDFLAGS$ac_delim
52079 CPPFLAGS!$CPPFLAGS$ac_delim
52080 ac_ct_CC!$ac_ct_CC$ac_delim
52081 EXEEXT!$EXEEXT$ac_delim
52082 OBJEXT!$OBJEXT$ac_delim
52084 GREP!$GREP$ac_delim
52085 EGREP!$EGREP$ac_delim
52087 CXXFLAGS!$CXXFLAGS$ac_delim
52088 ac_ct_CXX!$ac_ct_CXX$ac_delim
52090 subdirs!$subdirs$ac_delim
52091 PKG_CONFIG!$PKG_CONFIG$ac_delim
52092 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52093 GTK_LIBS!$GTK_LIBS$ac_delim
52094 GTK_CONFIG!$GTK_CONFIG$ac_delim
52095 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52096 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52097 XMKMF!$XMKMF$ac_delim
52098 X_CFLAGS!$X_CFLAGS$ac_delim
52099 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52100 X_LIBS!$X_LIBS$ac_delim
52101 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52102 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52103 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52104 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52105 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52106 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52107 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52108 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52109 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52110 LIBICONV!$LIBICONV$ac_delim
52111 GXX_VERSION!$GXX_VERSION$ac_delim
52112 SDL_CONFIG!$SDL_CONFIG$ac_delim
52113 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52114 SDL_LIBS!$SDL_LIBS$ac_delim
52115 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52116 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52117 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52118 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52119 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52120 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52121 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52122 HILDON_LIBS!$HILDON_LIBS$ac_delim
52123 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52124 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52125 PYTHON!$PYTHON$ac_delim
52126 COND_PYTHON!$COND_PYTHON$ac_delim
52129 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52131 elif $ac_last_try; then
52132 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52133 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52134 { (exit 1); exit 1; }; }
52136 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52140 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52141 if test -n "$ac_eof"; then
52142 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52143 ac_eof
=`expr $ac_eof + 1`
52146 cat >>$CONFIG_STATUS <<_ACEOF
52147 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52148 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52151 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52152 s/^/s,@/; s/!/@,|#_!!_#|/
52155 s/'"$ac_delim"'$/,g/; t
52157 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52158 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52159 rm -f conf$
$subs.
sed
52160 cat >>$CONFIG_STATUS <<_ACEOF
52166 for ac_last_try
in false false false false false
:; do
52167 cat >conf$
$subs.
sed <<_ACEOF
52168 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52169 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52170 GST_CFLAGS!$GST_CFLAGS$ac_delim
52171 GST_LIBS!$GST_LIBS$ac_delim
52172 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52173 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52174 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52175 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52176 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52177 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52178 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52179 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52180 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52181 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52182 VENDOR!$VENDOR$ac_delim
52183 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52184 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52185 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52186 WXUNIV!$WXUNIV$ac_delim
52187 MONOLITHIC!$MONOLITHIC$ac_delim
52188 USE_PLUGINS!$USE_PLUGINS$ac_delim
52189 CXXWARNINGS!$CXXWARNINGS$ac_delim
52190 EXTRALIBS!$EXTRALIBS$ac_delim
52191 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52192 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52193 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52194 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52195 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52196 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52197 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52198 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52199 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52200 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52201 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52202 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52203 UNICODE!$UNICODE$ac_delim
52204 DEBUG_INFO!$DEBUG_INFO$ac_delim
52205 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52206 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52207 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52208 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52209 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52210 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52211 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52212 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52213 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52214 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52215 RANLIB!$RANLIB$ac_delim
52216 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52217 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52218 INSTALL_DATA!$INSTALL_DATA$ac_delim
52219 LN_S!$LN_S$ac_delim
52220 SET_MAKE!$SET_MAKE$ac_delim
52221 MAKE_SET!$MAKE_SET$ac_delim
52222 AROPTIONS!$AROPTIONS$ac_delim
52223 STRIP!$STRIP$ac_delim
52225 INSTALL_DIR!$INSTALL_DIR$ac_delim
52226 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52227 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52228 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52229 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52230 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52231 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52232 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52233 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52234 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52235 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52236 SO_SUFFIX!$SO_SUFFIX$ac_delim
52237 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52238 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52239 LIBPREFIX!$LIBPREFIX$ac_delim
52240 LIBEXT!$LIBEXT$ac_delim
52241 DLLPREFIX!$DLLPREFIX$ac_delim
52242 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52243 dlldir!$dlldir$ac_delim
52244 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52245 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52246 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52247 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52248 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52249 PIC_FLAG!$PIC_FLAG$ac_delim
52250 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52251 USE_SOVERSION!$USE_SOVERSION$ac_delim
52252 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52253 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52254 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52255 USE_MACVERSION!$USE_MACVERSION$ac_delim
52256 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52257 SONAME_FLAG!$SONAME_FLAG$ac_delim
52258 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52259 BK_DEPS!$BK_DEPS$ac_delim
52260 WINDRES!$WINDRES$ac_delim
52262 SETFILE!$SETFILE$ac_delim
52263 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52264 GCC_PCH!$GCC_PCH$ac_delim
52267 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52269 elif $ac_last_try; then
52270 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52271 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52272 { (exit 1); exit 1; }; }
52274 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52278 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52279 if test -n "$ac_eof"; then
52280 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52281 ac_eof
=`expr $ac_eof + 1`
52284 cat >>$CONFIG_STATUS <<_ACEOF
52285 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52286 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52289 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52290 s/^/s,@/; s/!/@,|#_!!_#|/
52293 s/'"$ac_delim"'$/,g/; t
52295 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52296 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52297 rm -f conf$
$subs.
sed
52298 cat >>$CONFIG_STATUS <<_ACEOF
52304 for ac_last_try
in false false false false false
:; do
52305 cat >conf$
$subs.
sed <<_ACEOF
52306 ICC_PCH!$ICC_PCH$ac_delim
52307 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52308 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52309 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52310 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52311 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52312 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52313 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52314 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52315 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52316 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52317 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52318 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52319 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52320 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52321 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52322 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52323 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52324 COND_BUILD_release!$COND_BUILD_release$ac_delim
52325 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52326 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52327 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52328 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52329 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52330 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52331 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52332 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52333 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52334 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52335 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52336 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52337 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52338 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52339 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52340 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52341 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52342 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52343 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52344 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52345 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52346 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52347 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52348 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52349 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52350 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52351 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52352 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52353 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52354 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52355 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52356 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52357 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52358 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52359 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52360 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52361 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52362 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52363 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52364 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52365 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52366 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52367 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52368 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52369 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52370 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52371 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52372 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52373 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52374 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52375 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52376 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52377 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52378 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52379 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52380 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
52381 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52382 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
52383 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52384 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52385 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52386 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52387 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52388 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52389 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52390 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52391 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52392 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52393 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52394 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52395 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52396 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52397 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52398 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52399 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52400 COND_SHARED_0!$COND_SHARED_0$ac_delim
52401 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52402 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52405 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52407 elif $ac_last_try; then
52408 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52409 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52410 { (exit 1); exit 1; }; }
52412 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52416 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52417 if test -n "$ac_eof"; then
52418 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52419 ac_eof
=`expr $ac_eof + 1`
52422 cat >>$CONFIG_STATUS <<_ACEOF
52423 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52424 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52427 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52428 s/^/s,@/; s/!/@,|#_!!_#|/
52431 s/'"$ac_delim"'$/,g/; t
52433 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52434 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52435 rm -f conf$
$subs.
sed
52436 cat >>$CONFIG_STATUS <<_ACEOF
52442 for ac_last_try
in false false false false false
:; do
52443 cat >conf$
$subs.
sed <<_ACEOF
52444 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52445 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52446 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52447 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52448 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52449 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52450 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52451 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52452 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52453 COND_SHARED_1!$COND_SHARED_1$ac_delim
52454 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52455 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52456 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52457 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52458 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52459 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52460 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52461 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52462 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52463 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52464 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52465 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52466 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52467 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52468 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52469 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52470 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52471 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52472 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52473 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52474 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52475 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52476 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52477 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52478 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52479 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52480 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52481 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52482 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52483 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52484 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52485 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52486 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52487 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52488 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52489 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52490 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52491 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52492 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52493 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52494 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52495 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52496 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52497 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52498 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52499 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52500 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52501 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52502 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52503 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52504 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52505 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52506 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52507 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52508 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52509 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52510 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52511 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52512 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
52513 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52514 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52515 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52516 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
52517 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52518 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52519 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52520 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52521 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52522 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52523 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52524 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52525 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52526 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52527 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52528 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52529 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52530 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52531 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52532 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52533 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52534 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52535 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52536 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52537 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52538 DEREZ!$DEREZ$ac_delim
52539 SHARED!$SHARED$ac_delim
52540 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52543 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52545 elif $ac_last_try; then
52546 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52547 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52548 { (exit 1); exit 1; }; }
52550 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52554 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52555 if test -n "$ac_eof"; then
52556 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52557 ac_eof
=`expr $ac_eof + 1`
52560 cat >>$CONFIG_STATUS <<_ACEOF
52561 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52562 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52565 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52566 s/^/s,@/; s/!/@,|#_!!_#|/
52569 s/'"$ac_delim"'$/,g/; t
52571 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52572 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52573 rm -f conf$
$subs.
sed
52574 cat >>$CONFIG_STATUS <<_ACEOF
52580 for ac_last_try
in false false false false false
:; do
52581 cat >conf$
$subs.
sed <<_ACEOF
52582 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52583 USE_GUI!$USE_GUI$ac_delim
52584 AFMINSTALL!$AFMINSTALL$ac_delim
52585 WIN32INSTALL!$WIN32INSTALL$ac_delim
52586 TOOLKIT!$TOOLKIT$ac_delim
52587 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52588 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52589 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52590 cross_compiling!$cross_compiling$ac_delim
52591 WIDGET_SET!$WIDGET_SET$ac_delim
52592 WX_RELEASE!$WX_RELEASE$ac_delim
52593 WX_VERSION!$WX_VERSION$ac_delim
52594 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52595 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52596 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52597 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52598 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52599 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52600 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52601 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52602 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52603 GUIDIST!$GUIDIST$ac_delim
52604 DISTDIR!$DISTDIR$ac_delim
52605 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52606 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52607 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52608 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52609 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52610 RESCOMP!$RESCOMP$ac_delim
52611 RESFLAGS!$RESFLAGS$ac_delim
52612 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52613 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52614 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52615 LIBWXMACRES!$LIBWXMACRES$ac_delim
52616 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52617 MACSETFILE!$MACSETFILE$ac_delim
52619 DLLTOOL!$DLLTOOL$ac_delim
52620 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52621 LIBOBJS!$LIBOBJS$ac_delim
52622 LTLIBOBJS!$LTLIBOBJS$ac_delim
52625 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
52627 elif $ac_last_try; then
52628 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52629 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52630 { (exit 1); exit 1; }; }
52632 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52636 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52637 if test -n "$ac_eof"; then
52638 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52639 ac_eof
=`expr $ac_eof + 1`
52642 cat >>$CONFIG_STATUS <<_ACEOF
52643 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52644 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52647 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52648 s/^/s,@/; s/!/@,|#_!!_#|/
52651 s/'"$ac_delim"'$/,g/; t
52653 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52654 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52655 rm -f conf$
$subs.
sed
52656 cat >>$CONFIG_STATUS <<_ACEOF
52663 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52664 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52665 # trailing colons and then remove the whole line if VPATH becomes empty
52666 # (actually we leave an empty line to preserve line numbers).
52667 if test "x$srcdir" = x.
; then
52668 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52669 s/:*\$(srcdir):*/:/
52670 s/:*\${srcdir}:*/:/
52672 s/^\([^=]*=[ ]*\):*/\1/
52678 cat >>$CONFIG_STATUS <<\_ACEOF
52679 fi # test -n "$CONFIG_FILES"
52682 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52685 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52687 case $ac_mode$ac_tag in
52689 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52690 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52691 { (exit 1); exit 1; }; };;
52692 :[FH
]-) ac_tag
=-:-;;
52693 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52710 -) ac_f
="$tmp/stdin";;
52711 *) # Look for the file first in the build tree, then in the source tree
52712 # (if the path is not absolute). The absolute path cannot be DOS-style,
52713 # because $ac_f cannot contain `:'.
52717 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52719 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52720 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52721 { (exit 1); exit 1; }; };;
52723 ac_file_inputs
="$ac_file_inputs $ac_f"
52726 # Let's still pretend it is `configure' which instantiates (i.e., don't
52727 # use $as_me), people would be surprised to read:
52728 # /* config.h. Generated by config.status. */
52729 configure_input
="Generated from "`IFS=:
52730 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52731 if test x
"$ac_file" != x
-; then
52732 configure_input
="$ac_file. $configure_input"
52733 { echo "$as_me:$LINENO: creating $ac_file" >&5
52734 echo "$as_me: creating $ac_file" >&6;}
52738 *:-:* | *:-) cat >"$tmp/stdin";;
52743 ac_dir
=`$as_dirname -- "$ac_file" ||
52744 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52745 X"$ac_file" : 'X\(//\)[^/]' \| \
52746 X"$ac_file" : 'X\(//\)$' \| \
52747 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52753 /^X\(\/\/\)[^/].*/{
52768 -*) as_dir
=.
/$as_dir;;
52770 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52774 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52775 *) as_qdir
=$as_dir;;
52777 as_dirs
="'$as_qdir' $as_dirs"
52778 as_dir
=`$as_dirname -- "$as_dir" ||
52779 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52780 X"$as_dir" : 'X\(//\)[^/]' \| \
52781 X"$as_dir" : 'X\(//\)$' \| \
52782 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52788 /^X\(\/\/\)[^/].*/{
52801 test -d "$as_dir" && break
52803 test -z "$as_dirs" || eval "mkdir $as_dirs"
52804 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52805 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52806 { (exit 1); exit 1; }; }; }
52810 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52812 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52813 # A ".." for each directory in $ac_dir_suffix.
52814 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52815 case $ac_top_builddir_sub in
52816 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52817 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52820 ac_abs_top_builddir
=$ac_pwd
52821 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52822 # for backward compatibility:
52823 ac_top_builddir
=$ac_top_build_prefix
52826 .
) # We are building in place.
52828 ac_top_srcdir
=$ac_top_builddir_sub
52829 ac_abs_top_srcdir
=$ac_pwd ;;
52830 [\\/]* | ?
:[\\/]* ) # Absolute name.
52831 ac_srcdir
=$srcdir$ac_dir_suffix;
52832 ac_top_srcdir
=$srcdir
52833 ac_abs_top_srcdir
=$srcdir ;;
52834 *) # Relative name.
52835 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52836 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52837 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52839 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52849 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52850 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52854 cat >>$CONFIG_STATUS <<\_ACEOF
52855 # If the template does not know about datarootdir, expand it.
52856 # FIXME: This hack should be removed a few years after 2.60.
52857 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52859 case `sed -n '/datarootdir/ {
52868 ' $ac_file_inputs` in
52869 *datarootdir
*) ac_datarootdir_seen
=yes;;
52870 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52871 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52872 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52874 cat >>$CONFIG_STATUS <<_ACEOF
52875 ac_datarootdir_hack='
52876 s&@datadir@&$datadir&g
52877 s&@docdir@&$docdir&g
52878 s&@infodir@&$infodir&g
52879 s&@localedir@&$localedir&g
52880 s&@mandir@&$mandir&g
52881 s&\\\${datarootdir}&$datarootdir&g' ;;
52885 # Neutralize VPATH when `$srcdir' = `.'.
52886 # Shell code in configure.ac might set extrasub.
52887 # FIXME: do we really want to maintain this feature?
52888 cat >>$CONFIG_STATUS <<_ACEOF
52892 cat >>$CONFIG_STATUS <<\_ACEOF
52894 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52895 s
&@configure_input@
&$configure_input&;t t
52896 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52897 s
&@srcdir@
&$ac_srcdir&;t t
52898 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52899 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52900 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52901 s
&@builddir@
&$ac_builddir&;t t
52902 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52903 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52904 s
&@INSTALL@
&$ac_INSTALL&;t t
52905 $ac_datarootdir_hack
52906 " $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
52908 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52909 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52910 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52911 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52912 which seems to be undefined. Please make sure it is defined." >&5
52913 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52914 which seems to be undefined. Please make sure it is defined." >&2;}
52918 -) cat "$tmp/out"; rm -f "$tmp/out";;
52919 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52928 # Transform confdefs.h into a sed script `conftest.defines', that
52929 # substitutes the proper values into config.h.in to produce config.h.
52930 rm -f conftest.defines conftest.
tail
52931 # First, append a space to every undef/define line, to ease matching.
52932 echo 's/$/ /' >conftest.defines
52933 # Then, protect against being on the right side of a sed subst, or in
52934 # an unquoted here document, in config.status. If some macros were
52935 # called several times there might be several #defines for the same
52936 # symbol, which is useless. But do not sort them, since the last
52937 # AC_DEFINE must be honored.
52938 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52939 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52940 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52941 # PARAMS is the parameter list in the macro definition--in most cases, it's
52942 # just an empty string.
52943 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52944 ac_dB
='\\)[ (].*,\\1define\\2'
52952 s/^[ ]*#[ ]*define[ ][ ]*//
52957 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52958 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52959 ' >>conftest.defines
52961 # Remove the space that was appended to ease matching.
52962 # Then replace #undef with comments. This is necessary, for
52963 # example, in the case of _POSIX_SOURCE, which is predefined and required
52964 # on some systems where configure will not decide to define it.
52965 # (The regexp can be short, since the line contains either #define or #undef.)
52967 s,^[ #]*u.*,/* & */,' >>conftest.defines
52969 # Break up conftest.defines:
52970 ac_max_sed_lines
=50
52972 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52973 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52974 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52976 ac_in
='$ac_file_inputs'
52977 ac_out
='"$tmp/out1"'
52978 ac_nxt
='"$tmp/out2"'
52982 # Write a here document:
52983 cat >>$CONFIG_STATUS <<_ACEOF
52984 # First, check the format of the line:
52985 cat >"\$tmp/defines.sed" <<\\CEOF
52986 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52987 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52991 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52993 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52994 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52995 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52996 grep . conftest.
tail >/dev
/null
|| break
52997 rm -f conftest.defines
52998 mv conftest.
tail conftest.defines
53000 rm -f conftest.defines conftest.
tail
53002 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53003 cat >>$CONFIG_STATUS <<\_ACEOF
53004 if test x
"$ac_file" != x
-; then
53005 echo "/* $configure_input */" >"$tmp/config.h"
53006 cat "$ac_result" >>"$tmp/config.h"
53007 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
53008 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53009 echo "$as_me: $ac_file is unchanged" >&6;}
53012 mv "$tmp/config.h" $ac_file
53015 echo "/* $configure_input */"
53021 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53022 echo "$as_me: executing $ac_file commands" >&6;}
53027 case $ac_file$ac_mode in
53029 mkdir -p $outdir &&
53030 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53032 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
53033 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
53034 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
53035 "wx-config":C
) rm -f wx
-config
53036 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53043 { (exit 0); exit 0; }
53045 chmod +x
$CONFIG_STATUS
53046 ac_clean_files
=$ac_clean_files_save
53049 # configure is writing to config.log, and then calls config.status.
53050 # config.status does its own redirection, appending to config.log.
53051 # Unfortunately, on DOS this fails, as config.log is still kept open
53052 # by configure, so config.status won't be able to write to it; its
53053 # output is simply discarded. So we exec the FD to /dev/null,
53054 # effectively closing config.log, so it can be properly (re)opened and
53055 # appended to by config.status. When coming back to configure, we
53056 # need to make the FD available again.
53057 if test "$no_create" != yes; then
53059 ac_config_status_args
=
53060 test "$silent" = yes &&
53061 ac_config_status_args
="$ac_config_status_args --quiet"
53063 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53065 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53066 # would make configure fail if this is the last instruction.
53067 $ac_cs_success || { (exit 1); exit 1; }
53071 # CONFIG_SUBDIRS section.
53073 if test "$no_recursion" != yes; then
53075 # Remove --cache-file and --srcdir arguments so they do not pile up.
53076 ac_sub_configure_args
=
53078 eval "set x $ac_configure_args"
53082 if test -n "$ac_prev"; then
53087 -cache-file | --cache-file | --cache-fil | --cache-fi \
53088 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53089 ac_prev
=cache_file
;;
53090 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53091 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53094 --config-cache | -C)
53096 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53098 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53100 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53102 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53106 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53108 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
53112 # Always prepend --prefix to ensure using the same prefix
53113 # in subdir configurations.
53114 ac_arg
="--prefix=$prefix"
53116 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53118 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
53121 if test "$silent" = yes; then
53122 ac_sub_configure_args
="--silent $ac_sub_configure_args"
53126 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53128 # Do not complain, so a configure script can configure whichever
53129 # parts of a large source tree are present.
53130 test -d "$srcdir/$ac_dir" || continue
53132 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53133 echo "$as_me:$LINENO: $ac_msg" >&5
53137 -*) as_dir
=.
/$as_dir;;
53139 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53143 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53144 *) as_qdir
=$as_dir;;
53146 as_dirs
="'$as_qdir' $as_dirs"
53147 as_dir
=`$as_dirname -- "$as_dir" ||
53148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53149 X"$as_dir" : 'X\(//\)[^/]' \| \
53150 X"$as_dir" : 'X\(//\)$' \| \
53151 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53157 /^X\(\/\/\)[^/].*/{
53170 test -d "$as_dir" && break
53172 test -z "$as_dirs" || eval "mkdir $as_dirs"
53173 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53174 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53175 { (exit 1); exit 1; }; }; }
53179 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53181 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53182 # A ".." for each directory in $ac_dir_suffix.
53183 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53184 case $ac_top_builddir_sub in
53185 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53186 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53189 ac_abs_top_builddir
=$ac_pwd
53190 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53191 # for backward compatibility:
53192 ac_top_builddir
=$ac_top_build_prefix
53195 .
) # We are building in place.
53197 ac_top_srcdir
=$ac_top_builddir_sub
53198 ac_abs_top_srcdir
=$ac_pwd ;;
53199 [\\/]* | ?
:[\\/]* ) # Absolute name.
53200 ac_srcdir
=$srcdir$ac_dir_suffix;
53201 ac_top_srcdir
=$srcdir
53202 ac_abs_top_srcdir
=$srcdir ;;
53203 *) # Relative name.
53204 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53205 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53206 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53208 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53213 # Check for guested configure; otherwise get Cygnus style configure.
53214 if test -f "$ac_srcdir/configure.gnu"; then
53215 ac_sub_configure
=$ac_srcdir/configure.gnu
53216 elif test -f "$ac_srcdir/configure"; then
53217 ac_sub_configure
=$ac_srcdir/configure
53218 elif test -f "$ac_srcdir/configure.in"; then
53219 # This should be Cygnus configure.
53220 ac_sub_configure
=$ac_aux_dir/configure
53222 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53223 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53227 # The recursion is here.
53228 if test -n "$ac_sub_configure"; then
53229 # Make the cache file name correct relative to the subdirectory.
53230 case $cache_file in
53231 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53232 *) # Relative name.
53233 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53236 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53237 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53238 # The eval makes quoting arguments work.
53239 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53240 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53241 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53242 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53243 { (exit 1); exit 1; }; }
53252 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53254 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53255 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53256 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53257 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53258 if test "$wxUSE_UNICODE" = "yes"; then
53259 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53260 echo " (using UTF-8)"
53262 echo " (using wchar_t)"
53268 echo " What level of wxWidgets compatibility should be enabled?"
53269 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53270 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53272 echo " Which libraries should wxWidgets use?"
53273 echo " STL ${wxUSE_STL}"
53274 echo " jpeg ${wxUSE_LIBJPEG-none}"
53275 echo " png ${wxUSE_LIBPNG-none}"
53276 echo " regex ${wxUSE_REGEX}"
53277 echo " tiff ${wxUSE_LIBTIFF-none}"
53278 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53279 echo " xpm ${wxUSE_LIBXPM-none}"
53281 echo " zlib ${wxUSE_ZLIB}"
53282 echo " expat ${wxUSE_EXPAT}"
53283 echo " libmspack ${wxUSE_LIBMSPACK}"
53284 echo " sdl ${wxUSE_LIBSDL}"