2 # From configure.in Id: configure.in 58069 2009-01-13 12:01:30Z FM .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
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.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
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
754 SAMPLES_RPATH_POSTLINK
810 ICC_PCH_CREATE_SWITCH
814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
815 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
816 COND_BUILD_DEBUG_UNICODE_0
817 COND_BUILD_DEBUG_UNICODE_1
819 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
820 COND_BUILD_RELEASE_UNICODE_0
821 COND_BUILD_RELEASE_UNICODE_1
823 COND_BUILD_debug_DEBUG_FLAG_default
824 COND_BUILD_debug_DEBUG_INFO_default
825 COND_BUILD_debug_UNICODE_0
826 COND_BUILD_debug_UNICODE_1
828 COND_BUILD_release_DEBUG_INFO_default
829 COND_BUILD_release_UNICODE_0
830 COND_BUILD_release_UNICODE_1
839 COND_MONOLITHIC_0_SHARED_0
840 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
845 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
846 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
849 COND_MONOLITHIC_0_SHARED_1
850 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
855 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
856 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
858 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
859 COND_MONOLITHIC_0_USE_AUI_1
860 COND_MONOLITHIC_0_USE_GUI_1
861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_USE_HTML_1
863 COND_MONOLITHIC_0_USE_MEDIA_1
864 COND_MONOLITHIC_0_USE_PROPGRID_1
865 COND_MONOLITHIC_0_USE_QA_1
866 COND_MONOLITHIC_0_USE_RICHTEXT_1
867 COND_MONOLITHIC_0_USE_STC_1
868 COND_MONOLITHIC_0_USE_XRC_1
870 COND_MONOLITHIC_1_SHARED_0
871 COND_MONOLITHIC_1_SHARED_1
872 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
873 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
874 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
875 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
876 COND_PLATFORM_MACOSX_1
877 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
878 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
879 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
882 COND_PLATFORM_MACOSX_1_USE_GUI_1
883 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
884 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
885 COND_PLATFORM_MACOS_1
888 COND_PLATFORM_MSDOS_0
889 COND_PLATFORM_MSDOS_1
893 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
894 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
895 COND_PLATFORM_UNIX_1_USE_GUI_1
896 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
897 COND_PLATFORM_WIN32_0
898 COND_PLATFORM_WIN32_1
900 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
901 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
902 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
903 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
904 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
905 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
907 COND_SHARED_0_USE_STC_1
908 COND_SHARED_0_wxUSE_EXPAT_builtin
909 COND_SHARED_0_wxUSE_REGEX_builtin
910 COND_SHARED_0_wxUSE_ZLIB_builtin
912 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
915 COND_TOOLKIT_COCOA_USE_GUI_1
916 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_DFB_USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_GTK_USE_GUI_1
929 COND_TOOLKIT_MGL_USE_GUI_1
931 COND_TOOLKIT_MOTIF_USE_GUI_1
932 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_MSW_USE_GUI_1
935 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW_WXUNIV_0
937 COND_TOOLKIT_OSX_CARBON
938 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
939 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_OSX_COCOA
941 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_IPHONE
945 COND_TOOLKIT_PM_USE_GUI_1
946 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_WINCE_USE_GUI_1
949 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE_WXUNIV_0
952 COND_TOOLKIT_X11_USE_GUI_1
954 COND_USE_EXCEPTIONS_0
955 COND_USE_EXCEPTIONS_1
958 COND_USE_GUI_1_USE_OPENGL_1
959 COND_USE_GUI_1_WXUNIV_0
960 COND_USE_GUI_1_WXUNIV_1
961 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
962 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
964 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
965 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
966 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
972 COND_USE_SOSYMLINKS_1
973 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
974 COND_USE_SOVERLINUX_1
976 COND_USE_SOVERSOLARIS_1
981 COND_WINDOWS_IMPLIB_1
982 COND_WITH_PLUGIN_SDL_1
985 COND_WXUSE_EXPAT_BUILTIN
986 COND_WXUSE_LIBJPEG_BUILTIN
987 COND_WXUSE_LIBPNG_BUILTIN
988 COND_WXUSE_LIBTIFF_BUILTIN
989 COND_WXUSE_REGEX_BUILTIN
990 COND_WXUSE_ZLIB_BUILTIN
991 COND_wxUSE_EXPAT_builtin
992 COND_wxUSE_LIBJPEG_builtin
993 COND_wxUSE_LIBPNG_builtin
994 COND_wxUSE_LIBTIFF_builtin
995 COND_wxUSE_REGEX_builtin
996 COND_wxUSE_ZLIB_builtin
999 WX_LIBRARY_BASENAME_NOGUI
1000 WX_LIBRARY_BASENAME_GUI
1020 WXCONFIG_LDFLAGS_GUI
1032 WX_RESOURCES_MACOSX_ASCII
1033 WX_RESOURCES_MACOSX_DATA
1043 ac_precious_vars
='build_alias
1067 LIBGNOMEPRINTUI_CFLAGS
1068 LIBGNOMEPRINTUI_LIBS
1077 ac_subdirs_all
='src/tiff
1080 # Initialize some variables set by options.
1082 ac_init_version
=false
1083 # The variables have the same names as the options, with
1084 # dashes changed to underlines.
1085 cache_file
=/dev
/null
1092 program_transform_name
=s
,x
,x
,
1100 # Installation directory options.
1101 # These are left unexpanded so users can "make install exec_prefix=/foo"
1102 # and all the variables that are supposed to be based on exec_prefix
1103 # by default will actually change.
1104 # Use braces instead of parens because sh, perl, etc. also accept them.
1105 # (The list follows the same order as the GNU Coding Standards.)
1106 bindir
='${exec_prefix}/bin'
1107 sbindir
='${exec_prefix}/sbin'
1108 libexecdir
='${exec_prefix}/libexec'
1109 datarootdir
='${prefix}/share'
1110 datadir
='${datarootdir}'
1111 sysconfdir
='${prefix}/etc'
1112 sharedstatedir
='${prefix}/com'
1113 localstatedir
='${prefix}/var'
1114 includedir
='${prefix}/include'
1115 oldincludedir
='/usr/include'
1116 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1117 infodir
='${datarootdir}/info'
1122 libdir
='${exec_prefix}/lib'
1123 localedir
='${datarootdir}/locale'
1124 mandir
='${datarootdir}/man'
1130 # If the previous option needs an argument, assign it.
1131 if test -n "$ac_prev"; then
1132 eval $ac_prev=\
$ac_option
1138 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1142 # Accept the important Cygnus configure options, so we can diagnose typos.
1144 case $ac_dashdash$ac_option in
1148 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1150 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1151 bindir
=$ac_optarg ;;
1153 -build | --build | --buil | --bui | --bu)
1154 ac_prev
=build_alias
;;
1155 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1156 build_alias
=$ac_optarg ;;
1158 -cache-file | --cache-file | --cache-fil | --cache-fi \
1159 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1160 ac_prev
=cache_file
;;
1161 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1162 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1163 cache_file
=$ac_optarg ;;
1165 --config-cache | -C)
1166 cache_file
=config.cache
;;
1168 -datadir | --datadir | --datadi | --datad)
1170 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1171 datadir
=$ac_optarg ;;
1173 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1174 | --dataroo | --dataro | --datar)
1175 ac_prev
=datarootdir
;;
1176 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1177 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1178 datarootdir
=$ac_optarg ;;
1180 -disable-* | --disable-*)
1181 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1184 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1187 eval enable_
$ac_feature=no
;;
1189 -docdir | --docdir | --docdi | --doc | --do)
1191 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1192 docdir
=$ac_optarg ;;
1194 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1196 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1197 dvidir
=$ac_optarg ;;
1199 -enable-* | --enable-*)
1200 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_
$ac_feature=\
$ac_optarg ;;
1208 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1209 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1210 | --exec | --exe | --ex)
1211 ac_prev
=exec_prefix
;;
1212 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1213 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1214 | --exec=* | --exe=* | --ex=*)
1215 exec_prefix
=$ac_optarg ;;
1217 -gas | --gas | --ga | --g)
1218 # Obsolete; use --with-gas.
1221 -help | --help | --hel | --he | -h)
1222 ac_init_help
=long
;;
1223 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1224 ac_init_help
=recursive
;;
1225 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1226 ac_init_help
=short
;;
1228 -host | --host | --hos | --ho)
1229 ac_prev
=host_alias
;;
1230 -host=* | --host=* | --hos=* | --ho=*)
1231 host_alias
=$ac_optarg ;;
1233 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1235 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1237 htmldir
=$ac_optarg ;;
1239 -includedir | --includedir | --includedi | --included | --include \
1240 | --includ | --inclu | --incl | --inc)
1241 ac_prev
=includedir
;;
1242 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1243 | --includ=* | --inclu=* | --incl=* | --inc=*)
1244 includedir
=$ac_optarg ;;
1246 -infodir | --infodir | --infodi | --infod | --info | --inf)
1248 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1249 infodir
=$ac_optarg ;;
1251 -libdir | --libdir | --libdi | --libd)
1253 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1254 libdir
=$ac_optarg ;;
1256 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1257 | --libexe | --libex | --libe)
1258 ac_prev
=libexecdir
;;
1259 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1260 | --libexe=* | --libex=* | --libe=*)
1261 libexecdir
=$ac_optarg ;;
1263 -localedir | --localedir | --localedi | --localed | --locale)
1264 ac_prev
=localedir
;;
1265 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1266 localedir
=$ac_optarg ;;
1268 -localstatedir | --localstatedir | --localstatedi | --localstated \
1269 | --localstate | --localstat | --localsta | --localst | --locals)
1270 ac_prev
=localstatedir
;;
1271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1272 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1273 localstatedir
=$ac_optarg ;;
1275 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1277 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1278 mandir
=$ac_optarg ;;
1280 -nfp | --nfp | --nf)
1281 # Obsolete; use --without-fp.
1284 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1285 | --no-cr | --no-c | -n)
1288 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1289 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1292 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1293 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1294 | --oldin | --oldi | --old | --ol | --o)
1295 ac_prev
=oldincludedir
;;
1296 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1297 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1298 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1299 oldincludedir
=$ac_optarg ;;
1301 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1303 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1304 prefix
=$ac_optarg ;;
1306 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1307 | --program-pre | --program-pr | --program-p)
1308 ac_prev
=program_prefix
;;
1309 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1310 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1311 program_prefix
=$ac_optarg ;;
1313 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1314 | --program-suf | --program-su | --program-s)
1315 ac_prev
=program_suffix
;;
1316 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1317 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1318 program_suffix
=$ac_optarg ;;
1320 -program-transform-name | --program-transform-name \
1321 | --program-transform-nam | --program-transform-na \
1322 | --program-transform-n | --program-transform- \
1323 | --program-transform | --program-transfor \
1324 | --program-transfo | --program-transf \
1325 | --program-trans | --program-tran \
1326 | --progr-tra | --program-tr | --program-t)
1327 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
1337 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1339 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1340 pdfdir
=$ac_optarg ;;
1342 -psdir | --psdir | --psdi | --psd | --ps)
1344 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1348 | -silent | --silent | --silen | --sile | --sil)
1351 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1353 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1355 sbindir
=$ac_optarg ;;
1357 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1358 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1359 | --sharedst | --shareds | --shared | --share | --shar \
1361 ac_prev
=sharedstatedir
;;
1362 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1363 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1364 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1366 sharedstatedir
=$ac_optarg ;;
1368 -site | --site | --sit)
1370 -site=* | --site=* | --sit=*)
1373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1376 srcdir
=$ac_optarg ;;
1378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1379 | --syscon | --sysco | --sysc | --sys | --sy)
1380 ac_prev
=sysconfdir
;;
1381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1383 sysconfdir
=$ac_optarg ;;
1385 -target | --target | --targe | --targ | --tar | --ta | --t)
1386 ac_prev
=target_alias
;;
1387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1388 target_alias
=$ac_optarg ;;
1390 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1393 -version | --version | --versio | --versi | --vers | -V)
1394 ac_init_version
=: ;;
1397 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1398 # Reject names that are not valid shell variable names.
1399 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1400 { echo "$as_me: error: invalid package name: $ac_package" >&2
1401 { (exit 1); exit 1; }; }
1402 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1403 eval with_
$ac_package=\
$ac_optarg ;;
1405 -without-* | --without-*)
1406 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_
$ac_package=no
;;
1415 # Obsolete; use --with-x.
1418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1419 | --x-incl | --x-inc | --x-in | --x-i)
1420 ac_prev
=x_includes
;;
1421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1423 x_includes
=$ac_optarg ;;
1425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1427 ac_prev
=x_libraries
;;
1428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1430 x_libraries
=$ac_optarg ;;
1432 -*) { echo "$as_me: error: unrecognized option: $ac_option
1433 Try \`$0 --help' for more information." >&2
1434 { (exit 1); exit 1; }; }
1438 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1439 # Reject names that are not valid shell variable names.
1440 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1441 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1442 { (exit 1); exit 1; }; }
1443 eval $ac_envvar=\
$ac_optarg
1444 export $ac_envvar ;;
1447 # FIXME: should be removed in autoconf 3.0.
1448 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1449 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1450 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1451 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1457 if test -n "$ac_prev"; then
1458 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1459 { echo "$as_me: error: missing argument to $ac_option" >&2
1460 { (exit 1); exit 1; }; }
1463 # Be sure to have absolute directory names.
1464 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1465 datadir sysconfdir sharedstatedir localstatedir includedir \
1466 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1467 libdir localedir mandir
1469 eval ac_val
=\$
$ac_var
1471 [\\/$
]* | ?
:[\\/]* ) continue;;
1472 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1474 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1475 { (exit 1); exit 1; }; }
1478 # There might be people who depend on the old broken behavior: `$host'
1479 # used to hold the argument of --host etc.
1480 # FIXME: To remove some day.
1483 target
=$target_alias
1485 # FIXME: To remove some day.
1486 if test "x$host_alias" != x
; then
1487 if test "x$build_alias" = x
; then
1488 cross_compiling
=maybe
1489 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1490 If a cross compiler is detected then cross compile mode will be used." >&2
1491 elif test "x$build_alias" != "x$host_alias"; then
1497 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1499 test "$silent" = yes && exec 6>/dev
/null
1502 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1503 ac_ls_di
=`ls -di .` &&
1504 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1505 { echo "$as_me: error: Working directory cannot be determined" >&2
1506 { (exit 1); exit 1; }; }
1507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508 { echo "$as_me: error: pwd does not report name of working directory" >&2
1509 { (exit 1); exit 1; }; }
1512 # Find the source files, if location was not specified.
1513 if test -z "$srcdir"; then
1514 ac_srcdir_defaulted
=yes
1515 # Try the directory containing this script, then the parent directory.
1516 ac_confdir
=`$as_dirname -- "$0" ||
1517 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1518 X"$0" : 'X\(//\)[^/]' \| \
1519 X"$0" : 'X\(//\)$' \| \
1520 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1540 if test ! -r "$srcdir/$ac_unique_file"; then
1544 ac_srcdir_defaulted
=no
1546 if test ! -r "$srcdir/$ac_unique_file"; then
1547 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1548 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1549 { (exit 1); exit 1; }; }
1551 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1553 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1554 { (exit 1); exit 1; }; }
1556 # When building in place, set srcdir=.
1557 if test "$ac_abs_confdir" = "$ac_pwd"; then
1560 # Remove unnecessary trailing slashes from srcdir.
1561 # Double slashes in file names in object file debugging info
1562 # mess up M-x gdb in Emacs.
1564 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1566 for ac_var
in $ac_precious_vars; do
1567 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1568 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1569 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1570 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1574 # Report the --help message.
1576 if test "$ac_init_help" = "long"; then
1577 # Omit some internal or obsolete options to make the list less imposing.
1578 # This message is too long to be a string in the A/UX 3.1 sh.
1580 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1582 Usage: $0 [OPTION]... [VAR=VALUE]...
1584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1585 VAR=VALUE. See below for descriptions of some of the useful variables.
1587 Defaults for the options are specified in brackets.
1590 -h, --help display this help and exit
1591 --help=short display options specific to this package
1592 --help=recursive display the short help of all the included packages
1593 -V, --version display version information and exit
1594 -q, --quiet, --silent do not print \`checking...' messages
1595 --cache-file=FILE cache test results in FILE [disabled]
1596 -C, --config-cache alias for \`--cache-file=config.cache'
1597 -n, --no-create do not create output files
1598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1600 Installation directories:
1601 --prefix=PREFIX install architecture-independent files in PREFIX
1602 [$ac_default_prefix]
1603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1606 By default, \`make install' will install all the files in
1607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1609 for instance \`--prefix=\$HOME'.
1611 For better control, use the options below.
1613 Fine tuning of the installation directories:
1614 --bindir=DIR user executables [EPREFIX/bin]
1615 --sbindir=DIR system admin executables [EPREFIX/sbin]
1616 --libexecdir=DIR program executables [EPREFIX/libexec]
1617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1620 --libdir=DIR object code libraries [EPREFIX/lib]
1621 --includedir=DIR C header files [PREFIX/include]
1622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1625 --infodir=DIR info documentation [DATAROOTDIR/info]
1626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1627 --mandir=DIR man documentation [DATAROOTDIR/man]
1628 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1629 --htmldir=DIR html documentation [DOCDIR]
1630 --dvidir=DIR dvi documentation [DOCDIR]
1631 --pdfdir=DIR pdf documentation [DOCDIR]
1632 --psdir=DIR ps documentation [DOCDIR]
1638 --x-includes=DIR X include files are
in DIR
1639 --x-libraries=DIR X library files are
in DIR
1642 --build=BUILD configure
for building on BUILD
[guessed
]
1643 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1647 if test -n "$ac_init_help"; then
1648 case $ac_init_help in
1649 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1654 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1655 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1656 --disable-gui don
't build GUI parts of the library
1657 --enable-monolithic build wxWidgets as single library
1658 --enable-plugins build parts of wxWidgets as loadable components
1659 --enable-official_build official build of wxWidgets (win32 DLL only)
1660 --enable-vendor=VENDOR vendor name (win32 DLL only)
1661 --disable-all-features disable all optional features to build minimal library
1662 --enable-universal use wxWidgets GUI controls instead of native ones
1663 --enable-nanox use NanoX
1664 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1665 --enable-gpe use GNOME PDA Environment features if possible
1666 --disable-shared create static library instead of shared
1667 --enable-debug same as debug_flag and debug_info
1668 --enable-stl use STL for containers
1669 --enable-std_iostreams use standard C++ stream classes
1670 --enable-std_string use standard C++ string classes
1671 --disable-unicode compile without Unicode support
1672 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1673 --enable-utf8 use UTF-8 representation for strings (Unix only)
1674 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1675 --enable-extended_rtti use extended RTTI (XTI)
1676 --enable-omf use OMF object format
1677 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1678 --enable-debug_info create code with debugging information
1679 --disable-optimise compile without optimisations
1680 --enable-debug_gdb create code with extra GDB debugging information
1681 --enable-debug_cntxt use wxDebugContext
1682 --enable-mem_tracing create code with memory tracing
1683 --enable-profile create code with profiling information
1684 --enable-no_rtti create code without RTTI information
1685 --enable-no_exceptions create code without C++ exceptions handling
1686 --enable-permissive compile code disregarding strict ANSI
1687 --enable-no_deps create code without dependency information
1688 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1689 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1690 --enable-compat26 enable wxWidgets
2.6 compatibility
1691 --disable-compat28 disable wxWidgets
2.8 compatibility
1692 --disable-rpath disable use of rpath
for uninstalled builds
1693 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1694 --disable-visibility disable use of ELF symbols visibility even
if supported
1695 --enable-intl use internationalization system
1696 --enable-xlocale use x
-locale support
(requires wxLocale
)
1697 --enable-config use wxConfig
(and derived
) classes
1698 --enable-protocols use wxProtocol and derived classes
1699 --enable-ftp use wxFTP
(requires wxProtocol
1700 --enable-http use wxHTTP
(requires wxProtocol
1701 --enable-fileproto use wxFileProto class
(requires wxProtocol
1702 --enable-sockets use socket
/network classes
1703 --enable-ipv6 enable IPv6 support
in wxSocket
1704 --enable-ole use OLE classes
(Win32 only
)
1705 --enable-dataobj use data object classes
1706 --enable-ipc use interprocess communication
(wxSocket etc.
)
1707 --enable-baseevtloop use event loop
in console programs too
1708 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1709 --enable-selectloop use wxSelectDispatcher class
1710 --enable-apple_ieee use the Apple IEEE codec
1711 --enable-arcstream use wxArchive streams
1712 --enable-base64 use base64 encoding
/decoding functions
1713 --enable-backtrace use wxStackWalker class
for getting backtraces
1714 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1715 --enable-cmdline use wxCmdLineParser class
1716 --enable-datetime use wxDateTime class
1717 --enable-debugreport use wxDebugReport class
1718 --enable-dialupman use dialup network classes
1719 --enable-dynlib use wxLibrary class
for DLL loading
1720 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1721 --enable-exceptions build exception
-safe library
1722 --enable-ffile use wxFFile class
1723 --enable-file use wxFile class
1724 --enable-filesystem use virtual
file systems classes
1725 --enable-fontenum use wxFontEnumerator class
1726 --enable-fontmap use font encodings conversion classes
1727 --enable-fs_archive use virtual archive filesystems
1728 --enable-fs_inet use virtual HTTP
/FTP filesystems
1729 --enable-fs_zip now replaced by fs_archive
1730 --enable-geometry use geometry class
1731 --enable-log use logging system
1732 --enable-longlong use wxLongLong class
1733 --enable-mimetype use wxMimeTypesManager
1734 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1735 --enable-snglinst use wxSingleInstanceChecker class
1736 --enable-sound use wxSound class
1737 --enable-stdpaths use wxStandardPaths class
1738 --enable-stopwatch use wxStopWatch class
1739 --enable-streams use wxStream etc classes
1740 --enable-sysoptions use wxSystemOptions
1741 --enable-tarstream use wxTar streams
1742 --enable-textbuf use wxTextBuffer class
1743 --enable-textfile use wxTextFile class
1744 --enable-timer use wxTimer class
1745 --enable-variant use wxVariant class
1746 --enable-zipstream use wxZip streams
1747 --enable-url use wxURL class
1748 --enable-protocol use wxProtocol class
1749 --enable-protocol-http HTTP support
in wxProtocol
1750 --enable-protocol-ftp FTP support
in wxProtocol
1751 --enable-protocol-file FILE support
in wxProtocol
1752 --enable-threads use threads
1753 --enable-iniconf use wxIniConfig
(Win32 only
)
1754 --enable-regkey use wxRegKey class
(Win32 only
)
1755 --enable-docview use document view architecture
1756 --enable-help use
help subsystem
1757 --enable-mshtmlhelp use MS HTML Help
(win32
)
1758 --enable-html use wxHTML sub
-library
1759 --enable-htmlhelp use wxHTML
-based help
1760 --enable-xrc use XRC resources sub
-library
1761 --enable-aui use AUI docking library
1762 --enable-propgrid use wxPropertyGrid library
1763 --enable-stc use wxStyledTextCtrl library
1764 --enable-constraints use layout
-constraints system
1765 --enable-loggui use standard GUI logger
1766 --enable-logwin use wxLogWindow
1767 --enable-logdialog use wxLogDialog
1768 --enable-mdi use multiple document interface architecture
1769 --enable-mdidoc use docview architecture with MDI
1770 --enable-mediactrl use wxMediaCtrl class
1771 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1772 --enable-webkit use wxWebKitCtrl
(Mac
)
1773 --enable-richtext use wxRichTextCtrl
1774 --enable-graphics_ctx use graphics context
2D drawing API
1775 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1776 --enable-printarch use printing architecture
1777 --enable-svg use wxSVGFileDC device context
1778 --enable-clipboard use wxClipboard class
1779 --enable-dnd use Drag
'n'Drop classes
1780 --enable-metafile use win32 metafiles
1781 --disable-controls disable compilation of all standard controls
1782 --enable-accel use accelerators
1783 --enable-animatectrl use wxAnimationCtrl class
1784 --enable-bmpbutton use wxBitmapButton class
1785 --enable-bmpcombobox use wxBitmapComboBox class
1786 --enable-button use wxButton class
1787 --enable-calendar use wxCalendarCtrl class
1788 --enable-caret use wxCaret class
1789 --enable-checkbox use wxCheckBox class
1790 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1791 --enable-choice use wxChoice class
1792 --enable-choicebook use wxChoicebook class
1793 --enable-collpane use wxCollapsiblePane class
1794 --enable-colourpicker use wxColourPickerCtrl class
1795 --enable-combobox use wxComboBox class
1796 --enable-comboctrl use wxComboCtrl class
1797 --enable-dataviewctrl use wxDataViewCtrl class
1798 --enable-datepick use wxDatePickerCtrl class
1799 --enable-detect_sm use code to detect X11 session manager
1800 --enable-dirpicker use wxDirPickerCtrl class
1801 --enable-display use wxDisplay class
1802 --enable-editablebox use wxEditableListBox class
1803 --enable-filectrl use wxFileCtrl class
1804 --enable-filepicker use wxFilePickerCtrl class
1805 --enable-fontpicker use wxFontPickerCtrl class
1806 --enable-gauge use wxGauge class
1807 --enable-grid use wxGrid class
1808 --enable-headerctrl use wxHeaderCtrl class
1809 --enable-hyperlink use wxHyperlinkCtrl class
1810 --enable-imaglist use wxImageList class
1811 --enable-listbook use wxListbook class
1812 --enable-listbox use wxListBox class
1813 --enable-listctrl use wxListCtrl class
1814 --enable-notebook use wxNotebook class
1815 --enable-notifmsg use wxNotificationMessage class
1816 --enable-odcombobox use wxOwnerDrawnComboBox class
1817 --enable-popupwin use wxPopUpWindow class
1818 --enable-radiobox use wxRadioBox class
1819 --enable-radiobtn use wxRadioButton class
1820 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1821 --enable-sash use wxSashWindow class
1822 --enable-scrollbar use wxScrollBar class and scrollable windows
1823 --enable-searchctrl use wxSearchCtrl class
1824 --enable-slider use wxSlider class
1825 --enable-spinbtn use wxSpinButton class
1826 --enable-spinctrl use wxSpinCtrl class
1827 --enable-splitter use wxSplitterWindow class
1828 --enable-statbmp use wxStaticBitmap class
1829 --enable-statbox use wxStaticBox class
1830 --enable-statline use wxStaticLine class
1831 --enable-stattext use wxStaticText class
1832 --enable-statusbar use wxStatusBar class
1833 --enable-taskbaricon use wxTaskBarIcon class
1834 --enable-tbarnative use native wxToolBar class
1835 --enable-textctrl use wxTextCtrl class
1836 --enable-tipwindow use wxTipWindow class
1837 --enable-togglebtn use wxToggleButton class
1838 --enable-toolbar use wxToolBar class
1839 --enable-toolbook use wxToolbook class
1840 --enable-treebook use wxTreebook class
1841 --enable-treectrl use wxTreeCtrl class
1842 --enable-commondlg use all common dialogs
1843 --enable-aboutdlg use wxAboutBox
1844 --enable-choicedlg use wxChoiceDialog
1845 --enable-coldlg use wxColourDialog
1846 --enable-filedlg use wxFileDialog
1847 --enable-finddlg use wxFindReplaceDialog
1848 --enable-fontdlg use wxFontDialog
1849 --enable-dirdlg use wxDirDialog
1850 --enable-msgdlg use wxMessageDialog
1851 --enable-numberdlg use wxNumberEntryDialog
1852 --enable-splash use wxSplashScreen
1853 --enable-textdlg use wxTextDialog
1854 --enable-tipdlg use startup tips
1855 --enable-progressdlg use wxProgressDialog
1856 --enable-wizarddlg use wxWizard
1857 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1858 --enable-miniframe use wxMiniFrame class
1859 --enable-tooltips use wxToolTip class
1860 --enable-splines use spline drawing code
1861 --enable-mousewheel use mousewheel
1862 --enable-validators use wxValidator and derived classes
1863 --enable-busyinfo use wxBusyInfo
1864 --enable-joystick use wxJoystick
1865 --enable-metafiles use wxMetaFile
(Win32 only
)
1866 --enable-dragimage use wxDragImage
1867 --enable-accessibility enable accessibility support
1868 --enable-palette use wxPalette class
1869 --enable-image use wxImage class
1870 --enable-gif use gif images
(GIF
file format
)
1871 --enable-pcx use pcx images
(PCX
file format
)
1872 --enable-tga use tga images
(TGA
file format
)
1873 --enable-iff use iff images
(IFF
file format
)
1874 --enable-pnm use pnm images
(PNM
file format
)
1875 --enable-xpm use xpm images
(XPM
file format
)
1876 --enable-ico_cur use Windows ICO and CUR formats
1877 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1878 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1879 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1880 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1881 --enable-wxdib use wxDIB class
(Win32 only
)
1882 --enable-autoidman use automatic ids management
1883 --disable-largefile omit support
for large files
1884 --disable-gtktest do not try to compile and run a
test GTK
+ program
1885 --disable-gtktest Do not try to compile and run a
test GTK program
1886 --disable-sdltest Do not try to compile and run a
test SDL program
1887 --enable-omf use OMF object format
(OS
/2)
1888 --disable-dependency-tracking
1889 don
't use dependency tracking even if the compiler
1891 --disable-precomp-headers
1892 don't use precompiled headers even
if compiler can
1895 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1896 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1897 --without-subdirs don
't generate makefiles for samples/demos/...
1898 --with-flavour=NAME specify a name to identify this build
1899 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1900 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1901 --with-motif use Motif/Lesstif
1902 --with-osx_carbon use Mac OS X (Carbon)
1903 --with-osx_cocoa use Mac OS X (Cocoa)
1904 --with-mac use Mac OS X (Default)
1905 --with-cocoa use Cocoa
1906 --with-wine use Wine
1907 --with-msw use MS-Windows
1908 --with-pm use OS/2 Presentation Manager
1909 --with-mgl use SciTech MGL
1910 --with-directfb use DirectFB
1911 --with-microwin use MicroWindows
1913 --with-libpng use libpng (PNG image format)
1914 --with-libjpeg use libjpeg (JPEG file format)
1915 --with-libtiff use libtiff (TIFF file format)
1916 --with-libxpm use libxpm (XPM file format)
1917 --with-libiconv use libiconv (character conversion)
1918 --with-libmspack use libmspack (CHM help files loading)
1919 --without-gtkprint don't use GTK printing support
1920 --without-gnomeprint don
't use GNOME printing libraries
1921 --with-gnomevfs use GNOME VFS for associating MIME types
1922 --with-hildon use Hildon framework for Nokia 770
1923 --with-opengl use OpenGL (or Mesa)
1924 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1925 --with-sdl use SDL for audio on Unix
1926 --with-regex enable support for wxRegEx class
1927 --with-zlib use zlib for LZW compression
1928 --with-expat enable XML support using expat parser
1929 --with-macosx-sdk=PATH use an OS X SDK at PATH
1930 --with-macosx-version-min=VER build binaries which require at least this OS X version
1931 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1932 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1933 --with-x use the X Window System
1934 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1935 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1936 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1937 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1938 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1940 Some influential environment variables:
1941 CC C compiler command
1942 CFLAGS C compiler flags
1943 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1944 nonstandard directory <lib dir>
1945 LIBS libraries to pass to the linker, e.g. -l<library>
1946 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1947 you have headers in a nonstandard directory <include dir>
1949 CXX C++ compiler command
1950 CXXFLAGS C++ compiler flags
1951 PKG_CONFIG path to pkg-config utility
1953 C compiler flags for DIRECTFB, overriding pkg-config
1955 linker flags for DIRECTFB, overriding pkg-config
1956 XMKMF Path to xmkmf, Makefile generator for X Window System
1958 C compiler flags for PANGOX, overriding pkg-config
1959 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1961 C compiler flags for PANGOFT2, overriding pkg-config
1963 linker flags for PANGOFT2, overriding pkg-config
1965 C compiler flags for PANGOXFT, overriding pkg-config
1967 linker flags for PANGOXFT, overriding pkg-config
1969 C compiler flags for GTKPRINT, overriding pkg-config
1971 linker flags for GTKPRINT, overriding pkg-config
1972 LIBGNOMEPRINTUI_CFLAGS
1973 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1974 LIBGNOMEPRINTUI_LIBS
1975 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1977 C compiler flags for GNOMEVFS, overriding pkg-config
1979 linker flags for GNOMEVFS, overriding pkg-config
1981 C compiler flags for HILDON, overriding pkg-config
1982 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1984 C compiler flags for CAIRO, overriding pkg-config
1985 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1986 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1987 GST_LIBS linker flags for GST, overriding pkg-config
1989 Use these variables to override the choices made by `configure' or to
help
1990 it to
find libraries and programs with nonstandard names
/locations.
1992 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1997 if test "$ac_init_help" = "recursive"; then
1998 # If there are subdirs, report their specific --help.
1999 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2000 test -d "$ac_dir" || continue
2004 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2006 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2007 # A ".." for each directory in $ac_dir_suffix.
2008 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2009 case $ac_top_builddir_sub in
2010 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2011 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2014 ac_abs_top_builddir
=$ac_pwd
2015 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2016 # for backward compatibility:
2017 ac_top_builddir
=$ac_top_build_prefix
2020 .
) # We are building in place.
2022 ac_top_srcdir
=$ac_top_builddir_sub
2023 ac_abs_top_srcdir
=$ac_pwd ;;
2024 [\\/]* | ?
:[\\/]* ) # Absolute name.
2025 ac_srcdir
=$srcdir$ac_dir_suffix;
2026 ac_top_srcdir
=$srcdir
2027 ac_abs_top_srcdir
=$srcdir ;;
2029 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2030 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2031 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2033 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2035 cd "$ac_dir" || { ac_status
=$?
; continue; }
2036 # Check for guested configure.
2037 if test -f "$ac_srcdir/configure.gnu"; then
2039 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2040 elif test -f "$ac_srcdir/configure"; then
2042 $SHELL "$ac_srcdir/configure" --help=recursive
2044 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2046 cd "$ac_pwd" || { ac_status
=$?
; break; }
2050 test -n "$ac_init_help" && exit $ac_status
2051 if $ac_init_version; then
2053 wxWidgets configure
2.9.0
2054 generated by GNU Autoconf
2.61
2056 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2057 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2058 This configure
script is free software
; the Free Software Foundation
2059 gives unlimited permission to copy
, distribute and modify it.
2063 cat >config.log
<<_ACEOF
2064 This file contains any messages produced by compilers while
2065 running configure, to aid debugging if configure makes a mistake.
2067 It was created by wxWidgets $as_me 2.9.0, which was
2068 generated by GNU Autoconf 2.61. Invocation command line was
2080 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2081 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2082 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2083 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2084 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2086 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2087 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2089 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2090 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2091 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2092 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2093 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2094 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2095 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir
=.
2104 echo "PATH: $as_dir"
2120 # Keep a trace of the command line.
2121 # Strip out --no-create and --no-recursion so they do not pile up.
2122 # Strip out --silent because we don't want to record it for future runs.
2123 # Also quote any args containing shell meta-characters.
2124 # Make two passes to allow for proper duplicate-argument suppression.
2128 ac_must_keep_next
=false
2134 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2136 | -silent | --silent | --silen | --sile | --sil)
2139 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2142 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2144 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2145 if test $ac_must_keep_next = true
; then
2146 ac_must_keep_next
=false
# Got value, back to normal.
2149 *=* | --config-cache | -C | -disable-* | --disable-* \
2150 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2151 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2152 | -with-* | --with-* | -without-* | --without-* | --x)
2153 case "$ac_configure_args0 " in
2154 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157 -* ) ac_must_keep_next
=true
;;
2160 ac_configure_args
="$ac_configure_args '$ac_arg'"
2165 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2166 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2168 # When interrupted or exit'd, cleanup temporary files, and complete
2169 # config.log. We remove comments because anyway the quotes in there
2170 # would cause problems or look ugly.
2171 # WARNING: Use '\'' to represent an apostrophe within the trap.
2172 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2173 trap 'exit_status=$?
2174 # Save into config.log some information that might help in debugging.
2179 ## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##
2184 # The following way of writing the cache mishandles newlines in values,
2186 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187 eval ac_val=\$$ac_var
2191 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2192 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2195 _ | IFS | as_nl) ;; #(
2196 *) $as_unset $ac_var ;;
2201 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202 *${as_nl}ac_space=\ *)
2204 "s/'\''/'\''\\\\'\'''\''/g;
2205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2216 ## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##
2221 for ac_var in $ac_subst_vars
2223 eval ac_val=\$$ac_var
2225 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2227 echo "$ac_var='\''$ac_val'\''"
2231 if test -n "$ac_subst_files"; then
2233 ## ------------------- ##
2234 ## File substitutions. ##
2235 ## ------------------- ##
2238 for ac_var
in $ac_subst_files
2240 eval ac_val
=\$
$ac_var
2242 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2244 echo "$ac_var='\''$ac_val'\''"
2249 if test -s confdefs.h; then
2259 test "$ac_signal" != 0 &&
2260 echo "$as_me: caught signal $ac_signal"
2261 echo "$as_me: exit $exit_status"
2263 rm -f core *.core core.conftest.* &&
2264 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2267 for ac_signal
in 1 2 13 15; do
2268 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2272 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2273 rm -f -r conftest
* confdefs.h
2275 # Predefined preprocessor variables.
2277 cat >>confdefs.h
<<_ACEOF
2278 #define PACKAGE_NAME "$PACKAGE_NAME"
2282 cat >>confdefs.h
<<_ACEOF
2283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2287 cat >>confdefs.h
<<_ACEOF
2288 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2292 cat >>confdefs.h
<<_ACEOF
2293 #define PACKAGE_STRING "$PACKAGE_STRING"
2297 cat >>confdefs.h
<<_ACEOF
2298 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2302 # Let the site file select an alternate cache file if it wants to.
2303 # Prefer explicitly selected file to automatically selected ones.
2304 if test -n "$CONFIG_SITE"; then
2305 set x
"$CONFIG_SITE"
2306 elif test "x$prefix" != xNONE
; then
2307 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2309 set x
"$ac_default_prefix/share/config.site" \
2310 "$ac_default_prefix/etc/config.site"
2315 if test -r "$ac_site_file"; then
2316 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2317 echo "$as_me: loading site script $ac_site_file" >&6;}
2318 sed 's/^/| /' "$ac_site_file" >&5
2323 if test -r "$cache_file"; then
2324 # Some versions of bash will fail to source /dev/null (special
2325 # files actually), so we avoid doing that.
2326 if test -f "$cache_file"; then
2327 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2328 echo "$as_me: loading cache $cache_file" >&6;}
2330 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2331 *) .
"./$cache_file";;
2335 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2336 echo "$as_me: creating cache $cache_file" >&6;}
2340 # Check that the precious variables saved in the cache have kept the same
2342 ac_cache_corrupted
=false
2343 for ac_var
in $ac_precious_vars; do
2344 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2345 eval ac_new_set
=\
$ac_env_${ac_var}_set
2346 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2347 eval ac_new_val
=\
$ac_env_${ac_var}_value
2348 case $ac_old_set,$ac_new_set in
2350 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2351 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2352 ac_cache_corrupted
=: ;;
2354 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2355 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2356 ac_cache_corrupted
=: ;;
2359 if test "x$ac_old_val" != "x$ac_new_val"; then
2360 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2361 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2362 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2363 echo "$as_me: former value: $ac_old_val" >&2;}
2364 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2365 echo "$as_me: current value: $ac_new_val" >&2;}
2366 ac_cache_corrupted
=:
2369 # Pass precious variables to config.status.
2370 if test "$ac_new_set" = set; then
2372 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2373 *) ac_arg
=$ac_var=$ac_new_val ;;
2375 case " $ac_configure_args " in
2376 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2377 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2381 if $ac_cache_corrupted; then
2382 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2383 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2384 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2385 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2386 { (exit 1); exit 1; }; }
2414 ac_cpp
='$CPP $CPPFLAGS'
2415 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2416 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2417 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2424 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2425 if test -f "$ac_dir/install-sh"; then
2427 ac_install_sh
="$ac_aux_dir/install-sh -c"
2429 elif test -f "$ac_dir/install.sh"; then
2431 ac_install_sh
="$ac_aux_dir/install.sh -c"
2433 elif test -f "$ac_dir/shtool"; then
2435 ac_install_sh
="$ac_aux_dir/shtool install -c"
2439 if test -z "$ac_aux_dir"; then
2440 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2441 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2442 { (exit 1); exit 1; }; }
2445 # These three variables are undocumented and unsupported,
2446 # and are intended to be withdrawn in a future Autoconf release.
2447 # They can cause serious problems if a builder's source tree is in a directory
2448 # whose full name contains unusual characters.
2449 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2450 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2451 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2454 # Make sure we can run config.sub.
2455 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2456 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2457 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2458 { (exit 1); exit 1; }; }
2460 { echo "$as_me:$LINENO: checking build system type" >&5
2461 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2462 if test "${ac_cv_build+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 ac_build_alias
=$build_alias
2466 test "x$ac_build_alias" = x
&&
2467 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2468 test "x$ac_build_alias" = x
&&
2469 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2470 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2471 { (exit 1); exit 1; }; }
2472 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2478 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2479 echo "${ECHO_T}$ac_cv_build" >&6; }
2480 case $ac_cv_build in
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2483 echo "$as_me: error: invalid value of canonical build" >&2;}
2484 { (exit 1); exit 1; }; };;
2487 ac_save_IFS
=$IFS; IFS
='-'
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2497 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2500 { echo "$as_me:$LINENO: checking host system type" >&5
2501 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_host+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test "x$host_alias" = x
; then
2506 ac_cv_host
=$ac_cv_build
2508 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2515 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2516 echo "${ECHO_T}$ac_cv_host" >&6; }
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2520 echo "$as_me: error: invalid value of canonical host" >&2;}
2521 { (exit 1); exit 1; }; };;
2524 ac_save_IFS
=$IFS; IFS
='-'
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2534 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2540 wx_major_version_number
=2
2541 wx_minor_version_number
=9
2543 wx_subrelease_number
=0
2545 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2546 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2547 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2549 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2552 wx_top_builddir
="`pwd`"
2565 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2571 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2577 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2579 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2581 DEFAULT_wxUSE_COCOA
=0
2583 DEFAULT_wxUSE_OSX_CARBON
=0
2584 DEFAULT_wxUSE_OSX_COCOA
=0
2586 DEFAULT_wxUSE_MICROWIN
=0
2587 DEFAULT_wxUSE_MOTIF
=0
2593 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2594 DEFAULT_DEFAULT_wxUSE_GTK
=0
2595 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2596 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2597 DEFAULT_DEFAULT_wxUSE_MGL
=0
2598 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2599 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2600 DEFAULT_DEFAULT_wxUSE_MSW
=0
2601 DEFAULT_DEFAULT_wxUSE_PM
=0
2602 DEFAULT_DEFAULT_wxUSE_X11
=0
2603 DEFAULT_DEFAULT_wxUSE_DFB
=0
2607 SAMPLES_RPATH_POSTLINK
=
2609 DEFAULT_STD_FLAG
=yes
2614 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2615 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2616 cat >>confdefs.h
<<\_ACEOF
2621 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2625 cat >>confdefs.h
<<\_ACEOF
2630 if test "x$TMP" = "xalpha"; then
2632 cat >>confdefs.h
<<\_ACEOF
2637 DEFAULT_DEFAULT_wxUSE_GTK
=1
2639 *-*-gnu* | *-*-k*bsd
*-gnu )
2642 if test "x$TMP" = "xalpha"; then
2644 cat >>confdefs.h
<<\_ACEOF
2649 DEFAULT_DEFAULT_wxUSE_GTK
=1
2651 *-*-irix5* | *-*-irix6* )
2654 cat >>confdefs.h
<<\_ACEOF
2658 cat >>confdefs.h
<<\_ACEOF
2662 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2668 cat >>confdefs.h
<<\_ACEOF
2672 cat >>confdefs.h
<<\_ACEOF
2673 #define __SOLARIS__ 1
2676 cat >>confdefs.h
<<\_ACEOF
2680 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2681 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2687 cat >>confdefs.h
<<\_ACEOF
2691 cat >>confdefs.h
<<\_ACEOF
2695 cat >>confdefs.h
<<\_ACEOF
2699 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2704 cat >>confdefs.h
<<\_ACEOF
2705 #define __FREEBSD__ 1
2708 cat >>confdefs.h
<<\_ACEOF
2712 DEFAULT_DEFAULT_wxUSE_GTK
=1
2714 *-*-openbsd*|*-*-mirbsd*)
2717 cat >>confdefs.h
<<\_ACEOF
2718 #define __OPENBSD__ 1
2721 cat >>confdefs.h
<<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_GTK
=1
2730 cat >>confdefs.h
<<\_ACEOF
2731 #define __NETBSD__ 1
2734 cat >>confdefs.h
<<\_ACEOF
2738 DEFAULT_DEFAULT_wxUSE_GTK
=1
2739 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2741 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2746 cat >>confdefs.h
<<\_ACEOF
2750 cat >>confdefs.h
<<\_ACEOF
2754 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2755 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2760 cat >>confdefs.h
<<\_ACEOF
2764 cat >>confdefs.h
<<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2773 cat >>confdefs.h
<<\_ACEOF
2777 cat >>confdefs.h
<<\_ACEOF
2781 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2787 cat >>confdefs.h
<<\_ACEOF
2791 cat >>confdefs.h
<<\_ACEOF
2795 cat >>confdefs.h
<<\_ACEOF
2799 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2806 cat >>confdefs.h
<<\_ACEOF
2807 #define __UNIXWARE__ 1
2812 *-*-cygwin* | *-*-mingw32* )
2814 DEFAULT_DEFAULT_wxUSE_MSW
=1
2820 cat >>confdefs.h
<<\_ACEOF
2825 DEFAULT_DEFAULT_wxUSE_MGL
=1
2828 *-pc-os2_emx | *-pc-os2-emx )
2829 cat >>confdefs.h
<<\_ACEOF
2834 cat >>confdefs.h
<<\_ACEOF
2839 DEFAULT_DEFAULT_wxUSE_PM
=1
2841 LDFLAGS
="$LDFLAGS -Zcrtdll"
2842 ac_executable_extensions
=".exe"
2843 export ac_executable_extensions
2847 for ac_dir
in $PATH; do
2849 if test -z "$ac_TEMP_PATH"; then
2850 ac_TEMP_PATH
="$ac_dir"
2852 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2855 export PATH
="$ac_TEMP_PATH"
2863 cat >>confdefs.h
<<\_ACEOF
2867 cat >>confdefs.h
<<\_ACEOF
2868 #define __DARWIN__ 1
2871 cat >>confdefs.h
<<\_ACEOF
2872 #define TARGET_CARBON 1
2875 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2878 powerpc
-apple-macos* )
2880 ac_cv_c_bigendian
=yes
2881 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2887 cat >>confdefs.h
<<\_ACEOF
2894 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2895 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2896 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2897 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2899 DEFAULT_DEFAULT_wxUSE_X11
=1
2900 DEFAULT_wxUSE_SHARED
=no
2905 DEFAULT_wxUSE_ALL_FEATURES
=yes
2907 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2908 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2910 DEFAULT_wxUSE_DMALLOC
=no
2911 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2912 DEFAULT_wxUSE_LIBHILDON
=no
2913 DEFAULT_wxUSE_LIBMSPACK
=no
2914 DEFAULT_wxUSE_LIBSDL
=no
2916 DEFAULT_wxUSE_ACCESSIBILITY
=no
2917 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2918 DEFAULT_wxUSE_IPV6
=no
2919 DEFAULT_wxUSE_GSTREAMER8
=no
2921 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2922 DEFAULT_wxUSE_OPENGL
=auto
2923 DEFAULT_wxUSE_MEDIACTRL
=auto
2925 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2927 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2929 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2931 DEFAULT_wxUSE_GTK2
=yes
2933 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2939 enablestring
=disable
2941 if test -z "$defaultval"; then
2942 if test x
"$enablestring" = xdisable
; then
2949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2950 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2951 # Check whether --enable-gui was given.
2952 if test "${enable_gui+set}" = set; then
2953 enableval
=$enable_gui;
2954 if test "$enableval" = yes; then
2955 wx_cv_use_gui
='wxUSE_GUI=yes'
2957 wx_cv_use_gui
='wxUSE_GUI=no'
2962 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2967 eval "$wx_cv_use_gui"
2969 if test x"$enablestring" = xdisable; then
2970 if test $wxUSE_GUI = yes; then
2979 { echo "$as_me:$LINENO: result: $result" >&5
2980 echo "${ECHO_T}$result" >&6; }
2985 if test -z "$defaultval"; then
2986 if test x"$enablestring" = xdisable; then
2993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2994 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
2995 # Check whether --enable-monolithic was given.
2996 if test "${enable_monolithic+set}" = set; then
2997 enableval=$enable_monolithic;
2998 if test "$enableval" = yes; then
2999 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3001 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3006 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3011 eval "$wx_cv_use_monolithic"
3013 if test x"$enablestring" = xdisable; then
3014 if test $wxUSE_MONOLITHIC = yes; then
3020 result=$wxUSE_MONOLITHIC
3023 { echo "$as_me:$LINENO: result
: $result" >&5
3024 echo "${ECHO_T}$result" >&6; }
3029 if test -z "$defaultval"; then
3030 if test x"$enablestring" = xdisable; then
3037 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3038 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3039 # Check whether --enable-plugins was given.
3040 if test "${enable_plugins+set}" = set; then
3041 enableval=$enable_plugins;
3042 if test "$enableval" = yes; then
3043 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3045 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3050 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3055 eval "$wx_cv_use_plugins"
3057 if test x
"$enablestring" = xdisable
; then
3058 if test $wxUSE_PLUGINS = yes; then
3064 result
=$wxUSE_PLUGINS
3067 { echo "$as_me:$LINENO: result: $result" >&5
3068 echo "${ECHO_T}$result" >&6; }
3072 defaultval
=$wxUSE_ALL_FEATURES
3073 if test -z "$defaultval"; then
3074 if test x
"$withstring" = xwithout
; then
3080 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3081 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3083 # Check whether --with-subdirs was given.
3084 if test "${with_subdirs+set}" = set; then
3085 withval
=$with_subdirs;
3086 if test "$withval" = yes; then
3087 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3089 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3094 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3099 eval "$wx_cv_use_subdirs"
3101 if test x"$withstring" = xwithout; then
3102 if test $wxWITH_SUBDIRS = yes; then
3108 result=$wxWITH_SUBDIRS
3111 { echo "$as_me:$LINENO: result: $result" >&5
3112 echo "${ECHO_T}$result" >&6; }
3115 # Check whether --with-flavour was given.
3116 if test "${with_flavour+set}" = set; then
3117 withval=$with_flavour; WX_FLAVOUR="$withval"
3123 if test -z "$defaultval"; then
3124 if test x"$enablestring" = xdisable; then
3131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3132 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3133 # Check whether --enable-official_build was given.
3134 if test "${enable_official_build+set}" = set; then
3135 enableval=$enable_official_build;
3136 if test "$enableval" = yes; then
3137 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3139 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3144 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3149 eval "$wx_cv_use_official_build"
3151 if test x"$enablestring" = xdisable; then
3152 if test $wxUSE_OFFICIAL_BUILD = yes; then
3158 result=$wxUSE_OFFICIAL_BUILD
3161 { echo "$as_me:$LINENO: result
: $result" >&5
3162 echo "${ECHO_T}$result" >&6; }
3164 # Check whether --enable-vendor was given.
3165 if test "${enable_vendor+set}" = set; then
3166 enableval=$enable_vendor; VENDOR="$enableval"
3169 if test "x
$VENDOR" = "x
"; then
3174 enablestring=disable
3176 if test -z "$defaultval"; then
3177 if test x"$enablestring" = xdisable; then
3184 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3185 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3186 # Check whether --enable-all-features was given.
3187 if test "${enable_all_features+set}" = set; then
3188 enableval=$enable_all_features;
3189 if test "$enableval" = yes; then
3190 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3192 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3197 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3202 eval "$wx_cv_use_all_features"
3204 if test x
"$enablestring" = xdisable
; then
3205 if test $wxUSE_ALL_FEATURES = yes; then
3211 result
=$wxUSE_ALL_FEATURES
3214 { echo "$as_me:$LINENO: result: $result" >&5
3215 echo "${ECHO_T}$result" >&6; }
3219 if test "$wxUSE_GUI" = "yes"; then
3224 if test -z "$defaultval"; then
3225 if test x
"$enablestring" = xdisable
; then
3232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3233 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3234 # Check whether --enable-universal was given.
3235 if test "${enable_universal+set}" = set; then
3236 enableval
=$enable_universal;
3237 if test "$enableval" = yes; then
3238 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3240 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3245 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3250 eval "$wx_cv_use_universal"
3252 if test x"$enablestring" = xdisable; then
3253 if test $wxUSE_UNIVERSAL = yes; then
3259 result=$wxUSE_UNIVERSAL
3262 { echo "$as_me:$LINENO: result: $result" >&5
3263 echo "${ECHO_T}$result" >&6; }
3265 if test "$wxUSE_UNIVERSAL" = "yes"; then
3267 # Check whether --with-themes was given.
3268 if test "${with_themes+set}" = set; then
3269 withval=$with_themes; wxUNIV_THEMES="$withval"
3275 # Check whether --with-gtk was given.
3276 if test "${with_gtk+set}" = set; then
3277 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3281 # Check whether --with-motif was given.
3282 if test "${with_motif+set}" = set; then
3283 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3287 # Check whether --with-osx_carbon was given.
3288 if test "${with_osx_carbon+set}" = set; then
3289 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3293 # Check whether --with-osx_cocoa was given.
3294 if test "${with_osx_cocoa+set}" = set; then
3295 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3299 # Check whether --with-mac was given.
3300 if test "${with_mac+set}" = set; then
3301 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3305 # Check whether --with-cocoa was given.
3306 if test "${with_cocoa+set}" = set; then
3307 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3311 # Check whether --with-wine was given.
3312 if test "${with_wine+set}" = set; then
3313 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3317 # Check whether --with-msw was given.
3318 if test "${with_msw+set}" = set; then
3319 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3323 # Check whether --with-pm was given.
3324 if test "${with_pm+set}" = set; then
3325 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3329 # Check whether --with-mgl was given.
3330 if test "${with_mgl+set}" = set; then
3331 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3335 # Check whether --with-directfb was given.
3336 if test "${with_directfb+set}" = set; then
3337 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3341 # Check whether --with-microwin was given.
3342 if test "${with_microwin+set}" = set; then
3343 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3347 # Check whether --with-x11 was given.
3348 if test "${with_x11+set}" = set; then
3349 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3355 if test -z "$defaultval"; then
3356 if test x"$enablestring" = xdisable; then
3363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3364 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3365 # Check whether --enable-nanox was given.
3366 if test "${enable_nanox+set}" = set; then
3367 enableval=$enable_nanox;
3368 if test "$enableval" = yes; then
3369 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3371 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3376 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3381 eval "$wx_cv_use_nanox"
3383 if test x"$enablestring" = xdisable; then
3384 if test $wxUSE_NANOX = yes; then
3393 { echo "$as_me:$LINENO: result
: $result" >&5
3394 echo "${ECHO_T}$result" >&6; }
3397 # Check whether --enable-gtk2 was given.
3398 if test "${enable_gtk2+set}" = set; then
3399 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3405 if test -z "$defaultval"; then
3406 if test x"$enablestring" = xdisable; then
3413 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3414 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3415 # Check whether --enable-gpe was given.
3416 if test "${enable_gpe+set}" = set; then
3417 enableval=$enable_gpe;
3418 if test "$enableval" = yes; then
3419 wx_cv_use_gpe='wxUSE_GPE=yes'
3421 wx_cv_use_gpe='wxUSE_GPE=no'
3426 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3431 eval "$wx_cv_use_gpe"
3433 if test x
"$enablestring" = xdisable
; then
3434 if test $wxUSE_GPE = yes; then
3443 { echo "$as_me:$LINENO: result: $result" >&5
3444 echo "${ECHO_T}$result" >&6; }
3448 { echo "$as_me:$LINENO: checking for toolkit" >&5
3449 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3453 # In Wine, we need to default to MSW, not GTK or MOTIF
3454 if test "$wxUSE_WINE" = "yes"; then
3455 DEFAULT_DEFAULT_wxUSE_GTK
=0
3456 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3457 DEFAULT_DEFAULT_wxUSE_MSW
=1
3464 if test "$wxUSE_GUI" = "yes"; then
3466 if test "$USE_BEOS" = 1; then
3467 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3468 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3469 { (exit 1); exit 1; }; }
3472 if test "$TOOLKIT_GIVEN" = 1; then
3473 for toolkit
in $ALL_TOOLKITS; do
3475 eval "value=\$${var}"
3476 if test "x$value" = "xno"; then
3478 elif test "x$value" != "x"; then
3482 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3483 eval "wx${toolkit}_VERSION=$value"
3487 for toolkit
in $ALL_TOOLKITS; do
3488 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3489 eval "wxUSE_$toolkit=\$${var}"
3493 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3494 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3495 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3498 *-pc-os2_emx | *-pc-os2-emx )
3499 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3502 case "$NUM_TOOLKITS" in
3506 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3507 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3508 { (exit 1); exit 1; }; }
3511 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3512 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3513 { (exit 1); exit 1; }; }
3516 # to be removed when --disable-gtk2 isn't needed
3517 if test "x$wxUSE_GTK2" = "xyes"; then
3519 elif test "x$wxUSE_GTK2" = "xno"; then
3523 for toolkit
in $ALL_TOOLKITS; do
3525 eval "value=\$${var}"
3526 if test "$value" = 1; then
3527 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3528 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3529 echo "${ECHO_T}$toolkit_echo" >&6; }
3533 if test "x$host_alias" != "x"; then
3534 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3535 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3537 { echo "$as_me:$LINENO: result: base only" >&5
3538 echo "${ECHO_T}base only" >&6; }
3543 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3549 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3550 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3552 # Check whether --with-libpng was given.
3553 if test "${with_libpng+set}" = set; then
3554 withval
=$with_libpng;
3555 if test "$withval" = yes; then
3556 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3557 elif test "$withval" = no
; then
3558 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3559 elif test "$withval" = sys
; then
3560 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3561 elif test "$withval" = builtin; then
3562 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3564 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3565 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3566 { (exit 1); exit 1; }; }
3571 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3576 eval "$wx_cv_use_libpng"
3578 if test "$wxUSE_LIBPNG" = yes; then
3579 { echo "$as_me:$LINENO: result: yes" >&5
3580 echo "${ECHO_T}yes" >&6; }
3581 elif test "$wxUSE_LIBPNG" = no; then
3582 { echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6; }
3584 elif test "$wxUSE_LIBPNG" = sys; then
3585 { echo "$as_me:$LINENO: result: system version" >&5
3586 echo "${ECHO_T}system version" >&6; }
3587 elif test "$wxUSE_LIBPNG" = builtin; then
3588 { echo "$as_me:$LINENO: result: builtin version" >&5
3589 echo "${ECHO_T}builtin version" >&6; }
3591 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3592 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3593 { (exit 1); exit 1; }; }
3597 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3598 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3600 # Check whether --with-libjpeg was given.
3601 if test "${with_libjpeg+set}" = set; then
3602 withval=$with_libjpeg;
3603 if test "$withval" = yes; then
3604 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3605 elif test "$withval" = no; then
3606 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3607 elif test "$withval" = sys; then
3608 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3609 elif test "$withval" = builtin; then
3610 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3612 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3613 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3614 { (exit 1); exit 1; }; }
3619 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3624 eval "$wx_cv_use_libjpeg"
3626 if test "$wxUSE_LIBJPEG" = yes; then
3627 { echo "$as_me:$LINENO: result
: yes" >&5
3628 echo "${ECHO_T}yes" >&6; }
3629 elif test "$wxUSE_LIBJPEG" = no; then
3630 { echo "$as_me:$LINENO: result
: no
" >&5
3631 echo "${ECHO_T}no
" >&6; }
3632 elif test "$wxUSE_LIBJPEG" = sys; then
3633 { echo "$as_me:$LINENO: result
: system version
" >&5
3634 echo "${ECHO_T}system version
" >&6; }
3635 elif test "$wxUSE_LIBJPEG" = builtin; then
3636 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3637 echo "${ECHO_T}builtin version
" >&6; }
3639 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3640 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3645 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3646 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3648 # Check whether --with-libtiff was given.
3649 if test "${with_libtiff+set}" = set; then
3650 withval=$with_libtiff;
3651 if test "$withval" = yes; then
3652 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3653 elif test "$withval" = no; then
3654 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3655 elif test "$withval" = sys; then
3656 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3657 elif test "$withval" = builtin; then
3658 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3660 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3661 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3662 { (exit 1); exit 1; }; }
3667 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3672 eval "$wx_cv_use_libtiff"
3674 if test "$wxUSE_LIBTIFF" = yes; then
3675 { echo "$as_me:$LINENO: result: yes" >&5
3676 echo "${ECHO_T}yes" >&6; }
3677 elif test "$wxUSE_LIBTIFF" = no
; then
3678 { echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6; }
3680 elif test "$wxUSE_LIBTIFF" = sys
; then
3681 { echo "$as_me:$LINENO: result: system version" >&5
3682 echo "${ECHO_T}system version" >&6; }
3683 elif test "$wxUSE_LIBTIFF" = builtin; then
3684 { echo "$as_me:$LINENO: result: builtin version" >&5
3685 echo "${ECHO_T}builtin version" >&6; }
3687 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3688 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3689 { (exit 1); exit 1; }; }
3693 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3694 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3696 # Check whether --with-libxpm was given.
3697 if test "${with_libxpm+set}" = set; then
3698 withval
=$with_libxpm;
3699 if test "$withval" = yes; then
3700 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3701 elif test "$withval" = no
; then
3702 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3703 elif test "$withval" = sys
; then
3704 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3705 elif test "$withval" = builtin; then
3706 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3709 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3710 { (exit 1); exit 1; }; }
3715 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3720 eval "$wx_cv_use_libxpm"
3722 if test "$wxUSE_LIBXPM" = yes; then
3723 { echo "$as_me:$LINENO: result: yes" >&5
3724 echo "${ECHO_T}yes" >&6; }
3725 elif test "$wxUSE_LIBXPM" = no; then
3726 { echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6; }
3728 elif test "$wxUSE_LIBXPM" = sys; then
3729 { echo "$as_me:$LINENO: result: system version" >&5
3730 echo "${ECHO_T}system version" >&6; }
3731 elif test "$wxUSE_LIBXPM" = builtin; then
3732 { echo "$as_me:$LINENO: result: builtin version" >&5
3733 echo "${ECHO_T}builtin version" >&6; }
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3742 defaultval=$wxUSE_ALL_FEATURES
3743 if test -z "$defaultval"; then
3744 if test x"$withstring" = xwithout; then
3750 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3751 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3753 # Check whether --with-libiconv was given.
3754 if test "${with_libiconv+set}" = set; then
3755 withval=$with_libiconv;
3756 if test "$withval" = yes; then
3757 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3759 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3764 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3769 eval "$wx_cv_use_libiconv"
3771 if test x"$withstring" = xwithout; then
3772 if test $wxUSE_LIBICONV = yes; then
3778 result=$wxUSE_LIBICONV
3781 { echo "$as_me:$LINENO: result
: $result" >&5
3782 echo "${ECHO_T}$result" >&6; }
3786 defaultval=$wxUSE_ALL_FEATURES
3787 if test -z "$defaultval"; then
3788 if test x"$withstring" = xwithout; then
3794 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3795 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3797 # Check whether --with-libmspack was given.
3798 if test "${with_libmspack+set}" = set; then
3799 withval=$with_libmspack;
3800 if test "$withval" = yes; then
3801 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3803 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3808 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3813 eval "$wx_cv_use_libmspack"
3815 if test x
"$withstring" = xwithout
; then
3816 if test $wxUSE_LIBMSPACK = yes; then
3822 result
=$wxUSE_LIBMSPACK
3825 { echo "$as_me:$LINENO: result: $result" >&5
3826 echo "${ECHO_T}$result" >&6; }
3830 defaultval
=$wxUSE_ALL_FEATURES
3831 if test -z "$defaultval"; then
3832 if test x
"$withstring" = xwithout
; then
3838 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3839 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3841 # Check whether --with-gtkprint was given.
3842 if test "${with_gtkprint+set}" = set; then
3843 withval
=$with_gtkprint;
3844 if test "$withval" = yes; then
3845 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3847 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3852 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3857 eval "$wx_cv_use_gtkprint"
3859 if test x"$withstring" = xwithout; then
3860 if test $wxUSE_GTKPRINT = yes; then
3866 result=$wxUSE_GTKPRINT
3869 { echo "$as_me:$LINENO: result: $result" >&5
3870 echo "${ECHO_T}$result" >&6; }
3874 defaultval=$wxUSE_ALL_FEATURES
3875 if test -z "$defaultval"; then
3876 if test x"$withstring" = xwithout; then
3882 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3883 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3885 # Check whether --with-gnomeprint was given.
3886 if test "${with_gnomeprint+set}" = set; then
3887 withval=$with_gnomeprint;
3888 if test "$withval" = yes; then
3889 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3891 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3896 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3901 eval "$wx_cv_use_gnomeprint"
3903 if test x"$withstring" = xwithout; then
3904 if test $wxUSE_LIBGNOMEPRINT = yes; then
3910 result=$wxUSE_LIBGNOMEPRINT
3913 { echo "$as_me:$LINENO: result
: $result" >&5
3914 echo "${ECHO_T}$result" >&6; }
3918 defaultval=$wxUSE_ALL_FEATURES
3919 if test -z "$defaultval"; then
3920 if test x"$withstring" = xwithout; then
3926 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3927 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3929 # Check whether --with-gnomevfs was given.
3930 if test "${with_gnomevfs+set}" = set; then
3931 withval=$with_gnomevfs;
3932 if test "$withval" = yes; then
3933 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3935 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3940 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3945 eval "$wx_cv_use_gnomevfs"
3947 if test x
"$withstring" = xwithout
; then
3948 if test $wxUSE_LIBGNOMEVFS = yes; then
3954 result
=$wxUSE_LIBGNOMEVFS
3957 { echo "$as_me:$LINENO: result: $result" >&5
3958 echo "${ECHO_T}$result" >&6; }
3962 defaultval
=$wxUSE_ALL_FEATURES
3963 if test -z "$defaultval"; then
3964 if test x
"$withstring" = xwithout
; then
3970 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3971 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3973 # Check whether --with-hildon was given.
3974 if test "${with_hildon+set}" = set; then
3975 withval
=$with_hildon;
3976 if test "$withval" = yes; then
3977 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3979 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
3984 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3989 eval "$wx_cv_use_hildon"
3991 if test x"$withstring" = xwithout; then
3992 if test $wxUSE_LIBHILDON = yes; then
3998 result=$wxUSE_LIBHILDON
4001 { echo "$as_me:$LINENO: result: $result" >&5
4002 echo "${ECHO_T}$result" >&6; }
4006 defaultval=$wxUSE_ALL_FEATURES
4007 if test -z "$defaultval"; then
4008 if test x"$withstring" = xwithout; then
4014 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4015 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4017 # Check whether --with-opengl was given.
4018 if test "${with_opengl+set}" = set; then
4019 withval=$with_opengl;
4020 if test "$withval" = yes; then
4021 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4023 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4028 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4033 eval "$wx_cv_use_opengl"
4035 if test x"$withstring" = xwithout; then
4036 if test $wxUSE_OPENGL = yes; then
4042 result=$wxUSE_OPENGL
4045 { echo "$as_me:$LINENO: result
: $result" >&5
4046 echo "${ECHO_T}$result" >&6; }
4053 defaultval=$wxUSE_ALL_FEATURES
4054 if test -z "$defaultval"; then
4055 if test x"$withstring" = xwithout; then
4061 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4062 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4064 # Check whether --with-dmalloc was given.
4065 if test "${with_dmalloc+set}" = set; then
4066 withval=$with_dmalloc;
4067 if test "$withval" = yes; then
4068 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4070 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4075 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4080 eval "$wx_cv_use_dmalloc"
4082 if test x
"$withstring" = xwithout
; then
4083 if test $wxUSE_DMALLOC = yes; then
4089 result
=$wxUSE_DMALLOC
4092 { echo "$as_me:$LINENO: result: $result" >&5
4093 echo "${ECHO_T}$result" >&6; }
4097 defaultval
=$wxUSE_ALL_FEATURES
4098 if test -z "$defaultval"; then
4099 if test x
"$withstring" = xwithout
; then
4105 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4106 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4108 # Check whether --with-sdl was given.
4109 if test "${with_sdl+set}" = set; then
4111 if test "$withval" = yes; then
4112 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4114 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4119 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4124 eval "$wx_cv_use_sdl"
4126 if test x"$withstring" = xwithout; then
4127 if test $wxUSE_LIBSDL = yes; then
4133 result=$wxUSE_LIBSDL
4136 { echo "$as_me:$LINENO: result: $result" >&5
4137 echo "${ECHO_T}$result" >&6; }
4140 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4141 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4143 # Check whether --with-regex was given.
4144 if test "${with_regex+set}" = set; then
4145 withval=$with_regex;
4146 if test "$withval" = yes; then
4147 wx_cv_use_regex='wxUSE_REGEX
=yes'
4148 elif test "$withval" = no; then
4149 wx_cv_use_regex='wxUSE_REGEX
=no
'
4150 elif test "$withval" = sys; then
4151 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4152 elif test "$withval" = builtin; then
4153 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4155 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4156 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4157 { (exit 1); exit 1; }; }
4162 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4167 eval "$wx_cv_use_regex"
4169 if test "$wxUSE_REGEX" = yes; then
4170 { echo "$as_me:$LINENO: result
: yes" >&5
4171 echo "${ECHO_T}yes" >&6; }
4172 elif test "$wxUSE_REGEX" = no; then
4173 { echo "$as_me:$LINENO: result
: no
" >&5
4174 echo "${ECHO_T}no
" >&6; }
4175 elif test "$wxUSE_REGEX" = sys; then
4176 { echo "$as_me:$LINENO: result
: system version
" >&5
4177 echo "${ECHO_T}system version
" >&6; }
4178 elif test "$wxUSE_REGEX" = builtin; then
4179 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4180 echo "${ECHO_T}builtin version
" >&6; }
4182 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4183 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4184 { (exit 1); exit 1; }; }
4188 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4189 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4191 # Check whether --with-zlib was given.
4192 if test "${with_zlib+set}" = set; then
4194 if test "$withval" = yes; then
4195 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4196 elif test "$withval" = no; then
4197 wx_cv_use_zlib='wxUSE_ZLIB=no'
4198 elif test "$withval" = sys; then
4199 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4200 elif test "$withval" = builtin; then
4201 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4203 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4204 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4205 { (exit 1); exit 1; }; }
4210 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4215 eval "$wx_cv_use_zlib"
4217 if test "$wxUSE_ZLIB" = yes; then
4218 { echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6; }
4220 elif test "$wxUSE_ZLIB" = no
; then
4221 { echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6; }
4223 elif test "$wxUSE_ZLIB" = sys
; then
4224 { echo "$as_me:$LINENO: result: system version" >&5
4225 echo "${ECHO_T}system version" >&6; }
4226 elif test "$wxUSE_ZLIB" = builtin; then
4227 { echo "$as_me:$LINENO: result: builtin version" >&5
4228 echo "${ECHO_T}builtin version" >&6; }
4230 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4231 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4232 { (exit 1); exit 1; }; }
4236 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4237 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4239 # Check whether --with-expat was given.
4240 if test "${with_expat+set}" = set; then
4241 withval
=$with_expat;
4242 if test "$withval" = yes; then
4243 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4244 elif test "$withval" = no
; then
4245 wx_cv_use_expat
='wxUSE_EXPAT=no'
4246 elif test "$withval" = sys
; then
4247 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4248 elif test "$withval" = builtin; then
4249 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4251 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4252 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4253 { (exit 1); exit 1; }; }
4258 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4263 eval "$wx_cv_use_expat"
4265 if test "$wxUSE_EXPAT" = yes; then
4266 { echo "$as_me:$LINENO: result: yes" >&5
4267 echo "${ECHO_T}yes" >&6; }
4268 elif test "$wxUSE_EXPAT" = no; then
4269 { echo "$as_me:$LINENO: result: no" >&5
4270 echo "${ECHO_T}no" >&6; }
4271 elif test "$wxUSE_EXPAT" = sys; then
4272 { echo "$as_me:$LINENO: result: system version" >&5
4273 echo "${ECHO_T}system version" >&6; }
4274 elif test "$wxUSE_EXPAT" = builtin; then
4275 { echo "$as_me:$LINENO: result: builtin version" >&5
4276 echo "${ECHO_T}builtin version" >&6; }
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4284 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4285 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4287 # Check whether --with-macosx-sdk was given.
4288 if test "${with_macosx_sdk+set}" = set; then
4289 withval=$with_macosx_sdk;
4290 wxUSE_MACOSX_SDK=$withval
4291 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4295 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4296 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4298 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4299 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4301 # Check whether --with-macosx-version-min was given.
4302 if test "${with_macosx_version_min+set}" = set; then
4303 withval=$with_macosx_version_min;
4304 wxUSE_MACOSX_VERSION_MIN=$withval
4305 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4309 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4310 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4314 enablestring=disable
4316 if test -z "$defaultval"; then
4317 if test x"$enablestring" = xdisable; then
4324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4325 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4326 # Check whether --enable-shared was given.
4327 if test "${enable_shared+set}" = set; then
4328 enableval=$enable_shared;
4329 if test "$enableval" = yes; then
4330 wx_cv_use_shared='wxUSE_SHARED
=yes'
4332 wx_cv_use_shared='wxUSE_SHARED
=no
'
4337 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4342 eval "$wx_cv_use_shared"
4344 if test x"$enablestring" = xdisable; then
4345 if test $wxUSE_SHARED = yes; then
4351 result=$wxUSE_SHARED
4354 { echo "$as_me:$LINENO: result
: $result" >&5
4355 echo "${ECHO_T}$result" >&6; }
4360 if test -z "$defaultval"; then
4361 if test x"$enablestring" = xdisable; then
4368 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4369 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4370 # Check whether --enable-debug was given.
4371 if test "${enable_debug+set}" = set; then
4372 enableval=$enable_debug;
4373 if test "$enableval" = yes; then
4374 wx_cv_use_debug='wxUSE_DEBUG=yes'
4376 wx_cv_use_debug='wxUSE_DEBUG=no'
4381 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4386 eval "$wx_cv_use_debug"
4388 if test x
"$enablestring" = xdisable
; then
4389 if test $wxUSE_DEBUG = yes; then
4398 { echo "$as_me:$LINENO: result: $result" >&5
4399 echo "${ECHO_T}$result" >&6; }
4404 if test -z "$defaultval"; then
4405 if test x
"$enablestring" = xdisable
; then
4412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4414 # Check whether --enable-stl was given.
4415 if test "${enable_stl+set}" = set; then
4416 enableval
=$enable_stl;
4417 if test "$enableval" = yes; then
4418 wx_cv_use_stl
='wxUSE_STL=yes'
4420 wx_cv_use_stl
='wxUSE_STL=no'
4425 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4430 eval "$wx_cv_use_stl"
4432 if test x"$enablestring" = xdisable; then
4433 if test $wxUSE_STL = yes; then
4442 { echo "$as_me:$LINENO: result: $result" >&5
4443 echo "${ECHO_T}$result" >&6; }
4448 if test -z "$defaultval"; then
4449 if test x"$enablestring" = xdisable; then
4456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4457 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4458 # Check whether --enable-std_iostreams was given.
4459 if test "${enable_std_iostreams+set}" = set; then
4460 enableval=$enable_std_iostreams;
4461 if test "$enableval" = yes; then
4462 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4464 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4469 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4474 eval "$wx_cv_use_std_iostreams"
4476 if test x"$enablestring" = xdisable; then
4477 if test $wxUSE_STD_IOSTREAM = yes; then
4483 result=$wxUSE_STD_IOSTREAM
4486 { echo "$as_me:$LINENO: result
: $result" >&5
4487 echo "${ECHO_T}$result" >&6; }
4492 if test -z "$defaultval"; then
4493 if test x"$enablestring" = xdisable; then
4500 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4501 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4502 # Check whether --enable-std_string was given.
4503 if test "${enable_std_string+set}" = set; then
4504 enableval=$enable_std_string;
4505 if test "$enableval" = yes; then
4506 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4508 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4513 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4518 eval "$wx_cv_use_std_string"
4520 if test x
"$enablestring" = xdisable
; then
4521 if test $wxUSE_STD_STRING = yes; then
4527 result
=$wxUSE_STD_STRING
4530 { echo "$as_me:$LINENO: result: $result" >&5
4531 echo "${ECHO_T}$result" >&6; }
4534 enablestring
=disable
4536 if test -z "$defaultval"; then
4537 if test x
"$enablestring" = xdisable
; then
4544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4545 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4546 # Check whether --enable-unicode was given.
4547 if test "${enable_unicode+set}" = set; then
4548 enableval
=$enable_unicode;
4549 if test "$enableval" = yes; then
4550 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4552 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4557 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4562 eval "$wx_cv_use_unicode"
4564 if test x"$enablestring" = xdisable; then
4565 if test $wxUSE_UNICODE = yes; then
4571 result=$wxUSE_UNICODE
4574 { echo "$as_me:$LINENO: result: $result" >&5
4575 echo "${ECHO_T}$result" >&6; }
4580 if test -z "$defaultval"; then
4581 if test x"$enablestring" = xdisable; then
4588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4590 # Check whether --enable-mslu was given.
4591 if test "${enable_mslu+set}" = set; then
4592 enableval=$enable_mslu;
4593 if test "$enableval" = yes; then
4594 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4596 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4601 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4606 eval "$wx_cv_use_mslu"
4608 if test x"$enablestring" = xdisable; then
4609 if test $wxUSE_UNICODE_MSLU = yes; then
4615 result=$wxUSE_UNICODE_MSLU
4618 { echo "$as_me:$LINENO: result
: $result" >&5
4619 echo "${ECHO_T}$result" >&6; }
4623 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4624 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4625 # Check whether --enable-utf8 was given.
4626 if test "${enable_utf8+set}" = set; then
4627 enableval=$enable_utf8;
4628 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4632 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4637 eval "$wx_cv_use_utf8"
4639 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4640 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4645 if test -z "$defaultval"; then
4646 if test x"$enablestring" = xdisable; then
4653 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4654 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4655 # Check whether --enable-utf8only was given.
4656 if test "${enable_utf8only+set}" = set; then
4657 enableval=$enable_utf8only;
4658 if test "$enableval" = yes; then
4659 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4661 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4666 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4671 eval "$wx_cv_use_utf8only"
4673 if test x
"$enablestring" = xdisable
; then
4674 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4680 result
=$wxUSE_UNICODE_UTF8_LOCALE
4683 { echo "$as_me:$LINENO: result: $result" >&5
4684 echo "${ECHO_T}$result" >&6; }
4689 if test -z "$defaultval"; then
4690 if test x
"$enablestring" = xdisable
; then
4697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4698 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4699 # Check whether --enable-extended_rtti was given.
4700 if test "${enable_extended_rtti+set}" = set; then
4701 enableval
=$enable_extended_rtti;
4702 if test "$enableval" = yes; then
4703 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4705 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4710 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4715 eval "$wx_cv_use_extended_rtti"
4717 if test x"$enablestring" = xdisable; then
4718 if test $wxUSE_EXTENDED_RTTI = yes; then
4724 result=$wxUSE_EXTENDED_RTTI
4727 { echo "$as_me:$LINENO: result: $result" >&5
4728 echo "${ECHO_T}$result" >&6; }
4730 if test "$USE_OS2" = 1; then
4731 DEFAULT_wxUSE_OMF=no
4735 if test -z "$defaultval"; then
4736 if test x"$enablestring" = xdisable; then
4743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4745 # Check whether --enable-omf was given.
4746 if test "${enable_omf+set}" = set; then
4747 enableval=$enable_omf;
4748 if test "$enableval" = yes; then
4749 wx_cv_use_omf='wxUSE_OMF
=yes'
4751 wx_cv_use_omf='wxUSE_OMF
=no
'
4756 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4761 eval "$wx_cv_use_omf"
4763 if test x"$enablestring" = xdisable; then
4764 if test $wxUSE_OMF = yes; then
4773 { echo "$as_me:$LINENO: result
: $result" >&5
4774 echo "${ECHO_T}$result" >&6; }
4778 if test "$wxUSE_DEBUG" = "yes"; then
4779 DEFAULT_wxUSE_DEBUG_FLAG=yes
4780 DEFAULT_wxUSE_DEBUG_INFO=yes
4782 elif test "$wxUSE_DEBUG" = "no
"; then
4783 DEFAULT_wxUSE_DEBUG_FLAG=no
4784 DEFAULT_wxUSE_DEBUG_INFO=no
4791 if test -z "$defaultval"; then
4792 if test x"$enablestring" = xdisable; then
4799 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4800 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4801 # Check whether --enable-debug_flag was given.
4802 if test "${enable_debug_flag+set}" = set; then
4803 enableval=$enable_debug_flag;
4804 if test "$enableval" = yes; then
4805 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4807 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4812 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4817 eval "$wx_cv_use_debug_flag"
4819 if test x
"$enablestring" = xdisable
; then
4820 if test $wxUSE_DEBUG_FLAG = yes; then
4826 result
=$wxUSE_DEBUG_FLAG
4829 { echo "$as_me:$LINENO: result: $result" >&5
4830 echo "${ECHO_T}$result" >&6; }
4835 if test -z "$defaultval"; then
4836 if test x
"$enablestring" = xdisable
; then
4843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4845 # Check whether --enable-debug_info was given.
4846 if test "${enable_debug_info+set}" = set; then
4847 enableval
=$enable_debug_info;
4848 if test "$enableval" = yes; then
4849 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4851 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4856 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4861 eval "$wx_cv_use_debug_info"
4863 if test x"$enablestring" = xdisable; then
4864 if test $wxUSE_DEBUG_INFO = yes; then
4870 result=$wxUSE_DEBUG_INFO
4873 { echo "$as_me:$LINENO: result: $result" >&5
4874 echo "${ECHO_T}$result" >&6; }
4877 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4882 if test "$wxUSE_DEBUG" = "yes"; then
4883 DEFAULT_wxUSE_OPTIMISE=no
4887 enablestring=disable
4889 if test -z "$defaultval"; then
4890 if test x"$enablestring" = xdisable; then
4897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4898 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4899 # Check whether --enable-optimise was given.
4900 if test "${enable_optimise+set}" = set; then
4901 enableval=$enable_optimise;
4902 if test "$enableval" = yes; then
4903 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4905 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4910 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4915 eval "$wx_cv_use_optimise"
4917 if test x"$enablestring" = xdisable; then
4918 if test $wxUSE_OPTIMISE = yes; then
4924 result=$wxUSE_OPTIMISE
4927 { echo "$as_me:$LINENO: result
: $result" >&5
4928 echo "${ECHO_T}$result" >&6; }
4934 if test -z "$defaultval"; then
4935 if test x"$enablestring" = xdisable; then
4942 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4943 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4944 # Check whether --enable-debug_gdb was given.
4945 if test "${enable_debug_gdb+set}" = set; then
4946 enableval=$enable_debug_gdb;
4947 if test "$enableval" = yes; then
4948 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4950 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4955 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4960 eval "$wx_cv_use_debug_gdb"
4962 if test x
"$enablestring" = xdisable
; then
4963 if test $wxUSE_DEBUG_GDB = yes; then
4969 result
=$wxUSE_DEBUG_GDB
4972 { echo "$as_me:$LINENO: result: $result" >&5
4973 echo "${ECHO_T}$result" >&6; }
4978 if test -z "$defaultval"; then
4979 if test x
"$enablestring" = xdisable
; then
4986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4987 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4988 # Check whether --enable-debug_cntxt was given.
4989 if test "${enable_debug_cntxt+set}" = set; then
4990 enableval
=$enable_debug_cntxt;
4991 if test "$enableval" = yes; then
4992 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4994 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4999 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5004 eval "$wx_cv_use_debug_cntxt"
5006 if test x"$enablestring" = xdisable; then
5007 if test $wxUSE_DEBUG_CONTEXT = yes; then
5013 result=$wxUSE_DEBUG_CONTEXT
5016 { echo "$as_me:$LINENO: result: $result" >&5
5017 echo "${ECHO_T}$result" >&6; }
5022 if test -z "$defaultval"; then
5023 if test x"$enablestring" = xdisable; then
5030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5031 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5032 # Check whether --enable-mem_tracing was given.
5033 if test "${enable_mem_tracing+set}" = set; then
5034 enableval=$enable_mem_tracing;
5035 if test "$enableval" = yes; then
5036 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5038 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5043 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5048 eval "$wx_cv_use_mem_tracing"
5050 if test x"$enablestring" = xdisable; then
5051 if test $wxUSE_MEM_TRACING = yes; then
5057 result=$wxUSE_MEM_TRACING
5060 { echo "$as_me:$LINENO: result
: $result" >&5
5061 echo "${ECHO_T}$result" >&6; }
5066 if test -z "$defaultval"; then
5067 if test x"$enablestring" = xdisable; then
5074 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5075 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5076 # Check whether --enable-profile was given.
5077 if test "${enable_profile+set}" = set; then
5078 enableval=$enable_profile;
5079 if test "$enableval" = yes; then
5080 wx_cv_use_profile='wxUSE_PROFILE=yes'
5082 wx_cv_use_profile='wxUSE_PROFILE=no'
5087 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5092 eval "$wx_cv_use_profile"
5094 if test x
"$enablestring" = xdisable
; then
5095 if test $wxUSE_PROFILE = yes; then
5101 result
=$wxUSE_PROFILE
5104 { echo "$as_me:$LINENO: result: $result" >&5
5105 echo "${ECHO_T}$result" >&6; }
5110 if test -z "$defaultval"; then
5111 if test x
"$enablestring" = xdisable
; then
5118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5120 # Check whether --enable-no_rtti was given.
5121 if test "${enable_no_rtti+set}" = set; then
5122 enableval
=$enable_no_rtti;
5123 if test "$enableval" = yes; then
5124 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5126 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5131 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5136 eval "$wx_cv_use_no_rtti"
5138 if test x"$enablestring" = xdisable; then
5139 if test $wxUSE_NO_RTTI = yes; then
5145 result=$wxUSE_NO_RTTI
5148 { echo "$as_me:$LINENO: result: $result" >&5
5149 echo "${ECHO_T}$result" >&6; }
5154 if test -z "$defaultval"; then
5155 if test x"$enablestring" = xdisable; then
5162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5164 # Check whether --enable-no_exceptions was given.
5165 if test "${enable_no_exceptions+set}" = set; then
5166 enableval=$enable_no_exceptions;
5167 if test "$enableval" = yes; then
5168 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5170 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5175 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5180 eval "$wx_cv_use_no_exceptions"
5182 if test x"$enablestring" = xdisable; then
5183 if test $wxUSE_NO_EXCEPTIONS = yes; then
5189 result=$wxUSE_NO_EXCEPTIONS
5192 { echo "$as_me:$LINENO: result
: $result" >&5
5193 echo "${ECHO_T}$result" >&6; }
5198 if test -z "$defaultval"; then
5199 if test x"$enablestring" = xdisable; then
5206 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5207 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5208 # Check whether --enable-permissive was given.
5209 if test "${enable_permissive+set}" = set; then
5210 enableval=$enable_permissive;
5211 if test "$enableval" = yes; then
5212 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5214 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5219 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5224 eval "$wx_cv_use_permissive"
5226 if test x
"$enablestring" = xdisable
; then
5227 if test $wxUSE_PERMISSIVE = yes; then
5233 result
=$wxUSE_PERMISSIVE
5236 { echo "$as_me:$LINENO: result: $result" >&5
5237 echo "${ECHO_T}$result" >&6; }
5242 if test -z "$defaultval"; then
5243 if test x
"$enablestring" = xdisable
; then
5250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5252 # Check whether --enable-no_deps was given.
5253 if test "${enable_no_deps+set}" = set; then
5254 enableval
=$enable_no_deps;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5258 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5263 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5268 eval "$wx_cv_use_no_deps"
5270 if test x"$enablestring" = xdisable; then
5271 if test $wxUSE_NO_DEPS = yes; then
5277 result=$wxUSE_NO_DEPS
5280 { echo "$as_me:$LINENO: result: $result" >&5
5281 echo "${ECHO_T}$result" >&6; }
5284 enablestring=disable
5286 if test -z "$defaultval"; then
5287 if test x"$enablestring" = xdisable; then
5294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5296 # Check whether --enable-vararg_macros was given.
5297 if test "${enable_vararg_macros+set}" = set; then
5298 enableval=$enable_vararg_macros;
5299 if test "$enableval" = yes; then
5300 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5302 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5307 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5312 eval "$wx_cv_use_vararg_macros"
5314 if test x"$enablestring" = xdisable; then
5315 if test $wxUSE_VARARG_MACROS = yes; then
5321 result=$wxUSE_VARARG_MACROS
5324 { echo "$as_me:$LINENO: result
: $result" >&5
5325 echo "${ECHO_T}$result" >&6; }
5329 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5330 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5331 # Check whether --enable-universal_binary was given.
5332 if test "${enable_universal_binary+set}" = set; then
5333 enableval=$enable_universal_binary;
5334 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5338 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5343 eval "$wx_cv_use_universal_binary"
5345 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5346 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5352 if test -z "$defaultval"; then
5353 if test x"$enablestring" = xdisable; then
5360 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5361 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5362 # Check whether --enable-compat26 was given.
5363 if test "${enable_compat26+set}" = set; then
5364 enableval=$enable_compat26;
5365 if test "$enableval" = yes; then
5366 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5368 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5373 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5378 eval "$wx_cv_use_compat26"
5380 if test x
"$enablestring" = xdisable
; then
5381 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5387 result
=$WXWIN_COMPATIBILITY_2_6
5390 { echo "$as_me:$LINENO: result: $result" >&5
5391 echo "${ECHO_T}$result" >&6; }
5394 enablestring
=disable
5396 if test -z "$defaultval"; then
5397 if test x
"$enablestring" = xdisable
; then
5404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5405 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5406 # Check whether --enable-compat28 was given.
5407 if test "${enable_compat28+set}" = set; then
5408 enableval
=$enable_compat28;
5409 if test "$enableval" = yes; then
5410 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5412 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5417 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5422 eval "$wx_cv_use_compat28"
5424 if test x"$enablestring" = xdisable; then
5425 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5431 result=$WXWIN_COMPATIBILITY_2_8
5434 { echo "$as_me:$LINENO: result: $result" >&5
5435 echo "${ECHO_T}$result" >&6; }
5438 cat >>confdefs.h <<\_ACEOF
5439 #define wxEVENTS_COMPATIBILITY_2_8 0
5444 enablestring=disable
5446 if test -z "$defaultval"; then
5447 if test x"$enablestring" = xdisable; then
5454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5455 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5456 # Check whether --enable-rpath was given.
5457 if test "${enable_rpath+set}" = set; then
5458 enableval=$enable_rpath;
5459 if test "$enableval" = yes; then
5460 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5462 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5467 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5472 eval "$wx_cv_use_rpath"
5474 if test x"$enablestring" = xdisable; then
5475 if test $wxUSE_RPATH = yes; then
5484 { echo "$as_me:$LINENO: result
: $result" >&5
5485 echo "${ECHO_T}$result" >&6; }
5491 if test -z "$defaultval"; then
5492 if test x"$enablestring" = xdisable; then
5499 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5500 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5501 # Check whether --enable-objc_uniquifying was given.
5502 if test "${enable_objc_uniquifying+set}" = set; then
5503 enableval=$enable_objc_uniquifying;
5504 if test "$enableval" = yes; then
5505 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5507 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5512 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5517 eval "$wx_cv_use_objc_uniquifying"
5519 if test x
"$enablestring" = xdisable
; then
5520 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5526 result
=$wxUSE_OBJC_UNIQUIFYING
5529 { echo "$as_me:$LINENO: result: $result" >&5
5530 echo "${ECHO_T}$result" >&6; }
5534 enablestring
=disable
5536 if test -z "$defaultval"; then
5537 if test x
"$enablestring" = xdisable
; then
5544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5546 # Check whether --enable-visibility was given.
5547 if test "${enable_visibility+set}" = set; then
5548 enableval
=$enable_visibility;
5549 if test "$enableval" = yes; then
5550 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5552 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5557 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5562 eval "$wx_cv_use_visibility"
5564 if test x"$enablestring" = xdisable; then
5565 if test $wxUSE_VISIBILITY = yes; then
5571 result=$wxUSE_VISIBILITY
5574 { echo "$as_me:$LINENO: result: $result" >&5
5575 echo "${ECHO_T}$result" >&6; }
5581 defaultval=$wxUSE_ALL_FEATURES
5582 if test -z "$defaultval"; then
5583 if test x"$enablestring" = xdisable; then
5590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5591 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5592 # Check whether --enable-intl was given.
5593 if test "${enable_intl+set}" = set; then
5594 enableval=$enable_intl;
5595 if test "$enableval" = yes; then
5596 wx_cv_use_intl='wxUSE_INTL
=yes'
5598 wx_cv_use_intl='wxUSE_INTL
=no
'
5603 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5608 eval "$wx_cv_use_intl"
5610 if test x"$enablestring" = xdisable; then
5611 if test $wxUSE_INTL = yes; then
5620 { echo "$as_me:$LINENO: result
: $result" >&5
5621 echo "${ECHO_T}$result" >&6; }
5625 defaultval=$wxUSE_ALL_FEATURES
5626 if test -z "$defaultval"; then
5627 if test x"$enablestring" = xdisable; then
5634 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5635 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5636 # Check whether --enable-xlocale was given.
5637 if test "${enable_xlocale+set}" = set; then
5638 enableval=$enable_xlocale;
5639 if test "$enableval" = yes; then
5640 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5642 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5647 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5652 eval "$wx_cv_use_xlocale"
5654 if test x
"$enablestring" = xdisable
; then
5655 if test $wxUSE_XLOCALE = yes; then
5661 result
=$wxUSE_XLOCALE
5664 { echo "$as_me:$LINENO: result: $result" >&5
5665 echo "${ECHO_T}$result" >&6; }
5669 defaultval
=$wxUSE_ALL_FEATURES
5670 if test -z "$defaultval"; then
5671 if test x
"$enablestring" = xdisable
; then
5678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5680 # Check whether --enable-config was given.
5681 if test "${enable_config+set}" = set; then
5682 enableval
=$enable_config;
5683 if test "$enableval" = yes; then
5684 wx_cv_use_config
='wxUSE_CONFIG=yes'
5686 wx_cv_use_config
='wxUSE_CONFIG=no'
5691 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5696 eval "$wx_cv_use_config"
5698 if test x"$enablestring" = xdisable; then
5699 if test $wxUSE_CONFIG = yes; then
5705 result=$wxUSE_CONFIG
5708 { echo "$as_me:$LINENO: result: $result" >&5
5709 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}-protocols" >&5
5724 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5725 # Check whether --enable-protocols was given.
5726 if test "${enable_protocols+set}" = set; then
5727 enableval=$enable_protocols;
5728 if test "$enableval" = yes; then
5729 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5731 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5736 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5741 eval "$wx_cv_use_protocols"
5743 if test x"$enablestring" = xdisable; then
5744 if test $wxUSE_PROTOCOL = yes; then
5750 result=$wxUSE_PROTOCOL
5753 { echo "$as_me:$LINENO: result
: $result" >&5
5754 echo "${ECHO_T}$result" >&6; }
5758 defaultval=$wxUSE_ALL_FEATURES
5759 if test -z "$defaultval"; then
5760 if test x"$enablestring" = xdisable; then
5767 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5768 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5769 # Check whether --enable-ftp was given.
5770 if test "${enable_ftp+set}" = set; then
5771 enableval=$enable_ftp;
5772 if test "$enableval" = yes; then
5773 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5775 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5780 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5785 eval "$wx_cv_use_ftp"
5787 if test x
"$enablestring" = xdisable
; then
5788 if test $wxUSE_PROTOCOL_FTP = yes; then
5794 result
=$wxUSE_PROTOCOL_FTP
5797 { echo "$as_me:$LINENO: result: $result" >&5
5798 echo "${ECHO_T}$result" >&6; }
5802 defaultval
=$wxUSE_ALL_FEATURES
5803 if test -z "$defaultval"; then
5804 if test x
"$enablestring" = xdisable
; then
5811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5812 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5813 # Check whether --enable-http was given.
5814 if test "${enable_http+set}" = set; then
5815 enableval
=$enable_http;
5816 if test "$enableval" = yes; then
5817 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5819 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5824 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5829 eval "$wx_cv_use_http"
5831 if test x"$enablestring" = xdisable; then
5832 if test $wxUSE_PROTOCOL_HTTP = yes; then
5838 result=$wxUSE_PROTOCOL_HTTP
5841 { echo "$as_me:$LINENO: result: $result" >&5
5842 echo "${ECHO_T}$result" >&6; }
5846 defaultval=$wxUSE_ALL_FEATURES
5847 if test -z "$defaultval"; then
5848 if test x"$enablestring" = xdisable; then
5855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5856 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5857 # Check whether --enable-fileproto was given.
5858 if test "${enable_fileproto+set}" = set; then
5859 enableval=$enable_fileproto;
5860 if test "$enableval" = yes; then
5861 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5863 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5868 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5873 eval "$wx_cv_use_fileproto"
5875 if test x"$enablestring" = xdisable; then
5876 if test $wxUSE_PROTOCOL_FILE = yes; then
5882 result=$wxUSE_PROTOCOL_FILE
5885 { echo "$as_me:$LINENO: result
: $result" >&5
5886 echo "${ECHO_T}$result" >&6; }
5890 defaultval=$wxUSE_ALL_FEATURES
5891 if test -z "$defaultval"; then
5892 if test x"$enablestring" = xdisable; then
5899 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5900 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5901 # Check whether --enable-sockets was given.
5902 if test "${enable_sockets+set}" = set; then
5903 enableval=$enable_sockets;
5904 if test "$enableval" = yes; then
5905 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5907 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5912 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5917 eval "$wx_cv_use_sockets"
5919 if test x
"$enablestring" = xdisable
; then
5920 if test $wxUSE_SOCKETS = yes; then
5926 result
=$wxUSE_SOCKETS
5929 { echo "$as_me:$LINENO: result: $result" >&5
5930 echo "${ECHO_T}$result" >&6; }
5934 defaultval
=$wxUSE_ALL_FEATURES
5935 if test -z "$defaultval"; then
5936 if test x
"$enablestring" = xdisable
; then
5943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5944 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5945 # Check whether --enable-ipv6 was given.
5946 if test "${enable_ipv6+set}" = set; then
5947 enableval
=$enable_ipv6;
5948 if test "$enableval" = yes; then
5949 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5951 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5956 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5961 eval "$wx_cv_use_ipv6"
5963 if test x"$enablestring" = xdisable; then
5964 if test $wxUSE_IPV6 = yes; then
5973 { echo "$as_me:$LINENO: result: $result" >&5
5974 echo "${ECHO_T}$result" >&6; }
5978 defaultval=$wxUSE_ALL_FEATURES
5979 if test -z "$defaultval"; then
5980 if test x"$enablestring" = xdisable; then
5987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5988 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5989 # Check whether --enable-ole was given.
5990 if test "${enable_ole+set}" = set; then
5991 enableval=$enable_ole;
5992 if test "$enableval" = yes; then
5993 wx_cv_use_ole='wxUSE_OLE
=yes'
5995 wx_cv_use_ole='wxUSE_OLE
=no
'
6000 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6005 eval "$wx_cv_use_ole"
6007 if test x"$enablestring" = xdisable; then
6008 if test $wxUSE_OLE = yes; then
6017 { echo "$as_me:$LINENO: result
: $result" >&5
6018 echo "${ECHO_T}$result" >&6; }
6022 defaultval=$wxUSE_ALL_FEATURES
6023 if test -z "$defaultval"; then
6024 if test x"$enablestring" = xdisable; then
6031 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6032 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6033 # Check whether --enable-dataobj was given.
6034 if test "${enable_dataobj+set}" = set; then
6035 enableval=$enable_dataobj;
6036 if test "$enableval" = yes; then
6037 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6039 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6044 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6049 eval "$wx_cv_use_dataobj"
6051 if test x
"$enablestring" = xdisable
; then
6052 if test $wxUSE_DATAOBJ = yes; then
6058 result
=$wxUSE_DATAOBJ
6061 { echo "$as_me:$LINENO: result: $result" >&5
6062 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}-ipc" >&5
6077 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6078 # Check whether --enable-ipc was given.
6079 if test "${enable_ipc+set}" = set; then
6080 enableval
=$enable_ipc;
6081 if test "$enableval" = yes; then
6082 wx_cv_use_ipc
='wxUSE_IPC=yes'
6084 wx_cv_use_ipc
='wxUSE_IPC=no'
6089 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6094 eval "$wx_cv_use_ipc"
6096 if test x"$enablestring" = xdisable; then
6097 if test $wxUSE_IPC = yes; then
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}-baseevtloop" >&5
6122 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6123 # Check whether --enable-baseevtloop was given.
6124 if test "${enable_baseevtloop+set}" = set; then
6125 enableval=$enable_baseevtloop;
6126 if test "$enableval" = yes; then
6127 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6129 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6134 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6139 eval "$wx_cv_use_baseevtloop"
6141 if test x"$enablestring" = xdisable; then
6142 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6148 result=$wxUSE_CONSOLE_EVENTLOOP
6151 { echo "$as_me:$LINENO: result
: $result" >&5
6152 echo "${ECHO_T}$result" >&6; }
6156 defaultval=$wxUSE_ALL_FEATURES
6157 if test -z "$defaultval"; then
6158 if test x"$enablestring" = xdisable; then
6165 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6166 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6167 # Check whether --enable-epollloop was given.
6168 if test "${enable_epollloop+set}" = set; then
6169 enableval=$enable_epollloop;
6170 if test "$enableval" = yes; then
6171 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6173 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6178 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6183 eval "$wx_cv_use_epollloop"
6185 if test x
"$enablestring" = xdisable
; then
6186 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6192 result
=$wxUSE_EPOLL_DISPATCHER
6195 { echo "$as_me:$LINENO: result: $result" >&5
6196 echo "${ECHO_T}$result" >&6; }
6200 defaultval
=$wxUSE_ALL_FEATURES
6201 if test -z "$defaultval"; then
6202 if test x
"$enablestring" = xdisable
; then
6209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6210 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6211 # Check whether --enable-selectloop was given.
6212 if test "${enable_selectloop+set}" = set; then
6213 enableval
=$enable_selectloop;
6214 if test "$enableval" = yes; then
6215 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6217 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6222 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6227 eval "$wx_cv_use_selectloop"
6229 if test x"$enablestring" = xdisable; then
6230 if test $wxUSE_SELECT_DISPATCHER = yes; then
6236 result=$wxUSE_SELECT_DISPATCHER
6239 { echo "$as_me:$LINENO: result: $result" >&5
6240 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}-apple_ieee" >&5
6255 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6256 # Check whether --enable-apple_ieee was given.
6257 if test "${enable_apple_ieee+set}" = set; then
6258 enableval=$enable_apple_ieee;
6259 if test "$enableval" = yes; then
6260 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6262 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6267 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6272 eval "$wx_cv_use_apple_ieee"
6274 if test x"$enablestring" = xdisable; then
6275 if test $wxUSE_APPLE_IEEE = yes; then
6281 result=$wxUSE_APPLE_IEEE
6284 { echo "$as_me:$LINENO: result
: $result" >&5
6285 echo "${ECHO_T}$result" >&6; }
6289 defaultval=$wxUSE_ALL_FEATURES
6290 if test -z "$defaultval"; then
6291 if test x"$enablestring" = xdisable; then
6298 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6299 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6300 # Check whether --enable-arcstream was given.
6301 if test "${enable_arcstream+set}" = set; then
6302 enableval=$enable_arcstream;
6303 if test "$enableval" = yes; then
6304 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6306 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6311 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6316 eval "$wx_cv_use_arcstream"
6318 if test x
"$enablestring" = xdisable
; then
6319 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6325 result
=$wxUSE_ARCHIVE_STREAMS
6328 { echo "$as_me:$LINENO: result: $result" >&5
6329 echo "${ECHO_T}$result" >&6; }
6333 defaultval
=$wxUSE_ALL_FEATURES
6334 if test -z "$defaultval"; then
6335 if test x
"$enablestring" = xdisable
; then
6342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6344 # Check whether --enable-base64 was given.
6345 if test "${enable_base64+set}" = set; then
6346 enableval
=$enable_base64;
6347 if test "$enableval" = yes; then
6348 wx_cv_use_base64
='wxUSE_BASE64=yes'
6350 wx_cv_use_base64
='wxUSE_BASE64=no'
6355 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6360 eval "$wx_cv_use_base64"
6362 if test x"$enablestring" = xdisable; then
6363 if test $wxUSE_BASE64 = yes; then
6369 result=$wxUSE_BASE64
6372 { echo "$as_me:$LINENO: result: $result" >&5
6373 echo "${ECHO_T}$result" >&6; }
6377 defaultval=$wxUSE_ALL_FEATURES
6378 if test -z "$defaultval"; then
6379 if test x"$enablestring" = xdisable; then
6386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6388 # Check whether --enable-backtrace was given.
6389 if test "${enable_backtrace+set}" = set; then
6390 enableval=$enable_backtrace;
6391 if test "$enableval" = yes; then
6392 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6394 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6399 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6404 eval "$wx_cv_use_backtrace"
6406 if test x"$enablestring" = xdisable; then
6407 if test $wxUSE_STACKWALKER = yes; then
6413 result=$wxUSE_STACKWALKER
6416 { echo "$as_me:$LINENO: result
: $result" >&5
6417 echo "${ECHO_T}$result" >&6; }
6421 defaultval=$wxUSE_ALL_FEATURES
6422 if test -z "$defaultval"; then
6423 if test x"$enablestring" = xdisable; then
6430 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6431 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6432 # Check whether --enable-catch_segvs was given.
6433 if test "${enable_catch_segvs+set}" = set; then
6434 enableval=$enable_catch_segvs;
6435 if test "$enableval" = yes; then
6436 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6438 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6443 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6448 eval "$wx_cv_use_catch_segvs"
6450 if test x
"$enablestring" = xdisable
; then
6451 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6457 result
=$wxUSE_ON_FATAL_EXCEPTION
6460 { echo "$as_me:$LINENO: result: $result" >&5
6461 echo "${ECHO_T}$result" >&6; }
6465 defaultval
=$wxUSE_ALL_FEATURES
6466 if test -z "$defaultval"; then
6467 if test x
"$enablestring" = xdisable
; then
6474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6476 # Check whether --enable-cmdline was given.
6477 if test "${enable_cmdline+set}" = set; then
6478 enableval
=$enable_cmdline;
6479 if test "$enableval" = yes; then
6480 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6482 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6487 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6492 eval "$wx_cv_use_cmdline"
6494 if test x"$enablestring" = xdisable; then
6495 if test $wxUSE_CMDLINE_PARSER = yes; then
6501 result=$wxUSE_CMDLINE_PARSER
6504 { echo "$as_me:$LINENO: result: $result" >&5
6505 echo "${ECHO_T}$result" >&6; }
6509 defaultval=$wxUSE_ALL_FEATURES
6510 if test -z "$defaultval"; then
6511 if test x"$enablestring" = xdisable; then
6518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6519 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6520 # Check whether --enable-datetime was given.
6521 if test "${enable_datetime+set}" = set; then
6522 enableval=$enable_datetime;
6523 if test "$enableval" = yes; then
6524 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6526 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6531 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6536 eval "$wx_cv_use_datetime"
6538 if test x"$enablestring" = xdisable; then
6539 if test $wxUSE_DATETIME = yes; then
6545 result=$wxUSE_DATETIME
6548 { echo "$as_me:$LINENO: result
: $result" >&5
6549 echo "${ECHO_T}$result" >&6; }
6553 defaultval=$wxUSE_ALL_FEATURES
6554 if test -z "$defaultval"; then
6555 if test x"$enablestring" = xdisable; then
6562 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6563 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6564 # Check whether --enable-debugreport was given.
6565 if test "${enable_debugreport+set}" = set; then
6566 enableval=$enable_debugreport;
6567 if test "$enableval" = yes; then
6568 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6570 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6575 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6580 eval "$wx_cv_use_debugreport"
6582 if test x
"$enablestring" = xdisable
; then
6583 if test $wxUSE_DEBUGREPORT = yes; then
6589 result
=$wxUSE_DEBUGREPORT
6592 { echo "$as_me:$LINENO: result: $result" >&5
6593 echo "${ECHO_T}$result" >&6; }
6597 defaultval
=$wxUSE_ALL_FEATURES
6598 if test -z "$defaultval"; then
6599 if test x
"$enablestring" = xdisable
; then
6606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6607 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6608 # Check whether --enable-dialupman was given.
6609 if test "${enable_dialupman+set}" = set; then
6610 enableval
=$enable_dialupman;
6611 if test "$enableval" = yes; then
6612 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6614 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6619 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6624 eval "$wx_cv_use_dialupman"
6626 if test x"$enablestring" = xdisable; then
6627 if test $wxUSE_DIALUP_MANAGER = yes; then
6633 result=$wxUSE_DIALUP_MANAGER
6636 { echo "$as_me:$LINENO: result: $result" >&5
6637 echo "${ECHO_T}$result" >&6; }
6641 defaultval=$wxUSE_ALL_FEATURES
6642 if test -z "$defaultval"; then
6643 if test x"$enablestring" = xdisable; then
6650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6651 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6652 # Check whether --enable-dynlib was given.
6653 if test "${enable_dynlib+set}" = set; then
6654 enableval=$enable_dynlib;
6655 if test "$enableval" = yes; then
6656 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6658 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6663 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6668 eval "$wx_cv_use_dynlib"
6670 if test x"$enablestring" = xdisable; then
6671 if test $wxUSE_DYNLIB_CLASS = yes; then
6677 result=$wxUSE_DYNLIB_CLASS
6680 { echo "$as_me:$LINENO: result
: $result" >&5
6681 echo "${ECHO_T}$result" >&6; }
6685 defaultval=$wxUSE_ALL_FEATURES
6686 if test -z "$defaultval"; then
6687 if test x"$enablestring" = xdisable; then
6694 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6695 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6696 # Check whether --enable-dynamicloader was given.
6697 if test "${enable_dynamicloader+set}" = set; then
6698 enableval=$enable_dynamicloader;
6699 if test "$enableval" = yes; then
6700 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6702 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6707 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6712 eval "$wx_cv_use_dynamicloader"
6714 if test x
"$enablestring" = xdisable
; then
6715 if test $wxUSE_DYNAMIC_LOADER = yes; then
6721 result
=$wxUSE_DYNAMIC_LOADER
6724 { echo "$as_me:$LINENO: result: $result" >&5
6725 echo "${ECHO_T}$result" >&6; }
6729 defaultval
=$wxUSE_ALL_FEATURES
6730 if test -z "$defaultval"; then
6731 if test x
"$enablestring" = xdisable
; then
6738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6739 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6740 # Check whether --enable-exceptions was given.
6741 if test "${enable_exceptions+set}" = set; then
6742 enableval
=$enable_exceptions;
6743 if test "$enableval" = yes; then
6744 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6746 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6751 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6756 eval "$wx_cv_use_exceptions"
6758 if test x"$enablestring" = xdisable; then
6759 if test $wxUSE_EXCEPTIONS = yes; then
6765 result=$wxUSE_EXCEPTIONS
6768 { echo "$as_me:$LINENO: result: $result" >&5
6769 echo "${ECHO_T}$result" >&6; }
6773 defaultval=$wxUSE_ALL_FEATURES
6774 if test -z "$defaultval"; then
6775 if test x"$enablestring" = xdisable; then
6782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6783 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6784 # Check whether --enable-ffile was given.
6785 if test "${enable_ffile+set}" = set; then
6786 enableval=$enable_ffile;
6787 if test "$enableval" = yes; then
6788 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6790 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6795 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6800 eval "$wx_cv_use_ffile"
6802 if test x"$enablestring" = xdisable; then
6803 if test $wxUSE_FFILE = yes; then
6812 { echo "$as_me:$LINENO: result
: $result" >&5
6813 echo "${ECHO_T}$result" >&6; }
6817 defaultval=$wxUSE_ALL_FEATURES
6818 if test -z "$defaultval"; then
6819 if test x"$enablestring" = xdisable; then
6826 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6827 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6828 # Check whether --enable-file was given.
6829 if test "${enable_file+set}" = set; then
6830 enableval=$enable_file;
6831 if test "$enableval" = yes; then
6832 wx_cv_use_file='wxUSE_FILE=yes'
6834 wx_cv_use_file='wxUSE_FILE=no'
6839 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6844 eval "$wx_cv_use_file"
6846 if test x
"$enablestring" = xdisable
; then
6847 if test $wxUSE_FILE = yes; then
6856 { echo "$as_me:$LINENO: result: $result" >&5
6857 echo "${ECHO_T}$result" >&6; }
6861 defaultval
=$wxUSE_ALL_FEATURES
6862 if test -z "$defaultval"; then
6863 if test x
"$enablestring" = xdisable
; then
6870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6872 # Check whether --enable-filesystem was given.
6873 if test "${enable_filesystem+set}" = set; then
6874 enableval
=$enable_filesystem;
6875 if test "$enableval" = yes; then
6876 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6878 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6883 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6888 eval "$wx_cv_use_filesystem"
6890 if test x"$enablestring" = xdisable; then
6891 if test $wxUSE_FILESYSTEM = yes; then
6897 result=$wxUSE_FILESYSTEM
6900 { echo "$as_me:$LINENO: result: $result" >&5
6901 echo "${ECHO_T}$result" >&6; }
6905 defaultval=$wxUSE_ALL_FEATURES
6906 if test -z "$defaultval"; then
6907 if test x"$enablestring" = xdisable; then
6914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6916 # Check whether --enable-fontenum was given.
6917 if test "${enable_fontenum+set}" = set; then
6918 enableval=$enable_fontenum;
6919 if test "$enableval" = yes; then
6920 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6922 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6927 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6932 eval "$wx_cv_use_fontenum"
6934 if test x"$enablestring" = xdisable; then
6935 if test $wxUSE_FONTENUM = yes; then
6941 result=$wxUSE_FONTENUM
6944 { echo "$as_me:$LINENO: result
: $result" >&5
6945 echo "${ECHO_T}$result" >&6; }
6949 defaultval=$wxUSE_ALL_FEATURES
6950 if test -z "$defaultval"; then
6951 if test x"$enablestring" = xdisable; then
6958 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
6959 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
6960 # Check whether --enable-fontmap was given.
6961 if test "${enable_fontmap+set}" = set; then
6962 enableval=$enable_fontmap;
6963 if test "$enableval" = yes; then
6964 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6966 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6971 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6976 eval "$wx_cv_use_fontmap"
6978 if test x
"$enablestring" = xdisable
; then
6979 if test $wxUSE_FONTMAP = yes; then
6985 result
=$wxUSE_FONTMAP
6988 { echo "$as_me:$LINENO: result: $result" >&5
6989 echo "${ECHO_T}$result" >&6; }
6993 defaultval
=$wxUSE_ALL_FEATURES
6994 if test -z "$defaultval"; then
6995 if test x
"$enablestring" = xdisable
; then
7002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7003 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7004 # Check whether --enable-fs_archive was given.
7005 if test "${enable_fs_archive+set}" = set; then
7006 enableval
=$enable_fs_archive;
7007 if test "$enableval" = yes; then
7008 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7010 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7015 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7020 eval "$wx_cv_use_fs_archive"
7022 if test x"$enablestring" = xdisable; then
7023 if test $wxUSE_FS_ARCHIVE = yes; then
7029 result=$wxUSE_FS_ARCHIVE
7032 { echo "$as_me:$LINENO: result: $result" >&5
7033 echo "${ECHO_T}$result" >&6; }
7037 defaultval=$wxUSE_ALL_FEATURES
7038 if test -z "$defaultval"; then
7039 if test x"$enablestring" = xdisable; then
7046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7048 # Check whether --enable-fs_inet was given.
7049 if test "${enable_fs_inet+set}" = set; then
7050 enableval=$enable_fs_inet;
7051 if test "$enableval" = yes; then
7052 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7054 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7059 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7064 eval "$wx_cv_use_fs_inet"
7066 if test x"$enablestring" = xdisable; then
7067 if test $wxUSE_FS_INET = yes; then
7073 result=$wxUSE_FS_INET
7076 { echo "$as_me:$LINENO: result
: $result" >&5
7077 echo "${ECHO_T}$result" >&6; }
7081 defaultval=$wxUSE_ALL_FEATURES
7082 if test -z "$defaultval"; then
7083 if test x"$enablestring" = xdisable; then
7090 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7091 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7092 # Check whether --enable-fs_zip was given.
7093 if test "${enable_fs_zip+set}" = set; then
7094 enableval=$enable_fs_zip;
7095 if test "$enableval" = yes; then
7096 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7098 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7103 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7108 eval "$wx_cv_use_fs_zip"
7110 if test x
"$enablestring" = xdisable
; then
7111 if test $wxUSE_FS_ZIP = yes; then
7117 result
=$wxUSE_FS_ZIP
7120 { echo "$as_me:$LINENO: result: $result" >&5
7121 echo "${ECHO_T}$result" >&6; }
7125 defaultval
=$wxUSE_ALL_FEATURES
7126 if test -z "$defaultval"; then
7127 if test x
"$enablestring" = xdisable
; then
7134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7135 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7136 # Check whether --enable-geometry was given.
7137 if test "${enable_geometry+set}" = set; then
7138 enableval
=$enable_geometry;
7139 if test "$enableval" = yes; then
7140 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7142 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7147 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7152 eval "$wx_cv_use_geometry"
7154 if test x"$enablestring" = xdisable; then
7155 if test $wxUSE_GEOMETRY = yes; then
7161 result=$wxUSE_GEOMETRY
7164 { echo "$as_me:$LINENO: result: $result" >&5
7165 echo "${ECHO_T}$result" >&6; }
7169 defaultval=$wxUSE_ALL_FEATURES
7170 if test -z "$defaultval"; then
7171 if test x"$enablestring" = xdisable; then
7178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7179 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7180 # Check whether --enable-log was given.
7181 if test "${enable_log+set}" = set; then
7182 enableval=$enable_log;
7183 if test "$enableval" = yes; then
7184 wx_cv_use_log='wxUSE_LOG
=yes'
7186 wx_cv_use_log='wxUSE_LOG
=no
'
7191 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7196 eval "$wx_cv_use_log"
7198 if test x"$enablestring" = xdisable; then
7199 if test $wxUSE_LOG = yes; then
7208 { echo "$as_me:$LINENO: result
: $result" >&5
7209 echo "${ECHO_T}$result" >&6; }
7213 defaultval=$wxUSE_ALL_FEATURES
7214 if test -z "$defaultval"; then
7215 if test x"$enablestring" = xdisable; then
7222 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7223 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7224 # Check whether --enable-longlong was given.
7225 if test "${enable_longlong+set}" = set; then
7226 enableval=$enable_longlong;
7227 if test "$enableval" = yes; then
7228 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7230 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7235 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7240 eval "$wx_cv_use_longlong"
7242 if test x
"$enablestring" = xdisable
; then
7243 if test $wxUSE_LONGLONG = yes; then
7249 result
=$wxUSE_LONGLONG
7252 { echo "$as_me:$LINENO: result: $result" >&5
7253 echo "${ECHO_T}$result" >&6; }
7257 defaultval
=$wxUSE_ALL_FEATURES
7258 if test -z "$defaultval"; then
7259 if test x
"$enablestring" = xdisable
; then
7266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7267 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7268 # Check whether --enable-mimetype was given.
7269 if test "${enable_mimetype+set}" = set; then
7270 enableval
=$enable_mimetype;
7271 if test "$enableval" = yes; then
7272 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7274 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7279 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7284 eval "$wx_cv_use_mimetype"
7286 if test x"$enablestring" = xdisable; then
7287 if test $wxUSE_MIMETYPE = yes; then
7293 result=$wxUSE_MIMETYPE
7296 { echo "$as_me:$LINENO: result: $result" >&5
7297 echo "${ECHO_T}$result" >&6; }
7301 defaultval=$wxUSE_ALL_FEATURES
7302 if test -z "$defaultval"; then
7303 if test x"$enablestring" = xdisable; then
7310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7312 # Check whether --enable-printfposparam was given.
7313 if test "${enable_printfposparam+set}" = set; then
7314 enableval=$enable_printfposparam;
7315 if test "$enableval" = yes; then
7316 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7318 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7323 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7328 eval "$wx_cv_use_printfposparam"
7330 if test x"$enablestring" = xdisable; then
7331 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7337 result=$wxUSE_PRINTF_POS_PARAMS
7340 { echo "$as_me:$LINENO: result
: $result" >&5
7341 echo "${ECHO_T}$result" >&6; }
7345 defaultval=$wxUSE_ALL_FEATURES
7346 if test -z "$defaultval"; then
7347 if test x"$enablestring" = xdisable; then
7354 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7355 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7356 # Check whether --enable-snglinst was given.
7357 if test "${enable_snglinst+set}" = set; then
7358 enableval=$enable_snglinst;
7359 if test "$enableval" = yes; then
7360 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7362 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7367 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7372 eval "$wx_cv_use_snglinst"
7374 if test x
"$enablestring" = xdisable
; then
7375 if test $wxUSE_SNGLINST_CHECKER = yes; then
7381 result
=$wxUSE_SNGLINST_CHECKER
7384 { echo "$as_me:$LINENO: result: $result" >&5
7385 echo "${ECHO_T}$result" >&6; }
7389 defaultval
=$wxUSE_ALL_FEATURES
7390 if test -z "$defaultval"; then
7391 if test x
"$enablestring" = xdisable
; then
7398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7399 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7400 # Check whether --enable-sound was given.
7401 if test "${enable_sound+set}" = set; then
7402 enableval
=$enable_sound;
7403 if test "$enableval" = yes; then
7404 wx_cv_use_sound
='wxUSE_SOUND=yes'
7406 wx_cv_use_sound
='wxUSE_SOUND=no'
7411 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7416 eval "$wx_cv_use_sound"
7418 if test x"$enablestring" = xdisable; then
7419 if test $wxUSE_SOUND = yes; then
7428 { echo "$as_me:$LINENO: result: $result" >&5
7429 echo "${ECHO_T}$result" >&6; }
7433 defaultval=$wxUSE_ALL_FEATURES
7434 if test -z "$defaultval"; then
7435 if test x"$enablestring" = xdisable; then
7442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7443 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7444 # Check whether --enable-stdpaths was given.
7445 if test "${enable_stdpaths+set}" = set; then
7446 enableval=$enable_stdpaths;
7447 if test "$enableval" = yes; then
7448 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7450 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7455 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7460 eval "$wx_cv_use_stdpaths"
7462 if test x"$enablestring" = xdisable; then
7463 if test $wxUSE_STDPATHS = yes; then
7469 result=$wxUSE_STDPATHS
7472 { echo "$as_me:$LINENO: result
: $result" >&5
7473 echo "${ECHO_T}$result" >&6; }
7477 defaultval=$wxUSE_ALL_FEATURES
7478 if test -z "$defaultval"; then
7479 if test x"$enablestring" = xdisable; then
7486 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7487 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7488 # Check whether --enable-stopwatch was given.
7489 if test "${enable_stopwatch+set}" = set; then
7490 enableval=$enable_stopwatch;
7491 if test "$enableval" = yes; then
7492 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7494 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7499 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7504 eval "$wx_cv_use_stopwatch"
7506 if test x
"$enablestring" = xdisable
; then
7507 if test $wxUSE_STOPWATCH = yes; then
7513 result
=$wxUSE_STOPWATCH
7516 { echo "$as_me:$LINENO: result: $result" >&5
7517 echo "${ECHO_T}$result" >&6; }
7521 defaultval
=$wxUSE_ALL_FEATURES
7522 if test -z "$defaultval"; then
7523 if test x
"$enablestring" = xdisable
; then
7530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7531 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7532 # Check whether --enable-streams was given.
7533 if test "${enable_streams+set}" = set; then
7534 enableval
=$enable_streams;
7535 if test "$enableval" = yes; then
7536 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7538 wx_cv_use_streams
='wxUSE_STREAMS=no'
7543 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7548 eval "$wx_cv_use_streams"
7550 if test x"$enablestring" = xdisable; then
7551 if test $wxUSE_STREAMS = yes; then
7557 result=$wxUSE_STREAMS
7560 { echo "$as_me:$LINENO: result: $result" >&5
7561 echo "${ECHO_T}$result" >&6; }
7565 defaultval=$wxUSE_ALL_FEATURES
7566 if test -z "$defaultval"; then
7567 if test x"$enablestring" = xdisable; then
7574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7575 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7576 # Check whether --enable-system_options was given.
7577 if test "${enable_system_options+set}" = set; then
7578 enableval=$enable_system_options;
7579 if test "$enableval" = yes; then
7580 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7582 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7587 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7592 eval "$wx_cv_use_system_options"
7594 if test x"$enablestring" = xdisable; then
7595 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7601 result=$wxUSE_SYSTEM_OPTIONS
7604 { echo "$as_me:$LINENO: result
: $result" >&5
7605 echo "${ECHO_T}$result" >&6; }
7609 defaultval=$wxUSE_ALL_FEATURES
7610 if test -z "$defaultval"; then
7611 if test x"$enablestring" = xdisable; then
7618 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7619 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7620 # Check whether --enable-tarstream was given.
7621 if test "${enable_tarstream+set}" = set; then
7622 enableval=$enable_tarstream;
7623 if test "$enableval" = yes; then
7624 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7626 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7631 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7636 eval "$wx_cv_use_tarstream"
7638 if test x
"$enablestring" = xdisable
; then
7639 if test $wxUSE_TARSTREAM = yes; then
7645 result
=$wxUSE_TARSTREAM
7648 { echo "$as_me:$LINENO: result: $result" >&5
7649 echo "${ECHO_T}$result" >&6; }
7653 defaultval
=$wxUSE_ALL_FEATURES
7654 if test -z "$defaultval"; then
7655 if test x
"$enablestring" = xdisable
; then
7662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7663 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7664 # Check whether --enable-textbuf was given.
7665 if test "${enable_textbuf+set}" = set; then
7666 enableval
=$enable_textbuf;
7667 if test "$enableval" = yes; then
7668 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7670 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7675 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7680 eval "$wx_cv_use_textbuf"
7682 if test x"$enablestring" = xdisable; then
7683 if test $wxUSE_TEXTBUFFER = yes; then
7689 result=$wxUSE_TEXTBUFFER
7692 { echo "$as_me:$LINENO: result: $result" >&5
7693 echo "${ECHO_T}$result" >&6; }
7697 defaultval=$wxUSE_ALL_FEATURES
7698 if test -z "$defaultval"; then
7699 if test x"$enablestring" = xdisable; then
7706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7708 # Check whether --enable-textfile was given.
7709 if test "${enable_textfile+set}" = set; then
7710 enableval=$enable_textfile;
7711 if test "$enableval" = yes; then
7712 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7714 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7719 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7724 eval "$wx_cv_use_textfile"
7726 if test x"$enablestring" = xdisable; then
7727 if test $wxUSE_TEXTFILE = yes; then
7733 result=$wxUSE_TEXTFILE
7736 { echo "$as_me:$LINENO: result
: $result" >&5
7737 echo "${ECHO_T}$result" >&6; }
7741 defaultval=$wxUSE_ALL_FEATURES
7742 if test -z "$defaultval"; then
7743 if test x"$enablestring" = xdisable; then
7750 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7751 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7752 # Check whether --enable-timer was given.
7753 if test "${enable_timer+set}" = set; then
7754 enableval=$enable_timer;
7755 if test "$enableval" = yes; then
7756 wx_cv_use_timer='wxUSE_TIMER=yes'
7758 wx_cv_use_timer='wxUSE_TIMER=no'
7763 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7768 eval "$wx_cv_use_timer"
7770 if test x
"$enablestring" = xdisable
; then
7771 if test $wxUSE_TIMER = yes; then
7780 { echo "$as_me:$LINENO: result: $result" >&5
7781 echo "${ECHO_T}$result" >&6; }
7785 defaultval
=$wxUSE_ALL_FEATURES
7786 if test -z "$defaultval"; then
7787 if test x
"$enablestring" = xdisable
; then
7794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7796 # Check whether --enable-variant was given.
7797 if test "${enable_variant+set}" = set; then
7798 enableval
=$enable_variant;
7799 if test "$enableval" = yes; then
7800 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7802 wx_cv_use_variant
='wxUSE_VARIANT=no'
7807 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7812 eval "$wx_cv_use_variant"
7814 if test x"$enablestring" = xdisable; then
7815 if test $wxUSE_VARIANT = yes; then
7821 result=$wxUSE_VARIANT
7824 { echo "$as_me:$LINENO: result: $result" >&5
7825 echo "${ECHO_T}$result" >&6; }
7829 defaultval=$wxUSE_ALL_FEATURES
7830 if test -z "$defaultval"; then
7831 if test x"$enablestring" = xdisable; then
7838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7840 # Check whether --enable-zipstream was given.
7841 if test "${enable_zipstream+set}" = set; then
7842 enableval=$enable_zipstream;
7843 if test "$enableval" = yes; then
7844 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7846 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7851 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7856 eval "$wx_cv_use_zipstream"
7858 if test x"$enablestring" = xdisable; then
7859 if test $wxUSE_ZIPSTREAM = yes; then
7865 result=$wxUSE_ZIPSTREAM
7868 { echo "$as_me:$LINENO: result
: $result" >&5
7869 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}-url" >&5
7884 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7885 # Check whether --enable-url was given.
7886 if test "${enable_url+set}" = set; then
7887 enableval=$enable_url;
7888 if test "$enableval" = yes; then
7889 wx_cv_use_url='wxUSE_URL=yes'
7891 wx_cv_use_url='wxUSE_URL=no'
7896 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7901 eval "$wx_cv_use_url"
7903 if test x
"$enablestring" = xdisable
; then
7904 if test $wxUSE_URL = yes; then
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}-protocol" >&5
7928 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7929 # Check whether --enable-protocol was given.
7930 if test "${enable_protocol+set}" = set; then
7931 enableval
=$enable_protocol;
7932 if test "$enableval" = yes; then
7933 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7935 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7940 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7945 eval "$wx_cv_use_protocol"
7947 if test x"$enablestring" = xdisable; then
7948 if test $wxUSE_PROTOCOL = yes; then
7954 result=$wxUSE_PROTOCOL
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7962 defaultval=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x"$enablestring" = xdisable; then
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7973 # Check whether --enable-protocol_http was given.
7974 if test "${enable_protocol_http+set}" = set; then
7975 enableval=$enable_protocol_http;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7979 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7984 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7989 eval "$wx_cv_use_protocol_http"
7991 if test x"$enablestring" = xdisable; then
7992 if test $wxUSE_PROTOCOL_HTTP = yes; then
7998 result=$wxUSE_PROTOCOL_HTTP
8001 { echo "$as_me:$LINENO: result
: $result" >&5
8002 echo "${ECHO_T}$result" >&6; }
8006 defaultval=$wxUSE_ALL_FEATURES
8007 if test -z "$defaultval"; then
8008 if test x"$enablestring" = xdisable; then
8015 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8016 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8017 # Check whether --enable-protocol_ftp was given.
8018 if test "${enable_protocol_ftp+set}" = set; then
8019 enableval=$enable_protocol_ftp;
8020 if test "$enableval" = yes; then
8021 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8023 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8028 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8033 eval "$wx_cv_use_protocol_ftp"
8035 if test x
"$enablestring" = xdisable
; then
8036 if test $wxUSE_PROTOCOL_FTP = yes; then
8042 result
=$wxUSE_PROTOCOL_FTP
8045 { echo "$as_me:$LINENO: result: $result" >&5
8046 echo "${ECHO_T}$result" >&6; }
8050 defaultval
=$wxUSE_ALL_FEATURES
8051 if test -z "$defaultval"; then
8052 if test x
"$enablestring" = xdisable
; then
8059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8060 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8061 # Check whether --enable-protocol_file was given.
8062 if test "${enable_protocol_file+set}" = set; then
8063 enableval
=$enable_protocol_file;
8064 if test "$enableval" = yes; then
8065 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8067 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8072 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8077 eval "$wx_cv_use_protocol_file"
8079 if test x"$enablestring" = xdisable; then
8080 if test $wxUSE_PROTOCOL_FILE = yes; then
8086 result=$wxUSE_PROTOCOL_FILE
8089 { echo "$as_me:$LINENO: result: $result" >&5
8090 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}-threads" >&5
8105 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8106 # Check whether --enable-threads was given.
8107 if test "${enable_threads+set}" = set; then
8108 enableval=$enable_threads;
8109 if test "$enableval" = yes; then
8110 wx_cv_use_threads='wxUSE_THREADS
=yes'
8112 wx_cv_use_threads='wxUSE_THREADS
=no
'
8117 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8122 eval "$wx_cv_use_threads"
8124 if test x"$enablestring" = xdisable; then
8125 if test $wxUSE_THREADS = yes; then
8131 result=$wxUSE_THREADS
8134 { echo "$as_me:$LINENO: result
: $result" >&5
8135 echo "${ECHO_T}$result" >&6; }
8141 if test -z "$defaultval"; then
8142 if test x"$enablestring" = xdisable; then
8149 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8150 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8151 # Check whether --enable-iniconf was given.
8152 if test "${enable_iniconf+set}" = set; then
8153 enableval=$enable_iniconf;
8154 if test "$enableval" = yes; then
8155 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8157 wx_cv_use_iniconf='wxUSE_INICONF=no'
8162 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8167 eval "$wx_cv_use_iniconf"
8169 if test x
"$enablestring" = xdisable
; then
8170 if test $wxUSE_INICONF = yes; then
8176 result
=$wxUSE_INICONF
8179 { echo "$as_me:$LINENO: result: $result" >&5
8180 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}-regkey" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8195 # Check whether --enable-regkey was given.
8196 if test "${enable_regkey+set}" = set; then
8197 enableval
=$enable_regkey;
8198 if test "$enableval" = yes; then
8199 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8201 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8206 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8211 eval "$wx_cv_use_regkey"
8213 if test x"$enablestring" = xdisable; then
8214 if test $wxUSE_REGKEY = yes; then
8220 result=$wxUSE_REGKEY
8223 { echo "$as_me:$LINENO: result: $result" >&5
8224 echo "${ECHO_T}$result" >&6; }
8227 if test "$wxUSE_GUI" = "yes"; then
8232 defaultval=$wxUSE_ALL_FEATURES
8233 if test -z "$defaultval"; then
8234 if test x"$enablestring" = xdisable; then
8241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8242 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8243 # Check whether --enable-docview was given.
8244 if test "${enable_docview+set}" = set; then
8245 enableval=$enable_docview;
8246 if test "$enableval" = yes; then
8247 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8249 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8254 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8259 eval "$wx_cv_use_docview"
8261 if test x"$enablestring" = xdisable; then
8262 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8268 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8271 { echo "$as_me:$LINENO: result
: $result" >&5
8272 echo "${ECHO_T}$result" >&6; }
8276 defaultval=$wxUSE_ALL_FEATURES
8277 if test -z "$defaultval"; then
8278 if test x"$enablestring" = xdisable; then
8285 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8286 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8287 # Check whether --enable-help was given.
8288 if test "${enable_help+set}" = set; then
8289 enableval=$enable_help;
8290 if test "$enableval" = yes; then
8291 wx_cv_use_help='wxUSE_HELP=yes'
8293 wx_cv_use_help='wxUSE_HELP=no'
8298 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8303 eval "$wx_cv_use_help"
8305 if test x
"$enablestring" = xdisable
; then
8306 if test $wxUSE_HELP = yes; then
8315 { echo "$as_me:$LINENO: result: $result" >&5
8316 echo "${ECHO_T}$result" >&6; }
8320 defaultval
=$wxUSE_ALL_FEATURES
8321 if test -z "$defaultval"; then
8322 if test x
"$enablestring" = xdisable
; then
8329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8330 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8331 # Check whether --enable-mshtmlhelp was given.
8332 if test "${enable_mshtmlhelp+set}" = set; then
8333 enableval
=$enable_mshtmlhelp;
8334 if test "$enableval" = yes; then
8335 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8337 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8342 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8347 eval "$wx_cv_use_mshtmlhelp"
8349 if test x"$enablestring" = xdisable; then
8350 if test $wxUSE_MS_HTML_HELP = yes; then
8356 result=$wxUSE_MS_HTML_HELP
8359 { echo "$as_me:$LINENO: result: $result" >&5
8360 echo "${ECHO_T}$result" >&6; }
8364 defaultval=$wxUSE_ALL_FEATURES
8365 if test -z "$defaultval"; then
8366 if test x"$enablestring" = xdisable; then
8373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8375 # Check whether --enable-html was given.
8376 if test "${enable_html+set}" = set; then
8377 enableval=$enable_html;
8378 if test "$enableval" = yes; then
8379 wx_cv_use_html='wxUSE_HTML
=yes'
8381 wx_cv_use_html='wxUSE_HTML
=no
'
8386 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8391 eval "$wx_cv_use_html"
8393 if test x"$enablestring" = xdisable; then
8394 if test $wxUSE_HTML = yes; then
8403 { echo "$as_me:$LINENO: result
: $result" >&5
8404 echo "${ECHO_T}$result" >&6; }
8408 defaultval=$wxUSE_ALL_FEATURES
8409 if test -z "$defaultval"; then
8410 if test x"$enablestring" = xdisable; then
8417 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8418 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8419 # Check whether --enable-htmlhelp was given.
8420 if test "${enable_htmlhelp+set}" = set; then
8421 enableval=$enable_htmlhelp;
8422 if test "$enableval" = yes; then
8423 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8425 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8430 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8435 eval "$wx_cv_use_htmlhelp"
8437 if test x
"$enablestring" = xdisable
; then
8438 if test $wxUSE_WXHTML_HELP = yes; then
8444 result
=$wxUSE_WXHTML_HELP
8447 { echo "$as_me:$LINENO: result: $result" >&5
8448 echo "${ECHO_T}$result" >&6; }
8452 defaultval
=$wxUSE_ALL_FEATURES
8453 if test -z "$defaultval"; then
8454 if test x
"$enablestring" = xdisable
; then
8461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8462 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8463 # Check whether --enable-xrc was given.
8464 if test "${enable_xrc+set}" = set; then
8465 enableval
=$enable_xrc;
8466 if test "$enableval" = yes; then
8467 wx_cv_use_xrc
='wxUSE_XRC=yes'
8469 wx_cv_use_xrc
='wxUSE_XRC=no'
8474 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8479 eval "$wx_cv_use_xrc"
8481 if test x"$enablestring" = xdisable; then
8482 if test $wxUSE_XRC = yes; then
8491 { echo "$as_me:$LINENO: result: $result" >&5
8492 echo "${ECHO_T}$result" >&6; }
8496 defaultval=$wxUSE_ALL_FEATURES
8497 if test -z "$defaultval"; then
8498 if test x"$enablestring" = xdisable; then
8505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8506 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8507 # Check whether --enable-aui was given.
8508 if test "${enable_aui+set}" = set; then
8509 enableval=$enable_aui;
8510 if test "$enableval" = yes; then
8511 wx_cv_use_aui='wxUSE_AUI
=yes'
8513 wx_cv_use_aui='wxUSE_AUI
=no
'
8518 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8523 eval "$wx_cv_use_aui"
8525 if test x"$enablestring" = xdisable; then
8526 if test $wxUSE_AUI = yes; then
8535 { echo "$as_me:$LINENO: result
: $result" >&5
8536 echo "${ECHO_T}$result" >&6; }
8540 defaultval=$wxUSE_ALL_FEATURES
8541 if test -z "$defaultval"; then
8542 if test x"$enablestring" = xdisable; then
8549 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8550 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8551 # Check whether --enable-propgrid was given.
8552 if test "${enable_propgrid+set}" = set; then
8553 enableval=$enable_propgrid;
8554 if test "$enableval" = yes; then
8555 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8557 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8562 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8567 eval "$wx_cv_use_propgrid"
8569 if test x
"$enablestring" = xdisable
; then
8570 if test $wxUSE_PROPGRID = yes; then
8576 result
=$wxUSE_PROPGRID
8579 { echo "$as_me:$LINENO: result: $result" >&5
8580 echo "${ECHO_T}$result" >&6; }
8584 defaultval
=$wxUSE_ALL_FEATURES
8585 if test -z "$defaultval"; then
8586 if test x
"$enablestring" = xdisable
; then
8593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8595 # Check whether --enable-stc was given.
8596 if test "${enable_stc+set}" = set; then
8597 enableval
=$enable_stc;
8598 if test "$enableval" = yes; then
8599 wx_cv_use_stc
='wxUSE_STC=yes'
8601 wx_cv_use_stc
='wxUSE_STC=no'
8606 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8611 eval "$wx_cv_use_stc"
8613 if test x"$enablestring" = xdisable; then
8614 if test $wxUSE_STC = yes; then
8623 { echo "$as_me:$LINENO: result: $result" >&5
8624 echo "${ECHO_T}$result" >&6; }
8628 defaultval=$wxUSE_ALL_FEATURES
8629 if test -z "$defaultval"; then
8630 if test x"$enablestring" = xdisable; then
8637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8638 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8639 # Check whether --enable-constraints was given.
8640 if test "${enable_constraints+set}" = set; then
8641 enableval=$enable_constraints;
8642 if test "$enableval" = yes; then
8643 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8645 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8650 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8655 eval "$wx_cv_use_constraints"
8657 if test x"$enablestring" = xdisable; then
8658 if test $wxUSE_CONSTRAINTS = yes; then
8664 result=$wxUSE_CONSTRAINTS
8667 { echo "$as_me:$LINENO: result
: $result" >&5
8668 echo "${ECHO_T}$result" >&6; }
8672 defaultval=$wxUSE_ALL_FEATURES
8673 if test -z "$defaultval"; then
8674 if test x"$enablestring" = xdisable; then
8681 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8682 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8683 # Check whether --enable-loggui was given.
8684 if test "${enable_loggui+set}" = set; then
8685 enableval=$enable_loggui;
8686 if test "$enableval" = yes; then
8687 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8689 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8694 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8699 eval "$wx_cv_use_loggui"
8701 if test x
"$enablestring" = xdisable
; then
8702 if test $wxUSE_LOGGUI = yes; then
8708 result
=$wxUSE_LOGGUI
8711 { echo "$as_me:$LINENO: result: $result" >&5
8712 echo "${ECHO_T}$result" >&6; }
8716 defaultval
=$wxUSE_ALL_FEATURES
8717 if test -z "$defaultval"; then
8718 if test x
"$enablestring" = xdisable
; then
8725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8726 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8727 # Check whether --enable-logwin was given.
8728 if test "${enable_logwin+set}" = set; then
8729 enableval
=$enable_logwin;
8730 if test "$enableval" = yes; then
8731 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8733 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8738 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8743 eval "$wx_cv_use_logwin"
8745 if test x"$enablestring" = xdisable; then
8746 if test $wxUSE_LOGWINDOW = yes; then
8752 result=$wxUSE_LOGWINDOW
8755 { echo "$as_me:$LINENO: result: $result" >&5
8756 echo "${ECHO_T}$result" >&6; }
8760 defaultval=$wxUSE_ALL_FEATURES
8761 if test -z "$defaultval"; then
8762 if test x"$enablestring" = xdisable; then
8769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8771 # Check whether --enable-logdialog was given.
8772 if test "${enable_logdialog+set}" = set; then
8773 enableval=$enable_logdialog;
8774 if test "$enableval" = yes; then
8775 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8777 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8782 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8787 eval "$wx_cv_use_logdialog"
8789 if test x"$enablestring" = xdisable; then
8790 if test $wxUSE_LOGDIALOG = yes; then
8796 result=$wxUSE_LOGDIALOG
8799 { echo "$as_me:$LINENO: result
: $result" >&5
8800 echo "${ECHO_T}$result" >&6; }
8804 defaultval=$wxUSE_ALL_FEATURES
8805 if test -z "$defaultval"; then
8806 if test x"$enablestring" = xdisable; then
8813 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8814 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8815 # Check whether --enable-mdi was given.
8816 if test "${enable_mdi+set}" = set; then
8817 enableval=$enable_mdi;
8818 if test "$enableval" = yes; then
8819 wx_cv_use_mdi='wxUSE_MDI=yes'
8821 wx_cv_use_mdi='wxUSE_MDI=no'
8826 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8831 eval "$wx_cv_use_mdi"
8833 if test x
"$enablestring" = xdisable
; then
8834 if test $wxUSE_MDI = yes; then
8843 { echo "$as_me:$LINENO: result: $result" >&5
8844 echo "${ECHO_T}$result" >&6; }
8848 defaultval
=$wxUSE_ALL_FEATURES
8849 if test -z "$defaultval"; then
8850 if test x
"$enablestring" = xdisable
; then
8857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8858 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8859 # Check whether --enable-mdidoc was given.
8860 if test "${enable_mdidoc+set}" = set; then
8861 enableval
=$enable_mdidoc;
8862 if test "$enableval" = yes; then
8863 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8865 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8870 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8875 eval "$wx_cv_use_mdidoc"
8877 if test x"$enablestring" = xdisable; then
8878 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8884 result=$wxUSE_MDI_ARCHITECTURE
8887 { echo "$as_me:$LINENO: result: $result" >&5
8888 echo "${ECHO_T}$result" >&6; }
8892 defaultval=$wxUSE_ALL_FEATURES
8893 if test -z "$defaultval"; then
8894 if test x"$enablestring" = xdisable; then
8901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8903 # Check whether --enable-mediactrl was given.
8904 if test "${enable_mediactrl+set}" = set; then
8905 enableval=$enable_mediactrl;
8906 if test "$enableval" = yes; then
8907 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
8909 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
8914 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8919 eval "$wx_cv_use_mediactrl"
8921 if test x"$enablestring" = xdisable; then
8922 if test $wxUSE_MEDIACTRL = yes; then
8928 result=$wxUSE_MEDIACTRL
8931 { echo "$as_me:$LINENO: result
: $result" >&5
8932 echo "${ECHO_T}$result" >&6; }
8936 defaultval=$wxUSE_ALL_FEATURES
8937 if test -z "$defaultval"; then
8938 if test x"$enablestring" = xdisable; then
8945 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
8946 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
8947 # Check whether --enable-gstreamer8 was given.
8948 if test "${enable_gstreamer8+set}" = set; then
8949 enableval=$enable_gstreamer8;
8950 if test "$enableval" = yes; then
8951 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8953 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8958 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8963 eval "$wx_cv_use_gstreamer8"
8965 if test x
"$enablestring" = xdisable
; then
8966 if test $wxUSE_GSTREAMER8 = yes; then
8972 result
=$wxUSE_GSTREAMER8
8975 { echo "$as_me:$LINENO: result: $result" >&5
8976 echo "${ECHO_T}$result" >&6; }
8980 defaultval
=$wxUSE_ALL_FEATURES
8981 if test -z "$defaultval"; then
8982 if test x
"$enablestring" = xdisable
; then
8989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8990 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8991 # Check whether --enable-webkit was given.
8992 if test "${enable_webkit+set}" = set; then
8993 enableval
=$enable_webkit;
8994 if test "$enableval" = yes; then
8995 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
8997 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9002 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9007 eval "$wx_cv_use_webkit"
9009 if test x"$enablestring" = xdisable; then
9010 if test $wxUSE_WEBKIT = yes; then
9016 result=$wxUSE_WEBKIT
9019 { echo "$as_me:$LINENO: result: $result" >&5
9020 echo "${ECHO_T}$result" >&6; }
9024 defaultval=$wxUSE_ALL_FEATURES
9025 if test -z "$defaultval"; then
9026 if test x"$enablestring" = xdisable; then
9033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9034 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9035 # Check whether --enable-richtext was given.
9036 if test "${enable_richtext+set}" = set; then
9037 enableval=$enable_richtext;
9038 if test "$enableval" = yes; then
9039 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9041 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9046 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9051 eval "$wx_cv_use_richtext"
9053 if test x"$enablestring" = xdisable; then
9054 if test $wxUSE_RICHTEXT = yes; then
9060 result=$wxUSE_RICHTEXT
9063 { echo "$as_me:$LINENO: result
: $result" >&5
9064 echo "${ECHO_T}$result" >&6; }
9068 defaultval=$wxUSE_ALL_FEATURES
9069 if test -z "$defaultval"; then
9070 if test x"$enablestring" = xdisable; then
9077 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9078 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9079 # Check whether --enable-graphics_ctx was given.
9080 if test "${enable_graphics_ctx+set}" = set; then
9081 enableval=$enable_graphics_ctx;
9082 if test "$enableval" = yes; then
9083 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9085 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9090 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9095 eval "$wx_cv_use_graphics_ctx"
9097 if test x
"$enablestring" = xdisable
; then
9098 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9104 result
=$wxUSE_GRAPHICS_CONTEXT
9107 { echo "$as_me:$LINENO: result: $result" >&5
9108 echo "${ECHO_T}$result" >&6; }
9112 defaultval
=$wxUSE_ALL_FEATURES
9113 if test -z "$defaultval"; then
9114 if test x
"$enablestring" = xdisable
; then
9121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9122 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9123 # Check whether --enable-postscript was given.
9124 if test "${enable_postscript+set}" = set; then
9125 enableval
=$enable_postscript;
9126 if test "$enableval" = yes; then
9127 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9129 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9134 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9139 eval "$wx_cv_use_postscript"
9141 if test x"$enablestring" = xdisable; then
9142 if test $wxUSE_POSTSCRIPT = yes; then
9148 result=$wxUSE_POSTSCRIPT
9151 { echo "$as_me:$LINENO: result: $result" >&5
9152 echo "${ECHO_T}$result" >&6; }
9156 defaultval=$wxUSE_ALL_FEATURES
9157 if test -z "$defaultval"; then
9158 if test x"$enablestring" = xdisable; then
9165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9166 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9167 # Check whether --enable-printarch was given.
9168 if test "${enable_printarch+set}" = set; then
9169 enableval=$enable_printarch;
9170 if test "$enableval" = yes; then
9171 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9173 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9178 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9183 eval "$wx_cv_use_printarch"
9185 if test x"$enablestring" = xdisable; then
9186 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9192 result=$wxUSE_PRINTING_ARCHITECTURE
9195 { echo "$as_me:$LINENO: result
: $result" >&5
9196 echo "${ECHO_T}$result" >&6; }
9200 defaultval=$wxUSE_ALL_FEATURES
9201 if test -z "$defaultval"; then
9202 if test x"$enablestring" = xdisable; then
9209 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9210 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9211 # Check whether --enable-svg was given.
9212 if test "${enable_svg+set}" = set; then
9213 enableval=$enable_svg;
9214 if test "$enableval" = yes; then
9215 wx_cv_use_svg='wxUSE_SVG=yes'
9217 wx_cv_use_svg='wxUSE_SVG=no'
9222 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9227 eval "$wx_cv_use_svg"
9229 if test x
"$enablestring" = xdisable
; then
9230 if test $wxUSE_SVG = yes; then
9239 { echo "$as_me:$LINENO: result: $result" >&5
9240 echo "${ECHO_T}$result" >&6; }
9246 defaultval
=$wxUSE_ALL_FEATURES
9247 if test -z "$defaultval"; then
9248 if test x
"$enablestring" = xdisable
; then
9255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9256 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9257 # Check whether --enable-clipboard was given.
9258 if test "${enable_clipboard+set}" = set; then
9259 enableval
=$enable_clipboard;
9260 if test "$enableval" = yes; then
9261 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9263 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9268 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9273 eval "$wx_cv_use_clipboard"
9275 if test x"$enablestring" = xdisable; then
9276 if test $wxUSE_CLIPBOARD = yes; then
9282 result=$wxUSE_CLIPBOARD
9285 { echo "$as_me:$LINENO: result: $result" >&5
9286 echo "${ECHO_T}$result" >&6; }
9290 defaultval=$wxUSE_ALL_FEATURES
9291 if test -z "$defaultval"; then
9292 if test x"$enablestring" = xdisable; then
9299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9300 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9301 # Check whether --enable-dnd was given.
9302 if test "${enable_dnd+set}" = set; then
9303 enableval=$enable_dnd;
9304 if test "$enableval" = yes; then
9305 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9307 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9312 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9317 eval "$wx_cv_use_dnd"
9319 if test x"$enablestring" = xdisable; then
9320 if test $wxUSE_DRAG_AND_DROP = yes; then
9326 result=$wxUSE_DRAG_AND_DROP
9329 { echo "$as_me:$LINENO: result
: $result" >&5
9330 echo "${ECHO_T}$result" >&6; }
9334 defaultval=$wxUSE_ALL_FEATURES
9335 if test -z "$defaultval"; then
9336 if test x"$enablestring" = xdisable; then
9343 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9344 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9345 # Check whether --enable-metafile was given.
9346 if test "${enable_metafile+set}" = set; then
9347 enableval=$enable_metafile;
9348 if test "$enableval" = yes; then
9349 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9351 wx_cv_use_metafile='wxUSE_METAFILE=no'
9356 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9361 eval "$wx_cv_use_metafile"
9363 if test x
"$enablestring" = xdisable
; then
9364 if test $wxUSE_METAFILE = yes; then
9370 result
=$wxUSE_METAFILE
9373 { echo "$as_me:$LINENO: result: $result" >&5
9374 echo "${ECHO_T}$result" >&6; }
9378 DEFAULT_wxUSE_CONTROLS
=none
9380 enablestring
=disable
9382 if test -z "$defaultval"; then
9383 if test x
"$enablestring" = xdisable
; then
9390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9392 # Check whether --enable-controls was given.
9393 if test "${enable_controls+set}" = set; then
9394 enableval
=$enable_controls;
9395 if test "$enableval" = yes; then
9396 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9398 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9403 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9408 eval "$wx_cv_use_controls"
9410 if test x"$enablestring" = xdisable; then
9411 if test $wxUSE_CONTROLS = yes; then
9417 result=$wxUSE_CONTROLS
9420 { echo "$as_me:$LINENO: result: $result" >&5
9421 echo "${ECHO_T}$result" >&6; }
9424 if test "$wxUSE_CONTROLS" = "no"; then
9425 DEFAULT_wxUSE_ACCEL=no
9426 DEFAULT_wxUSE_ANIMATIONCTRL=no
9427 DEFAULT_wxUSE_BMPBUTTON=no
9428 DEFAULT_wxUSE_BUTTON=no
9429 DEFAULT_wxUSE_CALCTRL=no
9430 DEFAULT_wxUSE_CARET=no
9431 DEFAULT_wxUSE_CHECKBOX=no
9432 DEFAULT_wxUSE_CHECKLISTBOX=no
9433 DEFAULT_wxUSE_CHOICE=no
9434 DEFAULT_wxUSE_CHOICEBOOK=no
9435 DEFAULT_wxUSE_COLLPANE=no
9436 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9437 DEFAULT_wxUSE_COMBOBOX=no
9438 DEFAULT_wxUSE_COMBOBOX=no
9439 DEFAULT_wxUSE_DATAVIEWCTRL=no
9440 DEFAULT_wxUSE_DATEPICKCTRL=no
9441 DEFAULT_wxUSE_DETECT_SM=no
9442 DEFAULT_wxUSE_DIRPICKERCTRL=no
9443 DEFAULT_wxUSE_DISPLAY=no
9444 DEFAULT_wxUSE_FILECTRL=no
9445 DEFAULT_wxUSE_FILEPICKERCTRL=no
9446 DEFAULT_wxUSE_FONTPICKERCTRL=no
9447 DEFAULT_wxUSE_GAUGE=no
9448 DEFAULT_wxUSE_GRID=no
9449 DEFAULT_wxUSE_HEADERCTRL=no
9450 DEFAULT_wxUSE_HYPERLINKCTRL=no
9451 DEFAULT_wxUSE_IMAGLIST=no
9452 DEFAULT_wxUSE_LISTBOOK=no
9453 DEFAULT_wxUSE_LISTBOX=no
9454 DEFAULT_wxUSE_LISTCTRL=no
9455 DEFAULT_wxUSE_NOTEBOOK=no
9456 DEFAULT_wxUSE_POPUPWIN=no
9457 DEFAULT_wxUSE_RADIOBOX=no
9458 DEFAULT_wxUSE_RADIOBTN=no
9459 DEFAULT_wxUSE_REARRANGECTRL=no
9460 DEFAULT_wxUSE_SASH=no
9461 DEFAULT_wxUSE_SCROLLBAR=no
9462 DEFAULT_wxUSE_SEARCHCTRL=no
9463 DEFAULT_wxUSE_SLIDER=no
9464 DEFAULT_wxUSE_SPINBTN=no
9465 DEFAULT_wxUSE_SPINCTRL=no
9466 DEFAULT_wxUSE_SPLITTER=no
9467 DEFAULT_wxUSE_STATBMP=no
9468 DEFAULT_wxUSE_STATBOX=no
9469 DEFAULT_wxUSE_STATLINE=no
9470 DEFAULT_wxUSE_STATUSBAR=no
9471 DEFAULT_wxUSE_TIPWINDOW=no
9472 DEFAULT_wxUSE_TOGGLEBTN=no
9473 DEFAULT_wxUSE_TOOLBAR=no
9474 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9475 DEFAULT_wxUSE_TOOLBOOK=no
9476 DEFAULT_wxUSE_TOOLTIPS=no
9477 DEFAULT_wxUSE_TREEBOOK=no
9478 DEFAULT_wxUSE_TREECTRL=no
9483 defaultval=$wxUSE_ALL_FEATURES
9484 if test -z "$defaultval"; then
9485 if test x"$enablestring" = xdisable; then
9492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9493 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9494 # Check whether --enable-accel was given.
9495 if test "${enable_accel+set}" = set; then
9496 enableval=$enable_accel;
9497 if test "$enableval" = yes; then
9498 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9500 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9505 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9510 eval "$wx_cv_use_accel"
9512 if test x"$enablestring" = xdisable; then
9513 if test $wxUSE_ACCEL = yes; then
9522 { echo "$as_me:$LINENO: result
: $result" >&5
9523 echo "${ECHO_T}$result" >&6; }
9527 defaultval=$wxUSE_ALL_FEATURES
9528 if test -z "$defaultval"; then
9529 if test x"$enablestring" = xdisable; then
9536 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9537 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9538 # Check whether --enable-animatectrl was given.
9539 if test "${enable_animatectrl+set}" = set; then
9540 enableval=$enable_animatectrl;
9541 if test "$enableval" = yes; then
9542 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9544 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9549 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9554 eval "$wx_cv_use_animatectrl"
9556 if test x
"$enablestring" = xdisable
; then
9557 if test $wxUSE_ANIMATIONCTRL = yes; then
9563 result
=$wxUSE_ANIMATIONCTRL
9566 { echo "$as_me:$LINENO: result: $result" >&5
9567 echo "${ECHO_T}$result" >&6; }
9571 defaultval
=$wxUSE_ALL_FEATURES
9572 if test -z "$defaultval"; then
9573 if test x
"$enablestring" = xdisable
; then
9580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9582 # Check whether --enable-bmpbutton was given.
9583 if test "${enable_bmpbutton+set}" = set; then
9584 enableval
=$enable_bmpbutton;
9585 if test "$enableval" = yes; then
9586 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9588 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9593 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9598 eval "$wx_cv_use_bmpbutton"
9600 if test x"$enablestring" = xdisable; then
9601 if test $wxUSE_BMPBUTTON = yes; then
9607 result=$wxUSE_BMPBUTTON
9610 { echo "$as_me:$LINENO: result: $result" >&5
9611 echo "${ECHO_T}$result" >&6; }
9615 defaultval=$wxUSE_ALL_FEATURES
9616 if test -z "$defaultval"; then
9617 if test x"$enablestring" = xdisable; then
9624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9625 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9626 # Check whether --enable-bmpcombobox was given.
9627 if test "${enable_bmpcombobox+set}" = set; then
9628 enableval=$enable_bmpcombobox;
9629 if test "$enableval" = yes; then
9630 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9632 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9637 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9642 eval "$wx_cv_use_bmpcombobox"
9644 if test x"$enablestring" = xdisable; then
9645 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9651 result=$wxUSE_BITMAPCOMBOBOX
9654 { echo "$as_me:$LINENO: result
: $result" >&5
9655 echo "${ECHO_T}$result" >&6; }
9659 defaultval=$wxUSE_ALL_FEATURES
9660 if test -z "$defaultval"; then
9661 if test x"$enablestring" = xdisable; then
9668 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
9669 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9670 # Check whether --enable-button was given.
9671 if test "${enable_button+set}" = set; then
9672 enableval=$enable_button;
9673 if test "$enableval" = yes; then
9674 wx_cv_use_button='wxUSE_BUTTON=yes'
9676 wx_cv_use_button='wxUSE_BUTTON=no'
9681 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9686 eval "$wx_cv_use_button"
9688 if test x
"$enablestring" = xdisable
; then
9689 if test $wxUSE_BUTTON = yes; then
9695 result
=$wxUSE_BUTTON
9698 { echo "$as_me:$LINENO: result: $result" >&5
9699 echo "${ECHO_T}$result" >&6; }
9703 defaultval
=$wxUSE_ALL_FEATURES
9704 if test -z "$defaultval"; then
9705 if test x
"$enablestring" = xdisable
; then
9712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9713 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9714 # Check whether --enable-calendar was given.
9715 if test "${enable_calendar+set}" = set; then
9716 enableval
=$enable_calendar;
9717 if test "$enableval" = yes; then
9718 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9720 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9725 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9730 eval "$wx_cv_use_calendar"
9732 if test x"$enablestring" = xdisable; then
9733 if test $wxUSE_CALCTRL = yes; then
9739 result=$wxUSE_CALCTRL
9742 { echo "$as_me:$LINENO: result: $result" >&5
9743 echo "${ECHO_T}$result" >&6; }
9747 defaultval=$wxUSE_ALL_FEATURES
9748 if test -z "$defaultval"; then
9749 if test x"$enablestring" = xdisable; then
9756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9757 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9758 # Check whether --enable-caret was given.
9759 if test "${enable_caret+set}" = set; then
9760 enableval=$enable_caret;
9761 if test "$enableval" = yes; then
9762 wx_cv_use_caret='wxUSE_CARET
=yes'
9764 wx_cv_use_caret='wxUSE_CARET
=no
'
9769 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9774 eval "$wx_cv_use_caret"
9776 if test x"$enablestring" = xdisable; then
9777 if test $wxUSE_CARET = yes; then
9786 { echo "$as_me:$LINENO: result
: $result" >&5
9787 echo "${ECHO_T}$result" >&6; }
9791 defaultval=$wxUSE_ALL_FEATURES
9792 if test -z "$defaultval"; then
9793 if test x"$enablestring" = xdisable; then
9800 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9801 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9802 # Check whether --enable-checkbox was given.
9803 if test "${enable_checkbox+set}" = set; then
9804 enableval=$enable_checkbox;
9805 if test "$enableval" = yes; then
9806 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9808 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9813 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9818 eval "$wx_cv_use_checkbox"
9820 if test x
"$enablestring" = xdisable
; then
9821 if test $wxUSE_CHECKBOX = yes; then
9827 result
=$wxUSE_CHECKBOX
9830 { echo "$as_me:$LINENO: result: $result" >&5
9831 echo "${ECHO_T}$result" >&6; }
9835 defaultval
=$wxUSE_ALL_FEATURES
9836 if test -z "$defaultval"; then
9837 if test x
"$enablestring" = xdisable
; then
9844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9846 # Check whether --enable-checklst was given.
9847 if test "${enable_checklst+set}" = set; then
9848 enableval
=$enable_checklst;
9849 if test "$enableval" = yes; then
9850 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9852 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9857 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9862 eval "$wx_cv_use_checklst"
9864 if test x"$enablestring" = xdisable; then
9865 if test $wxUSE_CHECKLST = yes; then
9871 result=$wxUSE_CHECKLST
9874 { echo "$as_me:$LINENO: result: $result" >&5
9875 echo "${ECHO_T}$result" >&6; }
9879 defaultval=$wxUSE_ALL_FEATURES
9880 if test -z "$defaultval"; then
9881 if test x"$enablestring" = xdisable; then
9888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9890 # Check whether --enable-choice was given.
9891 if test "${enable_choice+set}" = set; then
9892 enableval=$enable_choice;
9893 if test "$enableval" = yes; then
9894 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9896 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9901 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9906 eval "$wx_cv_use_choice"
9908 if test x"$enablestring" = xdisable; then
9909 if test $wxUSE_CHOICE = yes; then
9915 result=$wxUSE_CHOICE
9918 { echo "$as_me:$LINENO: result
: $result" >&5
9919 echo "${ECHO_T}$result" >&6; }
9923 defaultval=$wxUSE_ALL_FEATURES
9924 if test -z "$defaultval"; then
9925 if test x"$enablestring" = xdisable; then
9932 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
9933 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
9934 # Check whether --enable-choicebook was given.
9935 if test "${enable_choicebook+set}" = set; then
9936 enableval=$enable_choicebook;
9937 if test "$enableval" = yes; then
9938 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9940 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9945 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9950 eval "$wx_cv_use_choicebook"
9952 if test x
"$enablestring" = xdisable
; then
9953 if test $wxUSE_CHOICEBOOK = yes; then
9959 result
=$wxUSE_CHOICEBOOK
9962 { echo "$as_me:$LINENO: result: $result" >&5
9963 echo "${ECHO_T}$result" >&6; }
9967 defaultval
=$wxUSE_ALL_FEATURES
9968 if test -z "$defaultval"; then
9969 if test x
"$enablestring" = xdisable
; then
9976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9977 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9978 # Check whether --enable-collpane was given.
9979 if test "${enable_collpane+set}" = set; then
9980 enableval
=$enable_collpane;
9981 if test "$enableval" = yes; then
9982 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
9984 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
9989 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9994 eval "$wx_cv_use_collpane"
9996 if test x"$enablestring" = xdisable; then
9997 if test $wxUSE_COLLPANE = yes; then
10003 result=$wxUSE_COLLPANE
10006 { echo "$as_me:$LINENO: result: $result" >&5
10007 echo "${ECHO_T}$result" >&6; }
10011 defaultval=$wxUSE_ALL_FEATURES
10012 if test -z "$defaultval"; then
10013 if test x"$enablestring" = xdisable; then
10020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10021 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10022 # Check whether --enable-colourpicker was given.
10023 if test "${enable_colourpicker+set}" = set; then
10024 enableval=$enable_colourpicker;
10025 if test "$enableval" = yes; then
10026 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10028 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10033 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10038 eval "$wx_cv_use_colourpicker"
10040 if test x"$enablestring" = xdisable; then
10041 if test $wxUSE_COLOURPICKERCTRL = yes; then
10047 result=$wxUSE_COLOURPICKERCTRL
10050 { echo "$as_me:$LINENO: result
: $result" >&5
10051 echo "${ECHO_T}$result" >&6; }
10055 defaultval=$wxUSE_ALL_FEATURES
10056 if test -z "$defaultval"; then
10057 if test x"$enablestring" = xdisable; then
10064 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10065 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10066 # Check whether --enable-combobox was given.
10067 if test "${enable_combobox+set}" = set; then
10068 enableval=$enable_combobox;
10069 if test "$enableval" = yes; then
10070 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10072 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10077 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10082 eval "$wx_cv_use_combobox"
10084 if test x
"$enablestring" = xdisable
; then
10085 if test $wxUSE_COMBOBOX = yes; then
10091 result
=$wxUSE_COMBOBOX
10094 { echo "$as_me:$LINENO: result: $result" >&5
10095 echo "${ECHO_T}$result" >&6; }
10099 defaultval
=$wxUSE_ALL_FEATURES
10100 if test -z "$defaultval"; then
10101 if test x
"$enablestring" = xdisable
; then
10108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10110 # Check whether --enable-comboctrl was given.
10111 if test "${enable_comboctrl+set}" = set; then
10112 enableval
=$enable_comboctrl;
10113 if test "$enableval" = yes; then
10114 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10116 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10121 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10126 eval "$wx_cv_use_comboctrl"
10128 if test x"$enablestring" = xdisable; then
10129 if test $wxUSE_COMBOCTRL = yes; then
10135 result=$wxUSE_COMBOCTRL
10138 { echo "$as_me:$LINENO: result: $result" >&5
10139 echo "${ECHO_T}$result" >&6; }
10143 defaultval=$wxUSE_ALL_FEATURES
10144 if test -z "$defaultval"; then
10145 if test x"$enablestring" = xdisable; then
10152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10153 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10154 # Check whether --enable-dataviewctrl was given.
10155 if test "${enable_dataviewctrl+set}" = set; then
10156 enableval=$enable_dataviewctrl;
10157 if test "$enableval" = yes; then
10158 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10160 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10165 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10170 eval "$wx_cv_use_dataviewctrl"
10172 if test x"$enablestring" = xdisable; then
10173 if test $wxUSE_DATAVIEWCTRL = yes; then
10179 result=$wxUSE_DATAVIEWCTRL
10182 { echo "$as_me:$LINENO: result
: $result" >&5
10183 echo "${ECHO_T}$result" >&6; }
10187 defaultval=$wxUSE_ALL_FEATURES
10188 if test -z "$defaultval"; then
10189 if test x"$enablestring" = xdisable; then
10196 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
10197 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10198 # Check whether --enable-datepick was given.
10199 if test "${enable_datepick+set}" = set; then
10200 enableval=$enable_datepick;
10201 if test "$enableval" = yes; then
10202 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10204 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10209 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10214 eval "$wx_cv_use_datepick"
10216 if test x
"$enablestring" = xdisable
; then
10217 if test $wxUSE_DATEPICKCTRL = yes; then
10223 result
=$wxUSE_DATEPICKCTRL
10226 { echo "$as_me:$LINENO: result: $result" >&5
10227 echo "${ECHO_T}$result" >&6; }
10231 defaultval
=$wxUSE_ALL_FEATURES
10232 if test -z "$defaultval"; then
10233 if test x
"$enablestring" = xdisable
; then
10240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10241 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10242 # Check whether --enable-detect_sm was given.
10243 if test "${enable_detect_sm+set}" = set; then
10244 enableval
=$enable_detect_sm;
10245 if test "$enableval" = yes; then
10246 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10248 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10253 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10258 eval "$wx_cv_use_detect_sm"
10260 if test x"$enablestring" = xdisable; then
10261 if test $wxUSE_DETECT_SM = yes; then
10267 result=$wxUSE_DETECT_SM
10270 { echo "$as_me:$LINENO: result: $result" >&5
10271 echo "${ECHO_T}$result" >&6; }
10275 defaultval=$wxUSE_ALL_FEATURES
10276 if test -z "$defaultval"; then
10277 if test x"$enablestring" = xdisable; then
10284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10285 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10286 # Check whether --enable-dirpicker was given.
10287 if test "${enable_dirpicker+set}" = set; then
10288 enableval=$enable_dirpicker;
10289 if test "$enableval" = yes; then
10290 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10292 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10297 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10302 eval "$wx_cv_use_dirpicker"
10304 if test x"$enablestring" = xdisable; then
10305 if test $wxUSE_DIRPICKERCTRL = yes; then
10311 result=$wxUSE_DIRPICKERCTRL
10314 { echo "$as_me:$LINENO: result
: $result" >&5
10315 echo "${ECHO_T}$result" >&6; }
10319 defaultval=$wxUSE_ALL_FEATURES
10320 if test -z "$defaultval"; then
10321 if test x"$enablestring" = xdisable; then
10328 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10329 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10330 # Check whether --enable-display was given.
10331 if test "${enable_display+set}" = set; then
10332 enableval=$enable_display;
10333 if test "$enableval" = yes; then
10334 wx_cv_use_display='wxUSE_DISPLAY=yes'
10336 wx_cv_use_display='wxUSE_DISPLAY=no'
10341 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10346 eval "$wx_cv_use_display"
10348 if test x
"$enablestring" = xdisable
; then
10349 if test $wxUSE_DISPLAY = yes; then
10355 result
=$wxUSE_DISPLAY
10358 { echo "$as_me:$LINENO: result: $result" >&5
10359 echo "${ECHO_T}$result" >&6; }
10363 defaultval
=$wxUSE_ALL_FEATURES
10364 if test -z "$defaultval"; then
10365 if test x
"$enablestring" = xdisable
; then
10372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10374 # Check whether --enable-editablebox was given.
10375 if test "${enable_editablebox+set}" = set; then
10376 enableval
=$enable_editablebox;
10377 if test "$enableval" = yes; then
10378 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10380 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10385 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10390 eval "$wx_cv_use_editablebox"
10392 if test x"$enablestring" = xdisable; then
10393 if test $wxUSE_EDITABLELISTBOX = yes; then
10399 result=$wxUSE_EDITABLELISTBOX
10402 { echo "$as_me:$LINENO: result: $result" >&5
10403 echo "${ECHO_T}$result" >&6; }
10407 defaultval=$wxUSE_ALL_FEATURES
10408 if test -z "$defaultval"; then
10409 if test x"$enablestring" = xdisable; then
10416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10417 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10418 # Check whether --enable-filectrl was given.
10419 if test "${enable_filectrl+set}" = set; then
10420 enableval=$enable_filectrl;
10421 if test "$enableval" = yes; then
10422 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10424 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10429 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10434 eval "$wx_cv_use_filectrl"
10436 if test x"$enablestring" = xdisable; then
10437 if test $wxUSE_FILECTRL = yes; then
10443 result=$wxUSE_FILECTRL
10446 { echo "$as_me:$LINENO: result
: $result" >&5
10447 echo "${ECHO_T}$result" >&6; }
10451 defaultval=$wxUSE_ALL_FEATURES
10452 if test -z "$defaultval"; then
10453 if test x"$enablestring" = xdisable; then
10460 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10461 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10462 # Check whether --enable-filepicker was given.
10463 if test "${enable_filepicker+set}" = set; then
10464 enableval=$enable_filepicker;
10465 if test "$enableval" = yes; then
10466 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10468 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10473 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10478 eval "$wx_cv_use_filepicker"
10480 if test x
"$enablestring" = xdisable
; then
10481 if test $wxUSE_FILEPICKERCTRL = yes; then
10487 result
=$wxUSE_FILEPICKERCTRL
10490 { echo "$as_me:$LINENO: result: $result" >&5
10491 echo "${ECHO_T}$result" >&6; }
10495 defaultval
=$wxUSE_ALL_FEATURES
10496 if test -z "$defaultval"; then
10497 if test x
"$enablestring" = xdisable
; then
10504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10505 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10506 # Check whether --enable-fontpicker was given.
10507 if test "${enable_fontpicker+set}" = set; then
10508 enableval
=$enable_fontpicker;
10509 if test "$enableval" = yes; then
10510 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10512 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10517 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10522 eval "$wx_cv_use_fontpicker"
10524 if test x"$enablestring" = xdisable; then
10525 if test $wxUSE_FONTPICKERCTRL = yes; then
10531 result=$wxUSE_FONTPICKERCTRL
10534 { echo "$as_me:$LINENO: result: $result" >&5
10535 echo "${ECHO_T}$result" >&6; }
10539 defaultval=$wxUSE_ALL_FEATURES
10540 if test -z "$defaultval"; then
10541 if test x"$enablestring" = xdisable; then
10548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10549 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10550 # Check whether --enable-gauge was given.
10551 if test "${enable_gauge+set}" = set; then
10552 enableval=$enable_gauge;
10553 if test "$enableval" = yes; then
10554 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10556 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10561 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10566 eval "$wx_cv_use_gauge"
10568 if test x"$enablestring" = xdisable; then
10569 if test $wxUSE_GAUGE = yes; then
10575 result=$wxUSE_GAUGE
10578 { echo "$as_me:$LINENO: result
: $result" >&5
10579 echo "${ECHO_T}$result" >&6; }
10583 defaultval=$wxUSE_ALL_FEATURES
10584 if test -z "$defaultval"; then
10585 if test x"$enablestring" = xdisable; then
10592 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10593 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10594 # Check whether --enable-grid was given.
10595 if test "${enable_grid+set}" = set; then
10596 enableval=$enable_grid;
10597 if test "$enableval" = yes; then
10598 wx_cv_use_grid='wxUSE_GRID=yes'
10600 wx_cv_use_grid='wxUSE_GRID=no'
10605 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10610 eval "$wx_cv_use_grid"
10612 if test x
"$enablestring" = xdisable
; then
10613 if test $wxUSE_GRID = yes; then
10622 { echo "$as_me:$LINENO: result: $result" >&5
10623 echo "${ECHO_T}$result" >&6; }
10627 defaultval
=$wxUSE_ALL_FEATURES
10628 if test -z "$defaultval"; then
10629 if test x
"$enablestring" = xdisable
; then
10636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10638 # Check whether --enable-headerctrl was given.
10639 if test "${enable_headerctrl+set}" = set; then
10640 enableval
=$enable_headerctrl;
10641 if test "$enableval" = yes; then
10642 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
10644 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
10649 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10654 eval "$wx_cv_use_headerctrl"
10656 if test x"$enablestring" = xdisable; then
10657 if test $wxUSE_HEADERCTRL = yes; then
10663 result=$wxUSE_HEADERCTRL
10666 { echo "$as_me:$LINENO: result: $result" >&5
10667 echo "${ECHO_T}$result" >&6; }
10671 defaultval=$wxUSE_ALL_FEATURES
10672 if test -z "$defaultval"; then
10673 if test x"$enablestring" = xdisable; then
10680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10681 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10682 # Check whether --enable-hyperlink was given.
10683 if test "${enable_hyperlink+set}" = set; then
10684 enableval=$enable_hyperlink;
10685 if test "$enableval" = yes; then
10686 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10688 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10693 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10698 eval "$wx_cv_use_hyperlink"
10700 if test x"$enablestring" = xdisable; then
10701 if test $wxUSE_HYPERLINKCTRL = yes; then
10707 result=$wxUSE_HYPERLINKCTRL
10710 { echo "$as_me:$LINENO: result
: $result" >&5
10711 echo "${ECHO_T}$result" >&6; }
10715 defaultval=$wxUSE_ALL_FEATURES
10716 if test -z "$defaultval"; then
10717 if test x"$enablestring" = xdisable; then
10724 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
10725 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10726 # Check whether --enable-imaglist was given.
10727 if test "${enable_imaglist+set}" = set; then
10728 enableval=$enable_imaglist;
10729 if test "$enableval" = yes; then
10730 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10732 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10737 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10742 eval "$wx_cv_use_imaglist"
10744 if test x
"$enablestring" = xdisable
; then
10745 if test $wxUSE_IMAGLIST = yes; then
10751 result
=$wxUSE_IMAGLIST
10754 { echo "$as_me:$LINENO: result: $result" >&5
10755 echo "${ECHO_T}$result" >&6; }
10759 defaultval
=$wxUSE_ALL_FEATURES
10760 if test -z "$defaultval"; then
10761 if test x
"$enablestring" = xdisable
; then
10768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10769 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10770 # Check whether --enable-listbook was given.
10771 if test "${enable_listbook+set}" = set; then
10772 enableval
=$enable_listbook;
10773 if test "$enableval" = yes; then
10774 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
10776 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
10781 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10786 eval "$wx_cv_use_listbook"
10788 if test x"$enablestring" = xdisable; then
10789 if test $wxUSE_LISTBOOK = yes; then
10795 result=$wxUSE_LISTBOOK
10798 { echo "$as_me:$LINENO: result: $result" >&5
10799 echo "${ECHO_T}$result" >&6; }
10803 defaultval=$wxUSE_ALL_FEATURES
10804 if test -z "$defaultval"; then
10805 if test x"$enablestring" = xdisable; then
10812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10813 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10814 # Check whether --enable-listbox was given.
10815 if test "${enable_listbox+set}" = set; then
10816 enableval=$enable_listbox;
10817 if test "$enableval" = yes; then
10818 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
10820 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
10825 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10830 eval "$wx_cv_use_listbox"
10832 if test x"$enablestring" = xdisable; then
10833 if test $wxUSE_LISTBOX = yes; then
10839 result=$wxUSE_LISTBOX
10842 { echo "$as_me:$LINENO: result
: $result" >&5
10843 echo "${ECHO_T}$result" >&6; }
10847 defaultval=$wxUSE_ALL_FEATURES
10848 if test -z "$defaultval"; then
10849 if test x"$enablestring" = xdisable; then
10856 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
10857 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
10858 # Check whether --enable-listctrl was given.
10859 if test "${enable_listctrl+set}" = set; then
10860 enableval=$enable_listctrl;
10861 if test "$enableval" = yes; then
10862 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10864 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10869 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10874 eval "$wx_cv_use_listctrl"
10876 if test x
"$enablestring" = xdisable
; then
10877 if test $wxUSE_LISTCTRL = yes; then
10883 result
=$wxUSE_LISTCTRL
10886 { echo "$as_me:$LINENO: result: $result" >&5
10887 echo "${ECHO_T}$result" >&6; }
10891 defaultval
=$wxUSE_ALL_FEATURES
10892 if test -z "$defaultval"; then
10893 if test x
"$enablestring" = xdisable
; then
10900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10901 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10902 # Check whether --enable-notebook was given.
10903 if test "${enable_notebook+set}" = set; then
10904 enableval
=$enable_notebook;
10905 if test "$enableval" = yes; then
10906 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
10908 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
10913 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10918 eval "$wx_cv_use_notebook"
10920 if test x"$enablestring" = xdisable; then
10921 if test $wxUSE_NOTEBOOK = yes; then
10927 result=$wxUSE_NOTEBOOK
10930 { echo "$as_me:$LINENO: result: $result" >&5
10931 echo "${ECHO_T}$result" >&6; }
10935 defaultval=$wxUSE_ALL_FEATURES
10936 if test -z "$defaultval"; then
10937 if test x"$enablestring" = xdisable; then
10944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10945 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10946 # Check whether --enable-notifmsg was given.
10947 if test "${enable_notifmsg+set}" = set; then
10948 enableval=$enable_notifmsg;
10949 if test "$enableval" = yes; then
10950 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
10952 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
10957 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10962 eval "$wx_cv_use_notifmsg"
10964 if test x"$enablestring" = xdisable; then
10965 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10971 result=$wxUSE_NOTIFICATION_MESSAGE
10974 { echo "$as_me:$LINENO: result
: $result" >&5
10975 echo "${ECHO_T}$result" >&6; }
10979 defaultval=$wxUSE_ALL_FEATURES
10980 if test -z "$defaultval"; then
10981 if test x"$enablestring" = xdisable; then
10988 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
10989 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
10990 # Check whether --enable-odcombobox was given.
10991 if test "${enable_odcombobox+set}" = set; then
10992 enableval=$enable_odcombobox;
10993 if test "$enableval" = yes; then
10994 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10996 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11001 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11006 eval "$wx_cv_use_odcombobox"
11008 if test x
"$enablestring" = xdisable
; then
11009 if test $wxUSE_ODCOMBOBOX = yes; then
11015 result
=$wxUSE_ODCOMBOBOX
11018 { echo "$as_me:$LINENO: result: $result" >&5
11019 echo "${ECHO_T}$result" >&6; }
11023 defaultval
=$wxUSE_ALL_FEATURES
11024 if test -z "$defaultval"; then
11025 if test x
"$enablestring" = xdisable
; then
11032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11033 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11034 # Check whether --enable-popupwin was given.
11035 if test "${enable_popupwin+set}" = set; then
11036 enableval
=$enable_popupwin;
11037 if test "$enableval" = yes; then
11038 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11040 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11045 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11050 eval "$wx_cv_use_popupwin"
11052 if test x"$enablestring" = xdisable; then
11053 if test $wxUSE_POPUPWIN = yes; then
11059 result=$wxUSE_POPUPWIN
11062 { echo "$as_me:$LINENO: result: $result" >&5
11063 echo "${ECHO_T}$result" >&6; }
11067 defaultval=$wxUSE_ALL_FEATURES
11068 if test -z "$defaultval"; then
11069 if test x"$enablestring" = xdisable; then
11076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11077 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11078 # Check whether --enable-radiobox was given.
11079 if test "${enable_radiobox+set}" = set; then
11080 enableval=$enable_radiobox;
11081 if test "$enableval" = yes; then
11082 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11084 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11089 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11094 eval "$wx_cv_use_radiobox"
11096 if test x"$enablestring" = xdisable; then
11097 if test $wxUSE_RADIOBOX = yes; then
11103 result=$wxUSE_RADIOBOX
11106 { echo "$as_me:$LINENO: result
: $result" >&5
11107 echo "${ECHO_T}$result" >&6; }
11111 defaultval=$wxUSE_ALL_FEATURES
11112 if test -z "$defaultval"; then
11113 if test x"$enablestring" = xdisable; then
11120 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11121 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11122 # Check whether --enable-radiobtn was given.
11123 if test "${enable_radiobtn+set}" = set; then
11124 enableval=$enable_radiobtn;
11125 if test "$enableval" = yes; then
11126 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11128 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11133 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11138 eval "$wx_cv_use_radiobtn"
11140 if test x
"$enablestring" = xdisable
; then
11141 if test $wxUSE_RADIOBTN = yes; then
11147 result
=$wxUSE_RADIOBTN
11150 { echo "$as_me:$LINENO: result: $result" >&5
11151 echo "${ECHO_T}$result" >&6; }
11155 defaultval
=$wxUSE_ALL_FEATURES
11156 if test -z "$defaultval"; then
11157 if test x
"$enablestring" = xdisable
; then
11164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11165 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11166 # Check whether --enable-rearrangectrl was given.
11167 if test "${enable_rearrangectrl+set}" = set; then
11168 enableval
=$enable_rearrangectrl;
11169 if test "$enableval" = yes; then
11170 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
11172 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
11177 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11182 eval "$wx_cv_use_rearrangectrl"
11184 if test x"$enablestring" = xdisable; then
11185 if test $wxUSE_REARRANGECTRL = yes; then
11191 result=$wxUSE_REARRANGECTRL
11194 { echo "$as_me:$LINENO: result: $result" >&5
11195 echo "${ECHO_T}$result" >&6; }
11199 defaultval=$wxUSE_ALL_FEATURES
11200 if test -z "$defaultval"; then
11201 if test x"$enablestring" = xdisable; then
11208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11209 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11210 # Check whether --enable-sash was given.
11211 if test "${enable_sash+set}" = set; then
11212 enableval=$enable_sash;
11213 if test "$enableval" = yes; then
11214 wx_cv_use_sash='wxUSE_SASH
=yes'
11216 wx_cv_use_sash='wxUSE_SASH
=no
'
11221 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11226 eval "$wx_cv_use_sash"
11228 if test x"$enablestring" = xdisable; then
11229 if test $wxUSE_SASH = yes; then
11238 { echo "$as_me:$LINENO: result
: $result" >&5
11239 echo "${ECHO_T}$result" >&6; }
11243 defaultval=$wxUSE_ALL_FEATURES
11244 if test -z "$defaultval"; then
11245 if test x"$enablestring" = xdisable; then
11252 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11253 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11254 # Check whether --enable-scrollbar was given.
11255 if test "${enable_scrollbar+set}" = set; then
11256 enableval=$enable_scrollbar;
11257 if test "$enableval" = yes; then
11258 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11260 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11265 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11270 eval "$wx_cv_use_scrollbar"
11272 if test x
"$enablestring" = xdisable
; then
11273 if test $wxUSE_SCROLLBAR = yes; then
11279 result
=$wxUSE_SCROLLBAR
11282 { echo "$as_me:$LINENO: result: $result" >&5
11283 echo "${ECHO_T}$result" >&6; }
11287 defaultval
=$wxUSE_ALL_FEATURES
11288 if test -z "$defaultval"; then
11289 if test x
"$enablestring" = xdisable
; then
11296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11297 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11298 # Check whether --enable-searchctrl was given.
11299 if test "${enable_searchctrl+set}" = set; then
11300 enableval
=$enable_searchctrl;
11301 if test "$enableval" = yes; then
11302 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11304 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11309 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11314 eval "$wx_cv_use_searchctrl"
11316 if test x"$enablestring" = xdisable; then
11317 if test $wxUSE_SEARCHCTRL = yes; then
11323 result=$wxUSE_SEARCHCTRL
11326 { echo "$as_me:$LINENO: result: $result" >&5
11327 echo "${ECHO_T}$result" >&6; }
11331 defaultval=$wxUSE_ALL_FEATURES
11332 if test -z "$defaultval"; then
11333 if test x"$enablestring" = xdisable; then
11340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11341 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11342 # Check whether --enable-slider was given.
11343 if test "${enable_slider+set}" = set; then
11344 enableval=$enable_slider;
11345 if test "$enableval" = yes; then
11346 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11348 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11353 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11358 eval "$wx_cv_use_slider"
11360 if test x"$enablestring" = xdisable; then
11361 if test $wxUSE_SLIDER = yes; then
11367 result=$wxUSE_SLIDER
11370 { echo "$as_me:$LINENO: result
: $result" >&5
11371 echo "${ECHO_T}$result" >&6; }
11375 defaultval=$wxUSE_ALL_FEATURES
11376 if test -z "$defaultval"; then
11377 if test x"$enablestring" = xdisable; then
11384 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11385 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11386 # Check whether --enable-spinbtn was given.
11387 if test "${enable_spinbtn+set}" = set; then
11388 enableval=$enable_spinbtn;
11389 if test "$enableval" = yes; then
11390 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11392 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11397 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11402 eval "$wx_cv_use_spinbtn"
11404 if test x
"$enablestring" = xdisable
; then
11405 if test $wxUSE_SPINBTN = yes; then
11411 result
=$wxUSE_SPINBTN
11414 { echo "$as_me:$LINENO: result: $result" >&5
11415 echo "${ECHO_T}$result" >&6; }
11419 defaultval
=$wxUSE_ALL_FEATURES
11420 if test -z "$defaultval"; then
11421 if test x
"$enablestring" = xdisable
; then
11428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11429 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11430 # Check whether --enable-spinctrl was given.
11431 if test "${enable_spinctrl+set}" = set; then
11432 enableval
=$enable_spinctrl;
11433 if test "$enableval" = yes; then
11434 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11436 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11441 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11446 eval "$wx_cv_use_spinctrl"
11448 if test x"$enablestring" = xdisable; then
11449 if test $wxUSE_SPINCTRL = yes; then
11455 result=$wxUSE_SPINCTRL
11458 { echo "$as_me:$LINENO: result: $result" >&5
11459 echo "${ECHO_T}$result" >&6; }
11463 defaultval=$wxUSE_ALL_FEATURES
11464 if test -z "$defaultval"; then
11465 if test x"$enablestring" = xdisable; then
11472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11473 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11474 # Check whether --enable-splitter was given.
11475 if test "${enable_splitter+set}" = set; then
11476 enableval=$enable_splitter;
11477 if test "$enableval" = yes; then
11478 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11480 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11485 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11490 eval "$wx_cv_use_splitter"
11492 if test x"$enablestring" = xdisable; then
11493 if test $wxUSE_SPLITTER = yes; then
11499 result=$wxUSE_SPLITTER
11502 { echo "$as_me:$LINENO: result
: $result" >&5
11503 echo "${ECHO_T}$result" >&6; }
11507 defaultval=$wxUSE_ALL_FEATURES
11508 if test -z "$defaultval"; then
11509 if test x"$enablestring" = xdisable; then
11516 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11517 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11518 # Check whether --enable-statbmp was given.
11519 if test "${enable_statbmp+set}" = set; then
11520 enableval=$enable_statbmp;
11521 if test "$enableval" = yes; then
11522 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11524 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11529 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11534 eval "$wx_cv_use_statbmp"
11536 if test x
"$enablestring" = xdisable
; then
11537 if test $wxUSE_STATBMP = yes; then
11543 result
=$wxUSE_STATBMP
11546 { echo "$as_me:$LINENO: result: $result" >&5
11547 echo "${ECHO_T}$result" >&6; }
11551 defaultval
=$wxUSE_ALL_FEATURES
11552 if test -z "$defaultval"; then
11553 if test x
"$enablestring" = xdisable
; then
11560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11561 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11562 # Check whether --enable-statbox was given.
11563 if test "${enable_statbox+set}" = set; then
11564 enableval
=$enable_statbox;
11565 if test "$enableval" = yes; then
11566 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11568 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11573 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11578 eval "$wx_cv_use_statbox"
11580 if test x"$enablestring" = xdisable; then
11581 if test $wxUSE_STATBOX = yes; then
11587 result=$wxUSE_STATBOX
11590 { echo "$as_me:$LINENO: result: $result" >&5
11591 echo "${ECHO_T}$result" >&6; }
11595 defaultval=$wxUSE_ALL_FEATURES
11596 if test -z "$defaultval"; then
11597 if test x"$enablestring" = xdisable; then
11604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11605 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11606 # Check whether --enable-statline was given.
11607 if test "${enable_statline+set}" = set; then
11608 enableval=$enable_statline;
11609 if test "$enableval" = yes; then
11610 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11612 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11617 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11622 eval "$wx_cv_use_statline"
11624 if test x"$enablestring" = xdisable; then
11625 if test $wxUSE_STATLINE = yes; then
11631 result=$wxUSE_STATLINE
11634 { echo "$as_me:$LINENO: result
: $result" >&5
11635 echo "${ECHO_T}$result" >&6; }
11639 defaultval=$wxUSE_ALL_FEATURES
11640 if test -z "$defaultval"; then
11641 if test x"$enablestring" = xdisable; then
11648 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11649 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11650 # Check whether --enable-stattext was given.
11651 if test "${enable_stattext+set}" = set; then
11652 enableval=$enable_stattext;
11653 if test "$enableval" = yes; then
11654 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11656 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11661 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11666 eval "$wx_cv_use_stattext"
11668 if test x
"$enablestring" = xdisable
; then
11669 if test $wxUSE_STATTEXT = yes; then
11675 result
=$wxUSE_STATTEXT
11678 { echo "$as_me:$LINENO: result: $result" >&5
11679 echo "${ECHO_T}$result" >&6; }
11683 defaultval
=$wxUSE_ALL_FEATURES
11684 if test -z "$defaultval"; then
11685 if test x
"$enablestring" = xdisable
; then
11692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11693 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11694 # Check whether --enable-statusbar was given.
11695 if test "${enable_statusbar+set}" = set; then
11696 enableval
=$enable_statusbar;
11697 if test "$enableval" = yes; then
11698 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11700 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11705 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11710 eval "$wx_cv_use_statusbar"
11712 if test x"$enablestring" = xdisable; then
11713 if test $wxUSE_STATUSBAR = yes; then
11719 result=$wxUSE_STATUSBAR
11722 { echo "$as_me:$LINENO: result: $result" >&5
11723 echo "${ECHO_T}$result" >&6; }
11727 defaultval=$wxUSE_ALL_FEATURES
11728 if test -z "$defaultval"; then
11729 if test x"$enablestring" = xdisable; then
11736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11737 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11738 # Check whether --enable-taskbaricon was given.
11739 if test "${enable_taskbaricon+set}" = set; then
11740 enableval=$enable_taskbaricon;
11741 if test "$enableval" = yes; then
11742 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
11744 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
11749 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11754 eval "$wx_cv_use_taskbaricon"
11756 if test x"$enablestring" = xdisable; then
11757 if test $wxUSE_TASKBARICON = yes; then
11763 result=$wxUSE_TASKBARICON
11766 { echo "$as_me:$LINENO: result
: $result" >&5
11767 echo "${ECHO_T}$result" >&6; }
11771 defaultval=$wxUSE_ALL_FEATURES
11772 if test -z "$defaultval"; then
11773 if test x"$enablestring" = xdisable; then
11780 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
11781 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
11782 # Check whether --enable-tbarnative was given.
11783 if test "${enable_tbarnative+set}" = set; then
11784 enableval=$enable_tbarnative;
11785 if test "$enableval" = yes; then
11786 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11788 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11793 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11798 eval "$wx_cv_use_tbarnative"
11800 if test x
"$enablestring" = xdisable
; then
11801 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11807 result
=$wxUSE_TOOLBAR_NATIVE
11810 { echo "$as_me:$LINENO: result: $result" >&5
11811 echo "${ECHO_T}$result" >&6; }
11815 defaultval
=$wxUSE_ALL_FEATURES
11816 if test -z "$defaultval"; then
11817 if test x
"$enablestring" = xdisable
; then
11824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11825 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11826 # Check whether --enable-textctrl was given.
11827 if test "${enable_textctrl+set}" = set; then
11828 enableval
=$enable_textctrl;
11829 if test "$enableval" = yes; then
11830 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11832 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11837 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11842 eval "$wx_cv_use_textctrl"
11844 if test x"$enablestring" = xdisable; then
11845 if test $wxUSE_TEXTCTRL = yes; then
11851 result=$wxUSE_TEXTCTRL
11854 { echo "$as_me:$LINENO: result: $result" >&5
11855 echo "${ECHO_T}$result" >&6; }
11859 defaultval=$wxUSE_ALL_FEATURES
11860 if test -z "$defaultval"; then
11861 if test x"$enablestring" = xdisable; then
11868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11869 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11870 # Check whether --enable-tipwindow was given.
11871 if test "${enable_tipwindow+set}" = set; then
11872 enableval=$enable_tipwindow;
11873 if test "$enableval" = yes; then
11874 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
11876 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
11881 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11886 eval "$wx_cv_use_tipwindow"
11888 if test x"$enablestring" = xdisable; then
11889 if test $wxUSE_TIPWINDOW = yes; then
11895 result=$wxUSE_TIPWINDOW
11898 { echo "$as_me:$LINENO: result
: $result" >&5
11899 echo "${ECHO_T}$result" >&6; }
11903 defaultval=$wxUSE_ALL_FEATURES
11904 if test -z "$defaultval"; then
11905 if test x"$enablestring" = xdisable; then
11912 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
11913 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
11914 # Check whether --enable-togglebtn was given.
11915 if test "${enable_togglebtn+set}" = set; then
11916 enableval=$enable_togglebtn;
11917 if test "$enableval" = yes; then
11918 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11920 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11925 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11930 eval "$wx_cv_use_togglebtn"
11932 if test x
"$enablestring" = xdisable
; then
11933 if test $wxUSE_TOGGLEBTN = yes; then
11939 result
=$wxUSE_TOGGLEBTN
11942 { echo "$as_me:$LINENO: result: $result" >&5
11943 echo "${ECHO_T}$result" >&6; }
11947 defaultval
=$wxUSE_ALL_FEATURES
11948 if test -z "$defaultval"; then
11949 if test x
"$enablestring" = xdisable
; then
11956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11957 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11958 # Check whether --enable-toolbar was given.
11959 if test "${enable_toolbar+set}" = set; then
11960 enableval
=$enable_toolbar;
11961 if test "$enableval" = yes; then
11962 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
11964 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
11969 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11974 eval "$wx_cv_use_toolbar"
11976 if test x"$enablestring" = xdisable; then
11977 if test $wxUSE_TOOLBAR = yes; then
11983 result=$wxUSE_TOOLBAR
11986 { echo "$as_me:$LINENO: result: $result" >&5
11987 echo "${ECHO_T}$result" >&6; }
11991 defaultval=$wxUSE_ALL_FEATURES
11992 if test -z "$defaultval"; then
11993 if test x"$enablestring" = xdisable; then
12000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12001 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12002 # Check whether --enable-toolbook was given.
12003 if test "${enable_toolbook+set}" = set; then
12004 enableval=$enable_toolbook;
12005 if test "$enableval" = yes; then
12006 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12008 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12013 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12018 eval "$wx_cv_use_toolbook"
12020 if test x"$enablestring" = xdisable; then
12021 if test $wxUSE_TOOLBOOK = yes; then
12027 result=$wxUSE_TOOLBOOK
12030 { echo "$as_me:$LINENO: result
: $result" >&5
12031 echo "${ECHO_T}$result" >&6; }
12035 defaultval=$wxUSE_ALL_FEATURES
12036 if test -z "$defaultval"; then
12037 if test x"$enablestring" = xdisable; then
12044 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12045 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12046 # Check whether --enable-treebook was given.
12047 if test "${enable_treebook+set}" = set; then
12048 enableval=$enable_treebook;
12049 if test "$enableval" = yes; then
12050 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12052 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12057 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12062 eval "$wx_cv_use_treebook"
12064 if test x
"$enablestring" = xdisable
; then
12065 if test $wxUSE_TREEBOOK = yes; then
12071 result
=$wxUSE_TREEBOOK
12074 { echo "$as_me:$LINENO: result: $result" >&5
12075 echo "${ECHO_T}$result" >&6; }
12079 defaultval
=$wxUSE_ALL_FEATURES
12080 if test -z "$defaultval"; then
12081 if test x
"$enablestring" = xdisable
; then
12088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12089 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12090 # Check whether --enable-treectrl was given.
12091 if test "${enable_treectrl+set}" = set; then
12092 enableval
=$enable_treectrl;
12093 if test "$enableval" = yes; then
12094 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12096 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12101 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12106 eval "$wx_cv_use_treectrl"
12108 if test x"$enablestring" = xdisable; then
12109 if test $wxUSE_TREECTRL = yes; then
12115 result=$wxUSE_TREECTRL
12118 { echo "$as_me:$LINENO: result: $result" >&5
12119 echo "${ECHO_T}$result" >&6; }
12125 defaultval=$wxUSE_ALL_FEATURES
12126 if test -z "$defaultval"; then
12127 if test x"$enablestring" = xdisable; then
12134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12135 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12136 # Check whether --enable-commondlg was given.
12137 if test "${enable_commondlg+set}" = set; then
12138 enableval=$enable_commondlg;
12139 if test "$enableval" = yes; then
12140 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12142 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12147 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12152 eval "$wx_cv_use_commondlg"
12154 if test x"$enablestring" = xdisable; then
12155 if test $wxUSE_COMMONDLGS = yes; then
12161 result=$wxUSE_COMMONDLGS
12164 { echo "$as_me:$LINENO: result
: $result" >&5
12165 echo "${ECHO_T}$result" >&6; }
12169 defaultval=$wxUSE_ALL_FEATURES
12170 if test -z "$defaultval"; then
12171 if test x"$enablestring" = xdisable; then
12178 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
12179 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
12180 # Check whether --enable-aboutdlg was given.
12181 if test "${enable_aboutdlg+set}" = set; then
12182 enableval=$enable_aboutdlg;
12183 if test "$enableval" = yes; then
12184 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12186 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12191 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12196 eval "$wx_cv_use_aboutdlg"
12198 if test x
"$enablestring" = xdisable
; then
12199 if test $wxUSE_ABOUTDLG = yes; then
12205 result
=$wxUSE_ABOUTDLG
12208 { echo "$as_me:$LINENO: result: $result" >&5
12209 echo "${ECHO_T}$result" >&6; }
12213 defaultval
=$wxUSE_ALL_FEATURES
12214 if test -z "$defaultval"; then
12215 if test x
"$enablestring" = xdisable
; then
12222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12223 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12224 # Check whether --enable-choicedlg was given.
12225 if test "${enable_choicedlg+set}" = set; then
12226 enableval
=$enable_choicedlg;
12227 if test "$enableval" = yes; then
12228 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
12230 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
12235 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12240 eval "$wx_cv_use_choicedlg"
12242 if test x"$enablestring" = xdisable; then
12243 if test $wxUSE_CHOICEDLG = yes; then
12249 result=$wxUSE_CHOICEDLG
12252 { echo "$as_me:$LINENO: result: $result" >&5
12253 echo "${ECHO_T}$result" >&6; }
12257 defaultval=$wxUSE_ALL_FEATURES
12258 if test -z "$defaultval"; then
12259 if test x"$enablestring" = xdisable; then
12266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12267 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12268 # Check whether --enable-coldlg was given.
12269 if test "${enable_coldlg+set}" = set; then
12270 enableval=$enable_coldlg;
12271 if test "$enableval" = yes; then
12272 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
12274 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
12279 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12284 eval "$wx_cv_use_coldlg"
12286 if test x"$enablestring" = xdisable; then
12287 if test $wxUSE_COLOURDLG = yes; then
12293 result=$wxUSE_COLOURDLG
12296 { echo "$as_me:$LINENO: result
: $result" >&5
12297 echo "${ECHO_T}$result" >&6; }
12301 defaultval=$wxUSE_ALL_FEATURES
12302 if test -z "$defaultval"; then
12303 if test x"$enablestring" = xdisable; then
12310 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
12311 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
12312 # Check whether --enable-filedlg was given.
12313 if test "${enable_filedlg+set}" = set; then
12314 enableval=$enable_filedlg;
12315 if test "$enableval" = yes; then
12316 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12318 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12323 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12328 eval "$wx_cv_use_filedlg"
12330 if test x
"$enablestring" = xdisable
; then
12331 if test $wxUSE_FILEDLG = yes; then
12337 result
=$wxUSE_FILEDLG
12340 { echo "$as_me:$LINENO: result: $result" >&5
12341 echo "${ECHO_T}$result" >&6; }
12345 defaultval
=$wxUSE_ALL_FEATURES
12346 if test -z "$defaultval"; then
12347 if test x
"$enablestring" = xdisable
; then
12354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12355 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12356 # Check whether --enable-finddlg was given.
12357 if test "${enable_finddlg+set}" = set; then
12358 enableval
=$enable_finddlg;
12359 if test "$enableval" = yes; then
12360 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
12362 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
12367 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12372 eval "$wx_cv_use_finddlg"
12374 if test x"$enablestring" = xdisable; then
12375 if test $wxUSE_FINDREPLDLG = yes; then
12381 result=$wxUSE_FINDREPLDLG
12384 { echo "$as_me:$LINENO: result: $result" >&5
12385 echo "${ECHO_T}$result" >&6; }
12389 defaultval=$wxUSE_ALL_FEATURES
12390 if test -z "$defaultval"; then
12391 if test x"$enablestring" = xdisable; then
12398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12399 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12400 # Check whether --enable-fontdlg was given.
12401 if test "${enable_fontdlg+set}" = set; then
12402 enableval=$enable_fontdlg;
12403 if test "$enableval" = yes; then
12404 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
12406 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
12411 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12416 eval "$wx_cv_use_fontdlg"
12418 if test x"$enablestring" = xdisable; then
12419 if test $wxUSE_FONTDLG = yes; then
12425 result=$wxUSE_FONTDLG
12428 { echo "$as_me:$LINENO: result
: $result" >&5
12429 echo "${ECHO_T}$result" >&6; }
12433 defaultval=$wxUSE_ALL_FEATURES
12434 if test -z "$defaultval"; then
12435 if test x"$enablestring" = xdisable; then
12442 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
12443 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
12444 # Check whether --enable-dirdlg was given.
12445 if test "${enable_dirdlg+set}" = set; then
12446 enableval=$enable_dirdlg;
12447 if test "$enableval" = yes; then
12448 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12450 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12455 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12460 eval "$wx_cv_use_dirdlg"
12462 if test x
"$enablestring" = xdisable
; then
12463 if test $wxUSE_DIRDLG = yes; then
12469 result
=$wxUSE_DIRDLG
12472 { echo "$as_me:$LINENO: result: $result" >&5
12473 echo "${ECHO_T}$result" >&6; }
12477 defaultval
=$wxUSE_ALL_FEATURES
12478 if test -z "$defaultval"; then
12479 if test x
"$enablestring" = xdisable
; then
12486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12487 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12488 # Check whether --enable-msgdlg was given.
12489 if test "${enable_msgdlg+set}" = set; then
12490 enableval
=$enable_msgdlg;
12491 if test "$enableval" = yes; then
12492 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
12494 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
12499 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12504 eval "$wx_cv_use_msgdlg"
12506 if test x"$enablestring" = xdisable; then
12507 if test $wxUSE_MSGDLG = yes; then
12513 result=$wxUSE_MSGDLG
12516 { echo "$as_me:$LINENO: result: $result" >&5
12517 echo "${ECHO_T}$result" >&6; }
12521 defaultval=$wxUSE_ALL_FEATURES
12522 if test -z "$defaultval"; then
12523 if test x"$enablestring" = xdisable; then
12530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12531 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12532 # Check whether --enable-numberdlg was given.
12533 if test "${enable_numberdlg+set}" = set; then
12534 enableval=$enable_numberdlg;
12535 if test "$enableval" = yes; then
12536 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
12538 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
12543 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12548 eval "$wx_cv_use_numberdlg"
12550 if test x"$enablestring" = xdisable; then
12551 if test $wxUSE_NUMBERDLG = yes; then
12557 result=$wxUSE_NUMBERDLG
12560 { echo "$as_me:$LINENO: result
: $result" >&5
12561 echo "${ECHO_T}$result" >&6; }
12565 defaultval=$wxUSE_ALL_FEATURES
12566 if test -z "$defaultval"; then
12567 if test x"$enablestring" = xdisable; then
12574 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
12575 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
12576 # Check whether --enable-splash was given.
12577 if test "${enable_splash+set}" = set; then
12578 enableval=$enable_splash;
12579 if test "$enableval" = yes; then
12580 wx_cv_use_splash='wxUSE_SPLASH=yes'
12582 wx_cv_use_splash='wxUSE_SPLASH=no'
12587 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12592 eval "$wx_cv_use_splash"
12594 if test x
"$enablestring" = xdisable
; then
12595 if test $wxUSE_SPLASH = yes; then
12601 result
=$wxUSE_SPLASH
12604 { echo "$as_me:$LINENO: result: $result" >&5
12605 echo "${ECHO_T}$result" >&6; }
12609 defaultval
=$wxUSE_ALL_FEATURES
12610 if test -z "$defaultval"; then
12611 if test x
"$enablestring" = xdisable
; then
12618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12619 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12620 # Check whether --enable-textdlg was given.
12621 if test "${enable_textdlg+set}" = set; then
12622 enableval
=$enable_textdlg;
12623 if test "$enableval" = yes; then
12624 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
12626 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
12631 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12636 eval "$wx_cv_use_textdlg"
12638 if test x"$enablestring" = xdisable; then
12639 if test $wxUSE_TEXTDLG = yes; then
12645 result=$wxUSE_TEXTDLG
12648 { echo "$as_me:$LINENO: result: $result" >&5
12649 echo "${ECHO_T}$result" >&6; }
12653 defaultval=$wxUSE_ALL_FEATURES
12654 if test -z "$defaultval"; then
12655 if test x"$enablestring" = xdisable; then
12662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12663 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12664 # Check whether --enable-tipdlg was given.
12665 if test "${enable_tipdlg+set}" = set; then
12666 enableval=$enable_tipdlg;
12667 if test "$enableval" = yes; then
12668 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
12670 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
12675 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12680 eval "$wx_cv_use_tipdlg"
12682 if test x"$enablestring" = xdisable; then
12683 if test $wxUSE_STARTUP_TIPS = yes; then
12689 result=$wxUSE_STARTUP_TIPS
12692 { echo "$as_me:$LINENO: result
: $result" >&5
12693 echo "${ECHO_T}$result" >&6; }
12697 defaultval=$wxUSE_ALL_FEATURES
12698 if test -z "$defaultval"; then
12699 if test x"$enablestring" = xdisable; then
12706 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
12707 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
12708 # Check whether --enable-progressdlg was given.
12709 if test "${enable_progressdlg+set}" = set; then
12710 enableval=$enable_progressdlg;
12711 if test "$enableval" = yes; then
12712 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12714 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12719 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12724 eval "$wx_cv_use_progressdlg"
12726 if test x
"$enablestring" = xdisable
; then
12727 if test $wxUSE_PROGRESSDLG = yes; then
12733 result
=$wxUSE_PROGRESSDLG
12736 { echo "$as_me:$LINENO: result: $result" >&5
12737 echo "${ECHO_T}$result" >&6; }
12741 defaultval
=$wxUSE_ALL_FEATURES
12742 if test -z "$defaultval"; then
12743 if test x
"$enablestring" = xdisable
; then
12750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12751 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12752 # Check whether --enable-wizarddlg was given.
12753 if test "${enable_wizarddlg+set}" = set; then
12754 enableval
=$enable_wizarddlg;
12755 if test "$enableval" = yes; then
12756 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
12758 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
12763 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12768 eval "$wx_cv_use_wizarddlg"
12770 if test x"$enablestring" = xdisable; then
12771 if test $wxUSE_WIZARDDLG = yes; then
12777 result=$wxUSE_WIZARDDLG
12780 { echo "$as_me:$LINENO: result: $result" >&5
12781 echo "${ECHO_T}$result" >&6; }
12787 defaultval=$wxUSE_ALL_FEATURES
12788 if test -z "$defaultval"; then
12789 if test x"$enablestring" = xdisable; then
12796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12797 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12798 # Check whether --enable-menus was given.
12799 if test "${enable_menus+set}" = set; then
12800 enableval=$enable_menus;
12801 if test "$enableval" = yes; then
12802 wx_cv_use_menus='wxUSE_MENUS
=yes'
12804 wx_cv_use_menus='wxUSE_MENUS
=no
'
12809 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12814 eval "$wx_cv_use_menus"
12816 if test x"$enablestring" = xdisable; then
12817 if test $wxUSE_MENUS = yes; then
12823 result=$wxUSE_MENUS
12826 { echo "$as_me:$LINENO: result
: $result" >&5
12827 echo "${ECHO_T}$result" >&6; }
12831 defaultval=$wxUSE_ALL_FEATURES
12832 if test -z "$defaultval"; then
12833 if test x"$enablestring" = xdisable; then
12840 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
12841 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
12842 # Check whether --enable-miniframe was given.
12843 if test "${enable_miniframe+set}" = set; then
12844 enableval=$enable_miniframe;
12845 if test "$enableval" = yes; then
12846 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12848 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12853 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12858 eval "$wx_cv_use_miniframe"
12860 if test x
"$enablestring" = xdisable
; then
12861 if test $wxUSE_MINIFRAME = yes; then
12867 result
=$wxUSE_MINIFRAME
12870 { echo "$as_me:$LINENO: result: $result" >&5
12871 echo "${ECHO_T}$result" >&6; }
12875 defaultval
=$wxUSE_ALL_FEATURES
12876 if test -z "$defaultval"; then
12877 if test x
"$enablestring" = xdisable
; then
12884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12885 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12886 # Check whether --enable-tooltips was given.
12887 if test "${enable_tooltips+set}" = set; then
12888 enableval
=$enable_tooltips;
12889 if test "$enableval" = yes; then
12890 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
12892 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
12897 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12902 eval "$wx_cv_use_tooltips"
12904 if test x"$enablestring" = xdisable; then
12905 if test $wxUSE_TOOLTIPS = yes; then
12911 result=$wxUSE_TOOLTIPS
12914 { echo "$as_me:$LINENO: result: $result" >&5
12915 echo "${ECHO_T}$result" >&6; }
12919 defaultval=$wxUSE_ALL_FEATURES
12920 if test -z "$defaultval"; then
12921 if test x"$enablestring" = xdisable; then
12928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12929 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12930 # Check whether --enable-splines was given.
12931 if test "${enable_splines+set}" = set; then
12932 enableval=$enable_splines;
12933 if test "$enableval" = yes; then
12934 wx_cv_use_splines='wxUSE_SPLINES
=yes'
12936 wx_cv_use_splines='wxUSE_SPLINES
=no
'
12941 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12946 eval "$wx_cv_use_splines"
12948 if test x"$enablestring" = xdisable; then
12949 if test $wxUSE_SPLINES = yes; then
12955 result=$wxUSE_SPLINES
12958 { echo "$as_me:$LINENO: result
: $result" >&5
12959 echo "${ECHO_T}$result" >&6; }
12963 defaultval=$wxUSE_ALL_FEATURES
12964 if test -z "$defaultval"; then
12965 if test x"$enablestring" = xdisable; then
12972 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
12973 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
12974 # Check whether --enable-mousewheel was given.
12975 if test "${enable_mousewheel+set}" = set; then
12976 enableval=$enable_mousewheel;
12977 if test "$enableval" = yes; then
12978 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12980 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12985 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12990 eval "$wx_cv_use_mousewheel"
12992 if test x
"$enablestring" = xdisable
; then
12993 if test $wxUSE_MOUSEWHEEL = yes; then
12999 result
=$wxUSE_MOUSEWHEEL
13002 { echo "$as_me:$LINENO: result: $result" >&5
13003 echo "${ECHO_T}$result" >&6; }
13007 defaultval
=$wxUSE_ALL_FEATURES
13008 if test -z "$defaultval"; then
13009 if test x
"$enablestring" = xdisable
; then
13016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13017 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13018 # Check whether --enable-validators was given.
13019 if test "${enable_validators+set}" = set; then
13020 enableval
=$enable_validators;
13021 if test "$enableval" = yes; then
13022 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
13024 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
13029 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13034 eval "$wx_cv_use_validators"
13036 if test x"$enablestring" = xdisable; then
13037 if test $wxUSE_VALIDATORS = yes; then
13043 result=$wxUSE_VALIDATORS
13046 { echo "$as_me:$LINENO: result: $result" >&5
13047 echo "${ECHO_T}$result" >&6; }
13051 defaultval=$wxUSE_ALL_FEATURES
13052 if test -z "$defaultval"; then
13053 if test x"$enablestring" = xdisable; then
13060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13061 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13062 # Check whether --enable-busyinfo was given.
13063 if test "${enable_busyinfo+set}" = set; then
13064 enableval=$enable_busyinfo;
13065 if test "$enableval" = yes; then
13066 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
13068 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
13073 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13078 eval "$wx_cv_use_busyinfo"
13080 if test x"$enablestring" = xdisable; then
13081 if test $wxUSE_BUSYINFO = yes; then
13087 result=$wxUSE_BUSYINFO
13090 { echo "$as_me:$LINENO: result
: $result" >&5
13091 echo "${ECHO_T}$result" >&6; }
13095 defaultval=$wxUSE_ALL_FEATURES
13096 if test -z "$defaultval"; then
13097 if test x"$enablestring" = xdisable; then
13104 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13105 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
13106 # Check whether --enable-joystick was given.
13107 if test "${enable_joystick+set}" = set; then
13108 enableval=$enable_joystick;
13109 if test "$enableval" = yes; then
13110 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13112 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13117 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13122 eval "$wx_cv_use_joystick"
13124 if test x
"$enablestring" = xdisable
; then
13125 if test $wxUSE_JOYSTICK = yes; then
13131 result
=$wxUSE_JOYSTICK
13134 { echo "$as_me:$LINENO: result: $result" >&5
13135 echo "${ECHO_T}$result" >&6; }
13139 defaultval
=$wxUSE_ALL_FEATURES
13140 if test -z "$defaultval"; then
13141 if test x
"$enablestring" = xdisable
; then
13148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13149 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13150 # Check whether --enable-metafile was given.
13151 if test "${enable_metafile+set}" = set; then
13152 enableval
=$enable_metafile;
13153 if test "$enableval" = yes; then
13154 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13156 wx_cv_use_metafile
='wxUSE_METAFILE=no'
13161 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13166 eval "$wx_cv_use_metafile"
13168 if test x"$enablestring" = xdisable; then
13169 if test $wxUSE_METAFILE = yes; then
13175 result=$wxUSE_METAFILE
13178 { echo "$as_me:$LINENO: result: $result" >&5
13179 echo "${ECHO_T}$result" >&6; }
13183 defaultval=$wxUSE_ALL_FEATURES
13184 if test -z "$defaultval"; then
13185 if test x"$enablestring" = xdisable; then
13192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13193 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13194 # Check whether --enable-dragimage was given.
13195 if test "${enable_dragimage+set}" = set; then
13196 enableval=$enable_dragimage;
13197 if test "$enableval" = yes; then
13198 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
13200 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
13205 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13210 eval "$wx_cv_use_dragimage"
13212 if test x"$enablestring" = xdisable; then
13213 if test $wxUSE_DRAGIMAGE = yes; then
13219 result=$wxUSE_DRAGIMAGE
13222 { echo "$as_me:$LINENO: result
: $result" >&5
13223 echo "${ECHO_T}$result" >&6; }
13227 defaultval=$wxUSE_ALL_FEATURES
13228 if test -z "$defaultval"; then
13229 if test x"$enablestring" = xdisable; then
13236 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
13237 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
13238 # Check whether --enable-accessibility was given.
13239 if test "${enable_accessibility+set}" = set; then
13240 enableval=$enable_accessibility;
13241 if test "$enableval" = yes; then
13242 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13244 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13249 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13254 eval "$wx_cv_use_accessibility"
13256 if test x
"$enablestring" = xdisable
; then
13257 if test $wxUSE_ACCESSIBILITY = yes; then
13263 result
=$wxUSE_ACCESSIBILITY
13266 { echo "$as_me:$LINENO: result: $result" >&5
13267 echo "${ECHO_T}$result" >&6; }
13273 defaultval
=$wxUSE_ALL_FEATURES
13274 if test -z "$defaultval"; then
13275 if test x
"$enablestring" = xdisable
; then
13282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13283 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13284 # Check whether --enable-palette was given.
13285 if test "${enable_palette+set}" = set; then
13286 enableval
=$enable_palette;
13287 if test "$enableval" = yes; then
13288 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13290 wx_cv_use_palette
='wxUSE_PALETTE=no'
13295 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13300 eval "$wx_cv_use_palette"
13302 if test x"$enablestring" = xdisable; then
13303 if test $wxUSE_PALETTE = yes; then
13309 result=$wxUSE_PALETTE
13312 { echo "$as_me:$LINENO: result: $result" >&5
13313 echo "${ECHO_T}$result" >&6; }
13317 defaultval=$wxUSE_ALL_FEATURES
13318 if test -z "$defaultval"; then
13319 if test x"$enablestring" = xdisable; then
13326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13327 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13328 # Check whether --enable-image was given.
13329 if test "${enable_image+set}" = set; then
13330 enableval=$enable_image;
13331 if test "$enableval" = yes; then
13332 wx_cv_use_image='wxUSE_IMAGE
=yes'
13334 wx_cv_use_image='wxUSE_IMAGE
=no
'
13339 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13344 eval "$wx_cv_use_image"
13346 if test x"$enablestring" = xdisable; then
13347 if test $wxUSE_IMAGE = yes; then
13353 result=$wxUSE_IMAGE
13356 { echo "$as_me:$LINENO: result
: $result" >&5
13357 echo "${ECHO_T}$result" >&6; }
13361 defaultval=$wxUSE_ALL_FEATURES
13362 if test -z "$defaultval"; then
13363 if test x"$enablestring" = xdisable; then
13370 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13371 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
13372 # Check whether --enable-gif was given.
13373 if test "${enable_gif+set}" = set; then
13374 enableval=$enable_gif;
13375 if test "$enableval" = yes; then
13376 wx_cv_use_gif='wxUSE_GIF=yes'
13378 wx_cv_use_gif='wxUSE_GIF=no'
13383 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13388 eval "$wx_cv_use_gif"
13390 if test x
"$enablestring" = xdisable
; then
13391 if test $wxUSE_GIF = yes; then
13400 { echo "$as_me:$LINENO: result: $result" >&5
13401 echo "${ECHO_T}$result" >&6; }
13405 defaultval
=$wxUSE_ALL_FEATURES
13406 if test -z "$defaultval"; then
13407 if test x
"$enablestring" = xdisable
; then
13414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13415 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13416 # Check whether --enable-pcx was given.
13417 if test "${enable_pcx+set}" = set; then
13418 enableval
=$enable_pcx;
13419 if test "$enableval" = yes; then
13420 wx_cv_use_pcx
='wxUSE_PCX=yes'
13422 wx_cv_use_pcx
='wxUSE_PCX=no'
13427 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13432 eval "$wx_cv_use_pcx"
13434 if test x"$enablestring" = xdisable; then
13435 if test $wxUSE_PCX = yes; then
13444 { echo "$as_me:$LINENO: result: $result" >&5
13445 echo "${ECHO_T}$result" >&6; }
13449 defaultval=$wxUSE_ALL_FEATURES
13450 if test -z "$defaultval"; then
13451 if test x"$enablestring" = xdisable; then
13458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13459 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13460 # Check whether --enable-tga was given.
13461 if test "${enable_tga+set}" = set; then
13462 enableval=$enable_tga;
13463 if test "$enableval" = yes; then
13464 wx_cv_use_tga='wxUSE_TGA
=yes'
13466 wx_cv_use_tga='wxUSE_TGA
=no
'
13471 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13476 eval "$wx_cv_use_tga"
13478 if test x"$enablestring" = xdisable; then
13479 if test $wxUSE_TGA = yes; then
13488 { echo "$as_me:$LINENO: result
: $result" >&5
13489 echo "${ECHO_T}$result" >&6; }
13493 defaultval=$wxUSE_ALL_FEATURES
13494 if test -z "$defaultval"; then
13495 if test x"$enablestring" = xdisable; then
13502 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13503 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
13504 # Check whether --enable-iff was given.
13505 if test "${enable_iff+set}" = set; then
13506 enableval=$enable_iff;
13507 if test "$enableval" = yes; then
13508 wx_cv_use_iff='wxUSE_IFF=yes'
13510 wx_cv_use_iff='wxUSE_IFF=no'
13515 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13520 eval "$wx_cv_use_iff"
13522 if test x
"$enablestring" = xdisable
; then
13523 if test $wxUSE_IFF = yes; then
13532 { echo "$as_me:$LINENO: result: $result" >&5
13533 echo "${ECHO_T}$result" >&6; }
13537 defaultval
=$wxUSE_ALL_FEATURES
13538 if test -z "$defaultval"; then
13539 if test x
"$enablestring" = xdisable
; then
13546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13547 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13548 # Check whether --enable-pnm was given.
13549 if test "${enable_pnm+set}" = set; then
13550 enableval
=$enable_pnm;
13551 if test "$enableval" = yes; then
13552 wx_cv_use_pnm
='wxUSE_PNM=yes'
13554 wx_cv_use_pnm
='wxUSE_PNM=no'
13559 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13564 eval "$wx_cv_use_pnm"
13566 if test x"$enablestring" = xdisable; then
13567 if test $wxUSE_PNM = yes; then
13576 { echo "$as_me:$LINENO: result: $result" >&5
13577 echo "${ECHO_T}$result" >&6; }
13581 defaultval=$wxUSE_ALL_FEATURES
13582 if test -z "$defaultval"; then
13583 if test x"$enablestring" = xdisable; then
13590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13591 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13592 # Check whether --enable-xpm was given.
13593 if test "${enable_xpm+set}" = set; then
13594 enableval=$enable_xpm;
13595 if test "$enableval" = yes; then
13596 wx_cv_use_xpm='wxUSE_XPM
=yes'
13598 wx_cv_use_xpm='wxUSE_XPM
=no
'
13603 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13608 eval "$wx_cv_use_xpm"
13610 if test x"$enablestring" = xdisable; then
13611 if test $wxUSE_XPM = yes; then
13620 { echo "$as_me:$LINENO: result
: $result" >&5
13621 echo "${ECHO_T}$result" >&6; }
13625 defaultval=$wxUSE_ALL_FEATURES
13626 if test -z "$defaultval"; then
13627 if test x"$enablestring" = xdisable; then
13634 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
13635 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
13636 # Check whether --enable-ico_cur was given.
13637 if test "${enable_ico_cur+set}" = set; then
13638 enableval=$enable_ico_cur;
13639 if test "$enableval" = yes; then
13640 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13642 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13647 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13652 eval "$wx_cv_use_ico_cur"
13654 if test x
"$enablestring" = xdisable
; then
13655 if test $wxUSE_ICO_CUR = yes; then
13661 result
=$wxUSE_ICO_CUR
13664 { echo "$as_me:$LINENO: result: $result" >&5
13665 echo "${ECHO_T}$result" >&6; }
13671 defaultval
=$wxUSE_ALL_FEATURES
13672 if test -z "$defaultval"; then
13673 if test x
"$enablestring" = xdisable
; then
13680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13681 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13682 # Check whether --enable-dccache was given.
13683 if test "${enable_dccache+set}" = set; then
13684 enableval
=$enable_dccache;
13685 if test "$enableval" = yes; then
13686 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
13688 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
13693 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13698 eval "$wx_cv_use_dccache"
13700 if test x"$enablestring" = xdisable; then
13701 if test $wxUSE_DC_CACHEING = yes; then
13707 result=$wxUSE_DC_CACHEING
13710 { echo "$as_me:$LINENO: result: $result" >&5
13711 echo "${ECHO_T}$result" >&6; }
13715 defaultval=$wxUSE_ALL_FEATURES
13716 if test -z "$defaultval"; then
13717 if test x"$enablestring" = xdisable; then
13724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13725 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13726 # Check whether --enable-ps-in-msw was given.
13727 if test "${enable_ps_in_msw+set}" = set; then
13728 enableval=$enable_ps_in_msw;
13729 if test "$enableval" = yes; then
13730 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
13732 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
13737 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13742 eval "$wx_cv_use_ps_in_msw"
13744 if test x"$enablestring" = xdisable; then
13745 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13751 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13754 { echo "$as_me:$LINENO: result
: $result" >&5
13755 echo "${ECHO_T}$result" >&6; }
13759 defaultval=$wxUSE_ALL_FEATURES
13760 if test -z "$defaultval"; then
13761 if test x"$enablestring" = xdisable; then
13768 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
13769 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
13770 # Check whether --enable-ownerdrawn was given.
13771 if test "${enable_ownerdrawn+set}" = set; then
13772 enableval=$enable_ownerdrawn;
13773 if test "$enableval" = yes; then
13774 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13776 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13781 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13786 eval "$wx_cv_use_ownerdrawn"
13788 if test x
"$enablestring" = xdisable
; then
13789 if test $wxUSE_OWNER_DRAWN = yes; then
13795 result
=$wxUSE_OWNER_DRAWN
13798 { echo "$as_me:$LINENO: result: $result" >&5
13799 echo "${ECHO_T}$result" >&6; }
13803 defaultval
=$wxUSE_ALL_FEATURES
13804 if test -z "$defaultval"; then
13805 if test x
"$enablestring" = xdisable
; then
13812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13813 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13814 # Check whether --enable-uxtheme was given.
13815 if test "${enable_uxtheme+set}" = set; then
13816 enableval
=$enable_uxtheme;
13817 if test "$enableval" = yes; then
13818 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
13820 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
13825 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13830 eval "$wx_cv_use_uxtheme"
13832 if test x"$enablestring" = xdisable; then
13833 if test $wxUSE_UXTHEME = yes; then
13839 result=$wxUSE_UXTHEME
13842 { echo "$as_me:$LINENO: result: $result" >&5
13843 echo "${ECHO_T}$result" >&6; }
13847 defaultval=$wxUSE_ALL_FEATURES
13848 if test -z "$defaultval"; then
13849 if test x"$enablestring" = xdisable; then
13856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13857 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13858 # Check whether --enable-wxdib was given.
13859 if test "${enable_wxdib+set}" = set; then
13860 enableval=$enable_wxdib;
13861 if test "$enableval" = yes; then
13862 wx_cv_use_wxdib='wxUSE_DIB
=yes'
13864 wx_cv_use_wxdib='wxUSE_DIB
=no
'
13869 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13874 eval "$wx_cv_use_wxdib"
13876 if test x"$enablestring" = xdisable; then
13877 if test $wxUSE_DIB = yes; then
13886 { echo "$as_me:$LINENO: result
: $result" >&5
13887 echo "${ECHO_T}$result" >&6; }
13890 if test "$wxUSE_MSW" != 1; then
13891 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13896 defaultval=$wxUSE_ALL_FEATURES
13897 if test -z "$defaultval"; then
13898 if test x"$enablestring" = xdisable; then
13905 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
13906 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
13907 # Check whether --enable-autoidman was given.
13908 if test "${enable_autoidman+set}" = set; then
13909 enableval=$enable_autoidman;
13910 if test "$enableval" = yes; then
13911 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13913 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13918 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13923 eval "$wx_cv_use_autoidman"
13925 if test x
"$enablestring" = xdisable
; then
13926 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13932 result
=$wxUSE_AUTOID_MANAGEMENT
13935 { echo "$as_me:$LINENO: result: $result" >&5
13936 echo "${ECHO_T}$result" >&6; }
13942 cat >confcache
<<\_ACEOF
13943 # This file is a shell script that caches the results of configure
13944 # tests run on this system so they can be shared between configure
13945 # scripts and configure runs, see configure's option --config-cache.
13946 # It is not useful on other systems. If it contains results you don't
13947 # want to keep, you may remove or edit it.
13949 # config.status only pays attention to the cache file if you give it
13950 # the --recheck option to rerun configure.
13952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13954 # following values.
13958 # The following way of writing the cache mishandles newlines in values,
13959 # but we know of no workaround that is simple, portable, and efficient.
13960 # So, we kill variables containing newlines.
13961 # Ultrix sh set writes to stderr and can't be redirected directly,
13962 # and sets the high bit in the cache file unless we assign to the vars.
13964 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13965 eval ac_val
=\$
$ac_var
13969 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13970 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13973 _
| IFS
| as_nl
) ;; #(
13974 *) $as_unset $ac_var ;;
13980 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13981 *${as_nl}ac_space
=\
*)
13982 # `set' does not quote correctly, so add quotes (double-quote
13983 # substitution turns \\\\ into \\, and sed turns \\ into \).
13986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13989 # `set' quotes correctly as required by POSIX, so do not add quotes.
13990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13999 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14001 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14003 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14004 if test -w "$cache_file"; then
14005 test "x$cache_file" != "x/dev/null" &&
14006 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14007 echo "$as_me: updating cache $cache_file" >&6;}
14008 cat confcache
>$cache_file
14010 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14011 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14021 ac_cpp
='$CPP $CPPFLAGS'
14022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14025 if test -n "$ac_tool_prefix"; then
14026 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14027 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14030 if test "${ac_cv_prog_CC+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 if test -n "$CC"; then
14034 ac_cv_prog_CC
="$CC" # Let the user override the test.
14036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14037 for as_dir
in $PATH
14040 test -z "$as_dir" && as_dir
=.
14041 for ac_exec_ext
in '' $ac_executable_extensions; do
14042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14043 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14054 if test -n "$CC"; then
14055 { echo "$as_me:$LINENO: result: $CC" >&5
14056 echo "${ECHO_T}$CC" >&6; }
14058 { echo "$as_me:$LINENO: result: no" >&5
14059 echo "${ECHO_T}no" >&6; }
14064 if test -z "$ac_cv_prog_CC"; then
14066 # Extract the first word of "gcc", so it can be a program name with args.
14067 set dummy gcc
; ac_word
=$2
14068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14071 echo $ECHO_N "(cached) $ECHO_C" >&6
14073 if test -n "$ac_ct_CC"; then
14074 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14077 for as_dir
in $PATH
14080 test -z "$as_dir" && as_dir
=.
14081 for ac_exec_ext
in '' $ac_executable_extensions; do
14082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14083 ac_cv_prog_ac_ct_CC
="gcc"
14084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14093 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14094 if test -n "$ac_ct_CC"; then
14095 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14096 echo "${ECHO_T}$ac_ct_CC" >&6; }
14098 { echo "$as_me:$LINENO: result: no" >&5
14099 echo "${ECHO_T}no" >&6; }
14102 if test "x$ac_ct_CC" = x
; then
14105 case $cross_compiling:$ac_tool_warned in
14107 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14108 whose name does not start with the host triplet. If you think this
14109 configuration is useful to you, please write to autoconf@gnu.org." >&5
14110 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14111 whose name does not start with the host triplet. If you think this
14112 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14113 ac_tool_warned
=yes ;;
14118 CC
="$ac_cv_prog_CC"
14121 if test -z "$CC"; then
14122 if test -n "$ac_tool_prefix"; then
14123 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14124 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14127 if test "${ac_cv_prog_CC+set}" = set; then
14128 echo $ECHO_N "(cached) $ECHO_C" >&6
14130 if test -n "$CC"; then
14131 ac_cv_prog_CC
="$CC" # Let the user override the test.
14133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14134 for as_dir
in $PATH
14137 test -z "$as_dir" && as_dir
=.
14138 for ac_exec_ext
in '' $ac_executable_extensions; do
14139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14140 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14151 if test -n "$CC"; then
14152 { echo "$as_me:$LINENO: result: $CC" >&5
14153 echo "${ECHO_T}$CC" >&6; }
14155 { echo "$as_me:$LINENO: result: no" >&5
14156 echo "${ECHO_T}no" >&6; }
14162 if test -z "$CC"; then
14163 # Extract the first word of "cc", so it can be a program name with args.
14164 set dummy cc
; ac_word
=$2
14165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14167 if test "${ac_cv_prog_CC+set}" = set; then
14168 echo $ECHO_N "(cached) $ECHO_C" >&6
14170 if test -n "$CC"; then
14171 ac_cv_prog_CC
="$CC" # Let the user override the test.
14173 ac_prog_rejected
=no
14174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14175 for as_dir
in $PATH
14178 test -z "$as_dir" && as_dir
=.
14179 for ac_exec_ext
in '' $ac_executable_extensions; do
14180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14181 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14182 ac_prog_rejected
=yes
14186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14193 if test $ac_prog_rejected = yes; then
14194 # We found a bogon in the path, so make sure we never use it.
14195 set dummy
$ac_cv_prog_CC
14197 if test $# != 0; then
14198 # We chose a different compiler from the bogus one.
14199 # However, it has the same basename, so the bogon will be chosen
14200 # first if we set CC to just the basename; use the full file name.
14202 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14208 if test -n "$CC"; then
14209 { echo "$as_me:$LINENO: result: $CC" >&5
14210 echo "${ECHO_T}$CC" >&6; }
14212 { echo "$as_me:$LINENO: result: no" >&5
14213 echo "${ECHO_T}no" >&6; }
14218 if test -z "$CC"; then
14219 if test -n "$ac_tool_prefix"; then
14220 for ac_prog
in cl.exe
14222 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14223 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14226 if test "${ac_cv_prog_CC+set}" = set; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 if test -n "$CC"; then
14230 ac_cv_prog_CC
="$CC" # Let the user override the test.
14232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14233 for as_dir
in $PATH
14236 test -z "$as_dir" && as_dir
=.
14237 for ac_exec_ext
in '' $ac_executable_extensions; do
14238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14239 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14250 if test -n "$CC"; then
14251 { echo "$as_me:$LINENO: result: $CC" >&5
14252 echo "${ECHO_T}$CC" >&6; }
14254 { echo "$as_me:$LINENO: result: no" >&5
14255 echo "${ECHO_T}no" >&6; }
14259 test -n "$CC" && break
14262 if test -z "$CC"; then
14264 for ac_prog
in cl.exe
14266 # Extract the first word of "$ac_prog", so it can be a program name with args.
14267 set dummy
$ac_prog; ac_word
=$2
14268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 if test -n "$ac_ct_CC"; then
14274 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14277 for as_dir
in $PATH
14280 test -z "$as_dir" && as_dir
=.
14281 for ac_exec_ext
in '' $ac_executable_extensions; do
14282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14283 ac_cv_prog_ac_ct_CC
="$ac_prog"
14284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14293 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14294 if test -n "$ac_ct_CC"; then
14295 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14296 echo "${ECHO_T}$ac_ct_CC" >&6; }
14298 { echo "$as_me:$LINENO: result: no" >&5
14299 echo "${ECHO_T}no" >&6; }
14303 test -n "$ac_ct_CC" && break
14306 if test "x$ac_ct_CC" = x
; then
14309 case $cross_compiling:$ac_tool_warned in
14311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14312 whose name does not start with the host triplet. If you think this
14313 configuration is useful to you, please write to autoconf@gnu.org." >&5
14314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14315 whose name does not start with the host triplet. If you think this
14316 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14317 ac_tool_warned
=yes ;;
14326 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14327 See \`config.log' for more details." >&5
14328 echo "$as_me: error: no acceptable C compiler found in \$PATH
14329 See \`config.log' for more details." >&2;}
14330 { (exit 1); exit 1; }; }
14332 # Provide some information about the compiler.
14333 echo "$as_me:$LINENO: checking for C compiler version" >&5
14334 ac_compiler
=`set X $ac_compile; echo $2`
14335 { (ac_try
="$ac_compiler --version >&5"
14336 case "(($ac_try" in
14337 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14338 *) ac_try_echo=$ac_try;;
14340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14341 (eval "$ac_compiler --version >&5") 2>&5
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); }
14345 { (ac_try="$ac_compiler -v >&5"
14346 case "(($ac_try" in
14347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14348 *) ac_try_echo
=$ac_try;;
14350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14351 (eval "$ac_compiler -v >&5") 2>&5
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); }
14355 { (ac_try
="$ac_compiler -V >&5"
14356 case "(($ac_try" in
14357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14358 *) ac_try_echo=$ac_try;;
14360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14361 (eval "$ac_compiler -V >&5") 2>&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); }
14366 cat >conftest.$ac_ext <<_ACEOF
14369 cat confdefs.h >>conftest.$ac_ext
14370 cat >>conftest.$ac_ext <<_ACEOF
14371 /* end confdefs.h. */
14381 ac_clean_files_save=$ac_clean_files
14382 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14383 # Try to create an executable without -o first, disregard a.out.
14384 # It will help us diagnose broken compilers, and finding out an intuition
14386 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14387 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14388 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14390 # List of possible output files, starting from the most likely.
14391 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14392 # only as a last resort. b.out is created by i960 compilers.
14393 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14395 # The IRIX 6 linker writes into existing files which may not be
14396 # executable, retaining their permissions. Remove them first so a
14397 # subsequent execution test works.
14399 for ac_file in $ac_files
14402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14403 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14408 if { (ac_try="$ac_link_default"
14409 case "(($ac_try" in
14410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14411 *) ac_try_echo=$ac_try;;
14413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14414 (eval "$ac_link_default") 2>&5
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); }; then
14418 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14419 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14420 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14421 # so that the user can short-circuit this test for compilers unknown to
14423 for ac_file
in $ac_files ''
14425 test -f "$ac_file" || continue
14427 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14430 # We found the default executable, but exeext='' is most
14434 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14436 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14438 # We set ac_cv_exeext here because the later test for it is not
14439 # safe: cross compilers may not add the suffix if given an `-o'
14440 # argument, so we may need to know it at that point already.
14441 # Even if this section looks crufty: it has the advantage of
14442 # actually working.
14448 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14454 { echo "$as_me:$LINENO: result: $ac_file" >&5
14455 echo "${ECHO_T}$ac_file" >&6; }
14456 if test -z "$ac_file"; then
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.
$ac_ext >&5
14460 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14461 See \`config.log' for more details." >&5
14462 echo "$as_me: error: C compiler cannot create executables
14463 See \`config.log' for more details." >&2;}
14464 { (exit 77); exit 77; }; }
14467 ac_exeext
=$ac_cv_exeext
14469 # Check that the compiler produces executables we can run. If not, either
14470 # the compiler is broken, or we cross compile.
14471 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14472 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14473 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14474 # If not cross compiling, check that we can run a simple program.
14475 if test "$cross_compiling" != yes; then
14476 if { ac_try
='./$ac_file'
14477 { (case "(($ac_try" in
14478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14479 *) ac_try_echo=$ac_try;;
14481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14482 (eval "$ac_try") 2>&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; }; then
14488 if test "$cross_compiling" = maybe; then
14489 cross_compiling=yes
14491 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14492 If you meant to cross compile, use \`--host'.
14493 See \`config.log' for more details.
" >&5
14494 echo "$as_me: error
: cannot run C compiled programs.
14495 If you meant to cross compile
, use \
`--host'.
14496 See \`config.log
' for more details." >&2;}
14497 { (exit 1); exit 1; }; }
14501 { echo "$as_me:$LINENO: result: yes" >&5
14502 echo "${ECHO_T}yes" >&6; }
14504 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14505 ac_clean_files=$ac_clean_files_save
14506 # Check that the compiler produces executables we can run. If not, either
14507 # the compiler is broken, or we cross compile.
14508 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14509 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14510 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14511 echo "${ECHO_T}$cross_compiling" >&6; }
14513 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14514 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14515 if { (ac_try="$ac_link"
14516 case "(($ac_try" in
14517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14518 *) ac_try_echo=$ac_try;;
14520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14521 (eval "$ac_link") 2>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; then
14525 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14526 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14527 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14529 for ac_file
in conftest.exe conftest conftest.
*; do
14530 test -f "$ac_file" || continue
14532 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14533 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14539 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14540 See \`config.log' for more details." >&5
14541 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14542 See \`config.log' for more details." >&2;}
14543 { (exit 1); exit 1; }; }
14546 rm -f conftest
$ac_cv_exeext
14547 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14548 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14550 rm -f conftest.
$ac_ext
14551 EXEEXT
=$ac_cv_exeext
14553 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14554 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14555 if test "${ac_cv_objext+set}" = set; then
14556 echo $ECHO_N "(cached) $ECHO_C" >&6
14558 cat >conftest.
$ac_ext <<_ACEOF
14561 cat confdefs.h
>>conftest.
$ac_ext
14562 cat >>conftest.
$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14573 rm -f conftest.o conftest.obj
14574 if { (ac_try
="$ac_compile"
14575 case "(($ac_try" in
14576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14577 *) ac_try_echo=$ac_try;;
14579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14580 (eval "$ac_compile") 2>&5
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; then
14584 for ac_file in conftest.o conftest.obj conftest.*; do
14585 test -f "$ac_file" || continue;
14587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14588 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14593 echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.$ac_ext >&5
14596 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14597 See \`config.log
' for more details." >&5
14598 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14599 See \`config.log' for more details.
" >&2;}
14600 { (exit 1); exit 1; }; }
14603 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14605 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14606 echo "${ECHO_T}$ac_cv_objext" >&6; }
14607 OBJEXT=$ac_cv_objext
14609 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14610 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14611 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14612 echo $ECHO_N "(cached
) $ECHO_C" >&6
14614 cat >conftest.$ac_ext <<_ACEOF
14617 cat confdefs.h >>conftest.$ac_ext
14618 cat >>conftest.$ac_ext <<_ACEOF
14619 /* end confdefs.h. */
14632 rm -f conftest.$ac_objext
14633 if { (ac_try="$ac_compile"
14634 case "(($ac_try" in
14635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14636 *) ac_try_echo=$ac_try;;
14638 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14639 (eval "$ac_compile") 2>conftest.er1
14641 grep -v '^ *+' conftest.er1 >conftest.err
14643 cat conftest.err >&5
14644 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14645 (exit $ac_status); } && {
14646 test -z "$ac_c_werror_flag" ||
14647 test ! -s conftest.err
14648 } && test -s conftest.$ac_objext; then
14649 ac_compiler_gnu=yes
14651 echo "$as_me: failed program was
:" >&5
14652 sed 's/^/| /' conftest.$ac_ext >&5
14657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14658 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14661 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14662 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14663 GCC=`test $ac_compiler_gnu = yes && echo yes`
14664 ac_test_CFLAGS=${CFLAGS+set}
14665 ac_save_CFLAGS=$CFLAGS
14666 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14667 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14668 if test "${ac_cv_prog_cc_g+set}" = set; then
14669 echo $ECHO_N "(cached
) $ECHO_C" >&6
14671 ac_save_c_werror_flag=$ac_c_werror_flag
14672 ac_c_werror_flag=yes
14675 cat >conftest.$ac_ext <<_ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14690 rm -f conftest.$ac_objext
14691 if { (ac_try="$ac_compile"
14692 case "(($ac_try" in
14693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14694 *) ac_try_echo=$ac_try;;
14696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14697 (eval "$ac_compile") 2>conftest.er1
14699 grep -v '^ *+' conftest.er1 >conftest.err
14701 cat conftest.err >&5
14702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14703 (exit $ac_status); } && {
14704 test -z "$ac_c_werror_flag" ||
14705 test ! -s conftest.err
14706 } && test -s conftest.$ac_objext; then
14707 ac_cv_prog_cc_g=yes
14709 echo "$as_me: failed program was
:" >&5
14710 sed 's/^/| /' conftest.$ac_ext >&5
14713 cat >conftest.$ac_ext <<_ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14728 rm -f conftest.$ac_objext
14729 if { (ac_try="$ac_compile"
14730 case "(($ac_try" in
14731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14732 *) ac_try_echo=$ac_try;;
14734 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14735 (eval "$ac_compile") 2>conftest.er1
14737 grep -v '^ *+' conftest.er1 >conftest.err
14739 cat conftest.err >&5
14740 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14741 (exit $ac_status); } && {
14742 test -z "$ac_c_werror_flag" ||
14743 test ! -s conftest.err
14744 } && test -s conftest.$ac_objext; then
14747 echo "$as_me: failed program was
:" >&5
14748 sed 's/^/| /' conftest.$ac_ext >&5
14750 ac_c_werror_flag=$ac_save_c_werror_flag
14752 cat >conftest.$ac_ext <<_ACEOF
14755 cat confdefs.h >>conftest.$ac_ext
14756 cat >>conftest.$ac_ext <<_ACEOF
14757 /* end confdefs.h. */
14767 rm -f conftest.$ac_objext
14768 if { (ac_try="$ac_compile"
14769 case "(($ac_try" in
14770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14771 *) ac_try_echo=$ac_try;;
14773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14774 (eval "$ac_compile") 2>conftest.er1
14776 grep -v '^ *+' conftest.er1 >conftest.err
14778 cat conftest.err >&5
14779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14780 (exit $ac_status); } && {
14781 test -z "$ac_c_werror_flag" ||
14782 test ! -s conftest.err
14783 } && test -s conftest.$ac_objext; then
14784 ac_cv_prog_cc_g=yes
14786 echo "$as_me: failed program was
:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14799 ac_c_werror_flag=$ac_save_c_werror_flag
14801 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14802 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14803 if test "$ac_test_CFLAGS" = set; then
14804 CFLAGS=$ac_save_CFLAGS
14805 elif test $ac_cv_prog_cc_g = yes; then
14806 if test "$GCC" = yes; then
14812 if test "$GCC" = yes; then
14818 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14819 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14820 if test "${ac_cv_prog_cc_c89+set}" = set; then
14821 echo $ECHO_N "(cached
) $ECHO_C" >&6
14823 ac_cv_prog_cc_c89=no
14825 cat >conftest.$ac_ext <<_ACEOF
14828 cat confdefs.h >>conftest.$ac_ext
14829 cat >>conftest.$ac_ext <<_ACEOF
14830 /* end confdefs.h. */
14831 #include <stdarg.h>
14833 #include <sys/types.h>
14834 #include <sys/stat.h>
14835 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14836 struct buf { int x; };
14837 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14838 static char *e (p, i)
14844 static char *f (char * (*g) (char **, int), char **p, ...)
14849 s = g (p, va_arg (v,int));
14854 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14855 function prototypes and stuff, but not '\xHH' hex character constants.
14856 These don't provoke an error unfortunately, instead are silently treated
14857 as 'x'. The following induces an error, until -std is added to get
14858 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14859 array size at least. It's necessary to write '\x00'==0 to get something
14860 that's true only with -std. */
14861 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14863 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14864 inside strings and character constants. */
14866 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14868 int test (int i, double x);
14869 struct s1 {int (*f) (int a);};
14870 struct s2 {int (*f) (double a);};
14871 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14877 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14882 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14883 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14885 CC="$ac_save_CC $ac_arg"
14886 rm -f conftest.$ac_objext
14887 if { (ac_try="$ac_compile"
14888 case "(($ac_try" in
14889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14890 *) ac_try_echo=$ac_try;;
14892 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14893 (eval "$ac_compile") 2>conftest.er1
14895 grep -v '^ *+' conftest.er1 >conftest.err
14897 cat conftest.err >&5
14898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14899 (exit $ac_status); } && {
14900 test -z "$ac_c_werror_flag" ||
14901 test ! -s conftest.err
14902 } && test -s conftest.$ac_objext; then
14903 ac_cv_prog_cc_c89=$ac_arg
14905 echo "$as_me: failed program was
:" >&5
14906 sed 's/^/| /' conftest.$ac_ext >&5
14911 rm -f core conftest.err conftest.$ac_objext
14912 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14914 rm -f conftest.$ac_ext
14919 case "x
$ac_cv_prog_cc_c89" in
14921 { echo "$as_me:$LINENO: result
: none needed
" >&5
14922 echo "${ECHO_T}none needed
" >&6; } ;;
14924 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14925 echo "${ECHO_T}unsupported
" >&6; } ;;
14927 CC="$CC $ac_cv_prog_cc_c89"
14928 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14929 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14934 ac_cpp='$CPP $CPPFLAGS'
14935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14943 ac_cpp='$CPP $CPPFLAGS'
14944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14948 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14949 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14950 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14951 echo $ECHO_N "(cached
) $ECHO_C" >&6
14953 cat >conftest.$ac_ext <<_ACEOF
14956 cat confdefs.h >>conftest.$ac_ext
14957 cat >>conftest.$ac_ext <<_ACEOF
14958 /* end confdefs.h. */
14964 #ifndef __INTEL_COMPILER
14972 rm -f conftest.$ac_objext
14973 if { (ac_try="$ac_compile"
14974 case "(($ac_try" in
14975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14976 *) ac_try_echo=$ac_try;;
14978 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_compile") 2>conftest.er1
14981 grep -v '^ *+' conftest.er1 >conftest.err
14983 cat conftest.err >&5
14984 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14985 (exit $ac_status); } && {
14986 test -z "$ac_c_werror_flag" ||
14987 test ! -s conftest.err
14988 } && test -s conftest.$ac_objext; then
14989 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14991 echo "$as_me: failed program was
:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14994 bakefile_cv_c_compiler___INTEL_COMPILER=no
14998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15002 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15003 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15004 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15010 ac_cpp='$CPP $CPPFLAGS'
15011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15018 if test "$INTELCC" = "yes"; then
15022 ac_cpp='$CPP $CPPFLAGS'
15023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15027 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15028 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15029 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15030 echo $ECHO_N "(cached
) $ECHO_C" >&6
15032 cat >conftest.$ac_ext <<_ACEOF
15035 cat confdefs.h >>conftest.$ac_ext
15036 cat >>conftest.$ac_ext <<_ACEOF
15037 /* end confdefs.h. */
15043 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15051 rm -f conftest.$ac_objext
15052 if { (ac_try="$ac_compile"
15053 case "(($ac_try" in
15054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15055 *) ac_try_echo=$ac_try;;
15057 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15058 (eval "$ac_compile") 2>conftest.er1
15060 grep -v '^ *+' conftest.er1 >conftest.err
15062 cat conftest.err >&5
15063 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15064 (exit $ac_status); } && {
15065 test -z "$ac_c_werror_flag" ||
15066 test ! -s conftest.err
15067 } && test -s conftest.$ac_objext; then
15068 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15070 echo "$as_me: failed program was
:" >&5
15071 sed 's/^/| /' conftest.$ac_ext >&5
15073 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15081 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15082 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15083 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15089 ac_cpp='$CPP $CPPFLAGS'
15090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15099 ac_cpp='$CPP $CPPFLAGS'
15100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15104 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15105 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15106 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15107 echo $ECHO_N "(cached
) $ECHO_C" >&6
15109 cat >conftest.$ac_ext <<_ACEOF
15112 cat confdefs.h >>conftest.$ac_ext
15113 cat >>conftest.$ac_ext <<_ACEOF
15114 /* end confdefs.h. */
15120 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15128 rm -f conftest.$ac_objext
15129 if { (ac_try="$ac_compile"
15130 case "(($ac_try" in
15131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15132 *) ac_try_echo=$ac_try;;
15134 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15135 (eval "$ac_compile") 2>conftest.er1
15137 grep -v '^ *+' conftest.er1 >conftest.err
15139 cat conftest.err >&5
15140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15141 (exit $ac_status); } && {
15142 test -z "$ac_c_werror_flag" ||
15143 test ! -s conftest.err
15144 } && test -s conftest.$ac_objext; then
15145 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15147 echo "$as_me: failed program was
:" >&5
15148 sed 's/^/| /' conftest.$ac_ext >&5
15150 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15158 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15159 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15160 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15166 ac_cpp='$CPP $CPPFLAGS'
15167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15175 if test "x
$GCC" != "xyes
"; then
15176 if test "xCC
" = "xC
"; then
15177 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15178 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15179 if test "${bakefile_cv_c_exto+set}" = set; then
15180 echo $ECHO_N "(cached
) $ECHO_C" >&6
15182 cat >conftest.$ac_ext <<_ACEOF
15185 cat confdefs.h >>conftest.$ac_ext
15186 cat >>conftest.$ac_ext <<_ACEOF
15187 /* end confdefs.h. */
15197 rm -f conftest.$ac_objext conftest.$ac_ext.o
15198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15199 (eval $ac_compile) 2>&5
15201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15202 (exit $ac_status); }; then
15203 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15205 conftest.$ac_ext.o)
15206 bakefile_cv_c_exto="-ext o
"
15213 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15214 See \
`config.log' for more details." >&5
15215 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15216 See \`config.log
' for more details." >&2;}
15217 { (exit 1); exit 1; }; }
15221 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15224 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15225 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15226 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15227 if test "c" = "c"; then
15228 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15230 if test "c" = "cxx"; then
15231 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15235 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15236 unset ac_cv_prog_cc_g
15237 ac_test_CFLAGS=${CFLAGS+set}
15238 ac_save_CFLAGS=$CFLAGS
15239 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15240 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15241 if test "${ac_cv_prog_cc_g+set}" = set; then
15242 echo $ECHO_N "(cached) $ECHO_C" >&6
15244 ac_save_c_werror_flag=$ac_c_werror_flag
15245 ac_c_werror_flag=yes
15248 cat >conftest.$ac_ext <<_ACEOF
15251 cat confdefs.h >>conftest.$ac_ext
15252 cat >>conftest.$ac_ext <<_ACEOF
15253 /* end confdefs.h. */
15263 rm -f conftest.$ac_objext
15264 if { (ac_try="$ac_compile"
15265 case "(($ac_try" in
15266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15267 *) ac_try_echo=$ac_try;;
15269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15270 (eval "$ac_compile") 2>conftest.er1
15272 grep -v '^
*+' conftest.er1 >conftest.err
15274 cat conftest.err >&5
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); } && {
15277 test -z "$ac_c_werror_flag" ||
15278 test ! -s conftest.err
15279 } && test -s conftest.$ac_objext; then
15280 ac_cv_prog_cc_g=yes
15282 echo "$as_me: failed program was:" >&5
15283 sed 's
/^
/| /' conftest.$ac_ext >&5
15286 cat >conftest.$ac_ext <<_ACEOF
15289 cat confdefs.h >>conftest.$ac_ext
15290 cat >>conftest.$ac_ext <<_ACEOF
15291 /* end confdefs.h. */
15301 rm -f conftest.$ac_objext
15302 if { (ac_try="$ac_compile"
15303 case "(($ac_try" in
15304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15305 *) ac_try_echo=$ac_try;;
15307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15308 (eval "$ac_compile") 2>conftest.er1
15310 grep -v '^
*+' conftest.er1 >conftest.err
15312 cat conftest.err >&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); } && {
15315 test -z "$ac_c_werror_flag" ||
15316 test ! -s conftest.err
15317 } && test -s conftest.$ac_objext; then
15320 echo "$as_me: failed program was:" >&5
15321 sed 's
/^
/| /' conftest.$ac_ext >&5
15323 ac_c_werror_flag=$ac_save_c_werror_flag
15325 cat >conftest.$ac_ext <<_ACEOF
15328 cat confdefs.h >>conftest.$ac_ext
15329 cat >>conftest.$ac_ext <<_ACEOF
15330 /* end confdefs.h. */
15340 rm -f conftest.$ac_objext
15341 if { (ac_try="$ac_compile"
15342 case "(($ac_try" in
15343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15344 *) ac_try_echo=$ac_try;;
15346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15347 (eval "$ac_compile") 2>conftest.er1
15349 grep -v '^
*+' conftest.er1 >conftest.err
15351 cat conftest.err >&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); } && {
15354 test -z "$ac_c_werror_flag" ||
15355 test ! -s conftest.err
15356 } && test -s conftest.$ac_objext; then
15357 ac_cv_prog_cc_g=yes
15359 echo "$as_me: failed program was:" >&5
15360 sed 's
/^
/| /' conftest.$ac_ext >&5
15365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15372 ac_c_werror_flag=$ac_save_c_werror_flag
15374 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15375 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15376 if test "$ac_test_CFLAGS" = set; then
15377 CFLAGS=$ac_save_CFLAGS
15378 elif test $ac_cv_prog_cc_g = yes; then
15379 if test "$GCC" = yes; then
15385 if test "$GCC" = yes; then
15399 ac_cpp='$CPP $CPPFLAGS'
15400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15401 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15404 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15405 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15406 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15407 echo $ECHO_N "(cached) $ECHO_C" >&6
15409 cat >conftest.$ac_ext <<_ACEOF
15412 cat confdefs.h >>conftest.$ac_ext
15413 cat >>conftest.$ac_ext <<_ACEOF
15414 /* end confdefs.h. */
15428 rm -f conftest.$ac_objext
15429 if { (ac_try="$ac_compile"
15430 case "(($ac_try" in
15431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15432 *) ac_try_echo=$ac_try;;
15434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15435 (eval "$ac_compile") 2>conftest.er1
15437 grep -v '^
*+' conftest.er1 >conftest.err
15439 cat conftest.err >&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); } && {
15442 test -z "$ac_c_werror_flag" ||
15443 test ! -s conftest.err
15444 } && test -s conftest.$ac_objext; then
15445 bakefile_cv_c_compiler___xlC__=yes
15447 echo "$as_me: failed program was:" >&5
15448 sed 's
/^
/| /' conftest.$ac_ext >&5
15450 bakefile_cv_c_compiler___xlC__=no
15454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15458 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15459 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15460 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15466 ac_cpp='$CPP $CPPFLAGS'
15467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15468 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15479 ac_cpp='$CPP $CPPFLAGS'
15480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15481 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15484 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15485 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15486 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 cat >conftest.$ac_ext <<_ACEOF
15492 cat confdefs.h >>conftest.$ac_ext
15493 cat >>conftest.$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15508 rm -f conftest.$ac_objext
15509 if { (ac_try="$ac_compile"
15510 case "(($ac_try" in
15511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15512 *) ac_try_echo=$ac_try;;
15514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15515 (eval "$ac_compile") 2>conftest.er1
15517 grep -v '^
*+' conftest.er1 >conftest.err
15519 cat conftest.err >&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } && {
15522 test -z "$ac_c_werror_flag" ||
15523 test ! -s conftest.err
15524 } && test -s conftest.$ac_objext; then
15525 bakefile_cv_c_compiler___MWERKS__=yes
15527 echo "$as_me: failed program was:" >&5
15528 sed 's
/^
/| /' conftest.$ac_ext >&5
15530 bakefile_cv_c_compiler___MWERKS__=no
15534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15538 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15539 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15540 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15546 ac_cpp='$CPP $CPPFLAGS'
15547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15548 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15553 if test "$MWCC" != "yes"; then
15557 ac_cpp='$CPP $CPPFLAGS'
15558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15559 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15562 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15563 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15564 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15565 echo $ECHO_N "(cached) $ECHO_C" >&6
15567 cat >conftest.$ac_ext <<_ACEOF
15570 cat confdefs.h >>conftest.$ac_ext
15571 cat >>conftest.$ac_ext <<_ACEOF
15572 /* end confdefs.h. */
15586 rm -f conftest.$ac_objext
15587 if { (ac_try="$ac_compile"
15588 case "(($ac_try" in
15589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15590 *) ac_try_echo=$ac_try;;
15592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15593 (eval "$ac_compile") 2>conftest.er1
15595 grep -v '^
*+' conftest.er1 >conftest.err
15597 cat conftest.err >&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); } && {
15600 test -z "$ac_c_werror_flag" ||
15601 test ! -s conftest.err
15602 } && test -s conftest.$ac_objext; then
15603 bakefile_cv_c_compiler___xlC__=yes
15605 echo "$as_me: failed program was:" >&5
15606 sed 's
/^
/| /' conftest.$ac_ext >&5
15608 bakefile_cv_c_compiler___xlC__=no
15612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15616 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15617 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15618 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15624 ac_cpp='$CPP $CPPFLAGS'
15625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15626 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15638 ac_cpp='$CPP $CPPFLAGS'
15639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15640 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15643 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15644 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15645 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15646 echo $ECHO_N "(cached) $ECHO_C" >&6
15648 cat >conftest.$ac_ext <<_ACEOF
15651 cat confdefs.h >>conftest.$ac_ext
15652 cat >>conftest.$ac_ext <<_ACEOF
15653 /* end confdefs.h. */
15659 #ifndef _SGI_COMPILER_VERSION
15667 rm -f conftest.$ac_objext
15668 if { (ac_try="$ac_compile"
15669 case "(($ac_try" in
15670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15671 *) ac_try_echo=$ac_try;;
15673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15674 (eval "$ac_compile") 2>conftest.er1
15676 grep -v '^
*+' conftest.er1 >conftest.err
15678 cat conftest.err >&5
15679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15680 (exit $ac_status); } && {
15681 test -z "$ac_c_werror_flag" ||
15682 test ! -s conftest.err
15683 } && test -s conftest.$ac_objext; then
15684 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15686 echo "$as_me: failed program was:" >&5
15687 sed 's
/^
/| /' conftest.$ac_ext >&5
15689 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15697 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15698 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15699 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15705 ac_cpp='$CPP $CPPFLAGS'
15706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15707 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15715 if test "$INTELCC" != "yes"; then
15719 ac_cpp='$CPP $CPPFLAGS'
15720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15721 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15724 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15725 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15726 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15727 echo $ECHO_N "(cached) $ECHO_C" >&6
15729 cat >conftest.$ac_ext <<_ACEOF
15732 cat confdefs.h >>conftest.$ac_ext
15733 cat >>conftest.$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15748 rm -f conftest.$ac_objext
15749 if { (ac_try="$ac_compile"
15750 case "(($ac_try" in
15751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15752 *) ac_try_echo=$ac_try;;
15754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15755 (eval "$ac_compile") 2>conftest.er1
15757 grep -v '^
*+' conftest.er1 >conftest.err
15759 cat conftest.err >&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } && {
15762 test -z "$ac_c_werror_flag" ||
15763 test ! -s conftest.err
15764 } && test -s conftest.$ac_objext; then
15765 bakefile_cv_c_compiler___SUNPRO_C=yes
15767 echo "$as_me: failed program was:" >&5
15768 sed 's
/^
/| /' conftest.$ac_ext >&5
15770 bakefile_cv_c_compiler___SUNPRO_C=no
15774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15778 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15779 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15780 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15786 ac_cpp='$CPP $CPPFLAGS'
15787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15788 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15800 ac_cpp='$CPP $CPPFLAGS'
15801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15802 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15805 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15806 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15807 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15808 echo $ECHO_N "(cached) $ECHO_C" >&6
15810 cat >conftest.$ac_ext <<_ACEOF
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15829 rm -f conftest.$ac_objext
15830 if { (ac_try="$ac_compile"
15831 case "(($ac_try" in
15832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15833 *) ac_try_echo=$ac_try;;
15835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15836 (eval "$ac_compile") 2>conftest.er1
15838 grep -v '^
*+' conftest.er1 >conftest.err
15840 cat conftest.err >&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); } && {
15843 test -z "$ac_c_werror_flag" ||
15844 test ! -s conftest.err
15845 } && test -s conftest.$ac_objext; then
15846 bakefile_cv_c_compiler___HP_cc=yes
15848 echo "$as_me: failed program was:" >&5
15849 sed 's
/^
/| /' conftest.$ac_ext >&5
15851 bakefile_cv_c_compiler___HP_cc=no
15855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15859 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15860 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15861 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15867 ac_cpp='$CPP $CPPFLAGS'
15868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15869 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15880 ac_cpp='$CPP $CPPFLAGS'
15881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15882 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15885 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15886 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15887 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15888 echo $ECHO_N "(cached) $ECHO_C" >&6
15890 cat >conftest.$ac_ext <<_ACEOF
15893 cat confdefs.h >>conftest.$ac_ext
15894 cat >>conftest.$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15909 rm -f conftest.$ac_objext
15910 if { (ac_try="$ac_compile"
15911 case "(($ac_try" in
15912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15913 *) ac_try_echo=$ac_try;;
15915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15916 (eval "$ac_compile") 2>conftest.er1
15918 grep -v '^
*+' conftest.er1 >conftest.err
15920 cat conftest.err >&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } && {
15923 test -z "$ac_c_werror_flag" ||
15924 test ! -s conftest.err
15925 } && test -s conftest.$ac_objext; then
15926 bakefile_cv_c_compiler___DECC=yes
15928 echo "$as_me: failed program was:" >&5
15929 sed 's
/^
/| /' conftest.$ac_ext >&5
15931 bakefile_cv_c_compiler___DECC=no
15935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15939 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15940 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15941 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15947 ac_cpp='$CPP $CPPFLAGS'
15948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15949 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15960 ac_cpp='$CPP $CPPFLAGS'
15961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15962 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15965 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15966 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15967 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15968 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 cat >conftest.$ac_ext <<_ACEOF
15973 cat confdefs.h >>conftest.$ac_ext
15974 cat >>conftest.$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15989 rm -f conftest.$ac_objext
15990 if { (ac_try="$ac_compile"
15991 case "(($ac_try" in
15992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15993 *) ac_try_echo=$ac_try;;
15995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15996 (eval "$ac_compile") 2>conftest.er1
15998 grep -v '^
*+' conftest.er1 >conftest.err
16000 cat conftest.err >&5
16001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16002 (exit $ac_status); } && {
16003 test -z "$ac_c_werror_flag" ||
16004 test ! -s conftest.err
16005 } && test -s conftest.$ac_objext; then
16006 bakefile_cv_c_compiler___SUNPRO_C=yes
16008 echo "$as_me: failed program was:" >&5
16009 sed 's
/^
/| /' conftest.$ac_ext >&5
16011 bakefile_cv_c_compiler___SUNPRO_C=no
16015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16019 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16020 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16021 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16027 ac_cpp='$CPP $CPPFLAGS'
16028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16029 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16041 ac_cpp='$CPP $CPPFLAGS'
16042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16043 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16045 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16046 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16047 # On Suns, sometimes $CPP names a directory.
16048 if test -n "$CPP" && test -d "$CPP"; then
16051 if test -z "$CPP"; then
16052 if test "${ac_cv_prog_CPP+set}" = set; then
16053 echo $ECHO_N "(cached) $ECHO_C" >&6
16055 # Double quotes because CPP needs to be expanded
16056 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16058 ac_preproc_ok=false
16059 for ac_c_preproc_warn_flag in '' yes
16061 # Use a header file that comes with gcc, so configuring glibc
16062 # with a fresh cross-compiler works.
16063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16064 # <limits.h> exists even on freestanding compilers.
16065 # On the NeXT, cc -E runs the code through the compiler's parser
,
16066 # not just through cpp. "Syntax error" is here to catch this case.
16067 cat >conftest.
$ac_ext <<_ACEOF
16070 cat confdefs.h
>>conftest.
$ac_ext
16071 cat >>conftest.
$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16074 # include <limits.h>
16076 # include <assert.h>
16080 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16081 case "(($ac_try" in
16082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16083 *) ac_try_echo=$ac_try;;
16085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16086 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16088 grep -v '^ *+' conftest.er1 >conftest.err
16090 cat conftest.err >&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } >/dev/null && {
16093 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16094 test ! -s conftest.err
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.$ac_ext >&5
16101 # Broken: fails on valid input.
16105 rm -f conftest.err conftest.$ac_ext
16107 # OK, works on sane cases. Now check whether nonexistent headers
16108 # can be detected and how.
16109 cat >conftest.$ac_ext <<_ACEOF
16112 cat confdefs.h >>conftest.$ac_ext
16113 cat >>conftest.$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 #include <ac_nonexistent.h>
16117 if { (ac_try="$ac_cpp conftest.$ac_ext"
16118 case "(($ac_try" in
16119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16120 *) ac_try_echo
=$ac_try;;
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16125 grep -v '^ *+' conftest.er1
>conftest.err
16127 cat conftest.err
>&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); } >/dev
/null
&& {
16130 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16131 test ! -s conftest.err
16133 # Broken: success on invalid input.
16136 echo "$as_me: failed program was:" >&5
16137 sed 's/^/| /' conftest.
$ac_ext >&5
16139 # Passes both tests.
16144 rm -f conftest.err conftest.
$ac_ext
16147 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16148 rm -f conftest.err conftest.
$ac_ext
16149 if $ac_preproc_ok; then
16154 ac_cv_prog_CPP
=$CPP
16157 CPP
=$ac_cv_prog_CPP
16159 ac_cv_prog_CPP
=$CPP
16161 { echo "$as_me:$LINENO: result: $CPP" >&5
16162 echo "${ECHO_T}$CPP" >&6; }
16163 ac_preproc_ok
=false
16164 for ac_c_preproc_warn_flag
in '' yes
16166 # Use a header file that comes with gcc, so configuring glibc
16167 # with a fresh cross-compiler works.
16168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16169 # <limits.h> exists even on freestanding compilers.
16170 # On the NeXT, cc -E runs the code through the compiler's parser,
16171 # not just through cpp. "Syntax error" is here to catch this case.
16172 cat >conftest.
$ac_ext <<_ACEOF
16175 cat confdefs.h
>>conftest.
$ac_ext
16176 cat >>conftest.
$ac_ext <<_ACEOF
16177 /* end confdefs.h. */
16179 # include <limits.h>
16181 # include <assert.h>
16185 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16186 case "(($ac_try" in
16187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16188 *) ac_try_echo=$ac_try;;
16190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16191 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16193 grep -v '^ *+' conftest.er1 >conftest.err
16195 cat conftest.err >&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } >/dev/null && {
16198 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16199 test ! -s conftest.err
16203 echo "$as_me: failed program was:" >&5
16204 sed 's/^/| /' conftest.$ac_ext >&5
16206 # Broken: fails on valid input.
16210 rm -f conftest.err conftest.$ac_ext
16212 # OK, works on sane cases. Now check whether nonexistent headers
16213 # can be detected and how.
16214 cat >conftest.$ac_ext <<_ACEOF
16217 cat confdefs.h >>conftest.$ac_ext
16218 cat >>conftest.$ac_ext <<_ACEOF
16219 /* end confdefs.h. */
16220 #include <ac_nonexistent.h>
16222 if { (ac_try="$ac_cpp conftest.$ac_ext"
16223 case "(($ac_try" in
16224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16225 *) ac_try_echo
=$ac_try;;
16227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16230 grep -v '^ *+' conftest.er1
>conftest.err
16232 cat conftest.err
>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); } >/dev
/null
&& {
16235 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16236 test ! -s conftest.err
16238 # Broken: success on invalid input.
16241 echo "$as_me: failed program was:" >&5
16242 sed 's/^/| /' conftest.
$ac_ext >&5
16244 # Passes both tests.
16249 rm -f conftest.err conftest.
$ac_ext
16252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16253 rm -f conftest.err conftest.
$ac_ext
16254 if $ac_preproc_ok; then
16257 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16258 See \`config.log' for more details." >&5
16259 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16260 See \`config.log' for more details." >&2;}
16261 { (exit 1); exit 1; }; }
16265 ac_cpp
='$CPP $CPPFLAGS'
16266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16271 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16272 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16273 if test "${ac_cv_path_GREP+set}" = set; then
16274 echo $ECHO_N "(cached) $ECHO_C" >&6
16276 # Extract the first word of "grep ggrep" to use in msg output
16277 if test -z "$GREP"; then
16278 set dummy
grep ggrep
; ac_prog_name
=$2
16279 if test "${ac_cv_path_GREP+set}" = set; then
16280 echo $ECHO_N "(cached) $ECHO_C" >&6
16282 ac_path_GREP_found
=false
16283 # Loop through the user's path and test for each of PROGNAME-LIST
16284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16285 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16288 test -z "$as_dir" && as_dir
=.
16289 for ac_prog
in grep ggrep
; do
16290 for ac_exec_ext
in '' $ac_executable_extensions; do
16291 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16292 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16293 # Check for GNU ac_path_GREP and select it if it is found.
16294 # Check for GNU $ac_path_GREP
16295 case `"$ac_path_GREP" --version 2>&1` in
16297 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16300 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16303 cat "conftest.in" "conftest.in" >"conftest.tmp"
16304 mv "conftest.tmp" "conftest.in"
16305 cp "conftest.in" "conftest.nl"
16306 echo 'GREP' >> "conftest.nl"
16307 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16308 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16309 ac_count
=`expr $ac_count + 1`
16310 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16311 # Best one so far, save it but keep looking for a better one
16312 ac_cv_path_GREP
="$ac_path_GREP"
16313 ac_path_GREP_max
=$ac_count
16315 # 10*(2^10) chars as input seems more than enough
16316 test $ac_count -gt 10 && break
16318 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16322 $ac_path_GREP_found && break 3
16332 GREP
="$ac_cv_path_GREP"
16333 if test -z "$GREP"; then
16334 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16335 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16336 { (exit 1); exit 1; }; }
16340 ac_cv_path_GREP
=$GREP
16345 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16346 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16347 GREP
="$ac_cv_path_GREP"
16350 { echo "$as_me:$LINENO: checking for egrep" >&5
16351 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16352 if test "${ac_cv_path_EGREP+set}" = set; then
16353 echo $ECHO_N "(cached) $ECHO_C" >&6
16355 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16356 then ac_cv_path_EGREP
="$GREP -E"
16358 # Extract the first word of "egrep" to use in msg output
16359 if test -z "$EGREP"; then
16360 set dummy
egrep; ac_prog_name
=$2
16361 if test "${ac_cv_path_EGREP+set}" = set; then
16362 echo $ECHO_N "(cached) $ECHO_C" >&6
16364 ac_path_EGREP_found
=false
16365 # Loop through the user's path and test for each of PROGNAME-LIST
16366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16367 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16370 test -z "$as_dir" && as_dir
=.
16371 for ac_prog
in egrep; do
16372 for ac_exec_ext
in '' $ac_executable_extensions; do
16373 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16374 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16375 # Check for GNU ac_path_EGREP and select it if it is found.
16376 # Check for GNU $ac_path_EGREP
16377 case `"$ac_path_EGREP" --version 2>&1` in
16379 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16382 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16385 cat "conftest.in" "conftest.in" >"conftest.tmp"
16386 mv "conftest.tmp" "conftest.in"
16387 cp "conftest.in" "conftest.nl"
16388 echo 'EGREP' >> "conftest.nl"
16389 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16390 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16391 ac_count
=`expr $ac_count + 1`
16392 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16393 # Best one so far, save it but keep looking for a better one
16394 ac_cv_path_EGREP
="$ac_path_EGREP"
16395 ac_path_EGREP_max
=$ac_count
16397 # 10*(2^10) chars as input seems more than enough
16398 test $ac_count -gt 10 && break
16400 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16404 $ac_path_EGREP_found && break 3
16414 EGREP
="$ac_cv_path_EGREP"
16415 if test -z "$EGREP"; then
16416 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16417 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16418 { (exit 1); exit 1; }; }
16422 ac_cv_path_EGREP
=$EGREP
16428 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16429 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16430 EGREP
="$ac_cv_path_EGREP"
16433 if test $ac_cv_c_compiler_gnu = yes; then
16434 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16435 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16436 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16437 echo $ECHO_N "(cached) $ECHO_C" >&6
16439 ac_pattern
="Autoconf.*'x'"
16440 cat >conftest.
$ac_ext <<_ACEOF
16443 cat confdefs.h
>>conftest.
$ac_ext
16444 cat >>conftest.
$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16450 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16451 ac_cv_prog_gcc_traditional
=yes
16453 ac_cv_prog_gcc_traditional
=no
16458 if test $ac_cv_prog_gcc_traditional = no
; then
16459 cat >conftest.
$ac_ext <<_ACEOF
16462 cat confdefs.h
>>conftest.
$ac_ext
16463 cat >>conftest.
$ac_ext <<_ACEOF
16464 /* end confdefs.h. */
16465 #include <termio.h>
16468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16469 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16470 ac_cv_prog_gcc_traditional
=yes
16476 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16477 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16478 if test $ac_cv_prog_gcc_traditional = yes; then
16479 CC
="$CC -traditional"
16484 CXXFLAGS
=${CXXFLAGS:=}
16489 ac_cpp
='$CXXCPP $CPPFLAGS'
16490 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16491 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16492 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16493 if test -z "$CXX"; then
16494 if test -n "$CCC"; then
16497 if test -n "$ac_tool_prefix"; then
16498 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16501 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16504 if test "${ac_cv_prog_CXX+set}" = set; then
16505 echo $ECHO_N "(cached) $ECHO_C" >&6
16507 if test -n "$CXX"; then
16508 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16511 for as_dir
in $PATH
16514 test -z "$as_dir" && as_dir
=.
16515 for ac_exec_ext
in '' $ac_executable_extensions; do
16516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16517 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16527 CXX
=$ac_cv_prog_CXX
16528 if test -n "$CXX"; then
16529 { echo "$as_me:$LINENO: result: $CXX" >&5
16530 echo "${ECHO_T}$CXX" >&6; }
16532 { echo "$as_me:$LINENO: result: no" >&5
16533 echo "${ECHO_T}no" >&6; }
16537 test -n "$CXX" && break
16540 if test -z "$CXX"; then
16542 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16544 # Extract the first word of "$ac_prog", so it can be a program name with args.
16545 set dummy
$ac_prog; ac_word
=$2
16546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16548 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16549 echo $ECHO_N "(cached) $ECHO_C" >&6
16551 if test -n "$ac_ct_CXX"; then
16552 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16555 for as_dir
in $PATH
16558 test -z "$as_dir" && as_dir
=.
16559 for ac_exec_ext
in '' $ac_executable_extensions; do
16560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16561 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16571 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16572 if test -n "$ac_ct_CXX"; then
16573 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16574 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16576 { echo "$as_me:$LINENO: result: no" >&5
16577 echo "${ECHO_T}no" >&6; }
16581 test -n "$ac_ct_CXX" && break
16584 if test "x$ac_ct_CXX" = x
; then
16587 case $cross_compiling:$ac_tool_warned in
16589 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16590 whose name does not start with the host triplet. If you think this
16591 configuration is useful to you, please write to autoconf@gnu.org." >&5
16592 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16593 whose name does not start with the host triplet. If you think this
16594 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16595 ac_tool_warned
=yes ;;
16603 # Provide some information about the compiler.
16604 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16605 ac_compiler
=`set X $ac_compile; echo $2`
16606 { (ac_try
="$ac_compiler --version >&5"
16607 case "(($ac_try" in
16608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16609 *) ac_try_echo=$ac_try;;
16611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16612 (eval "$ac_compiler --version >&5") 2>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }
16616 { (ac_try="$ac_compiler -v >&5"
16617 case "(($ac_try" in
16618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16619 *) ac_try_echo
=$ac_try;;
16621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16622 (eval "$ac_compiler -v >&5") 2>&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }
16626 { (ac_try
="$ac_compiler -V >&5"
16627 case "(($ac_try" in
16628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16629 *) ac_try_echo=$ac_try;;
16631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16632 (eval "$ac_compiler -V >&5") 2>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }
16637 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16638 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16639 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16642 cat >conftest.$ac_ext <<_ACEOF
16645 cat confdefs.h >>conftest.$ac_ext
16646 cat >>conftest.$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16660 rm -f conftest.$ac_objext
16661 if { (ac_try="$ac_compile"
16662 case "(($ac_try" in
16663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16664 *) ac_try_echo
=$ac_try;;
16666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16667 (eval "$ac_compile") 2>conftest.er1
16669 grep -v '^ *+' conftest.er1
>conftest.err
16671 cat conftest.err
>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); } && {
16674 test -z "$ac_cxx_werror_flag" ||
16675 test ! -s conftest.err
16676 } && test -s conftest.
$ac_objext; then
16677 ac_compiler_gnu
=yes
16679 echo "$as_me: failed program was:" >&5
16680 sed 's/^/| /' conftest.
$ac_ext >&5
16685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16686 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16689 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16690 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16691 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16692 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16693 ac_save_CXXFLAGS
=$CXXFLAGS
16694 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16695 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16696 if test "${ac_cv_prog_cxx_g+set}" = set; then
16697 echo $ECHO_N "(cached) $ECHO_C" >&6
16699 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16700 ac_cxx_werror_flag
=yes
16701 ac_cv_prog_cxx_g
=no
16703 cat >conftest.
$ac_ext <<_ACEOF
16706 cat confdefs.h
>>conftest.
$ac_ext
16707 cat >>conftest.
$ac_ext <<_ACEOF
16708 /* end confdefs.h. */
16718 rm -f conftest.
$ac_objext
16719 if { (ac_try
="$ac_compile"
16720 case "(($ac_try" in
16721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16722 *) ac_try_echo=$ac_try;;
16724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16725 (eval "$ac_compile") 2>conftest.er1
16727 grep -v '^ *+' conftest.er1 >conftest.err
16729 cat conftest.err >&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); } && {
16732 test -z "$ac_cxx_werror_flag" ||
16733 test ! -s conftest.err
16734 } && test -s conftest.$ac_objext; then
16735 ac_cv_prog_cxx_g=yes
16737 echo "$as_me: failed program was:" >&5
16738 sed 's/^/| /' conftest.$ac_ext >&5
16741 cat >conftest.$ac_ext <<_ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16756 rm -f conftest.$ac_objext
16757 if { (ac_try="$ac_compile"
16758 case "(($ac_try" in
16759 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16760 *) ac_try_echo
=$ac_try;;
16762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16763 (eval "$ac_compile") 2>conftest.er1
16765 grep -v '^ *+' conftest.er1
>conftest.err
16767 cat conftest.err
>&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); } && {
16770 test -z "$ac_cxx_werror_flag" ||
16771 test ! -s conftest.err
16772 } && test -s conftest.
$ac_objext; then
16775 echo "$as_me: failed program was:" >&5
16776 sed 's/^/| /' conftest.
$ac_ext >&5
16778 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16780 cat >conftest.
$ac_ext <<_ACEOF
16783 cat confdefs.h
>>conftest.
$ac_ext
16784 cat >>conftest.
$ac_ext <<_ACEOF
16785 /* end confdefs.h. */
16795 rm -f conftest.
$ac_objext
16796 if { (ac_try
="$ac_compile"
16797 case "(($ac_try" in
16798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16799 *) ac_try_echo=$ac_try;;
16801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16802 (eval "$ac_compile") 2>conftest.er1
16804 grep -v '^ *+' conftest.er1 >conftest.err
16806 cat conftest.err >&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } && {
16809 test -z "$ac_cxx_werror_flag" ||
16810 test ! -s conftest.err
16811 } && test -s conftest.$ac_objext; then
16812 ac_cv_prog_cxx_g=yes
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.$ac_ext >&5
16820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16827 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16829 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16830 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16831 if test "$ac_test_CXXFLAGS" = set; then
16832 CXXFLAGS=$ac_save_CXXFLAGS
16833 elif test $ac_cv_prog_cxx_g = yes; then
16834 if test "$GXX" = yes; then
16840 if test "$GXX" = yes; then
16847 ac_cpp='$CPP $CPPFLAGS'
16848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16856 ac_cpp='$CXXCPP $CPPFLAGS'
16857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16861 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16862 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16863 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16864 echo $ECHO_N "(cached) $ECHO_C" >&6
16866 cat >conftest.$ac_ext <<_ACEOF
16869 cat confdefs.h >>conftest.$ac_ext
16870 cat >>conftest.$ac_ext <<_ACEOF
16871 /* end confdefs.h. */
16877 #ifndef __INTEL_COMPILER
16885 rm -f conftest.$ac_objext
16886 if { (ac_try="$ac_compile"
16887 case "(($ac_try" in
16888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16889 *) ac_try_echo
=$ac_try;;
16891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16892 (eval "$ac_compile") 2>conftest.er1
16894 grep -v '^ *+' conftest.er1
>conftest.err
16896 cat conftest.err
>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); } && {
16899 test -z "$ac_cxx_werror_flag" ||
16900 test ! -s conftest.err
16901 } && test -s conftest.
$ac_objext; then
16902 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16904 echo "$as_me: failed program was:" >&5
16905 sed 's/^/| /' conftest.
$ac_ext >&5
16907 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16915 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16916 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16917 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16923 ac_cpp
='$CPP $CPPFLAGS'
16924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16931 if test "$INTELCXX" = "yes"; then
16935 ac_cpp
='$CXXCPP $CPPFLAGS'
16936 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16937 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16938 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16940 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16941 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16942 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16943 echo $ECHO_N "(cached) $ECHO_C" >&6
16945 cat >conftest.
$ac_ext <<_ACEOF
16948 cat confdefs.h
>>conftest.
$ac_ext
16949 cat >>conftest.
$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16956 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16964 rm -f conftest.
$ac_objext
16965 if { (ac_try
="$ac_compile"
16966 case "(($ac_try" in
16967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16968 *) ac_try_echo=$ac_try;;
16970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16971 (eval "$ac_compile") 2>conftest.er1
16973 grep -v '^ *+' conftest.er1 >conftest.err
16975 cat conftest.err >&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); } && {
16978 test -z "$ac_cxx_werror_flag" ||
16979 test ! -s conftest.err
16980 } && test -s conftest.$ac_objext; then
16981 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16983 echo "$as_me: failed program was:" >&5
16984 sed 's/^/| /' conftest.$ac_ext >&5
16986 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16994 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
16995 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
16996 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17002 ac_cpp='$CPP $CPPFLAGS'
17003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17012 ac_cpp='$CXXCPP $CPPFLAGS'
17013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17017 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17018 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17019 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17020 echo $ECHO_N "(cached) $ECHO_C" >&6
17022 cat >conftest.$ac_ext <<_ACEOF
17025 cat confdefs.h >>conftest.$ac_ext
17026 cat >>conftest.$ac_ext <<_ACEOF
17027 /* end confdefs.h. */
17033 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17041 rm -f conftest.$ac_objext
17042 if { (ac_try="$ac_compile"
17043 case "(($ac_try" in
17044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17045 *) ac_try_echo
=$ac_try;;
17047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17048 (eval "$ac_compile") 2>conftest.er1
17050 grep -v '^ *+' conftest.er1
>conftest.err
17052 cat conftest.err
>&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } && {
17055 test -z "$ac_cxx_werror_flag" ||
17056 test ! -s conftest.err
17057 } && test -s conftest.
$ac_objext; then
17058 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.
$ac_ext >&5
17063 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17071 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17072 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17073 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17079 ac_cpp
='$CPP $CPPFLAGS'
17080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17088 if test "x$GCXX" != "xyes"; then
17089 if test "xCXX" = "xC"; then
17090 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17091 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17092 if test "${bakefile_cv_c_exto+set}" = set; then
17093 echo $ECHO_N "(cached) $ECHO_C" >&6
17095 cat >conftest.
$ac_ext <<_ACEOF
17098 cat confdefs.h
>>conftest.
$ac_ext
17099 cat >>conftest.
$ac_ext <<_ACEOF
17100 /* end confdefs.h. */
17110 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17112 (eval $ac_compile) 2>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }; then
17116 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17118 conftest.
$ac_ext.o
)
17119 bakefile_cv_c_exto
="-ext o"
17126 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17127 See \`config.log' for more details." >&5
17128 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17129 See \`config.log' for more details." >&2;}
17130 { (exit 1); exit 1; }; }
17134 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17137 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17138 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17139 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17140 if test "c" = "c"; then
17141 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17143 if test "c" = "cxx"; then
17144 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17148 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17149 unset ac_cv_prog_cc_g
17150 ac_test_CFLAGS
=${CFLAGS+set}
17151 ac_save_CFLAGS
=$CFLAGS
17152 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17153 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17154 if test "${ac_cv_prog_cc_g+set}" = set; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17157 ac_save_c_werror_flag
=$ac_c_werror_flag
17158 ac_c_werror_flag
=yes
17161 cat >conftest.
$ac_ext <<_ACEOF
17164 cat confdefs.h
>>conftest.
$ac_ext
17165 cat >>conftest.
$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17176 rm -f conftest.
$ac_objext
17177 if { (ac_try
="$ac_compile"
17178 case "(($ac_try" in
17179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17180 *) ac_try_echo=$ac_try;;
17182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17183 (eval "$ac_compile") 2>conftest.er1
17185 grep -v '^ *+' conftest.er1 >conftest.err
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } && {
17190 test -z "$ac_c_werror_flag" ||
17191 test ! -s conftest.err
17192 } && test -s conftest.$ac_objext; then
17193 ac_cv_prog_cc_g=yes
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.$ac_ext >&5
17199 cat >conftest.$ac_ext <<_ACEOF
17202 cat confdefs.h >>conftest.$ac_ext
17203 cat >>conftest.$ac_ext <<_ACEOF
17204 /* end confdefs.h. */
17214 rm -f conftest.$ac_objext
17215 if { (ac_try="$ac_compile"
17216 case "(($ac_try" in
17217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17218 *) ac_try_echo
=$ac_try;;
17220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17221 (eval "$ac_compile") 2>conftest.er1
17223 grep -v '^ *+' conftest.er1
>conftest.err
17225 cat conftest.err
>&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); } && {
17228 test -z "$ac_c_werror_flag" ||
17229 test ! -s conftest.err
17230 } && test -s conftest.
$ac_objext; then
17233 echo "$as_me: failed program was:" >&5
17234 sed 's/^/| /' conftest.
$ac_ext >&5
17236 ac_c_werror_flag
=$ac_save_c_werror_flag
17238 cat >conftest.
$ac_ext <<_ACEOF
17241 cat confdefs.h
>>conftest.
$ac_ext
17242 cat >>conftest.
$ac_ext <<_ACEOF
17243 /* end confdefs.h. */
17253 rm -f conftest.
$ac_objext
17254 if { (ac_try
="$ac_compile"
17255 case "(($ac_try" in
17256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17257 *) ac_try_echo=$ac_try;;
17259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17260 (eval "$ac_compile") 2>conftest.er1
17262 grep -v '^ *+' conftest.er1 >conftest.err
17264 cat conftest.err >&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); } && {
17267 test -z "$ac_c_werror_flag" ||
17268 test ! -s conftest.err
17269 } && test -s conftest.$ac_objext; then
17270 ac_cv_prog_cc_g=yes
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.$ac_ext >&5
17278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17285 ac_c_werror_flag=$ac_save_c_werror_flag
17287 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17288 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17289 if test "$ac_test_CFLAGS" = set; then
17290 CFLAGS=$ac_save_CFLAGS
17291 elif test $ac_cv_prog_cc_g = yes; then
17292 if test "$GCC" = yes; then
17298 if test "$GCC" = yes; then
17312 ac_cpp='$CXXCPP $CPPFLAGS'
17313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17317 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17318 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17319 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17320 echo $ECHO_N "(cached) $ECHO_C" >&6
17322 cat >conftest.$ac_ext <<_ACEOF
17325 cat confdefs.h >>conftest.$ac_ext
17326 cat >>conftest.$ac_ext <<_ACEOF
17327 /* end confdefs.h. */
17341 rm -f conftest.$ac_objext
17342 if { (ac_try="$ac_compile"
17343 case "(($ac_try" in
17344 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17345 *) ac_try_echo
=$ac_try;;
17347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17348 (eval "$ac_compile") 2>conftest.er1
17350 grep -v '^ *+' conftest.er1
>conftest.err
17352 cat conftest.err
>&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } && {
17355 test -z "$ac_cxx_werror_flag" ||
17356 test ! -s conftest.err
17357 } && test -s conftest.
$ac_objext; then
17358 bakefile_cv_cxx_compiler___xlC__
=yes
17360 echo "$as_me: failed program was:" >&5
17361 sed 's/^/| /' conftest.
$ac_ext >&5
17363 bakefile_cv_cxx_compiler___xlC__
=no
17367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17371 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17372 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17373 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17379 ac_cpp
='$CPP $CPPFLAGS'
17380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17392 ac_cpp
='$CXXCPP $CPPFLAGS'
17393 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17394 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17395 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17397 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17398 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17399 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17400 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 cat >conftest.
$ac_ext <<_ACEOF
17405 cat confdefs.h
>>conftest.
$ac_ext
17406 cat >>conftest.
$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17421 rm -f conftest.
$ac_objext
17422 if { (ac_try
="$ac_compile"
17423 case "(($ac_try" in
17424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17425 *) ac_try_echo=$ac_try;;
17427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17428 (eval "$ac_compile") 2>conftest.er1
17430 grep -v '^ *+' conftest.er1 >conftest.err
17432 cat conftest.err >&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } && {
17435 test -z "$ac_cxx_werror_flag" ||
17436 test ! -s conftest.err
17437 } && test -s conftest.$ac_objext; then
17438 bakefile_cv_cxx_compiler___MWERKS__=yes
17440 echo "$as_me: failed program was:" >&5
17441 sed 's/^/| /' conftest.$ac_ext >&5
17443 bakefile_cv_cxx_compiler___MWERKS__=no
17447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17451 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17452 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17453 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17459 ac_cpp='$CPP $CPPFLAGS'
17460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17466 if test "$MWCXX" != "yes"; then
17470 ac_cpp='$CXXCPP $CPPFLAGS'
17471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17475 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17476 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17477 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17478 echo $ECHO_N "(cached) $ECHO_C" >&6
17480 cat >conftest.$ac_ext <<_ACEOF
17483 cat confdefs.h >>conftest.$ac_ext
17484 cat >>conftest.$ac_ext <<_ACEOF
17485 /* end confdefs.h. */
17499 rm -f conftest.$ac_objext
17500 if { (ac_try="$ac_compile"
17501 case "(($ac_try" in
17502 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17503 *) ac_try_echo
=$ac_try;;
17505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17506 (eval "$ac_compile") 2>conftest.er1
17508 grep -v '^ *+' conftest.er1
>conftest.err
17510 cat conftest.err
>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); } && {
17513 test -z "$ac_cxx_werror_flag" ||
17514 test ! -s conftest.err
17515 } && test -s conftest.
$ac_objext; then
17516 bakefile_cv_cxx_compiler___xlC__
=yes
17518 echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.
$ac_ext >&5
17521 bakefile_cv_cxx_compiler___xlC__
=no
17525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17529 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17530 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17531 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17537 ac_cpp
='$CPP $CPPFLAGS'
17538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17551 ac_cpp
='$CXXCPP $CPPFLAGS'
17552 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17553 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17554 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17556 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17557 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17558 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17559 echo $ECHO_N "(cached) $ECHO_C" >&6
17561 cat >conftest.
$ac_ext <<_ACEOF
17564 cat confdefs.h
>>conftest.
$ac_ext
17565 cat >>conftest.
$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17572 #ifndef _SGI_COMPILER_VERSION
17580 rm -f conftest.
$ac_objext
17581 if { (ac_try
="$ac_compile"
17582 case "(($ac_try" in
17583 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17584 *) ac_try_echo=$ac_try;;
17586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17587 (eval "$ac_compile") 2>conftest.er1
17589 grep -v '^ *+' conftest.er1 >conftest.err
17591 cat conftest.err >&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); } && {
17594 test -z "$ac_cxx_werror_flag" ||
17595 test ! -s conftest.err
17596 } && test -s conftest.$ac_objext; then
17597 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17599 echo "$as_me: failed program was:" >&5
17600 sed 's/^/| /' conftest.$ac_ext >&5
17602 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17611 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17612 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17618 ac_cpp='$CPP $CPPFLAGS'
17619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17628 if test "$INTELCXX" != "yes"; then
17632 ac_cpp='$CXXCPP $CPPFLAGS'
17633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17637 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17638 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17639 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17640 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 cat >conftest.$ac_ext <<_ACEOF
17645 cat confdefs.h >>conftest.$ac_ext
17646 cat >>conftest.$ac_ext <<_ACEOF
17647 /* end confdefs.h. */
17653 #ifndef __SUNPRO_CC
17661 rm -f conftest.$ac_objext
17662 if { (ac_try="$ac_compile"
17663 case "(($ac_try" in
17664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17665 *) ac_try_echo
=$ac_try;;
17667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17668 (eval "$ac_compile") 2>conftest.er1
17670 grep -v '^ *+' conftest.er1
>conftest.err
17672 cat conftest.err
>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } && {
17675 test -z "$ac_cxx_werror_flag" ||
17676 test ! -s conftest.err
17677 } && test -s conftest.
$ac_objext; then
17678 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17680 echo "$as_me: failed program was:" >&5
17681 sed 's/^/| /' conftest.
$ac_ext >&5
17683 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17691 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17692 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17693 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17699 ac_cpp
='$CPP $CPPFLAGS'
17700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17713 ac_cpp
='$CXXCPP $CPPFLAGS'
17714 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17715 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17716 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17718 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17719 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17720 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17721 echo $ECHO_N "(cached) $ECHO_C" >&6
17723 cat >conftest.
$ac_ext <<_ACEOF
17726 cat confdefs.h
>>conftest.
$ac_ext
17727 cat >>conftest.
$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17742 rm -f conftest.
$ac_objext
17743 if { (ac_try
="$ac_compile"
17744 case "(($ac_try" in
17745 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17746 *) ac_try_echo=$ac_try;;
17748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17749 (eval "$ac_compile") 2>conftest.er1
17751 grep -v '^ *+' conftest.er1 >conftest.err
17753 cat conftest.err >&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } && {
17756 test -z "$ac_cxx_werror_flag" ||
17757 test ! -s conftest.err
17758 } && test -s conftest.$ac_objext; then
17759 bakefile_cv_cxx_compiler___HP_aCC=yes
17761 echo "$as_me: failed program was:" >&5
17762 sed 's/^/| /' conftest.$ac_ext >&5
17764 bakefile_cv_cxx_compiler___HP_aCC=no
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17772 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17773 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17774 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17780 ac_cpp='$CPP $CPPFLAGS'
17781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17793 ac_cpp='$CXXCPP $CPPFLAGS'
17794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17798 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17799 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17800 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17801 echo $ECHO_N "(cached) $ECHO_C" >&6
17803 cat >conftest.$ac_ext <<_ACEOF
17806 cat confdefs.h >>conftest.$ac_ext
17807 cat >>conftest.$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17822 rm -f conftest.$ac_objext
17823 if { (ac_try="$ac_compile"
17824 case "(($ac_try" in
17825 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17826 *) ac_try_echo
=$ac_try;;
17828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17829 (eval "$ac_compile") 2>conftest.er1
17831 grep -v '^ *+' conftest.er1
>conftest.err
17833 cat conftest.err
>&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); } && {
17836 test -z "$ac_cxx_werror_flag" ||
17837 test ! -s conftest.err
17838 } && test -s conftest.
$ac_objext; then
17839 bakefile_cv_cxx_compiler___DECCXX
=yes
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.
$ac_ext >&5
17844 bakefile_cv_cxx_compiler___DECCXX
=no
17848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17852 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17853 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17854 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17860 ac_cpp
='$CPP $CPPFLAGS'
17861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17873 ac_cpp
='$CXXCPP $CPPFLAGS'
17874 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17875 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17876 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17878 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17879 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17880 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17883 cat >conftest.
$ac_ext <<_ACEOF
17886 cat confdefs.h
>>conftest.
$ac_ext
17887 cat >>conftest.
$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17894 #ifndef __SUNPRO_CC
17902 rm -f conftest.
$ac_objext
17903 if { (ac_try
="$ac_compile"
17904 case "(($ac_try" in
17905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17906 *) ac_try_echo=$ac_try;;
17908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17909 (eval "$ac_compile") 2>conftest.er1
17911 grep -v '^ *+' conftest.er1 >conftest.err
17913 cat conftest.err >&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); } && {
17916 test -z "$ac_cxx_werror_flag" ||
17917 test ! -s conftest.err
17918 } && test -s conftest.$ac_objext; then
17919 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.$ac_ext >&5
17924 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17932 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17933 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17934 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17940 ac_cpp='$CPP $CPPFLAGS'
17941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17953 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17954 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17955 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17956 { (exit 1); exit 1; }; }
17959 if test "x$SUNCXX" != xyes; then
17960 if test -n "$ac_tool_prefix"; then
17961 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17962 set dummy ${ac_tool_prefix}ar; ac_word=$2
17963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17965 if test "${ac_cv_prog_AR+set}" = set; then
17966 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 if test -n "$AR"; then
17969 ac_cv_prog_AR="$AR" # Let the user override the test.
17971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17972 for as_dir in $PATH
17975 test -z "$as_dir" && as_dir=.
17976 for ac_exec_ext in '' $ac_executable_extensions; do
17977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17978 ac_cv_prog_AR="${ac_tool_prefix}ar"
17979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17989 if test -n "$AR"; then
17990 { echo "$as_me:$LINENO: result: $AR" >&5
17991 echo "${ECHO_T}$AR" >&6; }
17993 { echo "$as_me:$LINENO: result: no" >&5
17994 echo "${ECHO_T}no" >&6; }
17999 if test -z "$ac_cv_prog_AR"; then
18001 # Extract the first word of "ar", so it can be a program name with args.
18002 set dummy ar; ac_word=$2
18003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18005 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18006 echo $ECHO_N "(cached) $ECHO_C" >&6
18008 if test -n "$ac_ct_AR"; then
18009 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18012 for as_dir in $PATH
18015 test -z "$as_dir" && as_dir=.
18016 for ac_exec_ext in '' $ac_executable_extensions; do
18017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18018 ac_cv_prog_ac_ct_AR="ar"
18019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18028 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18029 if test -n "$ac_ct_AR"; then
18030 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18031 echo "${ECHO_T}$ac_ct_AR" >&6; }
18033 { echo "$as_me:$LINENO: result: no" >&5
18034 echo "${ECHO_T}no" >&6; }
18037 if test "x$ac_ct_AR" = x; then
18040 case $cross_compiling:$ac_tool_warned in
18042 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18043 whose name does not start with the host triplet. If you think this
18044 configuration is useful to you, please write to autoconf@gnu.org." >&5
18045 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18046 whose name does not start with the host triplet. If you think this
18047 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18048 ac_tool_warned=yes ;;
18053 AR="$ac_cv_prog_AR"
18056 if test "x$AR" = "x" ; then
18057 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18058 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18059 { (exit 1); exit 1; }; }
18063 retest_macosx_linking=no
18065 #if test "$wxUSE_MAC" = 1; then
18066 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18067 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18068 # Implicitly turn on the new --with-macosx-sdk using the default
18069 # SDK which provides the behavior this option has always had.
18070 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18071 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18072 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18073 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18074 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18075 wxUSE_MACOSX_SDK=yes
18078 # Complain to user if he specified an argument to --enable-universal_binary
18079 # and also 1) specified --with-macosx-sdk using the default (yes) or
18080 # 2) specified --with-macosx-sdk using a path or 3) specified
18081 # --without-macosx-sdk (no).
18082 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18083 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18084 See \`config.log
' for more details." >&5
18085 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18086 See \`config.log' for more details.
" >&2;}
18087 { (exit 1); exit 1; }; }
18089 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18090 # special-case the empty string because the below test simply
18091 # converts "no
" to the empty string anyway.
18092 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18093 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18094 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18097 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18098 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18099 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18100 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18101 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18102 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18103 retest_macosx_linking=yes
18105 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18106 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18111 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18113 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18114 # TODO: Search for most recent SDK and use it.
18115 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18119 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18120 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18121 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18122 if ! test -d "$wxUSE_MACOSX_SDK"; then
18123 { { echo "$as_me:$LINENO: error
: not found
18124 See \
`config.log' for more details." >&5
18125 echo "$as_me: error: not found
18126 See \`config.log
' for more details." >&2;}
18127 { (exit 1); exit 1; }; }
18129 { echo "$as_me:$LINENO: result: exists" >&5
18130 echo "${ECHO_T}exists" >&6; }
18132 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18133 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18134 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18135 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18136 retest_macosx_linking=yes
18139 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18140 wxUSE_MACOSX_VERSION_MIN=
18141 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18142 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18143 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18144 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18146 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/'`
18148 # If that failed, try again with the new key
18149 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18151 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/'`
18155 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18156 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18157 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18158 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18160 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18161 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18162 wxUSE_MACOSX_VERSION_MIN=
18165 wxUSE_MACOSX_VERSION_MIN=
18167 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18168 if test "$wxUSE_MAC" = 1; then
18169 # otherwise configure stops on leopard for universal_binary
18170 wxUSE_MACOSX_VERSION_MIN=10.4
18174 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18175 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18176 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18177 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18178 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18179 retest_macosx_linking=yes
18182 if test "x$retest_macosx_linking" = "xyes"; then
18184 ac_cpp='$CPP $CPPFLAGS'
18185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18186 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18189 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18190 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18191 cat >conftest.$ac_ext <<_ACEOF
18194 cat confdefs.h >>conftest.$ac_ext
18195 cat >>conftest.$ac_ext <<_ACEOF
18196 /* end confdefs.h. */
18206 rm -f conftest.$ac_objext conftest$ac_exeext
18207 if { (ac_try="$ac_link"
18208 case "(($ac_try" in
18209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18210 *) ac_try_echo=$ac_try;;
18212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18213 (eval "$ac_link") 2>conftest.er1
18215 grep -v '^
*+' conftest.er1 >conftest.err
18217 cat conftest.err >&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } && {
18220 test -z "$ac_c_werror_flag" ||
18221 test ! -s conftest.err
18222 } && test -s conftest$ac_exeext &&
18223 $as_test_x conftest$ac_exeext; then
18224 { echo "$as_me:$LINENO: result: yes" >&5
18225 echo "${ECHO_T}yes" >&6; }
18227 echo "$as_me: failed program was:" >&5
18228 sed 's
/^
/| /' conftest.$ac_ext >&5
18230 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18231 See \`config.log' for more details.
" >&5
18232 echo "$as_me: error
: no. Try a different SDK
18233 See \
`config.log' for more details." >&2;}
18234 { (exit 1); exit 1; }; }; exit 1
18237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18238 conftest$ac_exeext conftest.$ac_ext
18240 ac_cpp='$CPP $CPPFLAGS'
18241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18247 ac_cpp='$CXXCPP $CPPFLAGS'
18248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18252 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18253 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18254 cat >conftest.$ac_ext <<_ACEOF
18257 cat confdefs.h >>conftest.$ac_ext
18258 cat >>conftest.$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18269 rm -f conftest.$ac_objext conftest$ac_exeext
18270 if { (ac_try="$ac_link"
18271 case "(($ac_try" in
18272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18273 *) ac_try_echo
=$ac_try;;
18275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18276 (eval "$ac_link") 2>conftest.er1
18278 grep -v '^ *+' conftest.er1
>conftest.err
18280 cat conftest.err
>&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); } && {
18283 test -z "$ac_cxx_werror_flag" ||
18284 test ! -s conftest.err
18285 } && test -s conftest
$ac_exeext &&
18286 $as_test_x conftest
$ac_exeext; then
18287 { echo "$as_me:$LINENO: result: yes" >&5
18288 echo "${ECHO_T}yes" >&6; }
18290 echo "$as_me: failed program was:" >&5
18291 sed 's/^/| /' conftest.
$ac_ext >&5
18293 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18294 See \`config.log' for more details." >&5
18295 echo "$as_me: error: no. Try a different SDK
18296 See \`config.log' for more details." >&2;}
18297 { (exit 1); exit 1; }; }; exit 1
18300 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18301 conftest
$ac_exeext conftest.
$ac_ext
18303 ac_cpp
='$CPP $CPPFLAGS'
18304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18314 INSTALL_PROGRAM
="cp -fp"
18315 INSTALL_DATA
="cp -fp"
18322 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18323 CXXFLAGS
="-qunique $CXXFLAGS"
18327 powerpc
-*-darwin* )
18328 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18329 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18330 cat >conftest.
$ac_ext <<_ACEOF
18333 cat confdefs.h
>>conftest.
$ac_ext
18334 cat >>conftest.
$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18340 #ifndef __POWERPC__
18341 choke me for lack of PowerPC
18348 rm -f conftest.
$ac_objext
18349 if { (ac_try
="$ac_compile"
18350 case "(($ac_try" in
18351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18352 *) ac_try_echo=$ac_try;;
18354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18355 (eval "$ac_compile") 2>conftest.er1
18357 grep -v '^ *+' conftest.er1 >conftest.err
18359 cat conftest.err >&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } && {
18362 test -z "$ac_c_werror_flag" ||
18363 test ! -s conftest.err
18364 } && test -s conftest.$ac_objext; then
18365 { echo "$as_me:$LINENO: result: yes" >&5
18366 echo "${ECHO_T}yes" >&6; }
18368 echo "$as_me: failed program was:" >&5
18369 sed 's/^/| /' conftest.$ac_ext >&5
18371 { echo "$as_me:$LINENO: result: no" >&5
18372 echo "${ECHO_T}no" >&6; }
18373 cat >>confdefs.h <<\_ACEOF
18374 #define __POWERPC__ 1
18380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18386 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18387 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18388 cat >conftest.$ac_ext <<_ACEOF
18391 cat confdefs.h >>conftest.$ac_ext
18392 cat >>conftest.$ac_ext <<_ACEOF
18393 /* end confdefs.h. */
18394 #include <CoreFoundation/CFBase.h>
18404 rm -f conftest.$ac_objext
18405 if { (ac_try="$ac_compile"
18406 case "(($ac_try" in
18407 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18408 *) ac_try_echo
=$ac_try;;
18410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18411 (eval "$ac_compile") 2>conftest.er1
18413 grep -v '^ *+' conftest.er1
>conftest.err
18415 cat conftest.err
>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); } && {
18418 test -z "$ac_c_werror_flag" ||
18419 test ! -s conftest.err
18420 } && test -s conftest.
$ac_objext; then
18421 { echo "$as_me:$LINENO: result: yes" >&5
18422 echo "${ECHO_T}yes" >&6; }
18424 echo "$as_me: failed program was:" >&5
18425 sed 's/^/| /' conftest.
$ac_ext >&5
18427 { echo "$as_me:$LINENO: result: no" >&5
18428 echo "${ECHO_T}no" >&6; }
18429 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18430 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18431 cat >conftest.
$ac_ext <<_ACEOF
18434 cat confdefs.h
>>conftest.
$ac_ext
18435 cat >>conftest.
$ac_ext <<_ACEOF
18436 /* end confdefs.h. */
18437 #define __CF_USE_FRAMEWORK_INCLUDES__
18438 #include <CoreFoundation/CFBase.h>
18448 rm -f conftest.
$ac_objext
18449 if { (ac_try
="$ac_compile"
18450 case "(($ac_try" in
18451 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18452 *) ac_try_echo=$ac_try;;
18454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18455 (eval "$ac_compile") 2>conftest.er1
18457 grep -v '^ *+' conftest.er1 >conftest.err
18459 cat conftest.err >&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } && {
18462 test -z "$ac_c_werror_flag" ||
18463 test ! -s conftest.err
18464 } && test -s conftest.$ac_objext; then
18465 { echo "$as_me:$LINENO: result: yes" >&5
18466 echo "${ECHO_T}yes" >&6; }
18467 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18469 echo "$as_me: failed program was:" >&5
18470 sed 's/^/| /' conftest.$ac_ext >&5
18472 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18473 See \`config.log
' for more details." >&5
18474 echo "$as_me: error: no. CoreFoundation not available.
18475 See \`config.log' for more details.
" >&2;}
18476 { (exit 1); exit 1; }; }
18480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18490 doesnt_want_win32=0
18493 if test "$wxUSE_MSW" = 1 ; then
18496 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18497 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18498 if test "${wx_cv_nocygwin+set}" = set; then
18499 echo $ECHO_N "(cached
) $ECHO_C" >&6
18502 cat >conftest.$ac_ext <<_ACEOF
18505 cat confdefs.h >>conftest.$ac_ext
18506 cat >>conftest.$ac_ext <<_ACEOF
18507 /* end confdefs.h. */
18521 rm -f conftest.$ac_objext
18522 if { (ac_try="$ac_compile"
18523 case "(($ac_try" in
18524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18525 *) ac_try_echo=$ac_try;;
18527 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18528 (eval "$ac_compile") 2>conftest.er1
18530 grep -v '^ *+' conftest.er1 >conftest.err
18532 cat conftest.err >&5
18533 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18534 (exit $ac_status); } && {
18535 test -z "$ac_c_werror_flag" ||
18536 test ! -s conftest.err
18537 } && test -s conftest.$ac_objext; then
18540 echo "$as_me: failed program was
:" >&5
18541 sed 's/^/| /' conftest.$ac_ext >&5
18547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18551 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18552 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18554 if test "$wx_cv_nocygwin" = "yes"; then
18557 doesnt_want_win32=1
18560 if test "$wants_win32" = 1 ; then
18561 BAKEFILE_FORCE_PLATFORM=win32
18569 if test "$wxUSE_WINE" = "yes"; then
18571 LDFLAGS_GUI="-mwindows"
18574 if test "$wants_win32" = 1 ; then
18577 cat >>confdefs.h <<\_ACEOF
18578 #define __WIN32__ 1
18581 cat >>confdefs.h <<\_ACEOF
18582 #define __WIN95__ 1
18585 cat >>confdefs.h <<\_ACEOF
18586 #define __WINDOWS__ 1
18589 cat >>confdefs.h <<\_ACEOF
18590 #define __GNUWIN32__ 1
18593 cat >>confdefs.h <<\_ACEOF
18598 if test "$doesnt_want_win32" = 1 ; then
18603 if test "$USE_UNIX" = 1 ; then
18605 cat >>confdefs.h <<\_ACEOF
18612 *-pc-os2_emx | *-pc-os2-emx )
18613 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18614 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18615 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18616 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18617 echo $ECHO_N "(cached
) $ECHO_C" >&6
18619 ac_check_lib_save_LIBS=$LIBS
18620 LIBS="-lcExt $LIBS"
18621 cat >conftest.$ac_ext <<_ACEOF
18624 cat confdefs.h >>conftest.$ac_ext
18625 cat >>conftest.$ac_ext <<_ACEOF
18626 /* end confdefs.h. */
18628 /* Override any GCC internal prototype to avoid an error.
18629 Use char because int might match the return type of a GCC
18630 builtin and then its argument prototype would still apply. */
18643 rm -f conftest.$ac_objext conftest$ac_exeext
18644 if { (ac_try="$ac_link"
18645 case "(($ac_try" in
18646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18647 *) ac_try_echo=$ac_try;;
18649 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18650 (eval "$ac_link") 2>conftest.er1
18652 grep -v '^ *+' conftest.er1 >conftest.err
18654 cat conftest.err >&5
18655 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18656 (exit $ac_status); } && {
18657 test -z "$ac_c_werror_flag" ||
18658 test ! -s conftest.err
18659 } && test -s conftest$ac_exeext &&
18660 $as_test_x conftest$ac_exeext; then
18661 ac_cv_lib_cExt_drand48=yes
18663 echo "$as_me: failed program was
:" >&5
18664 sed 's/^/| /' conftest.$ac_ext >&5
18666 ac_cv_lib_cExt_drand48=no
18669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18670 conftest$ac_exeext conftest.$ac_ext
18671 LIBS=$ac_check_lib_save_LIBS
18673 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18674 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18675 if test $ac_cv_lib_cExt_drand48 = yes; then
18676 LIBS="$LIBS -lcExt"
18680 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18682 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18683 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18684 if test "${wx_cv_gccversion+set}" = set; then
18685 echo $ECHO_N "(cached
) $ECHO_C" >&6
18688 if test "$cross_compiling" = yes; then
18689 wx_cv_gccversion="EMX2
"
18692 cat >conftest.$ac_ext <<_ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18703 FILE *f=fopen("conftestval
", "w
");
18708 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18710 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18720 rm -f conftest$ac_exeext
18721 if { (ac_try="$ac_link"
18722 case "(($ac_try" in
18723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18724 *) ac_try_echo=$ac_try;;
18726 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18727 (eval "$ac_link") 2>&5
18729 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18731 { (case "(($ac_try" in
18732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18733 *) ac_try_echo=$ac_try;;
18735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18736 (eval "$ac_try") 2>&5
18738 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18739 (exit $ac_status); }; }; then
18740 wx_cv_gccversion=`cat conftestval`
18742 echo "$as_me: program exited with status
$ac_status" >&5
18743 echo "$as_me: failed program was
:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18746 ( exit $ac_status )
18747 wx_cv_gccversion="EMX2
"
18749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18755 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18756 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18757 if test "$wx_cv_gccversion" = "EMX2
"; then
18758 LIBS="$LIBS -lstdcpp"
18759 LDFLAGS="$LDFLAGS -Zsysv-signals"
18761 if test "$wx_cv_gccversion" = "EMX3
"; then
18762 LIBS="$LIBS -lstdcxx -lgcc"
18763 LDFLAGS="$LDFLAGS -Zsysv-signals"
18765 LIBS="$LIBS -lstdc++"
18768 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18769 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18770 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18777 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18778 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18779 if test "${ac_cv_string_strcasecmp+set}" = set; then
18780 echo $ECHO_N "(cached
) $ECHO_C" >&6
18783 cat >conftest.$ac_ext <<_ACEOF
18786 cat confdefs.h >>conftest.$ac_ext
18787 cat >>conftest.$ac_ext <<_ACEOF
18788 /* end confdefs.h. */
18790 #include <string.h>
18796 strcasecmp("foo
", "bar
");
18802 rm -f conftest.$ac_objext conftest$ac_exeext
18803 if { (ac_try="$ac_link"
18804 case "(($ac_try" in
18805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18806 *) ac_try_echo=$ac_try;;
18808 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18809 (eval "$ac_link") 2>conftest.er1
18811 grep -v '^ *+' conftest.er1 >conftest.err
18813 cat conftest.err >&5
18814 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18815 (exit $ac_status); } && {
18816 test -z "$ac_c_werror_flag" ||
18817 test ! -s conftest.err
18818 } && test -s conftest$ac_exeext &&
18819 $as_test_x conftest$ac_exeext; then
18820 ac_cv_string_strcasecmp=yes
18822 echo "$as_me: failed program was
:" >&5
18823 sed 's/^/| /' conftest.$ac_ext >&5
18825 ac_cv_string_strcasecmp=no
18829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18830 conftest$ac_exeext conftest.$ac_ext
18833 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18834 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18836 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18837 cat >>confdefs.h <<\_ACEOF
18838 #define HAVE_STRCASECMP_IN_STRING_H 1
18842 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18843 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18844 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18845 echo $ECHO_N "(cached
) $ECHO_C" >&6
18848 cat >conftest.$ac_ext <<_ACEOF
18851 cat confdefs.h >>conftest.$ac_ext
18852 cat >>conftest.$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18855 #include <strings.h>
18861 strcasecmp("foo
", "bar
");
18867 rm -f conftest.$ac_objext conftest$ac_exeext
18868 if { (ac_try="$ac_link"
18869 case "(($ac_try" in
18870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18871 *) ac_try_echo=$ac_try;;
18873 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18874 (eval "$ac_link") 2>conftest.er1
18876 grep -v '^ *+' conftest.er1 >conftest.err
18878 cat conftest.err >&5
18879 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18880 (exit $ac_status); } && {
18881 test -z "$ac_c_werror_flag" ||
18882 test ! -s conftest.err
18883 } && test -s conftest$ac_exeext &&
18884 $as_test_x conftest$ac_exeext; then
18885 ac_cv_strings_strcasecmp=yes
18887 echo "$as_me: failed program was
:" >&5
18888 sed 's/^/| /' conftest.$ac_ext >&5
18890 ac_cv_strings_strcasecmp=no
18894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18895 conftest$ac_exeext conftest.$ac_ext
18898 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18899 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18901 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18902 cat >>confdefs.h <<\_ACEOF
18903 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18907 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18908 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18909 { (exit 1); exit 1; }; }
18917 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18918 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18919 if test "${ac_cv_header_stdc+set}" = set; then
18920 echo $ECHO_N "(cached
) $ECHO_C" >&6
18922 cat >conftest.$ac_ext <<_ACEOF
18925 cat confdefs.h >>conftest.$ac_ext
18926 cat >>conftest.$ac_ext <<_ACEOF
18927 /* end confdefs.h. */
18928 #include <stdlib.h>
18929 #include <stdarg.h>
18930 #include <string.h>
18941 rm -f conftest.$ac_objext
18942 if { (ac_try="$ac_compile"
18943 case "(($ac_try" in
18944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18945 *) ac_try_echo=$ac_try;;
18947 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18948 (eval "$ac_compile") 2>conftest.er1
18950 grep -v '^ *+' conftest.er1 >conftest.err
18952 cat conftest.err >&5
18953 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18954 (exit $ac_status); } && {
18955 test -z "$ac_c_werror_flag" ||
18956 test ! -s conftest.err
18957 } && test -s conftest.$ac_objext; then
18958 ac_cv_header_stdc=yes
18960 echo "$as_me: failed program was
:" >&5
18961 sed 's/^/| /' conftest.$ac_ext >&5
18963 ac_cv_header_stdc=no
18966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968 if test $ac_cv_header_stdc = yes; then
18969 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18970 cat >conftest.$ac_ext <<_ACEOF
18973 cat confdefs.h >>conftest.$ac_ext
18974 cat >>conftest.$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 #include <string.h>
18979 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18980 $EGREP "memchr
" >/dev/null 2>&1; then
18983 ac_cv_header_stdc=no
18989 if test $ac_cv_header_stdc = yes; then
18990 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18991 cat >conftest.$ac_ext <<_ACEOF
18994 cat confdefs.h >>conftest.$ac_ext
18995 cat >>conftest.$ac_ext <<_ACEOF
18996 /* end confdefs.h. */
18997 #include <stdlib.h>
19000 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19001 $EGREP "free
" >/dev/null 2>&1; then
19004 ac_cv_header_stdc=no
19010 if test $ac_cv_header_stdc = yes; then
19011 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19012 if test "$cross_compiling" = yes; then
19015 cat >conftest.$ac_ext <<_ACEOF
19018 cat confdefs.h >>conftest.$ac_ext
19019 cat >>conftest.$ac_ext <<_ACEOF
19020 /* end confdefs.h. */
19022 #include <stdlib.h>
19023 #if ((' ' & 0x0FF) == 0x020)
19024 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19025 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19027 # define ISLOWER(c) \
19028 (('a' <= (c) && (c) <= 'i') \
19029 || ('j' <= (c) && (c) <= 'r') \
19030 || ('s' <= (c) && (c) <= 'z'))
19031 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19034 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19039 for (i = 0; i < 256; i++)
19040 if (XOR (islower (i), ISLOWER (i))
19041 || toupper (i) != TOUPPER (i))
19046 rm -f conftest$ac_exeext
19047 if { (ac_try="$ac_link"
19048 case "(($ac_try" in
19049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19050 *) ac_try_echo=$ac_try;;
19052 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19053 (eval "$ac_link") 2>&5
19055 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19056 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19057 { (case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19061 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_try") 2>&5
19064 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19065 (exit $ac_status); }; }; then
19068 echo "$as_me: program exited with status
$ac_status" >&5
19069 echo "$as_me: failed program was
:" >&5
19070 sed 's/^/| /' conftest.$ac_ext >&5
19072 ( exit $ac_status )
19073 ac_cv_header_stdc=no
19075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19081 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19082 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19083 if test $ac_cv_header_stdc = yes; then
19085 cat >>confdefs.h <<\_ACEOF
19086 #define STDC_HEADERS 1
19091 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19101 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19102 inttypes.h stdint.h unistd.h
19104 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19105 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19106 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19107 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19108 echo $ECHO_N "(cached
) $ECHO_C" >&6
19110 cat >conftest.$ac_ext <<_ACEOF
19113 cat confdefs.h >>conftest.$ac_ext
19114 cat >>conftest.$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19116 $ac_includes_default
19118 #include <$ac_header>
19120 rm -f conftest.$ac_objext
19121 if { (ac_try="$ac_compile"
19122 case "(($ac_try" in
19123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19124 *) ac_try_echo=$ac_try;;
19126 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19127 (eval "$ac_compile") 2>conftest.er1
19129 grep -v '^ *+' conftest.er1 >conftest.err
19131 cat conftest.err >&5
19132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19133 (exit $ac_status); } && {
19134 test -z "$ac_c_werror_flag" ||
19135 test ! -s conftest.err
19136 } && test -s conftest.$ac_objext; then
19137 eval "$as_ac_Header=yes"
19139 echo "$as_me: failed program was
:" >&5
19140 sed 's/^/| /' conftest.$ac_ext >&5
19142 eval "$as_ac_Header=no
"
19145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19147 ac_res=`eval echo '${'$as_ac_Header'}'`
19148 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19149 echo "${ECHO_T}$ac_res" >&6; }
19150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19151 cat >>confdefs.h <<_ACEOF
19152 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19162 for ac_header in langinfo.h wchar.h
19164 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19165 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19166 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19167 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19168 echo $ECHO_N "(cached
) $ECHO_C" >&6
19170 cat >conftest.$ac_ext <<_ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 $ac_includes_default
19178 #include <$ac_header>
19180 rm -f conftest.$ac_objext
19181 if { (ac_try="$ac_compile"
19182 case "(($ac_try" in
19183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19184 *) ac_try_echo=$ac_try;;
19186 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19187 (eval "$ac_compile") 2>conftest.er1
19189 grep -v '^ *+' conftest.er1 >conftest.err
19191 cat conftest.err >&5
19192 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19193 (exit $ac_status); } && {
19194 test -z "$ac_c_werror_flag" ||
19195 test ! -s conftest.err
19196 } && test -s conftest.$ac_objext; then
19197 eval "$as_ac_Header=yes"
19199 echo "$as_me: failed program was
:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19202 eval "$as_ac_Header=no
"
19205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19207 ac_res=`eval echo '${'$as_ac_Header'}'`
19208 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19209 echo "${ECHO_T}$ac_res" >&6; }
19210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19211 cat >>confdefs.h <<_ACEOF
19212 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19220 if test "$ac_cv_header_wchar_h" != "yes"; then
19222 for ac_header in wcstr.h
19224 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19225 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19226 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19227 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19228 echo $ECHO_N "(cached
) $ECHO_C" >&6
19230 cat >conftest.$ac_ext <<_ACEOF
19233 cat confdefs.h >>conftest.$ac_ext
19234 cat >>conftest.$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 $ac_includes_default
19238 #include <$ac_header>
19240 rm -f conftest.$ac_objext
19241 if { (ac_try="$ac_compile"
19242 case "(($ac_try" in
19243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19244 *) ac_try_echo=$ac_try;;
19246 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19247 (eval "$ac_compile") 2>conftest.er1
19249 grep -v '^ *+' conftest.er1 >conftest.err
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19253 (exit $ac_status); } && {
19254 test -z "$ac_c_werror_flag" ||
19255 test ! -s conftest.err
19256 } && test -s conftest.$ac_objext; then
19257 eval "$as_ac_Header=yes"
19259 echo "$as_me: failed program was
:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19262 eval "$as_ac_Header=no
"
19265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19267 ac_res=`eval echo '${'$as_ac_Header'}'`
19268 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19269 echo "${ECHO_T}$ac_res" >&6; }
19270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19271 cat >>confdefs.h <<_ACEOF
19272 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19282 *-pc-os2_emx | *-pc-os2-emx )
19283 if test $ac_cv_header_langinfo_h = "yes" \
19284 -a \( "$wx_cv_gccversion" = "EMX2
" \
19285 -o "$wx_cv_gccversion" = "EMX3
" \
19286 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19287 LIBS="$LIBS -lintl"
19292 if test "$USE_UNIX" = 1 ; then
19294 for ac_header in sys/select.h
19296 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19297 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19298 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19299 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19300 echo $ECHO_N "(cached
) $ECHO_C" >&6
19302 cat >conftest.$ac_ext <<_ACEOF
19305 cat confdefs.h >>conftest.$ac_ext
19306 cat >>conftest.$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 $ac_includes_default
19310 #include <$ac_header>
19312 rm -f conftest.$ac_objext
19313 if { (ac_try="$ac_compile"
19314 case "(($ac_try" in
19315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19316 *) ac_try_echo=$ac_try;;
19318 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19319 (eval "$ac_compile") 2>conftest.er1
19321 grep -v '^ *+' conftest.er1 >conftest.err
19323 cat conftest.err >&5
19324 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19325 (exit $ac_status); } && {
19326 test -z "$ac_c_werror_flag" ||
19327 test ! -s conftest.err
19328 } && test -s conftest.$ac_objext; then
19329 eval "$as_ac_Header=yes"
19331 echo "$as_me: failed program was
:" >&5
19332 sed 's/^/| /' conftest.$ac_ext >&5
19334 eval "$as_ac_Header=no
"
19337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19339 ac_res=`eval echo '${'$as_ac_Header'}'`
19340 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19341 echo "${ECHO_T}$ac_res" >&6; }
19342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19343 cat >>confdefs.h <<_ACEOF
19344 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19354 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19355 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19356 if test "${ac_cv_c_const+set}" = set; then
19357 echo $ECHO_N "(cached
) $ECHO_C" >&6
19359 cat >conftest.$ac_ext <<_ACEOF
19362 cat confdefs.h >>conftest.$ac_ext
19363 cat >>conftest.$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19369 /* FIXME: Include the comments suggested by Paul. */
19370 #ifndef __cplusplus
19371 /* Ultrix mips cc rejects this. */
19372 typedef int charset[2];
19374 /* SunOS 4.1.1 cc rejects this. */
19375 char const *const *pcpcc;
19377 /* NEC SVR4.0.2 mips cc rejects this. */
19378 struct point {int x, y;};
19379 static struct point const zero = {0,0};
19380 /* AIX XL C 1.02.0.0 rejects this.
19381 It does not let you subtract one const X* pointer from another in
19382 an arm of an if-expression whose if-part is not a constant
19384 const char *g = "string
";
19385 pcpcc = &g + (g ? g-g : 0);
19386 /* HPUX 7.0 cc rejects these. */
19388 ppc = (char**) pcpcc;
19389 pcpcc = (char const *const *) ppc;
19390 { /* SCO 3.2v4 cc rejects this. */
19392 char const *s = 0 ? (char *) 0 : (char const *) 0;
19397 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19398 int x[] = {25, 17};
19399 const int *foo = &x[0];
19402 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19403 typedef const int *iptr;
19407 { /* AIX XL C 1.02.0.0 rejects this saying
19408 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19409 struct s { int j; const int *ap[3]; };
19410 struct s *b; b->j = 5;
19412 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19413 const int foo = 10;
19414 if (!foo) return 0;
19416 return !cs[0] && !zero.x;
19423 rm -f conftest.$ac_objext
19424 if { (ac_try="$ac_compile"
19425 case "(($ac_try" in
19426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19427 *) ac_try_echo=$ac_try;;
19429 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19430 (eval "$ac_compile") 2>conftest.er1
19432 grep -v '^ *+' conftest.er1 >conftest.err
19434 cat conftest.err >&5
19435 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19436 (exit $ac_status); } && {
19437 test -z "$ac_c_werror_flag" ||
19438 test ! -s conftest.err
19439 } && test -s conftest.$ac_objext; then
19442 echo "$as_me: failed program was
:" >&5
19443 sed 's/^/| /' conftest.$ac_ext >&5
19448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19450 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19451 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19452 if test $ac_cv_c_const = no; then
19454 cat >>confdefs.h <<\_ACEOF
19460 { echo "$as_me:$LINENO: checking
for inline
" >&5
19461 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19462 if test "${ac_cv_c_inline+set}" = set; then
19463 echo $ECHO_N "(cached
) $ECHO_C" >&6
19466 for ac_kw in inline __inline__ __inline; do
19467 cat >conftest.$ac_ext <<_ACEOF
19470 cat confdefs.h >>conftest.$ac_ext
19471 cat >>conftest.$ac_ext <<_ACEOF
19472 /* end confdefs.h. */
19473 #ifndef __cplusplus
19475 static $ac_kw foo_t static_foo () {return 0; }
19476 $ac_kw foo_t foo () {return 0; }
19480 rm -f conftest.$ac_objext
19481 if { (ac_try="$ac_compile"
19482 case "(($ac_try" in
19483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19484 *) ac_try_echo=$ac_try;;
19486 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19487 (eval "$ac_compile") 2>conftest.er1
19489 grep -v '^ *+' conftest.er1 >conftest.err
19491 cat conftest.err >&5
19492 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19493 (exit $ac_status); } && {
19494 test -z "$ac_c_werror_flag" ||
19495 test ! -s conftest.err
19496 } && test -s conftest.$ac_objext; then
19497 ac_cv_c_inline=$ac_kw
19499 echo "$as_me: failed program was
:" >&5
19500 sed 's/^/| /' conftest.$ac_ext >&5
19505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19506 test "$ac_cv_c_inline" != no && break
19510 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19511 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19514 case $ac_cv_c_inline in
19517 case $ac_cv_c_inline in
19519 *) ac_val=$ac_cv_c_inline;;
19521 cat >>confdefs.h <<_ACEOF
19522 #ifndef __cplusplus
19523 #define inline $ac_val
19530 { echo "$as_me:$LINENO: checking
for short
" >&5
19531 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19532 if test "${ac_cv_type_short+set}" = set; then
19533 echo $ECHO_N "(cached
) $ECHO_C" >&6
19535 cat >conftest.$ac_ext <<_ACEOF
19538 cat confdefs.h >>conftest.$ac_ext
19539 cat >>conftest.$ac_ext <<_ACEOF
19540 /* end confdefs.h. */
19541 $ac_includes_default
19542 typedef short ac__type_new_;
19546 if ((ac__type_new_ *) 0)
19548 if (sizeof (ac__type_new_))
19554 rm -f conftest.$ac_objext
19555 if { (ac_try="$ac_compile"
19556 case "(($ac_try" in
19557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19558 *) ac_try_echo=$ac_try;;
19560 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19561 (eval "$ac_compile") 2>conftest.er1
19563 grep -v '^ *+' conftest.er1 >conftest.err
19565 cat conftest.err >&5
19566 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19567 (exit $ac_status); } && {
19568 test -z "$ac_c_werror_flag" ||
19569 test ! -s conftest.err
19570 } && test -s conftest.$ac_objext; then
19571 ac_cv_type_short=yes
19573 echo "$as_me: failed program was
:" >&5
19574 sed 's/^/| /' conftest.$ac_ext >&5
19576 ac_cv_type_short=no
19579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19581 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19582 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19584 # The cast to long int works around a bug in the HP C Compiler
19585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19587 # This bug is HP SR number 8606223364.
19588 { echo "$as_me:$LINENO: checking size of short
" >&5
19589 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19590 if test "${ac_cv_sizeof_short+set}" = set; then
19591 echo $ECHO_N "(cached
) $ECHO_C" >&6
19593 if test "$cross_compiling" = yes; then
19594 # Depending upon the size, compute the lo and hi bounds.
19595 cat >conftest.$ac_ext <<_ACEOF
19598 cat confdefs.h >>conftest.$ac_ext
19599 cat >>conftest.$ac_ext <<_ACEOF
19600 /* end confdefs.h. */
19601 $ac_includes_default
19602 typedef short ac__type_sizeof_;
19606 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19613 rm -f conftest.$ac_objext
19614 if { (ac_try="$ac_compile"
19615 case "(($ac_try" in
19616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19617 *) ac_try_echo=$ac_try;;
19619 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19620 (eval "$ac_compile") 2>conftest.er1
19622 grep -v '^ *+' conftest.er1 >conftest.err
19624 cat conftest.err >&5
19625 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19626 (exit $ac_status); } && {
19627 test -z "$ac_c_werror_flag" ||
19628 test ! -s conftest.err
19629 } && test -s conftest.$ac_objext; then
19632 cat >conftest.$ac_ext <<_ACEOF
19635 cat confdefs.h >>conftest.$ac_ext
19636 cat >>conftest.$ac_ext <<_ACEOF
19637 /* end confdefs.h. */
19638 $ac_includes_default
19639 typedef short ac__type_sizeof_;
19643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19650 rm -f conftest.$ac_objext
19651 if { (ac_try="$ac_compile"
19652 case "(($ac_try" in
19653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19654 *) ac_try_echo=$ac_try;;
19656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19657 (eval "$ac_compile") 2>conftest.er1
19659 grep -v '^ *+' conftest.er1 >conftest.err
19661 cat conftest.err >&5
19662 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19663 (exit $ac_status); } && {
19664 test -z "$ac_c_werror_flag" ||
19665 test ! -s conftest.err
19666 } && test -s conftest.$ac_objext; then
19667 ac_hi=$ac_mid; break
19669 echo "$as_me: failed program was
:" >&5
19670 sed 's/^/| /' conftest.$ac_ext >&5
19672 ac_lo=`expr $ac_mid + 1`
19673 if test $ac_lo -le $ac_mid; then
19677 ac_mid=`expr 2 '*' $ac_mid + 1`
19680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19683 echo "$as_me: failed program was
:" >&5
19684 sed 's/^/| /' conftest.$ac_ext >&5
19686 cat >conftest.$ac_ext <<_ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 $ac_includes_default
19693 typedef short ac__type_sizeof_;
19697 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19704 rm -f conftest.$ac_objext
19705 if { (ac_try="$ac_compile"
19706 case "(($ac_try" in
19707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19708 *) ac_try_echo=$ac_try;;
19710 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19711 (eval "$ac_compile") 2>conftest.er1
19713 grep -v '^ *+' conftest.er1 >conftest.err
19715 cat conftest.err >&5
19716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19717 (exit $ac_status); } && {
19718 test -z "$ac_c_werror_flag" ||
19719 test ! -s conftest.err
19720 } && test -s conftest.$ac_objext; then
19723 cat >conftest.$ac_ext <<_ACEOF
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729 $ac_includes_default
19730 typedef short ac__type_sizeof_;
19734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19741 rm -f conftest.$ac_objext
19742 if { (ac_try="$ac_compile"
19743 case "(($ac_try" in
19744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19745 *) ac_try_echo=$ac_try;;
19747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19748 (eval "$ac_compile") 2>conftest.er1
19750 grep -v '^ *+' conftest.er1 >conftest.err
19752 cat conftest.err >&5
19753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19754 (exit $ac_status); } && {
19755 test -z "$ac_c_werror_flag" ||
19756 test ! -s conftest.err
19757 } && test -s conftest.$ac_objext; then
19758 ac_lo=$ac_mid; break
19760 echo "$as_me: failed program was
:" >&5
19761 sed 's/^/| /' conftest.$ac_ext >&5
19763 ac_hi=`expr '(' $ac_mid ')' - 1`
19764 if test $ac_mid -le $ac_hi; then
19768 ac_mid=`expr 2 '*' $ac_mid`
19771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19774 echo "$as_me: failed program was
:" >&5
19775 sed 's/^/| /' conftest.$ac_ext >&5
19780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19784 # Binary search between lo and hi bounds.
19785 while test "x
$ac_lo" != "x
$ac_hi"; do
19786 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19787 cat >conftest.$ac_ext <<_ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19793 $ac_includes_default
19794 typedef short ac__type_sizeof_;
19798 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19805 rm -f conftest.$ac_objext
19806 if { (ac_try="$ac_compile"
19807 case "(($ac_try" in
19808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19809 *) ac_try_echo=$ac_try;;
19811 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19812 (eval "$ac_compile") 2>conftest.er1
19814 grep -v '^ *+' conftest.er1 >conftest.err
19816 cat conftest.err >&5
19817 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19818 (exit $ac_status); } && {
19819 test -z "$ac_c_werror_flag" ||
19820 test ! -s conftest.err
19821 } && test -s conftest.$ac_objext; then
19824 echo "$as_me: failed program was
:" >&5
19825 sed 's/^/| /' conftest.$ac_ext >&5
19827 ac_lo=`expr '(' $ac_mid ')' + 1`
19830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19833 ?*) ac_cv_sizeof_short=$ac_lo;;
19834 '') if test "$ac_cv_type_short" = yes; then
19835 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19836 See \
`config.log' for more details." >&5
19837 echo "$as_me: error: cannot compute sizeof (short)
19838 See \`config.log
' for more details." >&2;}
19839 { (exit 77); exit 77; }; }
19841 ac_cv_sizeof_short=0
19845 cat >conftest.$ac_ext <<_ACEOF
19848 cat confdefs.h >>conftest.$ac_ext
19849 cat >>conftest.$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 $ac_includes_default
19852 typedef short ac__type_sizeof_;
19853 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19854 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19856 #include <stdlib.h>
19861 FILE *f = fopen ("conftest.val", "w");
19864 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19866 long int i = longval ();
19867 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19869 fprintf (f, "%ld\n", i);
19873 unsigned long int i = ulongval ();
19874 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19876 fprintf (f, "%lu\n", i);
19878 return ferror (f) || fclose (f) != 0;
19884 rm -f conftest$ac_exeext
19885 if { (ac_try="$ac_link"
19886 case "(($ac_try" in
19887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19888 *) ac_try_echo=$ac_try;;
19890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19891 (eval "$ac_link") 2>&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19895 { (case "(($ac_try" in
19896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19897 *) ac_try_echo=$ac_try;;
19899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19900 (eval "$ac_try") 2>&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); }; }; then
19904 ac_cv_sizeof_short=`cat conftest.val`
19906 echo "$as_me: program exited with status $ac_status" >&5
19907 echo "$as_me: failed program was:" >&5
19908 sed 's
/^
/| /' conftest.$ac_ext >&5
19910 ( exit $ac_status )
19911 if test "$ac_cv_type_short" = yes; then
19912 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19913 See \`config.log' for more details.
" >&5
19914 echo "$as_me: error
: cannot compute sizeof
(short
)
19915 See \
`config.log' for more details." >&2;}
19916 { (exit 77); exit 77; }; }
19918 ac_cv_sizeof_short=0
19921 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19925 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19926 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19930 cat >>confdefs.h <<_ACEOF
19931 #define SIZEOF_SHORT $ac_cv_sizeof_short
19935 { echo "$as_me:$LINENO: checking for void *" >&5
19936 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19937 if test "${ac_cv_type_void_p+set}" = set; then
19938 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 cat >conftest.$ac_ext <<_ACEOF
19943 cat confdefs.h >>conftest.$ac_ext
19944 cat >>conftest.$ac_ext <<_ACEOF
19945 /* end confdefs.h. */
19946 $ac_includes_default
19947 typedef void * ac__type_new_;
19951 if ((ac__type_new_ *) 0)
19953 if (sizeof (ac__type_new_))
19959 rm -f conftest.$ac_objext
19960 if { (ac_try="$ac_compile"
19961 case "(($ac_try" in
19962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19963 *) ac_try_echo
=$ac_try;;
19965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19966 (eval "$ac_compile") 2>conftest.er1
19968 grep -v '^ *+' conftest.er1
>conftest.err
19970 cat conftest.err
>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && {
19973 test -z "$ac_c_werror_flag" ||
19974 test ! -s conftest.err
19975 } && test -s conftest.
$ac_objext; then
19976 ac_cv_type_void_p
=yes
19978 echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.
$ac_ext >&5
19981 ac_cv_type_void_p
=no
19984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19986 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19987 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19989 # The cast to long int works around a bug in the HP C Compiler
19990 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19991 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19992 # This bug is HP SR number 8606223364.
19993 { echo "$as_me:$LINENO: checking size of void *" >&5
19994 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19995 if test "${ac_cv_sizeof_void_p+set}" = set; then
19996 echo $ECHO_N "(cached) $ECHO_C" >&6
19998 if test "$cross_compiling" = yes; then
19999 # Depending upon the size, compute the lo and hi bounds.
20000 cat >conftest.
$ac_ext <<_ACEOF
20003 cat confdefs.h
>>conftest.
$ac_ext
20004 cat >>conftest.
$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 $ac_includes_default
20007 typedef void * ac__type_sizeof_;
20011 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20018 rm -f conftest.
$ac_objext
20019 if { (ac_try
="$ac_compile"
20020 case "(($ac_try" in
20021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20022 *) ac_try_echo=$ac_try;;
20024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20025 (eval "$ac_compile") 2>conftest.er1
20027 grep -v '^ *+' conftest.er1 >conftest.err
20029 cat conftest.err >&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); } && {
20032 test -z "$ac_c_werror_flag" ||
20033 test ! -s conftest.err
20034 } && test -s conftest.$ac_objext; then
20037 cat >conftest.$ac_ext <<_ACEOF
20040 cat confdefs.h >>conftest.$ac_ext
20041 cat >>conftest.$ac_ext <<_ACEOF
20042 /* end confdefs.h. */
20043 $ac_includes_default
20044 typedef void * ac__type_sizeof_;
20048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20055 rm -f conftest.$ac_objext
20056 if { (ac_try="$ac_compile"
20057 case "(($ac_try" in
20058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20059 *) ac_try_echo
=$ac_try;;
20061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20062 (eval "$ac_compile") 2>conftest.er1
20064 grep -v '^ *+' conftest.er1
>conftest.err
20066 cat conftest.err
>&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); } && {
20069 test -z "$ac_c_werror_flag" ||
20070 test ! -s conftest.err
20071 } && test -s conftest.
$ac_objext; then
20072 ac_hi
=$ac_mid; break
20074 echo "$as_me: failed program was:" >&5
20075 sed 's/^/| /' conftest.
$ac_ext >&5
20077 ac_lo
=`expr $ac_mid + 1`
20078 if test $ac_lo -le $ac_mid; then
20082 ac_mid
=`expr 2 '*' $ac_mid + 1`
20085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20088 echo "$as_me: failed program was:" >&5
20089 sed 's/^/| /' conftest.
$ac_ext >&5
20091 cat >conftest.
$ac_ext <<_ACEOF
20094 cat confdefs.h
>>conftest.
$ac_ext
20095 cat >>conftest.
$ac_ext <<_ACEOF
20096 /* end confdefs.h. */
20097 $ac_includes_default
20098 typedef void * ac__type_sizeof_;
20102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20109 rm -f conftest.
$ac_objext
20110 if { (ac_try
="$ac_compile"
20111 case "(($ac_try" in
20112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20113 *) ac_try_echo=$ac_try;;
20115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20116 (eval "$ac_compile") 2>conftest.er1
20118 grep -v '^ *+' conftest.er1 >conftest.err
20120 cat conftest.err >&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } && {
20123 test -z "$ac_c_werror_flag" ||
20124 test ! -s conftest.err
20125 } && test -s conftest.$ac_objext; then
20128 cat >conftest.$ac_ext <<_ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20134 $ac_includes_default
20135 typedef void * ac__type_sizeof_;
20139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20146 rm -f conftest.$ac_objext
20147 if { (ac_try="$ac_compile"
20148 case "(($ac_try" in
20149 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20150 *) ac_try_echo
=$ac_try;;
20152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20153 (eval "$ac_compile") 2>conftest.er1
20155 grep -v '^ *+' conftest.er1
>conftest.err
20157 cat conftest.err
>&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } && {
20160 test -z "$ac_c_werror_flag" ||
20161 test ! -s conftest.err
20162 } && test -s conftest.
$ac_objext; then
20163 ac_lo
=$ac_mid; break
20165 echo "$as_me: failed program was:" >&5
20166 sed 's/^/| /' conftest.
$ac_ext >&5
20168 ac_hi
=`expr '(' $ac_mid ')' - 1`
20169 if test $ac_mid -le $ac_hi; then
20173 ac_mid
=`expr 2 '*' $ac_mid`
20176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20179 echo "$as_me: failed program was:" >&5
20180 sed 's/^/| /' conftest.
$ac_ext >&5
20185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20189 # Binary search between lo and hi bounds.
20190 while test "x$ac_lo" != "x$ac_hi"; do
20191 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20192 cat >conftest.
$ac_ext <<_ACEOF
20195 cat confdefs.h
>>conftest.
$ac_ext
20196 cat >>conftest.
$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20198 $ac_includes_default
20199 typedef void * ac__type_sizeof_;
20203 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20210 rm -f conftest.
$ac_objext
20211 if { (ac_try
="$ac_compile"
20212 case "(($ac_try" in
20213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20214 *) ac_try_echo=$ac_try;;
20216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20217 (eval "$ac_compile") 2>conftest.er1
20219 grep -v '^ *+' conftest.er1 >conftest.err
20221 cat conftest.err >&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); } && {
20224 test -z "$ac_c_werror_flag" ||
20225 test ! -s conftest.err
20226 } && test -s conftest.$ac_objext; then
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.$ac_ext >&5
20232 ac_lo=`expr '(' $ac_mid ')' + 1`
20235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20238 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20239 '') if test "$ac_cv_type_void_p" = yes; then
20240 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20241 See \`config.log
' for more details." >&5
20242 echo "$as_me: error: cannot compute sizeof (void *)
20243 See \`config.log' for more details.
" >&2;}
20244 { (exit 77); exit 77; }; }
20246 ac_cv_sizeof_void_p=0
20250 cat >conftest.$ac_ext <<_ACEOF
20253 cat confdefs.h >>conftest.$ac_ext
20254 cat >>conftest.$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20256 $ac_includes_default
20257 typedef void * ac__type_sizeof_;
20258 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20259 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20261 #include <stdlib.h>
20266 FILE *f = fopen ("conftest.val
", "w
");
20269 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20271 long int i = longval ();
20272 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20274 fprintf (f, "%ld
\n", i);
20278 unsigned long int i = ulongval ();
20279 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20281 fprintf (f, "%lu
\n", i);
20283 return ferror (f) || fclose (f) != 0;
20289 rm -f conftest$ac_exeext
20290 if { (ac_try="$ac_link"
20291 case "(($ac_try" in
20292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20293 *) ac_try_echo=$ac_try;;
20295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20296 (eval "$ac_link") 2>&5
20298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20300 { (case "(($ac_try" in
20301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20302 *) ac_try_echo=$ac_try;;
20304 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20305 (eval "$ac_try") 2>&5
20307 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20308 (exit $ac_status); }; }; then
20309 ac_cv_sizeof_void_p=`cat conftest.val`
20311 echo "$as_me: program exited with status
$ac_status" >&5
20312 echo "$as_me: failed program was
:" >&5
20313 sed 's/^/| /' conftest.$ac_ext >&5
20315 ( exit $ac_status )
20316 if test "$ac_cv_type_void_p" = yes; then
20317 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20318 See \
`config.log' for more details." >&5
20319 echo "$as_me: error: cannot compute sizeof (void *)
20320 See \`config.log
' for more details." >&2;}
20321 { (exit 77); exit 77; }; }
20323 ac_cv_sizeof_void_p=0
20326 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20330 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20331 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20335 cat >>confdefs.h <<_ACEOF
20336 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20340 { echo "$as_me:$LINENO: checking for int" >&5
20341 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20342 if test "${ac_cv_type_int+set}" = set; then
20343 echo $ECHO_N "(cached) $ECHO_C" >&6
20345 cat >conftest.$ac_ext <<_ACEOF
20348 cat confdefs.h >>conftest.$ac_ext
20349 cat >>conftest.$ac_ext <<_ACEOF
20350 /* end confdefs.h. */
20351 $ac_includes_default
20352 typedef int ac__type_new_;
20356 if ((ac__type_new_ *) 0)
20358 if (sizeof (ac__type_new_))
20364 rm -f conftest.$ac_objext
20365 if { (ac_try="$ac_compile"
20366 case "(($ac_try" in
20367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20368 *) ac_try_echo=$ac_try;;
20370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20371 (eval "$ac_compile") 2>conftest.er1
20373 grep -v '^
*+' conftest.er1 >conftest.err
20375 cat conftest.err >&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } && {
20378 test -z "$ac_c_werror_flag" ||
20379 test ! -s conftest.err
20380 } && test -s conftest.$ac_objext; then
20383 echo "$as_me: failed program was:" >&5
20384 sed 's
/^
/| /' conftest.$ac_ext >&5
20389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20391 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20392 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20394 # The cast to long int works around a bug in the HP C Compiler
20395 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20396 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20397 # This bug is HP SR number 8606223364.
20398 { echo "$as_me:$LINENO: checking size of int" >&5
20399 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20400 if test "${ac_cv_sizeof_int+set}" = set; then
20401 echo $ECHO_N "(cached) $ECHO_C" >&6
20403 if test "$cross_compiling" = yes; then
20404 # Depending upon the size, compute the lo and hi bounds.
20405 cat >conftest.
$ac_ext <<_ACEOF
20408 cat confdefs.h
>>conftest.
$ac_ext
20409 cat >>conftest.
$ac_ext <<_ACEOF
20410 /* end confdefs.h. */
20411 $ac_includes_default
20412 typedef int ac__type_sizeof_;
20416 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20423 rm -f conftest.
$ac_objext
20424 if { (ac_try
="$ac_compile"
20425 case "(($ac_try" in
20426 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20427 *) ac_try_echo=$ac_try;;
20429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20430 (eval "$ac_compile") 2>conftest.er1
20432 grep -v '^ *+' conftest.er1 >conftest.err
20434 cat conftest.err >&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } && {
20437 test -z "$ac_c_werror_flag" ||
20438 test ! -s conftest.err
20439 } && test -s conftest.$ac_objext; then
20442 cat >conftest.$ac_ext <<_ACEOF
20445 cat confdefs.h >>conftest.$ac_ext
20446 cat >>conftest.$ac_ext <<_ACEOF
20447 /* end confdefs.h. */
20448 $ac_includes_default
20449 typedef int ac__type_sizeof_;
20453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20460 rm -f conftest.$ac_objext
20461 if { (ac_try="$ac_compile"
20462 case "(($ac_try" in
20463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20464 *) ac_try_echo
=$ac_try;;
20466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20467 (eval "$ac_compile") 2>conftest.er1
20469 grep -v '^ *+' conftest.er1
>conftest.err
20471 cat conftest.err
>&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); } && {
20474 test -z "$ac_c_werror_flag" ||
20475 test ! -s conftest.err
20476 } && test -s conftest.
$ac_objext; then
20477 ac_hi
=$ac_mid; break
20479 echo "$as_me: failed program was:" >&5
20480 sed 's/^/| /' conftest.
$ac_ext >&5
20482 ac_lo
=`expr $ac_mid + 1`
20483 if test $ac_lo -le $ac_mid; then
20487 ac_mid
=`expr 2 '*' $ac_mid + 1`
20490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20493 echo "$as_me: failed program was:" >&5
20494 sed 's/^/| /' conftest.
$ac_ext >&5
20496 cat >conftest.
$ac_ext <<_ACEOF
20499 cat confdefs.h
>>conftest.
$ac_ext
20500 cat >>conftest.
$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20502 $ac_includes_default
20503 typedef int ac__type_sizeof_;
20507 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20514 rm -f conftest.
$ac_objext
20515 if { (ac_try
="$ac_compile"
20516 case "(($ac_try" in
20517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20518 *) ac_try_echo=$ac_try;;
20520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20521 (eval "$ac_compile") 2>conftest.er1
20523 grep -v '^ *+' conftest.er1 >conftest.err
20525 cat conftest.err >&5
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); } && {
20528 test -z "$ac_c_werror_flag" ||
20529 test ! -s conftest.err
20530 } && test -s conftest.$ac_objext; then
20533 cat >conftest.$ac_ext <<_ACEOF
20536 cat confdefs.h >>conftest.$ac_ext
20537 cat >>conftest.$ac_ext <<_ACEOF
20538 /* end confdefs.h. */
20539 $ac_includes_default
20540 typedef int ac__type_sizeof_;
20544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20551 rm -f conftest.$ac_objext
20552 if { (ac_try="$ac_compile"
20553 case "(($ac_try" in
20554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20555 *) ac_try_echo
=$ac_try;;
20557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20558 (eval "$ac_compile") 2>conftest.er1
20560 grep -v '^ *+' conftest.er1
>conftest.err
20562 cat conftest.err
>&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); } && {
20565 test -z "$ac_c_werror_flag" ||
20566 test ! -s conftest.err
20567 } && test -s conftest.
$ac_objext; then
20568 ac_lo
=$ac_mid; break
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.
$ac_ext >&5
20573 ac_hi
=`expr '(' $ac_mid ')' - 1`
20574 if test $ac_mid -le $ac_hi; then
20578 ac_mid
=`expr 2 '*' $ac_mid`
20581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20584 echo "$as_me: failed program was:" >&5
20585 sed 's/^/| /' conftest.
$ac_ext >&5
20590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20594 # Binary search between lo and hi bounds.
20595 while test "x$ac_lo" != "x$ac_hi"; do
20596 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20597 cat >conftest.
$ac_ext <<_ACEOF
20600 cat confdefs.h
>>conftest.
$ac_ext
20601 cat >>conftest.
$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20603 $ac_includes_default
20604 typedef int ac__type_sizeof_;
20608 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20615 rm -f conftest.
$ac_objext
20616 if { (ac_try
="$ac_compile"
20617 case "(($ac_try" in
20618 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20619 *) ac_try_echo=$ac_try;;
20621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20622 (eval "$ac_compile") 2>conftest.er1
20624 grep -v '^ *+' conftest.er1 >conftest.err
20626 cat conftest.err >&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); } && {
20629 test -z "$ac_c_werror_flag" ||
20630 test ! -s conftest.err
20631 } && test -s conftest.$ac_objext; then
20634 echo "$as_me: failed program was:" >&5
20635 sed 's/^/| /' conftest.$ac_ext >&5
20637 ac_lo=`expr '(' $ac_mid ')' + 1`
20640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20643 ?*) ac_cv_sizeof_int=$ac_lo;;
20644 '') if test "$ac_cv_type_int" = yes; then
20645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20646 See \`config.log
' for more details." >&5
20647 echo "$as_me: error: cannot compute sizeof (int)
20648 See \`config.log' for more details.
" >&2;}
20649 { (exit 77); exit 77; }; }
20655 cat >conftest.$ac_ext <<_ACEOF
20658 cat confdefs.h >>conftest.$ac_ext
20659 cat >>conftest.$ac_ext <<_ACEOF
20660 /* end confdefs.h. */
20661 $ac_includes_default
20662 typedef int ac__type_sizeof_;
20663 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20664 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20666 #include <stdlib.h>
20671 FILE *f = fopen ("conftest.val
", "w
");
20674 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20676 long int i = longval ();
20677 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20679 fprintf (f, "%ld
\n", i);
20683 unsigned long int i = ulongval ();
20684 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20686 fprintf (f, "%lu
\n", i);
20688 return ferror (f) || fclose (f) != 0;
20694 rm -f conftest$ac_exeext
20695 if { (ac_try="$ac_link"
20696 case "(($ac_try" in
20697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20698 *) ac_try_echo=$ac_try;;
20700 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20701 (eval "$ac_link") 2>&5
20703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20704 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20705 { (case "(($ac_try" in
20706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20707 *) ac_try_echo=$ac_try;;
20709 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20710 (eval "$ac_try") 2>&5
20712 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20713 (exit $ac_status); }; }; then
20714 ac_cv_sizeof_int=`cat conftest.val`
20716 echo "$as_me: program exited with status
$ac_status" >&5
20717 echo "$as_me: failed program was
:" >&5
20718 sed 's/^/| /' conftest.$ac_ext >&5
20720 ( exit $ac_status )
20721 if test "$ac_cv_type_int" = yes; then
20722 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20723 See \
`config.log' for more details." >&5
20724 echo "$as_me: error: cannot compute sizeof (int)
20725 See \`config.log
' for more details." >&2;}
20726 { (exit 77); exit 77; }; }
20731 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20735 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20736 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20740 cat >>confdefs.h <<_ACEOF
20741 #define SIZEOF_INT $ac_cv_sizeof_int
20745 { echo "$as_me:$LINENO: checking for long" >&5
20746 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20747 if test "${ac_cv_type_long+set}" = set; then
20748 echo $ECHO_N "(cached) $ECHO_C" >&6
20750 cat >conftest.$ac_ext <<_ACEOF
20753 cat confdefs.h >>conftest.$ac_ext
20754 cat >>conftest.$ac_ext <<_ACEOF
20755 /* end confdefs.h. */
20756 $ac_includes_default
20757 typedef long ac__type_new_;
20761 if ((ac__type_new_ *) 0)
20763 if (sizeof (ac__type_new_))
20769 rm -f conftest.$ac_objext
20770 if { (ac_try="$ac_compile"
20771 case "(($ac_try" in
20772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20773 *) ac_try_echo=$ac_try;;
20775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20776 (eval "$ac_compile") 2>conftest.er1
20778 grep -v '^
*+' conftest.er1 >conftest.err
20780 cat conftest.err >&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); } && {
20783 test -z "$ac_c_werror_flag" ||
20784 test ! -s conftest.err
20785 } && test -s conftest.$ac_objext; then
20786 ac_cv_type_long=yes
20788 echo "$as_me: failed program was:" >&5
20789 sed 's
/^
/| /' conftest.$ac_ext >&5
20794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20796 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20797 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20799 # The cast to long int works around a bug in the HP C Compiler
20800 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20801 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20802 # This bug is HP SR number 8606223364.
20803 { echo "$as_me:$LINENO: checking size of long" >&5
20804 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20805 if test "${ac_cv_sizeof_long+set}" = set; then
20806 echo $ECHO_N "(cached) $ECHO_C" >&6
20808 if test "$cross_compiling" = yes; then
20809 # Depending upon the size, compute the lo and hi bounds.
20810 cat >conftest.
$ac_ext <<_ACEOF
20813 cat confdefs.h
>>conftest.
$ac_ext
20814 cat >>conftest.
$ac_ext <<_ACEOF
20815 /* end confdefs.h. */
20816 $ac_includes_default
20817 typedef long ac__type_sizeof_;
20821 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20828 rm -f conftest.
$ac_objext
20829 if { (ac_try
="$ac_compile"
20830 case "(($ac_try" in
20831 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20832 *) ac_try_echo=$ac_try;;
20834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20835 (eval "$ac_compile") 2>conftest.er1
20837 grep -v '^ *+' conftest.er1 >conftest.err
20839 cat conftest.err >&5
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); } && {
20842 test -z "$ac_c_werror_flag" ||
20843 test ! -s conftest.err
20844 } && test -s conftest.$ac_objext; then
20847 cat >conftest.$ac_ext <<_ACEOF
20850 cat confdefs.h >>conftest.$ac_ext
20851 cat >>conftest.$ac_ext <<_ACEOF
20852 /* end confdefs.h. */
20853 $ac_includes_default
20854 typedef long ac__type_sizeof_;
20858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20865 rm -f conftest.$ac_objext
20866 if { (ac_try="$ac_compile"
20867 case "(($ac_try" in
20868 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20869 *) ac_try_echo
=$ac_try;;
20871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20872 (eval "$ac_compile") 2>conftest.er1
20874 grep -v '^ *+' conftest.er1
>conftest.err
20876 cat conftest.err
>&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } && {
20879 test -z "$ac_c_werror_flag" ||
20880 test ! -s conftest.err
20881 } && test -s conftest.
$ac_objext; then
20882 ac_hi
=$ac_mid; break
20884 echo "$as_me: failed program was:" >&5
20885 sed 's/^/| /' conftest.
$ac_ext >&5
20887 ac_lo
=`expr $ac_mid + 1`
20888 if test $ac_lo -le $ac_mid; then
20892 ac_mid
=`expr 2 '*' $ac_mid + 1`
20895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20898 echo "$as_me: failed program was:" >&5
20899 sed 's/^/| /' conftest.
$ac_ext >&5
20901 cat >conftest.
$ac_ext <<_ACEOF
20904 cat confdefs.h
>>conftest.
$ac_ext
20905 cat >>conftest.
$ac_ext <<_ACEOF
20906 /* end confdefs.h. */
20907 $ac_includes_default
20908 typedef long ac__type_sizeof_;
20912 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20919 rm -f conftest.
$ac_objext
20920 if { (ac_try
="$ac_compile"
20921 case "(($ac_try" in
20922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20923 *) ac_try_echo=$ac_try;;
20925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20926 (eval "$ac_compile") 2>conftest.er1
20928 grep -v '^ *+' conftest.er1 >conftest.err
20930 cat conftest.err >&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); } && {
20933 test -z "$ac_c_werror_flag" ||
20934 test ! -s conftest.err
20935 } && test -s conftest.$ac_objext; then
20938 cat >conftest.$ac_ext <<_ACEOF
20941 cat confdefs.h >>conftest.$ac_ext
20942 cat >>conftest.$ac_ext <<_ACEOF
20943 /* end confdefs.h. */
20944 $ac_includes_default
20945 typedef long ac__type_sizeof_;
20949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20956 rm -f conftest.$ac_objext
20957 if { (ac_try="$ac_compile"
20958 case "(($ac_try" in
20959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20960 *) ac_try_echo
=$ac_try;;
20962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20963 (eval "$ac_compile") 2>conftest.er1
20965 grep -v '^ *+' conftest.er1
>conftest.err
20967 cat conftest.err
>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); } && {
20970 test -z "$ac_c_werror_flag" ||
20971 test ! -s conftest.err
20972 } && test -s conftest.
$ac_objext; then
20973 ac_lo
=$ac_mid; break
20975 echo "$as_me: failed program was:" >&5
20976 sed 's/^/| /' conftest.
$ac_ext >&5
20978 ac_hi
=`expr '(' $ac_mid ')' - 1`
20979 if test $ac_mid -le $ac_hi; then
20983 ac_mid
=`expr 2 '*' $ac_mid`
20986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20989 echo "$as_me: failed program was:" >&5
20990 sed 's/^/| /' conftest.
$ac_ext >&5
20995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20999 # Binary search between lo and hi bounds.
21000 while test "x$ac_lo" != "x$ac_hi"; do
21001 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21002 cat >conftest.
$ac_ext <<_ACEOF
21005 cat confdefs.h
>>conftest.
$ac_ext
21006 cat >>conftest.
$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21008 $ac_includes_default
21009 typedef long ac__type_sizeof_;
21013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21020 rm -f conftest.
$ac_objext
21021 if { (ac_try
="$ac_compile"
21022 case "(($ac_try" in
21023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21024 *) ac_try_echo=$ac_try;;
21026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21027 (eval "$ac_compile") 2>conftest.er1
21029 grep -v '^ *+' conftest.er1 >conftest.err
21031 cat conftest.err >&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } && {
21034 test -z "$ac_c_werror_flag" ||
21035 test ! -s conftest.err
21036 } && test -s conftest.$ac_objext; then
21039 echo "$as_me: failed program was:" >&5
21040 sed 's/^/| /' conftest.$ac_ext >&5
21042 ac_lo=`expr '(' $ac_mid ')' + 1`
21045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21048 ?*) ac_cv_sizeof_long=$ac_lo;;
21049 '') if test "$ac_cv_type_long" = yes; then
21050 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21051 See \`config.log
' for more details." >&5
21052 echo "$as_me: error: cannot compute sizeof (long)
21053 See \`config.log' for more details.
" >&2;}
21054 { (exit 77); exit 77; }; }
21056 ac_cv_sizeof_long=0
21060 cat >conftest.$ac_ext <<_ACEOF
21063 cat confdefs.h >>conftest.$ac_ext
21064 cat >>conftest.$ac_ext <<_ACEOF
21065 /* end confdefs.h. */
21066 $ac_includes_default
21067 typedef long ac__type_sizeof_;
21068 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21069 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21071 #include <stdlib.h>
21076 FILE *f = fopen ("conftest.val
", "w
");
21079 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21081 long int i = longval ();
21082 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21084 fprintf (f, "%ld
\n", i);
21088 unsigned long int i = ulongval ();
21089 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21091 fprintf (f, "%lu
\n", i);
21093 return ferror (f) || fclose (f) != 0;
21099 rm -f conftest$ac_exeext
21100 if { (ac_try="$ac_link"
21101 case "(($ac_try" in
21102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21103 *) ac_try_echo=$ac_try;;
21105 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21106 (eval "$ac_link") 2>&5
21108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21109 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21110 { (case "(($ac_try" in
21111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21112 *) ac_try_echo=$ac_try;;
21114 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21115 (eval "$ac_try") 2>&5
21117 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21118 (exit $ac_status); }; }; then
21119 ac_cv_sizeof_long=`cat conftest.val`
21121 echo "$as_me: program exited with status
$ac_status" >&5
21122 echo "$as_me: failed program was
:" >&5
21123 sed 's/^/| /' conftest.$ac_ext >&5
21125 ( exit $ac_status )
21126 if test "$ac_cv_type_long" = yes; then
21127 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21128 See \
`config.log' for more details." >&5
21129 echo "$as_me: error: cannot compute sizeof (long)
21130 See \`config.log
' for more details." >&2;}
21131 { (exit 77); exit 77; }; }
21133 ac_cv_sizeof_long=0
21136 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21140 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21141 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21145 cat >>confdefs.h <<_ACEOF
21146 #define SIZEOF_LONG $ac_cv_sizeof_long
21150 { echo "$as_me:$LINENO: checking for size_t" >&5
21151 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21152 if test "${ac_cv_type_size_t+set}" = set; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21155 cat >conftest.$ac_ext <<_ACEOF
21158 cat confdefs.h >>conftest.$ac_ext
21159 cat >>conftest.$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 $ac_includes_default
21162 typedef size_t ac__type_new_;
21166 if ((ac__type_new_ *) 0)
21168 if (sizeof (ac__type_new_))
21174 rm -f conftest.$ac_objext
21175 if { (ac_try="$ac_compile"
21176 case "(($ac_try" in
21177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21178 *) ac_try_echo=$ac_try;;
21180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21181 (eval "$ac_compile") 2>conftest.er1
21183 grep -v '^
*+' conftest.er1 >conftest.err
21185 cat conftest.err >&5
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); } && {
21188 test -z "$ac_c_werror_flag" ||
21189 test ! -s conftest.err
21190 } && test -s conftest.$ac_objext; then
21191 ac_cv_type_size_t=yes
21193 echo "$as_me: failed program was:" >&5
21194 sed 's
/^
/| /' conftest.$ac_ext >&5
21196 ac_cv_type_size_t=no
21199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21201 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21202 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21204 # The cast to long int works around a bug in the HP C Compiler
21205 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21206 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21207 # This bug is HP SR number 8606223364.
21208 { echo "$as_me:$LINENO: checking size of size_t" >&5
21209 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21210 if test "${ac_cv_sizeof_size_t+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21213 if test "$cross_compiling" = yes; then
21214 # Depending upon the size, compute the lo and hi bounds.
21215 cat >conftest.
$ac_ext <<_ACEOF
21218 cat confdefs.h
>>conftest.
$ac_ext
21219 cat >>conftest.
$ac_ext <<_ACEOF
21220 /* end confdefs.h. */
21221 $ac_includes_default
21222 typedef size_t ac__type_sizeof_;
21226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21233 rm -f conftest.
$ac_objext
21234 if { (ac_try
="$ac_compile"
21235 case "(($ac_try" in
21236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21237 *) ac_try_echo=$ac_try;;
21239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21240 (eval "$ac_compile") 2>conftest.er1
21242 grep -v '^ *+' conftest.er1 >conftest.err
21244 cat conftest.err >&5
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); } && {
21247 test -z "$ac_c_werror_flag" ||
21248 test ! -s conftest.err
21249 } && test -s conftest.$ac_objext; then
21252 cat >conftest.$ac_ext <<_ACEOF
21255 cat confdefs.h >>conftest.$ac_ext
21256 cat >>conftest.$ac_ext <<_ACEOF
21257 /* end confdefs.h. */
21258 $ac_includes_default
21259 typedef size_t ac__type_sizeof_;
21263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21270 rm -f conftest.$ac_objext
21271 if { (ac_try="$ac_compile"
21272 case "(($ac_try" in
21273 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21274 *) ac_try_echo
=$ac_try;;
21276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21277 (eval "$ac_compile") 2>conftest.er1
21279 grep -v '^ *+' conftest.er1
>conftest.err
21281 cat conftest.err
>&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); } && {
21284 test -z "$ac_c_werror_flag" ||
21285 test ! -s conftest.err
21286 } && test -s conftest.
$ac_objext; then
21287 ac_hi
=$ac_mid; break
21289 echo "$as_me: failed program was:" >&5
21290 sed 's/^/| /' conftest.
$ac_ext >&5
21292 ac_lo
=`expr $ac_mid + 1`
21293 if test $ac_lo -le $ac_mid; then
21297 ac_mid
=`expr 2 '*' $ac_mid + 1`
21300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21303 echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.
$ac_ext >&5
21306 cat >conftest.
$ac_ext <<_ACEOF
21309 cat confdefs.h
>>conftest.
$ac_ext
21310 cat >>conftest.
$ac_ext <<_ACEOF
21311 /* end confdefs.h. */
21312 $ac_includes_default
21313 typedef size_t ac__type_sizeof_;
21317 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21324 rm -f conftest.
$ac_objext
21325 if { (ac_try
="$ac_compile"
21326 case "(($ac_try" in
21327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21328 *) ac_try_echo=$ac_try;;
21330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21331 (eval "$ac_compile") 2>conftest.er1
21333 grep -v '^ *+' conftest.er1 >conftest.err
21335 cat conftest.err >&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } && {
21338 test -z "$ac_c_werror_flag" ||
21339 test ! -s conftest.err
21340 } && test -s conftest.$ac_objext; then
21343 cat >conftest.$ac_ext <<_ACEOF
21346 cat confdefs.h >>conftest.$ac_ext
21347 cat >>conftest.$ac_ext <<_ACEOF
21348 /* end confdefs.h. */
21349 $ac_includes_default
21350 typedef size_t ac__type_sizeof_;
21354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21361 rm -f conftest.$ac_objext
21362 if { (ac_try="$ac_compile"
21363 case "(($ac_try" in
21364 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21365 *) ac_try_echo
=$ac_try;;
21367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21368 (eval "$ac_compile") 2>conftest.er1
21370 grep -v '^ *+' conftest.er1
>conftest.err
21372 cat conftest.err
>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } && {
21375 test -z "$ac_c_werror_flag" ||
21376 test ! -s conftest.err
21377 } && test -s conftest.
$ac_objext; then
21378 ac_lo
=$ac_mid; break
21380 echo "$as_me: failed program was:" >&5
21381 sed 's/^/| /' conftest.
$ac_ext >&5
21383 ac_hi
=`expr '(' $ac_mid ')' - 1`
21384 if test $ac_mid -le $ac_hi; then
21388 ac_mid
=`expr 2 '*' $ac_mid`
21391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21394 echo "$as_me: failed program was:" >&5
21395 sed 's/^/| /' conftest.
$ac_ext >&5
21400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21404 # Binary search between lo and hi bounds.
21405 while test "x$ac_lo" != "x$ac_hi"; do
21406 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21407 cat >conftest.
$ac_ext <<_ACEOF
21410 cat confdefs.h
>>conftest.
$ac_ext
21411 cat >>conftest.
$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21413 $ac_includes_default
21414 typedef size_t ac__type_sizeof_;
21418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21425 rm -f conftest.
$ac_objext
21426 if { (ac_try
="$ac_compile"
21427 case "(($ac_try" in
21428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21429 *) ac_try_echo=$ac_try;;
21431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21432 (eval "$ac_compile") 2>conftest.er1
21434 grep -v '^ *+' conftest.er1 >conftest.err
21436 cat conftest.err >&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); } && {
21439 test -z "$ac_c_werror_flag" ||
21440 test ! -s conftest.err
21441 } && test -s conftest.$ac_objext; then
21444 echo "$as_me: failed program was:" >&5
21445 sed 's/^/| /' conftest.$ac_ext >&5
21447 ac_lo=`expr '(' $ac_mid ')' + 1`
21450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21453 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21454 '') if test "$ac_cv_type_size_t" = yes; then
21455 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21456 See \`config.log
' for more details." >&5
21457 echo "$as_me: error: cannot compute sizeof (size_t)
21458 See \`config.log' for more details.
" >&2;}
21459 { (exit 77); exit 77; }; }
21461 ac_cv_sizeof_size_t=0
21465 cat >conftest.$ac_ext <<_ACEOF
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21471 $ac_includes_default
21472 typedef size_t ac__type_sizeof_;
21473 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21474 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21476 #include <stdlib.h>
21481 FILE *f = fopen ("conftest.val
", "w
");
21484 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21486 long int i = longval ();
21487 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21489 fprintf (f, "%ld
\n", i);
21493 unsigned long int i = ulongval ();
21494 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21496 fprintf (f, "%lu
\n", i);
21498 return ferror (f) || fclose (f) != 0;
21504 rm -f conftest$ac_exeext
21505 if { (ac_try="$ac_link"
21506 case "(($ac_try" in
21507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21508 *) ac_try_echo=$ac_try;;
21510 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21511 (eval "$ac_link") 2>&5
21513 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21514 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21515 { (case "(($ac_try" in
21516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21517 *) ac_try_echo=$ac_try;;
21519 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21520 (eval "$ac_try") 2>&5
21522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21523 (exit $ac_status); }; }; then
21524 ac_cv_sizeof_size_t=`cat conftest.val`
21526 echo "$as_me: program exited with status
$ac_status" >&5
21527 echo "$as_me: failed program was
:" >&5
21528 sed 's/^/| /' conftest.$ac_ext >&5
21530 ( exit $ac_status )
21531 if test "$ac_cv_type_size_t" = yes; then
21532 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21533 See \
`config.log' for more details." >&5
21534 echo "$as_me: error: cannot compute sizeof (size_t)
21535 See \`config.log
' for more details." >&2;}
21536 { (exit 77); exit 77; }; }
21538 ac_cv_sizeof_size_t=0
21541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21545 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21546 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21550 cat >>confdefs.h <<_ACEOF
21551 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21558 { echo "$as_me:$LINENO: checking for long long" >&5
21559 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21560 if test "${ac_cv_type_long_long+set}" = set; then
21561 echo $ECHO_N "(cached) $ECHO_C" >&6
21563 cat >conftest.$ac_ext <<_ACEOF
21566 cat confdefs.h >>conftest.$ac_ext
21567 cat >>conftest.$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21569 $ac_includes_default
21570 typedef long long ac__type_new_;
21574 if ((ac__type_new_ *) 0)
21576 if (sizeof (ac__type_new_))
21582 rm -f conftest.$ac_objext
21583 if { (ac_try="$ac_compile"
21584 case "(($ac_try" in
21585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21586 *) ac_try_echo=$ac_try;;
21588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21589 (eval "$ac_compile") 2>conftest.er1
21591 grep -v '^
*+' conftest.er1 >conftest.err
21593 cat conftest.err >&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); } && {
21596 test -z "$ac_c_werror_flag" ||
21597 test ! -s conftest.err
21598 } && test -s conftest.$ac_objext; then
21599 ac_cv_type_long_long=yes
21601 echo "$as_me: failed program was:" >&5
21602 sed 's
/^
/| /' conftest.$ac_ext >&5
21604 ac_cv_type_long_long=no
21607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21609 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21610 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21612 # The cast to long int works around a bug in the HP C Compiler
21613 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21614 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21615 # This bug is HP SR number 8606223364.
21616 { echo "$as_me:$LINENO: checking size of long long" >&5
21617 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21618 if test "${ac_cv_sizeof_long_long+set}" = set; then
21619 echo $ECHO_N "(cached) $ECHO_C" >&6
21621 if test "$cross_compiling" = yes; then
21622 # Depending upon the size, compute the lo and hi bounds.
21623 cat >conftest.
$ac_ext <<_ACEOF
21626 cat confdefs.h
>>conftest.
$ac_ext
21627 cat >>conftest.
$ac_ext <<_ACEOF
21628 /* end confdefs.h. */
21629 $ac_includes_default
21630 typedef long long ac__type_sizeof_;
21634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21641 rm -f conftest.
$ac_objext
21642 if { (ac_try
="$ac_compile"
21643 case "(($ac_try" in
21644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21645 *) ac_try_echo=$ac_try;;
21647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21648 (eval "$ac_compile") 2>conftest.er1
21650 grep -v '^ *+' conftest.er1 >conftest.err
21652 cat conftest.err >&5
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); } && {
21655 test -z "$ac_c_werror_flag" ||
21656 test ! -s conftest.err
21657 } && test -s conftest.$ac_objext; then
21660 cat >conftest.$ac_ext <<_ACEOF
21663 cat confdefs.h >>conftest.$ac_ext
21664 cat >>conftest.$ac_ext <<_ACEOF
21665 /* end confdefs.h. */
21666 $ac_includes_default
21667 typedef long long ac__type_sizeof_;
21671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21678 rm -f conftest.$ac_objext
21679 if { (ac_try="$ac_compile"
21680 case "(($ac_try" in
21681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21682 *) ac_try_echo
=$ac_try;;
21684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21685 (eval "$ac_compile") 2>conftest.er1
21687 grep -v '^ *+' conftest.er1
>conftest.err
21689 cat conftest.err
>&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); } && {
21692 test -z "$ac_c_werror_flag" ||
21693 test ! -s conftest.err
21694 } && test -s conftest.
$ac_objext; then
21695 ac_hi
=$ac_mid; break
21697 echo "$as_me: failed program was:" >&5
21698 sed 's/^/| /' conftest.
$ac_ext >&5
21700 ac_lo
=`expr $ac_mid + 1`
21701 if test $ac_lo -le $ac_mid; then
21705 ac_mid
=`expr 2 '*' $ac_mid + 1`
21708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21711 echo "$as_me: failed program was:" >&5
21712 sed 's/^/| /' conftest.
$ac_ext >&5
21714 cat >conftest.
$ac_ext <<_ACEOF
21717 cat confdefs.h
>>conftest.
$ac_ext
21718 cat >>conftest.
$ac_ext <<_ACEOF
21719 /* end confdefs.h. */
21720 $ac_includes_default
21721 typedef long long ac__type_sizeof_;
21725 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21732 rm -f conftest.
$ac_objext
21733 if { (ac_try
="$ac_compile"
21734 case "(($ac_try" in
21735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21736 *) ac_try_echo=$ac_try;;
21738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21739 (eval "$ac_compile") 2>conftest.er1
21741 grep -v '^ *+' conftest.er1 >conftest.err
21743 cat conftest.err >&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } && {
21746 test -z "$ac_c_werror_flag" ||
21747 test ! -s conftest.err
21748 } && test -s conftest.$ac_objext; then
21751 cat >conftest.$ac_ext <<_ACEOF
21754 cat confdefs.h >>conftest.$ac_ext
21755 cat >>conftest.$ac_ext <<_ACEOF
21756 /* end confdefs.h. */
21757 $ac_includes_default
21758 typedef long long ac__type_sizeof_;
21762 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21769 rm -f conftest.$ac_objext
21770 if { (ac_try="$ac_compile"
21771 case "(($ac_try" in
21772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21773 *) ac_try_echo
=$ac_try;;
21775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21776 (eval "$ac_compile") 2>conftest.er1
21778 grep -v '^ *+' conftest.er1
>conftest.err
21780 cat conftest.err
>&5
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); } && {
21783 test -z "$ac_c_werror_flag" ||
21784 test ! -s conftest.err
21785 } && test -s conftest.
$ac_objext; then
21786 ac_lo
=$ac_mid; break
21788 echo "$as_me: failed program was:" >&5
21789 sed 's/^/| /' conftest.
$ac_ext >&5
21791 ac_hi
=`expr '(' $ac_mid ')' - 1`
21792 if test $ac_mid -le $ac_hi; then
21796 ac_mid
=`expr 2 '*' $ac_mid`
21799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21802 echo "$as_me: failed program was:" >&5
21803 sed 's/^/| /' conftest.
$ac_ext >&5
21808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21812 # Binary search between lo and hi bounds.
21813 while test "x$ac_lo" != "x$ac_hi"; do
21814 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21815 cat >conftest.
$ac_ext <<_ACEOF
21818 cat confdefs.h
>>conftest.
$ac_ext
21819 cat >>conftest.
$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 $ac_includes_default
21822 typedef long long ac__type_sizeof_;
21826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21833 rm -f conftest.
$ac_objext
21834 if { (ac_try
="$ac_compile"
21835 case "(($ac_try" in
21836 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21837 *) ac_try_echo=$ac_try;;
21839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21840 (eval "$ac_compile") 2>conftest.er1
21842 grep -v '^ *+' conftest.er1 >conftest.err
21844 cat conftest.err >&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } && {
21847 test -z "$ac_c_werror_flag" ||
21848 test ! -s conftest.err
21849 } && test -s conftest.$ac_objext; then
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.$ac_ext >&5
21855 ac_lo=`expr '(' $ac_mid ')' + 1`
21858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21861 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21862 '') if test "$ac_cv_type_long_long" = yes; then
21863 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21864 See \`config.log
' for more details." >&5
21865 echo "$as_me: error: cannot compute sizeof (long long)
21866 See \`config.log' for more details.
" >&2;}
21867 { (exit 77); exit 77; }; }
21869 ac_cv_sizeof_long_long=0
21873 cat >conftest.$ac_ext <<_ACEOF
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21879 $ac_includes_default
21880 typedef long long ac__type_sizeof_;
21881 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21882 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21884 #include <stdlib.h>
21889 FILE *f = fopen ("conftest.val
", "w
");
21892 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21894 long int i = longval ();
21895 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21897 fprintf (f, "%ld
\n", i);
21901 unsigned long int i = ulongval ();
21902 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21904 fprintf (f, "%lu
\n", i);
21906 return ferror (f) || fclose (f) != 0;
21912 rm -f conftest$ac_exeext
21913 if { (ac_try="$ac_link"
21914 case "(($ac_try" in
21915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21916 *) ac_try_echo=$ac_try;;
21918 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21919 (eval "$ac_link") 2>&5
21921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21922 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21923 { (case "(($ac_try" in
21924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21925 *) ac_try_echo=$ac_try;;
21927 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21928 (eval "$ac_try") 2>&5
21930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21931 (exit $ac_status); }; }; then
21932 ac_cv_sizeof_long_long=`cat conftest.val`
21934 echo "$as_me: program exited with status
$ac_status" >&5
21935 echo "$as_me: failed program was
:" >&5
21936 sed 's/^/| /' conftest.$ac_ext >&5
21938 ( exit $ac_status )
21939 if test "$ac_cv_type_long_long" = yes; then
21940 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21941 See \
`config.log' for more details." >&5
21942 echo "$as_me: error: cannot compute sizeof (long long)
21943 See \`config.log
' for more details." >&2;}
21944 { (exit 77); exit 77; }; }
21946 ac_cv_sizeof_long_long=0
21949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21953 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21954 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21958 cat >>confdefs.h <<_ACEOF
21959 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21965 { echo "$as_me:$LINENO: checking for long long" >&5
21966 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21967 if test "${ac_cv_type_long_long+set}" = set; then
21968 echo $ECHO_N "(cached) $ECHO_C" >&6
21970 cat >conftest.$ac_ext <<_ACEOF
21973 cat confdefs.h >>conftest.$ac_ext
21974 cat >>conftest.$ac_ext <<_ACEOF
21975 /* end confdefs.h. */
21976 $ac_includes_default
21977 typedef long long ac__type_new_;
21981 if ((ac__type_new_ *) 0)
21983 if (sizeof (ac__type_new_))
21989 rm -f conftest.$ac_objext
21990 if { (ac_try="$ac_compile"
21991 case "(($ac_try" in
21992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_compile") 2>conftest.er1
21998 grep -v '^
*+' conftest.er1 >conftest.err
22000 cat conftest.err >&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } && {
22003 test -z "$ac_c_werror_flag" ||
22004 test ! -s conftest.err
22005 } && test -s conftest.$ac_objext; then
22006 ac_cv_type_long_long=yes
22008 echo "$as_me: failed program was:" >&5
22009 sed 's
/^
/| /' conftest.$ac_ext >&5
22011 ac_cv_type_long_long=no
22014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22016 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22017 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22019 # The cast to long int works around a bug in the HP C Compiler
22020 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22021 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22022 # This bug is HP SR number 8606223364.
22023 { echo "$as_me:$LINENO: checking size of long long" >&5
22024 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22025 if test "${ac_cv_sizeof_long_long+set}" = set; then
22026 echo $ECHO_N "(cached) $ECHO_C" >&6
22028 if test "$cross_compiling" = yes; then
22029 # Depending upon the size, compute the lo and hi bounds.
22030 cat >conftest.
$ac_ext <<_ACEOF
22033 cat confdefs.h
>>conftest.
$ac_ext
22034 cat >>conftest.
$ac_ext <<_ACEOF
22035 /* end confdefs.h. */
22036 $ac_includes_default
22037 typedef long long ac__type_sizeof_;
22041 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22048 rm -f conftest.
$ac_objext
22049 if { (ac_try
="$ac_compile"
22050 case "(($ac_try" in
22051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22052 *) ac_try_echo=$ac_try;;
22054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22055 (eval "$ac_compile") 2>conftest.er1
22057 grep -v '^ *+' conftest.er1 >conftest.err
22059 cat conftest.err >&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); } && {
22062 test -z "$ac_c_werror_flag" ||
22063 test ! -s conftest.err
22064 } && test -s conftest.$ac_objext; then
22067 cat >conftest.$ac_ext <<_ACEOF
22070 cat confdefs.h >>conftest.$ac_ext
22071 cat >>conftest.$ac_ext <<_ACEOF
22072 /* end confdefs.h. */
22073 $ac_includes_default
22074 typedef long long ac__type_sizeof_;
22078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22085 rm -f conftest.$ac_objext
22086 if { (ac_try="$ac_compile"
22087 case "(($ac_try" in
22088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22089 *) ac_try_echo
=$ac_try;;
22091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22092 (eval "$ac_compile") 2>conftest.er1
22094 grep -v '^ *+' conftest.er1
>conftest.err
22096 cat conftest.err
>&5
22097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); } && {
22099 test -z "$ac_c_werror_flag" ||
22100 test ! -s conftest.err
22101 } && test -s conftest.
$ac_objext; then
22102 ac_hi
=$ac_mid; break
22104 echo "$as_me: failed program was:" >&5
22105 sed 's/^/| /' conftest.
$ac_ext >&5
22107 ac_lo
=`expr $ac_mid + 1`
22108 if test $ac_lo -le $ac_mid; then
22112 ac_mid
=`expr 2 '*' $ac_mid + 1`
22115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22118 echo "$as_me: failed program was:" >&5
22119 sed 's/^/| /' conftest.
$ac_ext >&5
22121 cat >conftest.
$ac_ext <<_ACEOF
22124 cat confdefs.h
>>conftest.
$ac_ext
22125 cat >>conftest.
$ac_ext <<_ACEOF
22126 /* end confdefs.h. */
22127 $ac_includes_default
22128 typedef long long ac__type_sizeof_;
22132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22139 rm -f conftest.
$ac_objext
22140 if { (ac_try
="$ac_compile"
22141 case "(($ac_try" in
22142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22143 *) ac_try_echo=$ac_try;;
22145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22146 (eval "$ac_compile") 2>conftest.er1
22148 grep -v '^ *+' conftest.er1 >conftest.err
22150 cat conftest.err >&5
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); } && {
22153 test -z "$ac_c_werror_flag" ||
22154 test ! -s conftest.err
22155 } && test -s conftest.$ac_objext; then
22158 cat >conftest.$ac_ext <<_ACEOF
22161 cat confdefs.h >>conftest.$ac_ext
22162 cat >>conftest.$ac_ext <<_ACEOF
22163 /* end confdefs.h. */
22164 $ac_includes_default
22165 typedef long long ac__type_sizeof_;
22169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22176 rm -f conftest.$ac_objext
22177 if { (ac_try="$ac_compile"
22178 case "(($ac_try" in
22179 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22180 *) ac_try_echo
=$ac_try;;
22182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22183 (eval "$ac_compile") 2>conftest.er1
22185 grep -v '^ *+' conftest.er1
>conftest.err
22187 cat conftest.err
>&5
22188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189 (exit $ac_status); } && {
22190 test -z "$ac_c_werror_flag" ||
22191 test ! -s conftest.err
22192 } && test -s conftest.
$ac_objext; then
22193 ac_lo
=$ac_mid; break
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.
$ac_ext >&5
22198 ac_hi
=`expr '(' $ac_mid ')' - 1`
22199 if test $ac_mid -le $ac_hi; then
22203 ac_mid
=`expr 2 '*' $ac_mid`
22206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22209 echo "$as_me: failed program was:" >&5
22210 sed 's/^/| /' conftest.
$ac_ext >&5
22215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22219 # Binary search between lo and hi bounds.
22220 while test "x$ac_lo" != "x$ac_hi"; do
22221 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22222 cat >conftest.
$ac_ext <<_ACEOF
22225 cat confdefs.h
>>conftest.
$ac_ext
22226 cat >>conftest.
$ac_ext <<_ACEOF
22227 /* end confdefs.h. */
22228 $ac_includes_default
22229 typedef long long ac__type_sizeof_;
22233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22240 rm -f conftest.
$ac_objext
22241 if { (ac_try
="$ac_compile"
22242 case "(($ac_try" in
22243 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22244 *) ac_try_echo=$ac_try;;
22246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22247 (eval "$ac_compile") 2>conftest.er1
22249 grep -v '^ *+' conftest.er1 >conftest.err
22251 cat conftest.err >&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); } && {
22254 test -z "$ac_c_werror_flag" ||
22255 test ! -s conftest.err
22256 } && test -s conftest.$ac_objext; then
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.$ac_ext >&5
22262 ac_lo=`expr '(' $ac_mid ')' + 1`
22265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22268 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22269 '') if test "$ac_cv_type_long_long" = yes; then
22270 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22271 See \`config.log
' for more details." >&5
22272 echo "$as_me: error: cannot compute sizeof (long long)
22273 See \`config.log' for more details.
" >&2;}
22274 { (exit 77); exit 77; }; }
22276 ac_cv_sizeof_long_long=0
22280 cat >conftest.$ac_ext <<_ACEOF
22283 cat confdefs.h >>conftest.$ac_ext
22284 cat >>conftest.$ac_ext <<_ACEOF
22285 /* end confdefs.h. */
22286 $ac_includes_default
22287 typedef long long ac__type_sizeof_;
22288 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22289 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22291 #include <stdlib.h>
22296 FILE *f = fopen ("conftest.val
", "w
");
22299 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22301 long int i = longval ();
22302 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22304 fprintf (f, "%ld
\n", i);
22308 unsigned long int i = ulongval ();
22309 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22311 fprintf (f, "%lu
\n", i);
22313 return ferror (f) || fclose (f) != 0;
22319 rm -f conftest$ac_exeext
22320 if { (ac_try="$ac_link"
22321 case "(($ac_try" in
22322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22323 *) ac_try_echo=$ac_try;;
22325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22326 (eval "$ac_link") 2>&5
22328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22330 { (case "(($ac_try" in
22331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22332 *) ac_try_echo=$ac_try;;
22334 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22335 (eval "$ac_try") 2>&5
22337 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22338 (exit $ac_status); }; }; then
22339 ac_cv_sizeof_long_long=`cat conftest.val`
22341 echo "$as_me: program exited with status
$ac_status" >&5
22342 echo "$as_me: failed program was
:" >&5
22343 sed 's/^/| /' conftest.$ac_ext >&5
22345 ( exit $ac_status )
22346 if test "$ac_cv_type_long_long" = yes; then
22347 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22348 See \
`config.log' for more details." >&5
22349 echo "$as_me: error: cannot compute sizeof (long long)
22350 See \`config.log
' for more details." >&2;}
22351 { (exit 77); exit 77; }; }
22353 ac_cv_sizeof_long_long=0
22356 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22360 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22361 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22365 cat >>confdefs.h <<_ACEOF
22366 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22370 if test "$ac_cv_sizeof_long_long" != 0; then
22371 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22375 { echo "$as_me:$LINENO: checking for long long" >&5
22376 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22377 if test "${ac_cv_type_long_long+set}" = set; then
22378 echo $ECHO_N "(cached) $ECHO_C" >&6
22380 cat >conftest.$ac_ext <<_ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 $ac_includes_default
22387 typedef long long ac__type_new_;
22391 if ((ac__type_new_ *) 0)
22393 if (sizeof (ac__type_new_))
22399 rm -f conftest.$ac_objext
22400 if { (ac_try="$ac_compile"
22401 case "(($ac_try" in
22402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22403 *) ac_try_echo=$ac_try;;
22405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22406 (eval "$ac_compile") 2>conftest.er1
22408 grep -v '^
*+' conftest.er1 >conftest.err
22410 cat conftest.err >&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); } && {
22413 test -z "$ac_c_werror_flag" ||
22414 test ! -s conftest.err
22415 } && test -s conftest.$ac_objext; then
22416 ac_cv_type_long_long=yes
22418 echo "$as_me: failed program was:" >&5
22419 sed 's
/^
/| /' conftest.$ac_ext >&5
22421 ac_cv_type_long_long=no
22424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22426 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22427 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22429 # The cast to long int works around a bug in the HP C Compiler
22430 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22431 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22432 # This bug is HP SR number 8606223364.
22433 { echo "$as_me:$LINENO: checking size of long long" >&5
22434 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22435 if test "${ac_cv_sizeof_long_long+set}" = set; then
22436 echo $ECHO_N "(cached) $ECHO_C" >&6
22438 if test "$cross_compiling" = yes; then
22439 # Depending upon the size, compute the lo and hi bounds.
22440 cat >conftest.
$ac_ext <<_ACEOF
22443 cat confdefs.h
>>conftest.
$ac_ext
22444 cat >>conftest.
$ac_ext <<_ACEOF
22445 /* end confdefs.h. */
22446 $ac_includes_default
22447 typedef long long ac__type_sizeof_;
22451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22458 rm -f conftest.
$ac_objext
22459 if { (ac_try
="$ac_compile"
22460 case "(($ac_try" in
22461 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22462 *) ac_try_echo=$ac_try;;
22464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22465 (eval "$ac_compile") 2>conftest.er1
22467 grep -v '^ *+' conftest.er1 >conftest.err
22469 cat conftest.err >&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } && {
22472 test -z "$ac_c_werror_flag" ||
22473 test ! -s conftest.err
22474 } && test -s conftest.$ac_objext; then
22477 cat >conftest.$ac_ext <<_ACEOF
22480 cat confdefs.h >>conftest.$ac_ext
22481 cat >>conftest.$ac_ext <<_ACEOF
22482 /* end confdefs.h. */
22483 $ac_includes_default
22484 typedef long long ac__type_sizeof_;
22488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22495 rm -f conftest.$ac_objext
22496 if { (ac_try="$ac_compile"
22497 case "(($ac_try" in
22498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22499 *) ac_try_echo
=$ac_try;;
22501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22502 (eval "$ac_compile") 2>conftest.er1
22504 grep -v '^ *+' conftest.er1
>conftest.err
22506 cat conftest.err
>&5
22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508 (exit $ac_status); } && {
22509 test -z "$ac_c_werror_flag" ||
22510 test ! -s conftest.err
22511 } && test -s conftest.
$ac_objext; then
22512 ac_hi
=$ac_mid; break
22514 echo "$as_me: failed program was:" >&5
22515 sed 's/^/| /' conftest.
$ac_ext >&5
22517 ac_lo
=`expr $ac_mid + 1`
22518 if test $ac_lo -le $ac_mid; then
22522 ac_mid
=`expr 2 '*' $ac_mid + 1`
22525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22528 echo "$as_me: failed program was:" >&5
22529 sed 's/^/| /' conftest.
$ac_ext >&5
22531 cat >conftest.
$ac_ext <<_ACEOF
22534 cat confdefs.h
>>conftest.
$ac_ext
22535 cat >>conftest.
$ac_ext <<_ACEOF
22536 /* end confdefs.h. */
22537 $ac_includes_default
22538 typedef long long ac__type_sizeof_;
22542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22549 rm -f conftest.
$ac_objext
22550 if { (ac_try
="$ac_compile"
22551 case "(($ac_try" in
22552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22553 *) ac_try_echo=$ac_try;;
22555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22556 (eval "$ac_compile") 2>conftest.er1
22558 grep -v '^ *+' conftest.er1 >conftest.err
22560 cat conftest.err >&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); } && {
22563 test -z "$ac_c_werror_flag" ||
22564 test ! -s conftest.err
22565 } && test -s conftest.$ac_objext; then
22568 cat >conftest.$ac_ext <<_ACEOF
22571 cat confdefs.h >>conftest.$ac_ext
22572 cat >>conftest.$ac_ext <<_ACEOF
22573 /* end confdefs.h. */
22574 $ac_includes_default
22575 typedef long long ac__type_sizeof_;
22579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22586 rm -f conftest.$ac_objext
22587 if { (ac_try="$ac_compile"
22588 case "(($ac_try" in
22589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22590 *) ac_try_echo
=$ac_try;;
22592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22593 (eval "$ac_compile") 2>conftest.er1
22595 grep -v '^ *+' conftest.er1
>conftest.err
22597 cat conftest.err
>&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); } && {
22600 test -z "$ac_c_werror_flag" ||
22601 test ! -s conftest.err
22602 } && test -s conftest.
$ac_objext; then
22603 ac_lo
=$ac_mid; break
22605 echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.
$ac_ext >&5
22608 ac_hi
=`expr '(' $ac_mid ')' - 1`
22609 if test $ac_mid -le $ac_hi; then
22613 ac_mid
=`expr 2 '*' $ac_mid`
22616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.
$ac_ext >&5
22625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22629 # Binary search between lo and hi bounds.
22630 while test "x$ac_lo" != "x$ac_hi"; do
22631 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22632 cat >conftest.
$ac_ext <<_ACEOF
22635 cat confdefs.h
>>conftest.
$ac_ext
22636 cat >>conftest.
$ac_ext <<_ACEOF
22637 /* end confdefs.h. */
22638 $ac_includes_default
22639 typedef long long ac__type_sizeof_;
22643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22650 rm -f conftest.
$ac_objext
22651 if { (ac_try
="$ac_compile"
22652 case "(($ac_try" in
22653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22654 *) ac_try_echo=$ac_try;;
22656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22657 (eval "$ac_compile") 2>conftest.er1
22659 grep -v '^ *+' conftest.er1 >conftest.err
22661 cat conftest.err >&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); } && {
22664 test -z "$ac_c_werror_flag" ||
22665 test ! -s conftest.err
22666 } && test -s conftest.$ac_objext; then
22669 echo "$as_me: failed program was:" >&5
22670 sed 's/^/| /' conftest.$ac_ext >&5
22672 ac_lo=`expr '(' $ac_mid ')' + 1`
22675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22678 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22679 '') if test "$ac_cv_type_long_long" = yes; then
22680 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22681 See \`config.log
' for more details." >&5
22682 echo "$as_me: error: cannot compute sizeof (long long)
22683 See \`config.log' for more details.
" >&2;}
22684 { (exit 77); exit 77; }; }
22686 ac_cv_sizeof_long_long=0
22690 cat >conftest.$ac_ext <<_ACEOF
22693 cat confdefs.h >>conftest.$ac_ext
22694 cat >>conftest.$ac_ext <<_ACEOF
22695 /* end confdefs.h. */
22696 $ac_includes_default
22697 typedef long long ac__type_sizeof_;
22698 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22699 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22701 #include <stdlib.h>
22706 FILE *f = fopen ("conftest.val
", "w
");
22709 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22711 long int i = longval ();
22712 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22714 fprintf (f, "%ld
\n", i);
22718 unsigned long int i = ulongval ();
22719 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22721 fprintf (f, "%lu
\n", i);
22723 return ferror (f) || fclose (f) != 0;
22729 rm -f conftest$ac_exeext
22730 if { (ac_try="$ac_link"
22731 case "(($ac_try" in
22732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22733 *) ac_try_echo=$ac_try;;
22735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22736 (eval "$ac_link") 2>&5
22738 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22740 { (case "(($ac_try" in
22741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22742 *) ac_try_echo=$ac_try;;
22744 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22745 (eval "$ac_try") 2>&5
22747 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22748 (exit $ac_status); }; }; then
22749 ac_cv_sizeof_long_long=`cat conftest.val`
22751 echo "$as_me: program exited with status
$ac_status" >&5
22752 echo "$as_me: failed program was
:" >&5
22753 sed 's/^/| /' conftest.$ac_ext >&5
22755 ( exit $ac_status )
22756 if test "$ac_cv_type_long_long" = yes; then
22757 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22758 See \
`config.log' for more details." >&5
22759 echo "$as_me: error: cannot compute sizeof (long long)
22760 See \`config.log
' for more details." >&2;}
22761 { (exit 77); exit 77; }; }
22763 ac_cv_sizeof_long_long=0
22766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22770 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22771 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22775 cat >>confdefs.h <<_ACEOF
22776 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22782 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22783 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22784 if test "${ac_cv_type_wchar_t+set}" = set; then
22785 echo $ECHO_N "(cached) $ECHO_C" >&6
22787 cat >conftest.$ac_ext <<_ACEOF
22790 cat confdefs.h >>conftest.$ac_ext
22791 cat >>conftest.$ac_ext <<_ACEOF
22792 /* end confdefs.h. */
22794 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22795 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22796 # error "fake wchar_t"
22798 #ifdef HAVE_WCHAR_H
22800 # include <stddef.h>
22802 # include <wchar.h>
22804 #ifdef HAVE_STDLIB_H
22805 # include <stdlib.h>
22811 typedef wchar_t ac__type_new_
;
22815 if ((ac__type_new_
*) 0)
22817 if (sizeof
(ac__type_new_
))
22823 rm -f conftest.
$ac_objext
22824 if { (ac_try
="$ac_compile"
22825 case "(($ac_try" in
22826 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22827 *) ac_try_echo=$ac_try;;
22829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22830 (eval "$ac_compile") 2>conftest.er1
22832 grep -v '^ *+' conftest.er1 >conftest.err
22834 cat conftest.err >&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); } && {
22837 test -z "$ac_c_werror_flag" ||
22838 test ! -s conftest.err
22839 } && test -s conftest.$ac_objext; then
22840 ac_cv_type_wchar_t=yes
22842 echo "$as_me: failed program was:" >&5
22843 sed 's/^/| /' conftest.$ac_ext >&5
22845 ac_cv_type_wchar_t=no
22848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22850 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22851 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22853 # The cast to long int works around a bug in the HP C Compiler
22854 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22855 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22856 # This bug is HP SR number 8606223364.
22857 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22858 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22859 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22860 echo $ECHO_N "(cached) $ECHO_C" >&6
22862 if test "$cross_compiling" = yes; then
22863 # Depending upon the size, compute the lo and hi bounds.
22864 cat >conftest.$ac_ext <<_ACEOF
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22871 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22872 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22873 # error "fake wchar_t"
22875 #ifdef HAVE_WCHAR_H
22877 # include <stddef.h>
22879 # include <wchar.h>
22881 #ifdef HAVE_STDLIB_H
22882 # include <stdlib.h>
22888 typedef wchar_t ac__type_sizeof_
;
22892 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22899 rm -f conftest.
$ac_objext
22900 if { (ac_try
="$ac_compile"
22901 case "(($ac_try" in
22902 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22903 *) ac_try_echo=$ac_try;;
22905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22906 (eval "$ac_compile") 2>conftest.er1
22908 grep -v '^ *+' conftest.er1 >conftest.err
22910 cat conftest.err >&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); } && {
22913 test -z "$ac_c_werror_flag" ||
22914 test ! -s conftest.err
22915 } && test -s conftest.$ac_objext; then
22918 cat >conftest.$ac_ext <<_ACEOF
22921 cat confdefs.h >>conftest.$ac_ext
22922 cat >>conftest.$ac_ext <<_ACEOF
22923 /* end confdefs.h. */
22925 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22926 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22927 # error "fake wchar_t"
22929 #ifdef HAVE_WCHAR_H
22931 # include <stddef.h>
22933 # include <wchar.h>
22935 #ifdef HAVE_STDLIB_H
22936 # include <stdlib.h>
22942 typedef wchar_t ac__type_sizeof_;
22946 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22953 rm -f conftest.$ac_objext
22954 if { (ac_try="$ac_compile"
22955 case "(($ac_try" in
22956 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22957 *) ac_try_echo
=$ac_try;;
22959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22960 (eval "$ac_compile") 2>conftest.er1
22962 grep -v '^ *+' conftest.er1
>conftest.err
22964 cat conftest.err
>&5
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); } && {
22967 test -z "$ac_c_werror_flag" ||
22968 test ! -s conftest.err
22969 } && test -s conftest.
$ac_objext; then
22970 ac_hi
=$ac_mid; break
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.
$ac_ext >&5
22975 ac_lo
=`expr $ac_mid + 1`
22976 if test $ac_lo -le $ac_mid; then
22980 ac_mid
=`expr 2 '*' $ac_mid + 1`
22983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.
$ac_ext >&5
22989 cat >conftest.
$ac_ext <<_ACEOF
22992 cat confdefs.h
>>conftest.
$ac_ext
22993 cat >>conftest.
$ac_ext <<_ACEOF
22994 /* end confdefs.h. */
22996 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22997 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22998 # error "fake wchar_t"
23000 #ifdef HAVE_WCHAR_H
23002 # include <stddef.h>
23004 # include <wchar.h>
23006 #ifdef HAVE_STDLIB_H
23007 # include <stdlib.h>
23013 typedef wchar_t ac__type_sizeof_;
23017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23024 rm -f conftest.
$ac_objext
23025 if { (ac_try
="$ac_compile"
23026 case "(($ac_try" in
23027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23028 *) ac_try_echo=$ac_try;;
23030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23031 (eval "$ac_compile") 2>conftest.er1
23033 grep -v '^ *+' conftest.er1 >conftest.err
23035 cat conftest.err >&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); } && {
23038 test -z "$ac_c_werror_flag" ||
23039 test ! -s conftest.err
23040 } && test -s conftest.$ac_objext; then
23043 cat >conftest.$ac_ext <<_ACEOF
23046 cat confdefs.h >>conftest.$ac_ext
23047 cat >>conftest.$ac_ext <<_ACEOF
23048 /* end confdefs.h. */
23050 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23051 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23052 # error "fake wchar_t"
23054 #ifdef HAVE_WCHAR_H
23056 # include <stddef.h>
23058 # include <wchar.h>
23060 #ifdef HAVE_STDLIB_H
23061 # include <stdlib.h>
23067 typedef wchar_t ac__type_sizeof_;
23071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23078 rm -f conftest.$ac_objext
23079 if { (ac_try="$ac_compile"
23080 case "(($ac_try" in
23081 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23082 *) ac_try_echo
=$ac_try;;
23084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23085 (eval "$ac_compile") 2>conftest.er1
23087 grep -v '^ *+' conftest.er1
>conftest.err
23089 cat conftest.err
>&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } && {
23092 test -z "$ac_c_werror_flag" ||
23093 test ! -s conftest.err
23094 } && test -s conftest.
$ac_objext; then
23095 ac_lo
=$ac_mid; break
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.
$ac_ext >&5
23100 ac_hi
=`expr '(' $ac_mid ')' - 1`
23101 if test $ac_mid -le $ac_hi; then
23105 ac_mid
=`expr 2 '*' $ac_mid`
23108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23111 echo "$as_me: failed program was:" >&5
23112 sed 's/^/| /' conftest.
$ac_ext >&5
23117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23121 # Binary search between lo and hi bounds.
23122 while test "x$ac_lo" != "x$ac_hi"; do
23123 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23124 cat >conftest.
$ac_ext <<_ACEOF
23127 cat confdefs.h
>>conftest.
$ac_ext
23128 cat >>conftest.
$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23131 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23132 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23133 # error "fake wchar_t"
23135 #ifdef HAVE_WCHAR_H
23137 # include <stddef.h>
23139 # include <wchar.h>
23141 #ifdef HAVE_STDLIB_H
23142 # include <stdlib.h>
23148 typedef wchar_t ac__type_sizeof_;
23152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23159 rm -f conftest.
$ac_objext
23160 if { (ac_try
="$ac_compile"
23161 case "(($ac_try" in
23162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23163 *) ac_try_echo=$ac_try;;
23165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23166 (eval "$ac_compile") 2>conftest.er1
23168 grep -v '^ *+' conftest.er1 >conftest.err
23170 cat conftest.err >&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); } && {
23173 test -z "$ac_c_werror_flag" ||
23174 test ! -s conftest.err
23175 } && test -s conftest.$ac_objext; then
23178 echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.$ac_ext >&5
23181 ac_lo=`expr '(' $ac_mid ')' + 1`
23184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23187 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23188 '') if test "$ac_cv_type_wchar_t" = yes; then
23189 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23190 See \`config.log
' for more details." >&5
23191 echo "$as_me: error: cannot compute sizeof (wchar_t)
23192 See \`config.log' for more details.
" >&2;}
23193 { (exit 77); exit 77; }; }
23195 ac_cv_sizeof_wchar_t=0
23199 cat >conftest.$ac_ext <<_ACEOF
23202 cat confdefs.h >>conftest.$ac_ext
23203 cat >>conftest.$ac_ext <<_ACEOF
23204 /* end confdefs.h. */
23206 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23207 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23208 # error "fake wchar_t
"
23210 #ifdef HAVE_WCHAR_H
23212 # include <stddef.h>
23214 # include <wchar.h>
23216 #ifdef HAVE_STDLIB_H
23217 # include <stdlib.h>
23223 typedef wchar_t ac__type_sizeof_;
23224 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23225 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23227 #include <stdlib.h>
23232 FILE *f = fopen ("conftest.val
", "w
");
23235 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23237 long int i = longval ();
23238 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23240 fprintf (f, "%ld
\n", i);
23244 unsigned long int i = ulongval ();
23245 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23247 fprintf (f, "%lu
\n", i);
23249 return ferror (f) || fclose (f) != 0;
23255 rm -f conftest$ac_exeext
23256 if { (ac_try="$ac_link"
23257 case "(($ac_try" in
23258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23259 *) ac_try_echo=$ac_try;;
23261 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23262 (eval "$ac_link") 2>&5
23264 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23265 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23266 { (case "(($ac_try" in
23267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23268 *) ac_try_echo=$ac_try;;
23270 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23271 (eval "$ac_try") 2>&5
23273 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23274 (exit $ac_status); }; }; then
23275 ac_cv_sizeof_wchar_t=`cat conftest.val`
23277 echo "$as_me: program exited with status
$ac_status" >&5
23278 echo "$as_me: failed program was
:" >&5
23279 sed 's/^/| /' conftest.$ac_ext >&5
23281 ( exit $ac_status )
23282 if test "$ac_cv_type_wchar_t" = yes; then
23283 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23284 See \
`config.log' for more details." >&5
23285 echo "$as_me: error: cannot compute sizeof (wchar_t)
23286 See \`config.log
' for more details." >&2;}
23287 { (exit 77); exit 77; }; }
23289 ac_cv_sizeof_wchar_t=0
23292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23296 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23297 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23301 cat >>confdefs.h <<_ACEOF
23302 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23306 if test "$ac_cv_sizeof_wchar_t" != 0; then
23312 { echo "$as_me:$LINENO: checking for va_copy" >&5
23313 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23314 if test "${wx_cv_func_va_copy+set}" = set; then
23315 echo $ECHO_N "(cached) $ECHO_C" >&6
23319 ac_cpp='$CXXCPP $CPPFLAGS'
23320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23321 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23324 cat >conftest.$ac_ext <<_ACEOF
23326 #include <stdarg.h>
23327 void foo(char *f, ...)
23341 rm -f conftest.$ac_objext conftest$ac_exeext
23342 if { (ac_try="$ac_link"
23343 case "(($ac_try" in
23344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23345 *) ac_try_echo=$ac_try;;
23347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23348 (eval "$ac_link") 2>conftest.er1
23350 grep -v '^
*+' conftest.er1 >conftest.err
23352 cat conftest.err >&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } && {
23355 test -z "$ac_cxx_werror_flag" ||
23356 test ! -s conftest.err
23357 } && test -s conftest$ac_exeext &&
23358 $as_test_x conftest$ac_exeext; then
23359 wx_cv_func_va_copy=yes
23361 echo "$as_me: failed program was:" >&5
23362 sed 's
/^
/| /' conftest.$ac_ext >&5
23364 wx_cv_func_va_copy=no
23368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23369 conftest$ac_exeext conftest.$ac_ext
23371 ac_cpp='$CPP $CPPFLAGS'
23372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23373 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23379 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23380 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23382 if test $wx_cv_func_va_copy = "yes"; then
23383 cat >>confdefs.h <<\_ACEOF
23384 #define HAVE_VA_COPY 1
23388 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23389 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23390 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23394 if test "$cross_compiling" = yes; then
23395 wx_cv_type_va_list_lvalue=yes
23398 cat >conftest.$ac_ext <<_ACEOF
23400 #include <stdarg.h>
23401 int foo(char *f, ...)
23406 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23414 return foo("hi", 17);
23417 rm -f conftest$ac_exeext
23418 if { (ac_try="$ac_link"
23419 case "(($ac_try" in
23420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23421 *) ac_try_echo=$ac_try;;
23423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23424 (eval "$ac_link") 2>&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23428 { (case "(($ac_try" in
23429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23430 *) ac_try_echo=$ac_try;;
23432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23433 (eval "$ac_try") 2>&5
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); }; }; then
23437 wx_cv_type_va_list_lvalue=yes
23439 echo "$as_me: program exited with status $ac_status" >&5
23440 echo "$as_me: failed program was:" >&5
23441 sed 's
/^
/| /' conftest.$ac_ext >&5
23443 ( exit $ac_status )
23444 wx_cv_type_va_list_lvalue=no
23446 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23453 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23454 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23456 if test $wx_cv_type_va_list_lvalue != "yes"; then
23457 cat >>confdefs.h <<\_ACEOF
23458 #define VA_LIST_IS_ARRAY 1
23464 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23466 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23467 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23468 if test "${wx_cv_have_variadic_macros+set}" = set; then
23469 echo $ECHO_N "(cached) $ECHO_C" >&6
23473 ac_cpp='$CXXCPP $CPPFLAGS'
23474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23475 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23478 cat >conftest.$ac_ext <<_ACEOF
23481 cat confdefs.h >>conftest.$ac_ext
23482 cat >>conftest.$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23486 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23492 test("%s %d %p", "test", 1, 0);
23499 rm -f conftest.$ac_objext
23500 if { (ac_try="$ac_compile"
23501 case "(($ac_try" in
23502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23503 *) ac_try_echo=$ac_try;;
23505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23506 (eval "$ac_compile") 2>conftest.er1
23508 grep -v '^
*+' conftest.er1 >conftest.err
23510 cat conftest.err >&5
23511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512 (exit $ac_status); } && {
23513 test -z "$ac_cxx_werror_flag" ||
23514 test ! -s conftest.err
23515 } && test -s conftest.$ac_objext; then
23516 wx_cv_have_variadic_macros=yes
23518 echo "$as_me: failed program was:" >&5
23519 sed 's
/^
/| /' conftest.$ac_ext >&5
23521 wx_cv_have_variadic_macros=no
23525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23527 ac_cpp='$CPP $CPPFLAGS'
23528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23529 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23535 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23536 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23538 if test $wx_cv_have_variadic_macros = "yes"; then
23539 cat >>confdefs.h <<\_ACEOF
23540 #define HAVE_VARIADIC_MACROS 1
23547 LARGEFILE_CPPFLAGS=
23548 # Check whether --enable-largefile was given.
23549 if test "${enable_largefile+set}" = set; then
23550 enableval=$enable_largefile;
23553 if test "$enable_largefile" != no; then
23556 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23557 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23558 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23559 echo $ECHO_N "(cached) $ECHO_C" >&6
23562 cat >conftest.$ac_ext <<_ACEOF
23565 cat confdefs.h >>conftest.$ac_ext
23566 cat >>conftest.$ac_ext <<_ACEOF
23567 /* end confdefs.h. */
23568 #define _FILE_OFFSET_BITS 64
23569 #include <sys/types.h>
23574 unsigned int field: sizeof(off_t) == 8;
23581 rm -f conftest.$ac_objext
23582 if { (ac_try="$ac_compile"
23583 case "(($ac_try" in
23584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23585 *) ac_try_echo=$ac_try;;
23587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23588 (eval "$ac_compile") 2>conftest.er1
23590 grep -v '^
*+' conftest.er1 >conftest.err
23592 cat conftest.err >&5
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); } && {
23595 test -z "$ac_c_werror_flag" ||
23596 test ! -s conftest.err
23597 } && test -s conftest.$ac_objext; then
23598 ac_cv_sys_file_offset_bits=64
23600 echo "$as_me: failed program was:" >&5
23601 sed 's
/^
/| /' conftest.$ac_ext >&5
23603 ac_cv_sys_file_offset_bits=no
23606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23611 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23613 if test "$ac_cv_sys_file_offset_bits" != no; then
23615 cat >>confdefs.h <<_ACEOF
23616 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23621 if test "x$wx_largefile" != "xyes"; then
23623 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23624 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23625 if test "${ac_cv_sys_large_files+set}" = set; then
23626 echo $ECHO_N "(cached) $ECHO_C" >&6
23629 cat >conftest.$ac_ext <<_ACEOF
23632 cat confdefs.h >>conftest.$ac_ext
23633 cat >>conftest.$ac_ext <<_ACEOF
23634 /* end confdefs.h. */
23635 #define _LARGE_FILES 1
23636 #include <sys/types.h>
23641 unsigned int field: sizeof(off_t) == 8;
23648 rm -f conftest.$ac_objext
23649 if { (ac_try="$ac_compile"
23650 case "(($ac_try" in
23651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23652 *) ac_try_echo=$ac_try;;
23654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23655 (eval "$ac_compile") 2>conftest.er1
23657 grep -v '^
*+' conftest.er1 >conftest.err
23659 cat conftest.err >&5
23660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23661 (exit $ac_status); } && {
23662 test -z "$ac_c_werror_flag" ||
23663 test ! -s conftest.err
23664 } && test -s conftest.$ac_objext; then
23665 ac_cv_sys_large_files=1
23667 echo "$as_me: failed program was:" >&5
23668 sed 's
/^
/| /' conftest.$ac_ext >&5
23670 ac_cv_sys_large_files=no
23673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23677 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23678 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23680 if test "$ac_cv_sys_large_files" != no; then
23682 cat >>confdefs.h <<_ACEOF
23683 #define _LARGE_FILES $ac_cv_sys_large_files
23690 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23691 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23692 if test "x$wx_largefile" = "xyes"; then
23693 cat >>confdefs.h <<\_ACEOF
23694 #define HAVE_LARGEFILE_SUPPORT 1
23698 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23699 echo "${ECHO_T}$wx_largefile" >&6; }
23702 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23703 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23704 elif test "$ac_cv_sys_large_files" = 1; then
23705 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23708 if test -n "$LARGEFILE_CPPFLAGS"; then
23709 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23711 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23712 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23713 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23714 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23715 echo $ECHO_N "(cached) $ECHO_C" >&6
23719 ac_cpp='$CXXCPP $CPPFLAGS'
23720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23721 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23724 cat >conftest.$ac_ext <<_ACEOF
23727 cat confdefs.h >>conftest.$ac_ext
23728 cat >>conftest.$ac_ext <<_ACEOF
23729 /* end confdefs.h. */
23735 #ifndef __STDC_EXT__
23743 rm -f conftest.$ac_objext
23744 if { (ac_try="$ac_compile"
23745 case "(($ac_try" in
23746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23747 *) ac_try_echo=$ac_try;;
23749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23750 (eval "$ac_compile") 2>conftest.er1
23752 grep -v '^
*+' conftest.er1 >conftest.err
23754 cat conftest.err >&5
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); } && {
23757 test -z "$ac_cxx_werror_flag" ||
23758 test ! -s conftest.err
23759 } && test -s conftest.$ac_objext; then
23760 wx_cv_STDC_EXT_required=no
23762 echo "$as_me: failed program was:" >&5
23763 sed 's
/^
/| /' conftest.$ac_ext >&5
23765 wx_cv_STDC_EXT_required=yes
23769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23771 ac_cpp='$CPP $CPPFLAGS'
23772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23773 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23779 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23780 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23781 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23782 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23788 ac_cpp='$CXXCPP $CPPFLAGS'
23789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23790 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23793 old_CPPFLAGS="$CPPFLAGS"
23794 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23795 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23796 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23797 if test "${ac_cv_sys_largefile_source+set}" = set; then
23798 echo $ECHO_N "(cached) $ECHO_C" >&6
23801 cat >conftest.$ac_ext <<_ACEOF
23804 cat confdefs.h >>conftest.$ac_ext
23805 cat >>conftest.$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807 #include <sys/types.h> /* for off_t */
23812 int (*fp) (FILE *, off_t, int) = fseeko;
23813 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23818 rm -f conftest.$ac_objext conftest$ac_exeext
23819 if { (ac_try="$ac_link"
23820 case "(($ac_try" in
23821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23822 *) ac_try_echo=$ac_try;;
23824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23825 (eval "$ac_link") 2>conftest.er1
23827 grep -v '^
*+' conftest.er1 >conftest.err
23829 cat conftest.err >&5
23830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23831 (exit $ac_status); } && {
23832 test -z "$ac_cxx_werror_flag" ||
23833 test ! -s conftest.err
23834 } && test -s conftest$ac_exeext &&
23835 $as_test_x conftest$ac_exeext; then
23836 ac_cv_sys_largefile_source=no; break
23838 echo "$as_me: failed program was:" >&5
23839 sed 's
/^
/| /' conftest.$ac_ext >&5
23844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23845 conftest$ac_exeext conftest.$ac_ext
23846 cat >conftest.$ac_ext <<_ACEOF
23849 cat confdefs.h >>conftest.$ac_ext
23850 cat >>conftest.$ac_ext <<_ACEOF
23851 /* end confdefs.h. */
23852 #define _LARGEFILE_SOURCE 1
23853 #include <sys/types.h> /* for off_t */
23858 int (*fp) (FILE *, off_t, int) = fseeko;
23859 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23864 rm -f conftest.$ac_objext conftest$ac_exeext
23865 if { (ac_try="$ac_link"
23866 case "(($ac_try" in
23867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23868 *) ac_try_echo=$ac_try;;
23870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23871 (eval "$ac_link") 2>conftest.er1
23873 grep -v '^
*+' conftest.er1 >conftest.err
23875 cat conftest.err >&5
23876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23877 (exit $ac_status); } && {
23878 test -z "$ac_cxx_werror_flag" ||
23879 test ! -s conftest.err
23880 } && test -s conftest$ac_exeext &&
23881 $as_test_x conftest$ac_exeext; then
23882 ac_cv_sys_largefile_source=1; break
23884 echo "$as_me: failed program was:" >&5
23885 sed 's
/^
/| /' conftest.$ac_ext >&5
23890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23891 conftest$ac_exeext conftest.$ac_ext
23892 ac_cv_sys_largefile_source=unknown
23896 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23897 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23898 case $ac_cv_sys_largefile_source in #(
23901 cat >>confdefs.h <<_ACEOF
23902 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23908 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23909 # in glibc 2.1.3, but that breaks too many other things.
23910 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23911 if test $ac_cv_sys_largefile_source != unknown; then
23913 cat >>confdefs.h <<\_ACEOF
23914 #define HAVE_FSEEKO 1
23919 CPPFLAGS="$old_CPPFLAGS"
23921 ac_cpp='$CPP $CPPFLAGS'
23922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23923 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23926 if test "$ac_cv_sys_largefile_source" != no; then
23927 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23930 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23931 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23932 if test "${ac_cv_c_bigendian+set}" = set; then
23933 echo $ECHO_N "(cached) $ECHO_C" >&6
23935 ac_cv_c_bigendian=unknown
23936 # See if sys/param.h defines the BYTE_ORDER macro.
23937 cat >conftest.$ac_ext <<_ACEOF
23940 cat confdefs.h >>conftest.$ac_ext
23941 cat >>conftest.$ac_ext <<_ACEOF
23942 /* end confdefs.h. */
23943 #include <sys/types.h>
23944 #include <sys/param.h>
23949 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23950 bogus endian macros
23956 rm -f conftest.$ac_objext
23957 if { (ac_try="$ac_compile"
23958 case "(($ac_try" in
23959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23960 *) ac_try_echo=$ac_try;;
23962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23963 (eval "$ac_compile") 2>conftest.er1
23965 grep -v '^
*+' conftest.er1 >conftest.err
23967 cat conftest.err >&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); } && {
23970 test -z "$ac_c_werror_flag" ||
23971 test ! -s conftest.err
23972 } && test -s conftest.$ac_objext; then
23973 # It does; now see whether it defined to BIG_ENDIAN or not.
23974 cat >conftest.$ac_ext <<_ACEOF
23977 cat confdefs.h >>conftest.$ac_ext
23978 cat >>conftest.$ac_ext <<_ACEOF
23979 /* end confdefs.h. */
23980 #include <sys/types.h>
23981 #include <sys/param.h>
23986 #if BYTE_ORDER != BIG_ENDIAN
23993 rm -f conftest.$ac_objext
23994 if { (ac_try="$ac_compile"
23995 case "(($ac_try" in
23996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23997 *) ac_try_echo=$ac_try;;
23999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24000 (eval "$ac_compile") 2>conftest.er1
24002 grep -v '^
*+' conftest.er1 >conftest.err
24004 cat conftest.err >&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); } && {
24007 test -z "$ac_c_werror_flag" ||
24008 test ! -s conftest.err
24009 } && test -s conftest.$ac_objext; then
24010 ac_cv_c_bigendian=yes
24012 echo "$as_me: failed program was:" >&5
24013 sed 's
/^
/| /' conftest.$ac_ext >&5
24015 ac_cv_c_bigendian=no
24018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24020 echo "$as_me: failed program was:" >&5
24021 sed 's
/^
/| /' conftest.$ac_ext >&5
24026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24027 if test $ac_cv_c_bigendian = unknown; then
24028 if test "$cross_compiling" = yes; then
24029 ac_cv_c_bigendian=unknown
24031 cat >conftest.$ac_ext <<_ACEOF
24034 cat confdefs.h >>conftest.$ac_ext
24035 cat >>conftest.$ac_ext <<_ACEOF
24036 /* end confdefs.h. */
24038 /* Are we little or big endian? From Harbison&Steele. */
24042 char c[sizeof (long)];
24045 exit (u.c[sizeof (long) - 1] == 1);
24048 rm -f conftest$ac_exeext
24049 if { (ac_try="$ac_link"
24050 case "(($ac_try" in
24051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24052 *) ac_try_echo=$ac_try;;
24054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24055 (eval "$ac_link") 2>&5
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24059 { (case "(($ac_try" in
24060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24061 *) ac_try_echo=$ac_try;;
24063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24064 (eval "$ac_try") 2>&5
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); }; }; then
24068 ac_cv_c_bigendian=no
24070 echo "$as_me: program exited with status $ac_status" >&5
24071 echo "$as_me: failed program was:" >&5
24072 sed 's
/^
/| /' conftest.$ac_ext >&5
24074 ( exit $ac_status )
24075 ac_cv_c_bigendian=yes
24077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24083 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24084 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24085 if test $ac_cv_c_bigendian = unknown; then
24086 { 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
24087 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;}
24089 if test $ac_cv_c_bigendian = yes; then
24090 cat >>confdefs.h <<\_ACEOF
24091 #define WORDS_BIGENDIAN 1
24100 ac_cpp='$CXXCPP $CPPFLAGS'
24101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24102 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24107 for ac_header in iostream
24109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24110 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24115 cat >conftest.$ac_ext <<_ACEOF
24118 cat confdefs.h >>conftest.$ac_ext
24119 cat >>conftest.$ac_ext <<_ACEOF
24120 /* end confdefs.h. */
24123 #include <$ac_header>
24125 rm -f conftest.$ac_objext
24126 if { (ac_try="$ac_compile"
24127 case "(($ac_try" in
24128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24129 *) ac_try_echo=$ac_try;;
24131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24132 (eval "$ac_compile") 2>conftest.er1
24134 grep -v '^
*+' conftest.er1 >conftest.err
24136 cat conftest.err >&5
24137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); } && {
24139 test -z "$ac_cxx_werror_flag" ||
24140 test ! -s conftest.err
24141 } && test -s conftest.$ac_objext; then
24142 eval "$as_ac_Header=yes"
24144 echo "$as_me: failed program was:" >&5
24145 sed 's
/^
/| /' conftest.$ac_ext >&5
24147 eval "$as_ac_Header=no"
24150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24152 ac_res=`eval echo '${'$as_ac_Header'}'`
24153 { echo "$as_me:$LINENO: result: $ac_res" >&5
24154 echo "${ECHO_T}$ac_res" >&6; }
24155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24156 cat >>confdefs.h <<_ACEOF
24157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24165 if test "$ac_cv_header_iostream" = "yes" ; then
24168 cat >>confdefs.h <<\_ACEOF
24169 #define wxUSE_IOSTREAMH 1
24175 ac_cpp='$CPP $CPPFLAGS'
24176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24177 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24183 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24184 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24185 if test "${wx_cv_explicit+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24191 ac_cpp='$CXXCPP $CPPFLAGS'
24192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24193 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24197 cat >conftest.$ac_ext <<_ACEOF
24200 cat confdefs.h >>conftest.$ac_ext
24201 cat >>conftest.$ac_ext <<_ACEOF
24202 /* end confdefs.h. */
24204 class Foo { public: explicit Foo(int) {} };
24216 rm -f conftest.$ac_objext
24217 if { (ac_try="$ac_compile"
24218 case "(($ac_try" in
24219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24220 *) ac_try_echo=$ac_try;;
24222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24223 (eval "$ac_compile") 2>conftest.er1
24225 grep -v '^
*+' conftest.er1 >conftest.err
24227 cat conftest.err >&5
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); } && {
24230 test -z "$ac_cxx_werror_flag" ||
24231 test ! -s conftest.err
24232 } && test -s conftest.$ac_objext; then
24234 cat >conftest.$ac_ext <<_ACEOF
24237 cat confdefs.h >>conftest.$ac_ext
24238 cat >>conftest.$ac_ext <<_ACEOF
24239 /* end confdefs.h. */
24241 class Foo { public: explicit Foo(int) {} };
24242 static void TakeFoo(const Foo& foo) { }
24255 rm -f conftest.$ac_objext
24256 if { (ac_try="$ac_compile"
24257 case "(($ac_try" in
24258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24259 *) ac_try_echo=$ac_try;;
24261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24262 (eval "$ac_compile") 2>conftest.er1
24264 grep -v '^
*+' conftest.er1 >conftest.err
24266 cat conftest.err >&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); } && {
24269 test -z "$ac_cxx_werror_flag" ||
24270 test ! -s conftest.err
24271 } && test -s conftest.$ac_objext; then
24274 echo "$as_me: failed program was:" >&5
24275 sed 's
/^
/| /' conftest.$ac_ext >&5
24281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24284 echo "$as_me: failed program was:" >&5
24285 sed 's
/^
/| /' conftest.$ac_ext >&5
24291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24294 ac_cpp='$CPP $CPPFLAGS'
24295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24296 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24301 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24302 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24304 if test "$wx_cv_explicit" = "yes"; then
24305 cat >>confdefs.h <<\_ACEOF
24306 #define HAVE_EXPLICIT 1
24312 if test "x$SUNCXX" = xyes; then
24313 CXXFLAGS="-features=tmplife $CXXFLAGS"
24316 if test "x$SUNCC" = xyes; then
24317 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24320 if test "x$SGICC" = "xyes"; then
24321 CFLAGS="-woff 3970 $CFLAGS"
24323 if test "x$SGICXX" = "xyes"; then
24324 CXXFLAGS="-woff 3970 $CXXFLAGS"
24327 if test "x$HPCC" = "xyes"; then
24328 CFLAGS="+W 2011,2450 $CFLAGS"
24330 if test "x$HPCXX" = "xyes"; then
24331 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24334 if test "x$COMPAQCXX" = "xyes"; then
24335 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24339 ac_cpp='$CXXCPP $CPPFLAGS'
24340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24341 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24345 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24346 if test "$wxUSE_UNICODE" = "yes"; then
24347 std_string="std::wstring"
24348 char_type="wchar_t"
24350 std_string="std::string"
24354 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24355 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24356 if test "${wx_cv_class_stdstring+set}" = set; then
24357 echo $ECHO_N "(cached) $ECHO_C" >&6
24360 cat >conftest.$ac_ext <<_ACEOF
24363 cat confdefs.h >>conftest.$ac_ext
24364 cat >>conftest.$ac_ext <<_ACEOF
24365 /* end confdefs.h. */
24375 rm -f conftest.$ac_objext
24376 if { (ac_try="$ac_compile"
24377 case "(($ac_try" in
24378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24379 *) ac_try_echo=$ac_try;;
24381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24382 (eval "$ac_compile") 2>conftest.er1
24384 grep -v '^
*+' conftest.er1 >conftest.err
24386 cat conftest.err >&5
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); } && {
24389 test -z "$ac_cxx_werror_flag" ||
24390 test ! -s conftest.err
24391 } && test -s conftest.$ac_objext; then
24392 wx_cv_class_stdstring=yes
24394 echo "$as_me: failed program was:" >&5
24395 sed 's
/^
/| /' conftest.$ac_ext >&5
24397 wx_cv_class_stdstring=no
24401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24405 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24406 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24408 if test "$wx_cv_class_stdstring" = yes; then
24409 if test "$wxUSE_UNICODE" = "yes"; then
24410 cat >>confdefs.h <<\_ACEOF
24411 #define HAVE_STD_WSTRING 1
24416 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24417 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24418 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24419 echo $ECHO_N "(cached) $ECHO_C" >&6
24422 cat >conftest.$ac_ext <<_ACEOF
24425 cat confdefs.h >>conftest.$ac_ext
24426 cat >>conftest.$ac_ext <<_ACEOF
24427 /* end confdefs.h. */
24429 #ifdef HAVE_WCHAR_H
24431 # include <stddef.h>
24433 # include <wchar.h>
24435 #ifdef HAVE_STDLIB_H
24436 # include <stdlib.h>
24444 std::basic_string<$char_type> foo;
24445 const $char_type* dummy = foo.c_str();
24450 rm -f conftest.$ac_objext
24451 if { (ac_try="$ac_compile"
24452 case "(($ac_try" in
24453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24454 *) ac_try_echo=$ac_try;;
24456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24457 (eval "$ac_compile") 2>conftest.er1
24459 grep -v '^
*+' conftest.er1 >conftest.err
24461 cat conftest.err >&5
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); } && {
24464 test -z "$ac_cxx_werror_flag" ||
24465 test ! -s conftest.err
24466 } && test -s conftest.$ac_objext; then
24467 wx_cv_class_stdbasicstring=yes
24469 echo "$as_me: failed program was:" >&5
24470 sed 's
/^
/| /' conftest.$ac_ext >&5
24472 wx_cv_class_stdbasicstring=no
24476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24480 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24481 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24483 if test "$wx_cv_class_stdbasicstring" != yes; then
24484 if test "$wxUSE_STL" = "yes"; then
24485 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24486 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24487 { (exit 1); exit 1; }; }
24488 elif test "$wxUSE_STD_STRING" = "yes"; then
24489 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24490 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24491 { (exit 1); exit 1; }; }
24493 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24494 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24495 wxUSE_STD_STRING=no
24501 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24502 { echo "$as_me:$LINENO: checking for std::istream" >&5
24503 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24504 if test "${ac_cv_type_std__istream+set}" = set; then
24505 echo $ECHO_N "(cached) $ECHO_C" >&6
24507 cat >conftest.$ac_ext <<_ACEOF
24510 cat confdefs.h >>conftest.$ac_ext
24511 cat >>conftest.$ac_ext <<_ACEOF
24512 /* end confdefs.h. */
24513 #include <iostream>
24515 typedef std::istream ac__type_new_;
24519 if ((ac__type_new_ *) 0)
24521 if (sizeof (ac__type_new_))
24527 rm -f conftest.$ac_objext
24528 if { (ac_try="$ac_compile"
24529 case "(($ac_try" in
24530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24531 *) ac_try_echo=$ac_try;;
24533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24534 (eval "$ac_compile") 2>conftest.er1
24536 grep -v '^
*+' conftest.er1 >conftest.err
24538 cat conftest.err >&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); } && {
24541 test -z "$ac_cxx_werror_flag" ||
24542 test ! -s conftest.err
24543 } && test -s conftest.$ac_objext; then
24544 ac_cv_type_std__istream=yes
24546 echo "$as_me: failed program was:" >&5
24547 sed 's
/^
/| /' conftest.$ac_ext >&5
24549 ac_cv_type_std__istream=no
24552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24554 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24555 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24556 if test $ac_cv_type_std__istream = yes; then
24558 cat >>confdefs.h <<_ACEOF
24559 #define HAVE_STD__ISTREAM 1
24564 wxUSE_STD_IOSTREAM=no
24566 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24567 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24568 if test "${ac_cv_type_std__ostream+set}" = set; then
24569 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. */
24577 #include <iostream>
24579 typedef std::ostream ac__type_new_;
24583 if ((ac__type_new_ *) 0)
24585 if (sizeof (ac__type_new_))
24591 rm -f conftest.$ac_objext
24592 if { (ac_try="$ac_compile"
24593 case "(($ac_try" in
24594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24595 *) ac_try_echo=$ac_try;;
24597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24598 (eval "$ac_compile") 2>conftest.er1
24600 grep -v '^
*+' conftest.er1 >conftest.err
24602 cat conftest.err >&5
24603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); } && {
24605 test -z "$ac_cxx_werror_flag" ||
24606 test ! -s conftest.err
24607 } && test -s conftest.$ac_objext; then
24608 ac_cv_type_std__ostream=yes
24610 echo "$as_me: failed program was:" >&5
24611 sed 's
/^
/| /' conftest.$ac_ext >&5
24613 ac_cv_type_std__ostream=no
24616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24618 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24619 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24620 if test $ac_cv_type_std__ostream = yes; then
24622 cat >>confdefs.h <<_ACEOF
24623 #define HAVE_STD__OSTREAM 1
24628 wxUSE_STD_IOSTREAM=no
24632 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24633 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24634 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24635 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24636 { (exit 1); exit 1; }; }
24638 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24639 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24644 if test "$wxUSE_STL" = "yes"; then
24645 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24646 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24647 if test "${wx_cv_lib_stl+set}" = set; then
24648 echo $ECHO_N "(cached) $ECHO_C" >&6
24650 cat >conftest.$ac_ext <<_ACEOF
24653 cat confdefs.h >>conftest.$ac_ext
24654 cat >>conftest.$ac_ext <<_ACEOF
24655 /* end confdefs.h. */
24657 #include <functional>
24658 #include <algorithm>
24664 std::vector<int> moo;
24665 std::list<int> foo;
24666 std::vector<int>::iterator it =
24667 std::find_if(moo.begin(), moo.end(),
24668 std::bind2nd(std::less<int>(), 3));
24673 rm -f conftest.$ac_objext
24674 if { (ac_try="$ac_compile"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_compile") 2>conftest.er1
24682 grep -v '^
*+' conftest.er1 >conftest.err
24684 cat conftest.err >&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } && {
24687 test -z "$ac_cxx_werror_flag" ||
24688 test ! -s conftest.err
24689 } && test -s conftest.$ac_objext; then
24692 echo "$as_me: failed program was:" >&5
24693 sed 's
/^
/| /' conftest.$ac_ext >&5
24699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24702 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24703 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24705 if test "$wx_cv_lib_stl" != yes; then
24706 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24707 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24708 { (exit 1); exit 1; }; }
24711 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24712 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24713 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24714 echo $ECHO_N "(cached) $ECHO_C" >&6
24716 cat >conftest.$ac_ext <<_ACEOF
24719 cat confdefs.h >>conftest.$ac_ext
24720 cat >>conftest.$ac_ext <<_ACEOF
24721 /* end confdefs.h. */
24726 std::string foo, bar;
24728 foo.compare(1, 1, bar);
24729 foo.compare(1, 1, bar, 1, 1);
24731 foo.compare(1, 1, "");
24732 foo.compare(1, 1, "", 2);
24737 rm -f conftest.$ac_objext
24738 if { (ac_try="$ac_compile"
24739 case "(($ac_try" in
24740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24741 *) ac_try_echo=$ac_try;;
24743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24744 (eval "$ac_compile") 2>conftest.er1
24746 grep -v '^
*+' conftest.er1 >conftest.err
24748 cat conftest.err >&5
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); } && {
24751 test -z "$ac_cxx_werror_flag" ||
24752 test ! -s conftest.err
24753 } && test -s conftest.$ac_objext; then
24754 wx_cv_func_stdstring_compare=yes
24756 echo "$as_me: failed program was:" >&5
24757 sed 's
/^
/| /' conftest.$ac_ext >&5
24759 wx_cv_func_stdstring_compare=no
24763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24766 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24767 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24769 if test "$wx_cv_func_stdstring_compare" = yes; then
24770 cat >>confdefs.h <<\_ACEOF
24771 #define HAVE_STD_STRING_COMPARE 1
24776 if test "$wx_cv_class_gnuhashmapset" = yes; then
24777 cat >>confdefs.h <<\_ACEOF
24778 #define HAVE_EXT_HASH_MAP 1
24781 cat >>confdefs.h <<\_ACEOF
24782 #define HAVE_GNU_CXX_HASH_MAP 1
24787 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24788 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24789 if test "${ac_cv_header_unordered_map+set}" = set; then
24790 echo $ECHO_N "(cached) $ECHO_C" >&6
24792 cat >conftest.$ac_ext <<_ACEOF
24795 cat confdefs.h >>conftest.$ac_ext
24796 cat >>conftest.$ac_ext <<_ACEOF
24797 /* end confdefs.h. */
24801 #include <unordered_map>
24803 rm -f conftest.$ac_objext
24804 if { (ac_try="$ac_compile"
24805 case "(($ac_try" in
24806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24807 *) ac_try_echo=$ac_try;;
24809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24810 (eval "$ac_compile") 2>conftest.er1
24812 grep -v '^
*+' conftest.er1 >conftest.err
24814 cat conftest.err >&5
24815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); } && {
24817 test -z "$ac_cxx_werror_flag" ||
24818 test ! -s conftest.err
24819 } && test -s conftest.$ac_objext; then
24820 ac_cv_header_unordered_map=yes
24822 echo "$as_me: failed program was:" >&5
24823 sed 's
/^
/| /' conftest.$ac_ext >&5
24825 ac_cv_header_unordered_map=no
24828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24830 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24831 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24832 if test $ac_cv_header_unordered_map = yes; then
24833 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24834 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24835 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24836 echo $ECHO_N "(cached) $ECHO_C" >&6
24838 cat >conftest.$ac_ext <<_ACEOF
24841 cat confdefs.h >>conftest.$ac_ext
24842 cat >>conftest.$ac_ext <<_ACEOF
24843 /* end confdefs.h. */
24844 #include <unordered_map>
24845 #include <unordered_set>
24849 std::unordered_map<double*, char*> test1;
24850 std::unordered_set<char*> test2;
24855 rm -f conftest.$ac_objext
24856 if { (ac_try="$ac_compile"
24857 case "(($ac_try" in
24858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24859 *) ac_try_echo=$ac_try;;
24861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24862 (eval "$ac_compile") 2>conftest.er1
24864 grep -v '^
*+' conftest.er1 >conftest.err
24866 cat conftest.err >&5
24867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868 (exit $ac_status); } && {
24869 test -z "$ac_cxx_werror_flag" ||
24870 test ! -s conftest.err
24871 } && test -s conftest.$ac_objext; then
24872 wx_cv_class_stdunorderedmapset=yes
24874 echo "$as_me: failed program was:" >&5
24875 sed 's
/^
/| /' conftest.$ac_ext >&5
24877 wx_cv_class_stdunorderedmapset=no
24880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24884 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24885 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24890 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24891 cat >>confdefs.h <<\_ACEOF
24892 #define HAVE_STD_UNORDERED_MAP 1
24895 cat >>confdefs.h <<\_ACEOF
24896 #define HAVE_STD_UNORDERED_SET 1
24900 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24901 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24902 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24903 echo $ECHO_N "(cached) $ECHO_C" >&6
24905 cat >conftest.$ac_ext <<_ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h. */
24914 #include <tr1/unordered_map>
24916 rm -f conftest.$ac_objext
24917 if { (ac_try="$ac_compile"
24918 case "(($ac_try" in
24919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24920 *) ac_try_echo=$ac_try;;
24922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24923 (eval "$ac_compile") 2>conftest.er1
24925 grep -v '^
*+' conftest.er1 >conftest.err
24927 cat conftest.err >&5
24928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24929 (exit $ac_status); } && {
24930 test -z "$ac_cxx_werror_flag" ||
24931 test ! -s conftest.err
24932 } && test -s conftest.$ac_objext; then
24933 ac_cv_header_tr1_unordered_map=yes
24935 echo "$as_me: failed program was:" >&5
24936 sed 's
/^
/| /' conftest.$ac_ext >&5
24938 ac_cv_header_tr1_unordered_map=no
24941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24943 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24944 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24945 if test $ac_cv_header_tr1_unordered_map = yes; then
24946 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24947 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24948 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24949 echo $ECHO_N "(cached) $ECHO_C" >&6
24951 cat >conftest.$ac_ext <<_ACEOF
24954 cat confdefs.h >>conftest.$ac_ext
24955 cat >>conftest.$ac_ext <<_ACEOF
24956 /* end confdefs.h. */
24957 #include <tr1/unordered_map>
24958 #include <tr1/unordered_set>
24962 std::tr1::unordered_map<double*, char*> test1;
24963 std::tr1::unordered_set<char*> test2;
24964 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24965 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
24971 rm -f conftest.
$ac_objext
24972 if { (ac_try
="$ac_compile"
24973 case "(($ac_try" in
24974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24975 *) ac_try_echo=$ac_try;;
24977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24978 (eval "$ac_compile") 2>conftest.er1
24980 grep -v '^ *+' conftest.er1 >conftest.err
24982 cat conftest.err >&5
24983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984 (exit $ac_status); } && {
24985 test -z "$ac_cxx_werror_flag" ||
24986 test ! -s conftest.err
24987 } && test -s conftest.$ac_objext; then
24988 wx_cv_class_tr1unorderedmapset=yes
24990 echo "$as_me: failed program was:" >&5
24991 sed 's/^/| /' conftest.$ac_ext >&5
24993 wx_cv_class_tr1unorderedmapset=no
24996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25000 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25001 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25006 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25007 cat >>confdefs.h <<\_ACEOF
25008 #define HAVE_TR1_UNORDERED_MAP 1
25011 cat >>confdefs.h <<\_ACEOF
25012 #define HAVE_TR1_UNORDERED_SET 1
25016 { echo "$as_me:$LINENO: checking for hash_map" >&5
25017 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25018 if test "${ac_cv_header_hash_map+set}" = set; then
25019 echo $ECHO_N "(cached) $ECHO_C" >&6
25021 cat >conftest.$ac_ext <<_ACEOF
25024 cat confdefs.h >>conftest.$ac_ext
25025 cat >>conftest.$ac_ext <<_ACEOF
25026 /* end confdefs.h. */
25030 #include <hash_map>
25032 rm -f conftest.$ac_objext
25033 if { (ac_try="$ac_compile"
25034 case "(($ac_try" in
25035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25036 *) ac_try_echo
=$ac_try;;
25038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25039 (eval "$ac_compile") 2>conftest.er1
25041 grep -v '^ *+' conftest.er1
>conftest.err
25043 cat conftest.err
>&5
25044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25045 (exit $ac_status); } && {
25046 test -z "$ac_cxx_werror_flag" ||
25047 test ! -s conftest.err
25048 } && test -s conftest.
$ac_objext; then
25049 ac_cv_header_hash_map
=yes
25051 echo "$as_me: failed program was:" >&5
25052 sed 's/^/| /' conftest.
$ac_ext >&5
25054 ac_cv_header_hash_map
=no
25057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25059 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25060 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25061 if test $ac_cv_header_hash_map = yes; then
25062 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25063 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25064 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25065 echo $ECHO_N "(cached) $ECHO_C" >&6
25067 cat >conftest.
$ac_ext <<_ACEOF
25070 cat confdefs.h
>>conftest.
$ac_ext
25071 cat >>conftest.
$ac_ext <<_ACEOF
25072 /* end confdefs.h. */
25073 #include <hash_map>
25074 #include <hash_set>
25078 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25079 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25084 rm -f conftest.
$ac_objext
25085 if { (ac_try
="$ac_compile"
25086 case "(($ac_try" in
25087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25088 *) ac_try_echo=$ac_try;;
25090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25091 (eval "$ac_compile") 2>conftest.er1
25093 grep -v '^ *+' conftest.er1 >conftest.err
25095 cat conftest.err >&5
25096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097 (exit $ac_status); } && {
25098 test -z "$ac_cxx_werror_flag" ||
25099 test ! -s conftest.err
25100 } && test -s conftest.$ac_objext; then
25101 wx_cv_class_stdhashmapset=yes
25103 echo "$as_me: failed program was:" >&5
25104 sed 's/^/| /' conftest.$ac_ext >&5
25106 wx_cv_class_stdhashmapset=no
25109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25113 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25114 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25119 if test "$wx_cv_class_stdhashmapset" = yes; then
25120 cat >>confdefs.h <<\_ACEOF
25121 #define HAVE_HASH_MAP 1
25124 cat >>confdefs.h <<\_ACEOF
25125 #define HAVE_STD_HASH_MAP 1
25130 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25131 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25132 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25133 echo $ECHO_N "(cached) $ECHO_C" >&6
25135 cat >conftest.$ac_ext <<_ACEOF
25138 cat confdefs.h >>conftest.$ac_ext
25139 cat >>conftest.$ac_ext <<_ACEOF
25140 /* end confdefs.h. */
25144 #include <ext/hash_map>
25146 rm -f conftest.$ac_objext
25147 if { (ac_try="$ac_compile"
25148 case "(($ac_try" in
25149 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25150 *) ac_try_echo
=$ac_try;;
25152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25153 (eval "$ac_compile") 2>conftest.er1
25155 grep -v '^ *+' conftest.er1
>conftest.err
25157 cat conftest.err
>&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); } && {
25160 test -z "$ac_cxx_werror_flag" ||
25161 test ! -s conftest.err
25162 } && test -s conftest.
$ac_objext; then
25163 ac_cv_header_ext_hash_map
=yes
25165 echo "$as_me: failed program was:" >&5
25166 sed 's/^/| /' conftest.
$ac_ext >&5
25168 ac_cv_header_ext_hash_map
=no
25171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25173 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25174 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25175 if test $ac_cv_header_ext_hash_map = yes; then
25176 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25177 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25178 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25179 echo $ECHO_N "(cached) $ECHO_C" >&6
25181 cat >conftest.
$ac_ext <<_ACEOF
25184 cat confdefs.h
>>conftest.
$ac_ext
25185 cat >>conftest.
$ac_ext <<_ACEOF
25186 /* end confdefs.h. */
25187 #include <ext/hash_map>
25188 #include <ext/hash_set>
25192 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25193 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25198 rm -f conftest.
$ac_objext
25199 if { (ac_try
="$ac_compile"
25200 case "(($ac_try" in
25201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25202 *) ac_try_echo=$ac_try;;
25204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25205 (eval "$ac_compile") 2>conftest.er1
25207 grep -v '^ *+' conftest.er1 >conftest.err
25209 cat conftest.err >&5
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); } && {
25212 test -z "$ac_cxx_werror_flag" ||
25213 test ! -s conftest.err
25214 } && test -s conftest.$ac_objext; then
25215 wx_cv_class_gnuhashmapset=yes
25217 echo "$as_me: failed program was:" >&5
25218 sed 's/^/| /' conftest.$ac_ext >&5
25220 wx_cv_class_gnuhashmapset=no
25223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25227 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25228 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25239 if test -n "$GCC"; then
25240 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25241 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25242 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25243 echo $ECHO_N "(cached) $ECHO_C" >&6
25246 cat >conftest.$ac_ext <<_ACEOF
25249 cat confdefs.h >>conftest.$ac_ext
25250 cat >>conftest.$ac_ext <<_ACEOF
25251 /* end confdefs.h. */
25257 unsigned int value=0;
25258 /* wxAtomicInc doesn't use return value here */
25259 __sync_fetch_and_add(&value, 2);
25260 __sync_sub_and_fetch(&value, 1);
25261 /* but wxAtomicDec does, so mimic that: */
25262 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25268 rm -f conftest.$ac_objext conftest$ac_exeext
25269 if { (ac_try="$ac_link"
25270 case "(($ac_try" in
25271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25272 *) ac_try_echo
=$ac_try;;
25274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25275 (eval "$ac_link") 2>conftest.er1
25277 grep -v '^ *+' conftest.er1
>conftest.err
25279 cat conftest.err
>&5
25280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281 (exit $ac_status); } && {
25282 test -z "$ac_cxx_werror_flag" ||
25283 test ! -s conftest.err
25284 } && test -s conftest
$ac_exeext &&
25285 $as_test_x conftest
$ac_exeext; then
25286 wx_cv_cc_gcc_atomic_builtins
=yes
25288 echo "$as_me: failed program was:" >&5
25289 sed 's/^/| /' conftest.
$ac_ext >&5
25291 wx_cv_cc_gcc_atomic_builtins
=no
25294 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25295 conftest
$ac_exeext conftest.
$ac_ext
25299 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25300 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25301 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25302 cat >>confdefs.h
<<\_ACEOF
25303 #define HAVE_GCC_ATOMIC_BUILTINS 1
25311 ac_cpp
='$CPP $CPPFLAGS'
25312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25319 /usr/local/include \
25320 /usr/local/X11/include \
25321 /usr/local/include/X11 \
25322 /usr/local/X11R6/include \
25323 /usr/local/include/X11R6 \
25325 /usr/Motif-2.1/include \
25326 /usr/Motif-1.2/include \
25327 /usr/include/Motif1.2 \
25330 /usr/openwin/include \
25334 /usr/X11R6/include \
25335 /usr/X11R6.4/include \
25337 /usr/include/X11R6 \
25342 /usr/XFree86/include/X11 \
25345 /usr/local/X1R5/include \
25346 /usr/local/include/X11R5 \
25347 /usr/X11R5/include \
25348 /usr/include/X11R5 \
25350 /usr/local/X11R4/include \
25351 /usr/local/include/X11R4 \
25352 /usr/X11R4/include \
25353 /usr/include/X11R4 \
25355 /usr/openwin/share/include"
25357 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25358 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25362 if test "${wx_cv_std_libpath+set}" = set; then
25363 echo $ECHO_N "(cached) $ECHO_C" >&6
25366 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25367 for e
in a so sl dylib dll.a
; do
25369 if test -f $libc; then
25372 cat >conftest.
$ac_ext <<_ACEOF
25373 int main() { return 0; }
25375 rm -f conftest.
$ac_objext conftest
$ac_exeext
25376 if { (ac_try
="$ac_link"
25377 case "(($ac_try" in
25378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25379 *) ac_try_echo=$ac_try;;
25381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25382 (eval "$ac_link") 2>conftest.er1
25384 grep -v '^ *+' conftest.er1 >conftest.err
25386 cat conftest.err >&5
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); } && {
25389 test -z "$ac_c_werror_flag" ||
25390 test ! -s conftest.err
25391 } && test -s conftest$ac_exeext &&
25392 $as_test_x conftest$ac_exeext; then
25393 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25395 echo "$as_me: failed program was:" >&5
25396 sed 's/^/| /' conftest.$ac_ext >&5
25401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25402 conftest$ac_exeext conftest.$ac_ext
25404 if test "x$wx_cv_std_libpath" != "x"; then
25410 if test "x$wx_cv_std_libpath" = "x"; then
25411 wx_cv_std_libpath="lib"
25420 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25421 wx_cv_std_libpath="lib/64"
25423 wx_cv_std_libpath="lib"
25428 if test "$ac_cv_sizeof_void_p" = 8 -a \
25429 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25430 wx_cv_std_libpath="lib64"
25432 wx_cv_std_libpath="lib"
25437 wx_cv_std_libpath="lib";
25441 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25442 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25444 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25446 if test "$build" != "$host" -a "$GCC" = yes; then
25447 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25448 cross_root=`dirname $cross_root`
25449 cross_root=`dirname $cross_root`
25451 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25452 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25453 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25455 if test -z "$PKG_CONFIG_PATH"; then
25456 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25457 export PKG_CONFIG_PATH
25460 if test -z "$x_includes" -o "$x_includes" = NONE; then
25463 for ac_dir in $SEARCH_INCLUDE /usr/include;
25465 if test -f "$ac_dir/X11/Intrinsic.h"; then
25466 ac_find_includes=$ac_dir
25471 x_includes=$ac_find_includes
25473 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25476 for ac_dir in $SEARCH_LIB;
25478 for ac_extension in a so sl dylib dll.a; do
25479 if test -f "$ac_dir/libXt.$ac_extension"; then
25480 ac_find_libraries=$ac_dir
25486 x_libraries=$ac_find_libraries
25492 cat >confcache <<\_ACEOF
25493 # This file is a shell script that caches the results of configure
25494 # tests run on this system so they can be shared between configure
25495 # scripts and configure runs, see configure's option --config-cache.
25496 # It is not useful on other systems. If it contains results you don't
25497 # want to keep, you may remove or edit it.
25499 # config.status only pays attention to the cache file if you give it
25500 # the --recheck option to rerun configure.
25502 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25503 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25504 # following values.
25508 # The following way of writing the cache mishandles newlines in values,
25509 # but we know of no workaround that is simple, portable, and efficient.
25510 # So, we kill variables containing newlines.
25511 # Ultrix sh set writes to stderr and can't be redirected directly,
25512 # and sets the high bit in the cache file unless we assign to the vars.
25514 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25515 eval ac_val
=\$
$ac_var
25519 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25520 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25523 _
| IFS
| as_nl
) ;; #(
25524 *) $as_unset $ac_var ;;
25530 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25531 *${as_nl}ac_space
=\
*)
25532 # `set' does not quote correctly, so add quotes (double-quote
25533 # substitution turns \\\\ into \\, and sed turns \\ into \).
25536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25539 # `set' quotes correctly as required by POSIX, so do not add quotes.
25540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25549 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25551 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25553 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25554 if test -w "$cache_file"; then
25555 test "x$cache_file" != "x/dev/null" &&
25556 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25557 echo "$as_me: updating cache $cache_file" >&6;}
25558 cat confcache
>$cache_file
25560 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25561 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25566 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25567 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25568 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25569 if test "${wx_cv_lib_glibc21+set}" = set; then
25570 echo $ECHO_N "(cached) $ECHO_C" >&6
25573 cat >conftest.
$ac_ext <<_ACEOF
25576 cat confdefs.h
>>conftest.
$ac_ext
25577 cat >>conftest.
$ac_ext <<_ACEOF
25578 /* end confdefs.h. */
25579 #include <features.h>
25584 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25592 rm -f conftest.
$ac_objext
25593 if { (ac_try
="$ac_compile"
25594 case "(($ac_try" in
25595 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25596 *) ac_try_echo=$ac_try;;
25598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25599 (eval "$ac_compile") 2>conftest.er1
25601 grep -v '^ *+' conftest.er1 >conftest.err
25603 cat conftest.err >&5
25604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25605 (exit $ac_status); } && {
25606 test -z "$ac_c_werror_flag" ||
25607 test ! -s conftest.err
25608 } && test -s conftest.$ac_objext; then
25610 wx_cv_lib_glibc21=yes
25613 echo "$as_me: failed program was:" >&5
25614 sed 's/^/| /' conftest.$ac_ext >&5
25617 wx_cv_lib_glibc21=no
25622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25625 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25626 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25627 if test "$wx_cv_lib_glibc21" = "yes"; then
25628 cat >>confdefs.h <<\_ACEOF
25629 #define wxHAVE_GLIBC2 1
25635 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25636 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25637 cat >>confdefs.h <<\_ACEOF
25638 #define _GNU_SOURCE 1
25649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25650 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25652 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25653 echo $ECHO_N "(cached) $ECHO_C" >&6
25655 cat >conftest.$ac_ext <<_ACEOF
25658 cat confdefs.h >>conftest.$ac_ext
25659 cat >>conftest.$ac_ext <<_ACEOF
25660 /* end confdefs.h. */
25661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25663 #define $ac_func innocuous_$ac_func
25665 /* System header to define __stub macros and hopefully few prototypes,
25666 which can conflict with char $ac_func (); below.
25667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25668 <limits.h> exists even on freestanding compilers. */
25671 # include <limits.h>
25673 # include <assert.h>
25678 /* Override any GCC internal prototype to avoid an error.
25679 Use char because int might match the return type of a GCC
25680 builtin and then its argument prototype would still apply. */
25685 /* The GNU C library defines this for functions which it implements
25686 to always fail with ENOSYS. Some functions are actually named
25687 something starting with __ and the normal name is an alias. */
25688 #if defined __stub_$ac_func || defined __stub___$ac_func
25695 return $ac_func ();
25700 rm -f conftest.$ac_objext conftest$ac_exeext
25701 if { (ac_try="$ac_link"
25702 case "(($ac_try" in
25703 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25704 *) ac_try_echo
=$ac_try;;
25706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25707 (eval "$ac_link") 2>conftest.er1
25709 grep -v '^ *+' conftest.er1
>conftest.err
25711 cat conftest.err
>&5
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); } && {
25714 test -z "$ac_c_werror_flag" ||
25715 test ! -s conftest.err
25716 } && test -s conftest
$ac_exeext &&
25717 $as_test_x conftest
$ac_exeext; then
25718 eval "$as_ac_var=yes"
25720 echo "$as_me: failed program was:" >&5
25721 sed 's/^/| /' conftest.
$ac_ext >&5
25723 eval "$as_ac_var=no"
25726 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25727 conftest
$ac_exeext conftest.
$ac_ext
25729 ac_res
=`eval echo '${'$as_ac_var'}'`
25730 { echo "$as_me:$LINENO: result: $ac_res" >&5
25731 echo "${ECHO_T}$ac_res" >&6; }
25732 if test `eval echo '${'$as_ac_var'}'` = yes; then
25733 cat >>confdefs.h
<<_ACEOF
25734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25741 for ac_func
in floor
25743 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25746 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 cat >conftest.
$ac_ext <<_ACEOF
25752 cat confdefs.h
>>conftest.
$ac_ext
25753 cat >>conftest.
$ac_ext <<_ACEOF
25754 /* end confdefs.h. */
25755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25757 #define $ac_func innocuous_$ac_func
25759 /* System header to define __stub macros and hopefully few prototypes,
25760 which can conflict with char $ac_func (); below.
25761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25762 <limits.h> exists even on freestanding compilers. */
25765 # include <limits.h>
25767 # include <assert.h>
25772 /* Override any GCC internal prototype to avoid an error.
25773 Use char because int might match the return type of a GCC
25774 builtin and then its argument prototype would still apply. */
25779 /* The GNU C library defines this for functions which it implements
25780 to always fail with ENOSYS. Some functions are actually named
25781 something starting with __ and the normal name is an alias. */
25782 #if defined __stub_$ac_func || defined __stub___$ac_func
25789 return $ac_func ();
25794 rm -f conftest.
$ac_objext conftest
$ac_exeext
25795 if { (ac_try
="$ac_link"
25796 case "(($ac_try" in
25797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25798 *) ac_try_echo=$ac_try;;
25800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25801 (eval "$ac_link") 2>conftest.er1
25803 grep -v '^ *+' conftest.er1 >conftest.err
25805 cat conftest.err >&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); } && {
25808 test -z "$ac_c_werror_flag" ||
25809 test ! -s conftest.err
25810 } && test -s conftest$ac_exeext &&
25811 $as_test_x conftest$ac_exeext; then
25812 eval "$as_ac_var=yes"
25814 echo "$as_me: failed program was:" >&5
25815 sed 's/^/| /' conftest.$ac_ext >&5
25817 eval "$as_ac_var=no"
25820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25821 conftest$ac_exeext conftest.$ac_ext
25823 ac_res=`eval echo '${'$as_ac_var'}'`
25824 { echo "$as_me:$LINENO: result: $ac_res" >&5
25825 echo "${ECHO_T}$ac_res" >&6; }
25826 if test `eval echo '${'$as_ac_var'}'` = yes; then
25827 cat >>confdefs.h <<_ACEOF
25828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25834 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25835 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25836 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25837 { echo "$as_me:$LINENO: result: yes" >&5
25838 echo "${ECHO_T}yes" >&6; }
25840 { echo "$as_me:$LINENO: result: no" >&5
25841 echo "${ECHO_T}no" >&6; }
25843 # use different functions to avoid configure caching
25849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25850 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25852 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25853 echo $ECHO_N "(cached) $ECHO_C" >&6
25855 cat >conftest.$ac_ext <<_ACEOF
25858 cat confdefs.h >>conftest.$ac_ext
25859 cat >>conftest.$ac_ext <<_ACEOF
25860 /* end confdefs.h. */
25861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25863 #define $ac_func innocuous_$ac_func
25865 /* System header to define __stub macros and hopefully few prototypes,
25866 which can conflict with char $ac_func (); below.
25867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25868 <limits.h> exists even on freestanding compilers. */
25871 # include <limits.h>
25873 # include <assert.h>
25878 /* Override any GCC internal prototype to avoid an error.
25879 Use char because int might match the return type of a GCC
25880 builtin and then its argument prototype would still apply. */
25885 /* The GNU C library defines this for functions which it implements
25886 to always fail with ENOSYS. Some functions are actually named
25887 something starting with __ and the normal name is an alias. */
25888 #if defined __stub_$ac_func || defined __stub___$ac_func
25895 return $ac_func ();
25900 rm -f conftest.$ac_objext conftest$ac_exeext
25901 if { (ac_try="$ac_link"
25902 case "(($ac_try" in
25903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25904 *) ac_try_echo
=$ac_try;;
25906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25907 (eval "$ac_link") 2>conftest.er1
25909 grep -v '^ *+' conftest.er1
>conftest.err
25911 cat conftest.err
>&5
25912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25913 (exit $ac_status); } && {
25914 test -z "$ac_c_werror_flag" ||
25915 test ! -s conftest.err
25916 } && test -s conftest
$ac_exeext &&
25917 $as_test_x conftest
$ac_exeext; then
25918 eval "$as_ac_var=yes"
25920 echo "$as_me: failed program was:" >&5
25921 sed 's/^/| /' conftest.
$ac_ext >&5
25923 eval "$as_ac_var=no"
25926 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25927 conftest
$ac_exeext conftest.
$ac_ext
25929 ac_res
=`eval echo '${'$as_ac_var'}'`
25930 { echo "$as_me:$LINENO: result: $ac_res" >&5
25931 echo "${ECHO_T}$ac_res" >&6; }
25932 if test `eval echo '${'$as_ac_var'}'` = yes; then
25933 cat >>confdefs.h
<<_ACEOF
25934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25941 for ac_func
in ceil
25943 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25944 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25946 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25947 echo $ECHO_N "(cached) $ECHO_C" >&6
25949 cat >conftest.
$ac_ext <<_ACEOF
25952 cat confdefs.h
>>conftest.
$ac_ext
25953 cat >>conftest.
$ac_ext <<_ACEOF
25954 /* end confdefs.h. */
25955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25957 #define $ac_func innocuous_$ac_func
25959 /* System header to define __stub macros and hopefully few prototypes,
25960 which can conflict with char $ac_func (); below.
25961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25962 <limits.h> exists even on freestanding compilers. */
25965 # include <limits.h>
25967 # include <assert.h>
25972 /* Override any GCC internal prototype to avoid an error.
25973 Use char because int might match the return type of a GCC
25974 builtin and then its argument prototype would still apply. */
25979 /* The GNU C library defines this for functions which it implements
25980 to always fail with ENOSYS. Some functions are actually named
25981 something starting with __ and the normal name is an alias. */
25982 #if defined __stub_$ac_func || defined __stub___$ac_func
25989 return $ac_func ();
25994 rm -f conftest.
$ac_objext conftest
$ac_exeext
25995 if { (ac_try
="$ac_link"
25996 case "(($ac_try" in
25997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25998 *) ac_try_echo=$ac_try;;
26000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26001 (eval "$ac_link") 2>conftest.er1
26003 grep -v '^ *+' conftest.er1 >conftest.err
26005 cat conftest.err >&5
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); } && {
26008 test -z "$ac_c_werror_flag" ||
26009 test ! -s conftest.err
26010 } && test -s conftest$ac_exeext &&
26011 $as_test_x conftest$ac_exeext; then
26012 eval "$as_ac_var=yes"
26014 echo "$as_me: failed program was:" >&5
26015 sed 's/^/| /' conftest.$ac_ext >&5
26017 eval "$as_ac_var=no"
26020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26021 conftest$ac_exeext conftest.$ac_ext
26023 ac_res=`eval echo '${'$as_ac_var'}'`
26024 { echo "$as_me:$LINENO: result: $ac_res" >&5
26025 echo "${ECHO_T}$ac_res" >&6; }
26026 if test `eval echo '${'$as_ac_var'}'` = yes; then
26027 cat >>confdefs.h <<_ACEOF
26028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26034 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26035 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26036 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26037 { echo "$as_me:$LINENO: result: yes" >&5
26038 echo "${ECHO_T}yes" >&6; }
26040 { echo "$as_me:$LINENO: result: no" >&5
26041 echo "${ECHO_T}no" >&6; }
26042 # not sure we should warn the user, crash, etc.
26047 ac_cpp='$CXXCPP $CPPFLAGS'
26048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26052 if test "wxUSE_UNICODE" = "yes"; then
26054 for wx_func in wcstoull
26056 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26057 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26058 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26059 echo $ECHO_N "(cached) $ECHO_C" >&6
26062 cat >conftest.$ac_ext <<_ACEOF
26066 cat confdefs.h >>conftest.$ac_ext
26067 cat >>conftest.$ac_ext <<_ACEOF
26068 /* end confdefs.h. */
26071 $ac_includes_default
26087 rm -f conftest.$ac_objext conftest$ac_exeext
26088 if { (ac_try="$ac_link"
26089 case "(($ac_try" in
26090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26091 *) ac_try_echo
=$ac_try;;
26093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26094 (eval "$ac_link") 2>conftest.er1
26096 grep -v '^ *+' conftest.er1
>conftest.err
26098 cat conftest.err
>&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); } && {
26101 test -z "$ac_cxx_werror_flag" ||
26102 test ! -s conftest.err
26103 } && test -s conftest
$ac_exeext &&
26104 $as_test_x conftest
$ac_exeext; then
26105 eval wx_cv_func_
$wx_func=yes
26107 echo "$as_me: failed program was:" >&5
26108 sed 's/^/| /' conftest.
$ac_ext >&5
26110 eval wx_cv_func_
$wx_func=no
26113 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26114 conftest
$ac_exeext conftest.
$ac_ext
26117 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26118 { echo "$as_me:$LINENO: result: $ac_res" >&5
26119 echo "${ECHO_T}$ac_res" >&6; }
26121 if eval test \
$wx_cv_func_$wx_func = yes
26123 cat >>confdefs.h
<<_ACEOF
26124 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26136 for wx_func
in strtoull
26138 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26139 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26140 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26141 echo $ECHO_N "(cached) $ECHO_C" >&6
26144 cat >conftest.
$ac_ext <<_ACEOF
26148 cat confdefs.h
>>conftest.
$ac_ext
26149 cat >>conftest.
$ac_ext <<_ACEOF
26150 /* end confdefs.h. */
26153 $ac_includes_default
26169 rm -f conftest.
$ac_objext conftest
$ac_exeext
26170 if { (ac_try
="$ac_link"
26171 case "(($ac_try" in
26172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26173 *) ac_try_echo=$ac_try;;
26175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26176 (eval "$ac_link") 2>conftest.er1
26178 grep -v '^ *+' conftest.er1 >conftest.err
26180 cat conftest.err >&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } && {
26183 test -z "$ac_cxx_werror_flag" ||
26184 test ! -s conftest.err
26185 } && test -s conftest$ac_exeext &&
26186 $as_test_x conftest$ac_exeext; then
26187 eval wx_cv_func_$wx_func=yes
26189 echo "$as_me: failed program was:" >&5
26190 sed 's/^/| /' conftest.$ac_ext >&5
26192 eval wx_cv_func_$wx_func=no
26195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26196 conftest$ac_exeext conftest.$ac_ext
26199 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26200 { echo "$as_me:$LINENO: result: $ac_res" >&5
26201 echo "${ECHO_T}$ac_res" >&6; }
26203 if eval test \$wx_cv_func_$wx_func = yes
26205 cat >>confdefs.h <<_ACEOF
26206 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26218 ac_cpp='$CPP $CPPFLAGS'
26219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26226 if test "$wxUSE_REGEX" != "no"; then
26227 cat >>confdefs.h <<\_ACEOF
26228 #define wxUSE_REGEX 1
26232 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26233 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26234 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26235 wxUSE_REGEX=builtin
26238 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26239 { echo "$as_me:$LINENO: checking for regex.h" >&5
26240 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26241 if test "${ac_cv_header_regex_h+set}" = set; then
26242 echo $ECHO_N "(cached) $ECHO_C" >&6
26244 cat >conftest.$ac_ext <<_ACEOF
26247 cat confdefs.h >>conftest.$ac_ext
26248 cat >>conftest.$ac_ext <<_ACEOF
26249 /* end confdefs.h. */
26254 rm -f conftest.$ac_objext
26255 if { (ac_try="$ac_compile"
26256 case "(($ac_try" in
26257 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26258 *) ac_try_echo
=$ac_try;;
26260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26261 (eval "$ac_compile") 2>conftest.er1
26263 grep -v '^ *+' conftest.er1
>conftest.err
26265 cat conftest.err
>&5
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); } && {
26268 test -z "$ac_c_werror_flag" ||
26269 test ! -s conftest.err
26270 } && test -s conftest.
$ac_objext; then
26271 ac_cv_header_regex_h
=yes
26273 echo "$as_me: failed program was:" >&5
26274 sed 's/^/| /' conftest.
$ac_ext >&5
26276 ac_cv_header_regex_h
=no
26279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26281 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26282 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26283 if test $ac_cv_header_regex_h = yes; then
26286 for ac_func
in regcomp re_search
26288 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26289 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26291 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26292 echo $ECHO_N "(cached) $ECHO_C" >&6
26294 cat >conftest.
$ac_ext <<_ACEOF
26297 cat confdefs.h
>>conftest.
$ac_ext
26298 cat >>conftest.
$ac_ext <<_ACEOF
26299 /* end confdefs.h. */
26300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26302 #define $ac_func innocuous_$ac_func
26304 /* System header to define __stub macros and hopefully few prototypes,
26305 which can conflict with char $ac_func (); below.
26306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26307 <limits.h> exists even on freestanding compilers. */
26310 # include <limits.h>
26312 # include <assert.h>
26317 /* Override any GCC internal prototype to avoid an error.
26318 Use char because int might match the return type of a GCC
26319 builtin and then its argument prototype would still apply. */
26324 /* The GNU C library defines this for functions which it implements
26325 to always fail with ENOSYS. Some functions are actually named
26326 something starting with __ and the normal name is an alias. */
26327 #if defined __stub_$ac_func || defined __stub___$ac_func
26334 return $ac_func ();
26339 rm -f conftest.
$ac_objext conftest
$ac_exeext
26340 if { (ac_try
="$ac_link"
26341 case "(($ac_try" in
26342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26343 *) ac_try_echo=$ac_try;;
26345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26346 (eval "$ac_link") 2>conftest.er1
26348 grep -v '^ *+' conftest.er1 >conftest.err
26350 cat conftest.err >&5
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); } && {
26353 test -z "$ac_c_werror_flag" ||
26354 test ! -s conftest.err
26355 } && test -s conftest$ac_exeext &&
26356 $as_test_x conftest$ac_exeext; then
26357 eval "$as_ac_var=yes"
26359 echo "$as_me: failed program was:" >&5
26360 sed 's/^/| /' conftest.$ac_ext >&5
26362 eval "$as_ac_var=no"
26365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26366 conftest$ac_exeext conftest.$ac_ext
26368 ac_res=`eval echo '${'$as_ac_var'}'`
26369 { echo "$as_me:$LINENO: result: $ac_res" >&5
26370 echo "${ECHO_T}$ac_res" >&6; }
26371 if test `eval echo '${'$as_ac_var'}'` = yes; then
26372 cat >>confdefs.h <<_ACEOF
26373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26383 if test "x$ac_cv_func_regcomp" != "xyes"; then
26384 if test "$wxUSE_REGEX" = "sys" ; then
26385 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26386 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26387 { (exit 1); exit 1; }; }
26389 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26390 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26391 wxUSE_REGEX=builtin
26395 cat >>confdefs.h <<\_ACEOF
26396 #define WX_NO_REGEX_ADVANCED 1
26405 if test "$wxUSE_ZLIB" != "no" ; then
26406 cat >>confdefs.h <<\_ACEOF
26407 #define wxUSE_ZLIB 1
26411 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26412 if test "$USE_DARWIN" = 1; then
26413 system_zlib_h_ok="yes"
26415 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26416 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26417 if test "${ac_cv_header_zlib_h+set}" = set; then
26418 echo $ECHO_N "(cached) $ECHO_C" >&6
26420 if test "$cross_compiling" = yes; then
26421 unset ac_cv_header_zlib_h
26424 cat >conftest.$ac_ext <<_ACEOF
26427 cat confdefs.h >>conftest.$ac_ext
26428 cat >>conftest.$ac_ext <<_ACEOF
26429 /* end confdefs.h. */
26436 FILE *f=fopen("conftestval", "w");
26439 ZLIB_VERSION[0] == '1' &&
26440 (ZLIB_VERSION[2] > '1' ||
26441 (ZLIB_VERSION[2] == '1' &&
26442 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26447 rm -f conftest$ac_exeext
26448 if { (ac_try="$ac_link"
26449 case "(($ac_try" in
26450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26451 *) ac_try_echo
=$ac_try;;
26453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26454 (eval "$ac_link") 2>&5
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26458 { (case "(($ac_try" in
26459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26460 *) ac_try_echo=$ac_try;;
26462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26463 (eval "$ac_try") 2>&5
26465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26466 (exit $ac_status); }; }; then
26467 ac_cv_header_zlib_h=`cat conftestval
`
26469 echo "$as_me: program exited with status $ac_status" >&5
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.$ac_ext >&5
26473 ( exit $ac_status )
26474 ac_cv_header_zlib_h=no
26476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26482 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26483 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26484 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26485 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26486 if test "${ac_cv_header_zlib_h+set}" = set; then
26487 echo $ECHO_N "(cached) $ECHO_C" >&6
26489 cat >conftest.$ac_ext <<_ACEOF
26492 cat confdefs.h >>conftest.$ac_ext
26493 cat >>conftest.$ac_ext <<_ACEOF
26494 /* end confdefs.h. */
26499 rm -f conftest.$ac_objext
26500 if { (ac_try="$ac_compile"
26501 case "(($ac_try" in
26502 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26503 *) ac_try_echo
=$ac_try;;
26505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26506 (eval "$ac_compile") 2>conftest.er1
26508 grep -v '^ *+' conftest.er1
>conftest.err
26510 cat conftest.err
>&5
26511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 (exit $ac_status); } && {
26513 test -z "$ac_c_werror_flag" ||
26514 test ! -s conftest.err
26515 } && test -s conftest.
$ac_objext; then
26516 ac_cv_header_zlib_h
=yes
26518 echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.
$ac_ext >&5
26521 ac_cv_header_zlib_h
=no
26524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26526 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26527 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26531 system_zlib_h_ok
=$ac_cv_header_zlib_h
26534 if test "$system_zlib_h_ok" = "yes"; then
26535 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26536 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26537 if test "${ac_cv_lib_z_deflate+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26540 ac_check_lib_save_LIBS
=$LIBS
26542 cat >conftest.
$ac_ext <<_ACEOF
26545 cat confdefs.h
>>conftest.
$ac_ext
26546 cat >>conftest.
$ac_ext <<_ACEOF
26547 /* end confdefs.h. */
26549 /* Override any GCC internal prototype to avoid an error.
26550 Use char because int might match the return type of a GCC
26551 builtin and then its argument prototype would still apply. */
26564 rm -f conftest.
$ac_objext conftest
$ac_exeext
26565 if { (ac_try
="$ac_link"
26566 case "(($ac_try" in
26567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26568 *) ac_try_echo=$ac_try;;
26570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26571 (eval "$ac_link") 2>conftest.er1
26573 grep -v '^ *+' conftest.er1 >conftest.err
26575 cat conftest.err >&5
26576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577 (exit $ac_status); } && {
26578 test -z "$ac_c_werror_flag" ||
26579 test ! -s conftest.err
26580 } && test -s conftest$ac_exeext &&
26581 $as_test_x conftest$ac_exeext; then
26582 ac_cv_lib_z_deflate=yes
26584 echo "$as_me: failed program was:" >&5
26585 sed 's/^/| /' conftest.$ac_ext >&5
26587 ac_cv_lib_z_deflate=no
26590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26591 conftest$ac_exeext conftest.$ac_ext
26592 LIBS=$ac_check_lib_save_LIBS
26594 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26595 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26596 if test $ac_cv_lib_z_deflate = yes; then
26602 if test "x$ZLIB_LINK" = "x" ; then
26603 if test "$wxUSE_ZLIB" = "sys" ; then
26604 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26605 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26606 { (exit 1); exit 1; }; }
26608 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26609 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26620 if test "$wxUSE_LIBPNG" != "no" ; then
26621 cat >>confdefs.h <<\_ACEOF
26622 #define wxUSE_LIBPNG 1
26626 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26627 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26628 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26632 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26633 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26634 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26635 wxUSE_LIBPNG=builtin
26638 if test "$wxUSE_MGL" != 1 ; then
26639 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26640 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26641 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26642 if test "${ac_cv_header_png_h+set}" = set; then
26643 echo $ECHO_N "(cached) $ECHO_C" >&6
26645 if test "$cross_compiling" = yes; then
26646 unset ac_cv_header_png_h
26649 cat >conftest.$ac_ext <<_ACEOF
26652 cat confdefs.h >>conftest.$ac_ext
26653 cat >>conftest.$ac_ext <<_ACEOF
26654 /* end confdefs.h. */
26661 FILE *f=fopen("conftestval", "w");
26664 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26669 rm -f conftest$ac_exeext
26670 if { (ac_try="$ac_link"
26671 case "(($ac_try" in
26672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26673 *) ac_try_echo
=$ac_try;;
26675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26676 (eval "$ac_link") 2>&5
26678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26680 { (case "(($ac_try" in
26681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26682 *) ac_try_echo=$ac_try;;
26684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26685 (eval "$ac_try") 2>&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); }; }; then
26689 ac_cv_header_png_h=`cat conftestval
`
26691 echo "$as_me: program exited with status $ac_status" >&5
26692 echo "$as_me: failed program was:" >&5
26693 sed 's/^/| /' conftest.$ac_ext >&5
26695 ( exit $ac_status )
26696 ac_cv_header_png_h=no
26698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26704 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26705 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26706 { echo "$as_me:$LINENO: checking for png.h" >&5
26707 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26708 if test "${ac_cv_header_png_h+set}" = set; then
26709 echo $ECHO_N "(cached) $ECHO_C" >&6
26711 cat >conftest.$ac_ext <<_ACEOF
26714 cat confdefs.h >>conftest.$ac_ext
26715 cat >>conftest.$ac_ext <<_ACEOF
26716 /* end confdefs.h. */
26721 rm -f conftest.$ac_objext
26722 if { (ac_try="$ac_compile"
26723 case "(($ac_try" in
26724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26725 *) ac_try_echo
=$ac_try;;
26727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26728 (eval "$ac_compile") 2>conftest.er1
26730 grep -v '^ *+' conftest.er1
>conftest.err
26732 cat conftest.err
>&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); } && {
26735 test -z "$ac_c_werror_flag" ||
26736 test ! -s conftest.err
26737 } && test -s conftest.
$ac_objext; then
26738 ac_cv_header_png_h
=yes
26740 echo "$as_me: failed program was:" >&5
26741 sed 's/^/| /' conftest.
$ac_ext >&5
26743 ac_cv_header_png_h
=no
26746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26748 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26749 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26753 if test "$ac_cv_header_png_h" = "yes"; then
26754 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26755 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26756 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26757 echo $ECHO_N "(cached) $ECHO_C" >&6
26759 ac_check_lib_save_LIBS
=$LIBS
26760 LIBS
="-lpng -lz -lm $LIBS"
26761 cat >conftest.
$ac_ext <<_ACEOF
26764 cat confdefs.h
>>conftest.
$ac_ext
26765 cat >>conftest.
$ac_ext <<_ACEOF
26766 /* end confdefs.h. */
26768 /* Override any GCC internal prototype to avoid an error.
26769 Use char because int might match the return type of a GCC
26770 builtin and then its argument prototype would still apply. */
26774 char png_check_sig ();
26778 return png_check_sig ();
26783 rm -f conftest.
$ac_objext conftest
$ac_exeext
26784 if { (ac_try
="$ac_link"
26785 case "(($ac_try" in
26786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26787 *) ac_try_echo=$ac_try;;
26789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26790 (eval "$ac_link") 2>conftest.er1
26792 grep -v '^ *+' conftest.er1 >conftest.err
26794 cat conftest.err >&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } && {
26797 test -z "$ac_c_werror_flag" ||
26798 test ! -s conftest.err
26799 } && test -s conftest$ac_exeext &&
26800 $as_test_x conftest$ac_exeext; then
26801 ac_cv_lib_png_png_check_sig=yes
26803 echo "$as_me: failed program was:" >&5
26804 sed 's/^/| /' conftest.$ac_ext >&5
26806 ac_cv_lib_png_png_check_sig=no
26809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26810 conftest$ac_exeext conftest.$ac_ext
26811 LIBS=$ac_check_lib_save_LIBS
26813 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26814 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26815 if test $ac_cv_lib_png_png_check_sig = yes; then
26816 PNG_LINK=" -lpng -lz"
26821 if test "x$PNG_LINK" = "x" ; then
26822 if test "$wxUSE_LIBPNG" = "sys" ; then
26823 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26824 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26825 { (exit 1); exit 1; }; }
26827 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26828 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26829 wxUSE_LIBPNG=builtin
26840 if test "$wxUSE_LIBJPEG" != "no" ; then
26841 cat >>confdefs.h <<\_ACEOF
26842 #define wxUSE_LIBJPEG 1
26846 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26847 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26848 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26852 if test "$wxUSE_MGL" != 1 ; then
26853 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26854 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26855 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26856 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26857 echo $ECHO_N "(cached) $ECHO_C" >&6
26859 cat >conftest.$ac_ext <<_ACEOF
26862 cat confdefs.h >>conftest.$ac_ext
26863 cat >>conftest.$ac_ext <<_ACEOF
26864 /* end confdefs.h. */
26866 #undef HAVE_STDLIB_H
26868 #include <jpeglib.h>
26879 rm -f conftest.$ac_objext
26880 if { (ac_try="$ac_compile"
26881 case "(($ac_try" in
26882 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26883 *) ac_try_echo
=$ac_try;;
26885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26886 (eval "$ac_compile") 2>conftest.er1
26888 grep -v '^ *+' conftest.er1
>conftest.err
26890 cat conftest.err
>&5
26891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892 (exit $ac_status); } && {
26893 test -z "$ac_c_werror_flag" ||
26894 test ! -s conftest.err
26895 } && test -s conftest.
$ac_objext; then
26896 ac_cv_header_jpeglib_h
=yes
26898 echo "$as_me: failed program was:" >&5
26899 sed 's/^/| /' conftest.
$ac_ext >&5
26901 ac_cv_header_jpeglib_h
=no
26905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26909 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26910 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26912 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26913 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26914 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26915 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26916 echo $ECHO_N "(cached) $ECHO_C" >&6
26918 ac_check_lib_save_LIBS
=$LIBS
26919 LIBS
="-ljpeg $LIBS"
26920 cat >conftest.
$ac_ext <<_ACEOF
26923 cat confdefs.h
>>conftest.
$ac_ext
26924 cat >>conftest.
$ac_ext <<_ACEOF
26925 /* end confdefs.h. */
26927 /* Override any GCC internal prototype to avoid an error.
26928 Use char because int might match the return type of a GCC
26929 builtin and then its argument prototype would still apply. */
26933 char jpeg_read_header ();
26937 return jpeg_read_header ();
26942 rm -f conftest.
$ac_objext conftest
$ac_exeext
26943 if { (ac_try
="$ac_link"
26944 case "(($ac_try" in
26945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26946 *) ac_try_echo=$ac_try;;
26948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26949 (eval "$ac_link") 2>conftest.er1
26951 grep -v '^ *+' conftest.er1 >conftest.err
26953 cat conftest.err >&5
26954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26955 (exit $ac_status); } && {
26956 test -z "$ac_c_werror_flag" ||
26957 test ! -s conftest.err
26958 } && test -s conftest$ac_exeext &&
26959 $as_test_x conftest$ac_exeext; then
26960 ac_cv_lib_jpeg_jpeg_read_header=yes
26962 echo "$as_me: failed program was:" >&5
26963 sed 's/^/| /' conftest.$ac_ext >&5
26965 ac_cv_lib_jpeg_jpeg_read_header=no
26968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26969 conftest$ac_exeext conftest.$ac_ext
26970 LIBS=$ac_check_lib_save_LIBS
26972 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26973 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26974 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26975 JPEG_LINK=" -ljpeg"
26980 if test "x$JPEG_LINK" = "x" ; then
26981 if test "$wxUSE_LIBJPEG" = "sys" ; then
26982 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26983 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26984 { (exit 1); exit 1; }; }
26986 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26987 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26988 wxUSE_LIBJPEG=builtin
26993 if test "$wxUSE_MSW" = 1; then
26994 { echo "$as_me:$LINENO: checking for boolean" >&5
26995 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26996 if test "${ac_cv_type_boolean+set}" = set; then
26997 echo $ECHO_N "(cached) $ECHO_C" >&6
26999 cat >conftest.$ac_ext <<_ACEOF
27002 cat confdefs.h >>conftest.$ac_ext
27003 cat >>conftest.$ac_ext <<_ACEOF
27004 /* end confdefs.h. */
27005 #include <windows.h>
27007 typedef boolean ac__type_new_;
27011 if ((ac__type_new_ *) 0)
27013 if (sizeof (ac__type_new_))
27019 rm -f conftest.$ac_objext
27020 if { (ac_try="$ac_compile"
27021 case "(($ac_try" in
27022 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27023 *) ac_try_echo
=$ac_try;;
27025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27026 (eval "$ac_compile") 2>conftest.er1
27028 grep -v '^ *+' conftest.er1
>conftest.err
27030 cat conftest.err
>&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); } && {
27033 test -z "$ac_c_werror_flag" ||
27034 test ! -s conftest.err
27035 } && test -s conftest.
$ac_objext; then
27036 ac_cv_type_boolean
=yes
27038 echo "$as_me: failed program was:" >&5
27039 sed 's/^/| /' conftest.
$ac_ext >&5
27041 ac_cv_type_boolean
=no
27044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27046 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27047 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27048 if test $ac_cv_type_boolean = yes; then
27050 cat >>confdefs.h
<<_ACEOF
27051 #define HAVE_BOOLEAN 1
27055 { echo "$as_me:$LINENO: checking for boolean" >&5
27056 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27057 if test "${ac_cv_type_boolean+set}" = set; then
27058 echo $ECHO_N "(cached) $ECHO_C" >&6
27060 cat >conftest.
$ac_ext <<_ACEOF
27063 cat confdefs.h
>>conftest.
$ac_ext
27064 cat >>conftest.
$ac_ext <<_ACEOF
27065 /* end confdefs.h. */
27067 #undef HAVE_BOOLEAN
27069 #include <jpeglib.h>
27072 typedef boolean ac__type_new_;
27076 if ((ac__type_new_ *) 0)
27078 if (sizeof (ac__type_new_))
27084 rm -f conftest.
$ac_objext
27085 if { (ac_try
="$ac_compile"
27086 case "(($ac_try" in
27087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27088 *) ac_try_echo=$ac_try;;
27090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27091 (eval "$ac_compile") 2>conftest.er1
27093 grep -v '^ *+' conftest.er1 >conftest.err
27095 cat conftest.err >&5
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); } && {
27098 test -z "$ac_c_werror_flag" ||
27099 test ! -s conftest.err
27100 } && test -s conftest.$ac_objext; then
27101 ac_cv_type_boolean=yes
27103 echo "$as_me: failed program was:" >&5
27104 sed 's/^/| /' conftest.$ac_ext >&5
27106 ac_cv_type_boolean=no
27109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27111 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27112 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27114 # The cast to long int works around a bug in the HP C Compiler
27115 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27116 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27117 # This bug is HP SR number 8606223364.
27118 { echo "$as_me:$LINENO: checking size of boolean" >&5
27119 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27120 if test "${ac_cv_sizeof_boolean+set}" = set; then
27121 echo $ECHO_N "(cached) $ECHO_C" >&6
27123 if test "$cross_compiling" = yes; then
27124 # Depending upon the size, compute the lo and hi bounds.
27125 cat >conftest.$ac_ext <<_ACEOF
27128 cat confdefs.h >>conftest.$ac_ext
27129 cat >>conftest.$ac_ext <<_ACEOF
27130 /* end confdefs.h. */
27132 #undef HAVE_BOOLEAN
27134 #include <jpeglib.h>
27137 typedef boolean ac__type_sizeof_;
27141 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27148 rm -f conftest.$ac_objext
27149 if { (ac_try="$ac_compile"
27150 case "(($ac_try" in
27151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27152 *) ac_try_echo=$ac_try;;
27154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27155 (eval "$ac_compile") 2>conftest.er1
27157 grep -v '^
*+' conftest.er1 >conftest.err
27159 cat conftest.err >&5
27160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27161 (exit $ac_status); } && {
27162 test -z "$ac_c_werror_flag" ||
27163 test ! -s conftest.err
27164 } && test -s conftest.$ac_objext; then
27167 cat >conftest.$ac_ext <<_ACEOF
27170 cat confdefs.h >>conftest.$ac_ext
27171 cat >>conftest.$ac_ext <<_ACEOF
27172 /* end confdefs.h. */
27174 #undef HAVE_BOOLEAN
27176 #include <jpeglib.h>
27179 typedef boolean ac__type_sizeof_;
27183 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27190 rm -f conftest.$ac_objext
27191 if { (ac_try="$ac_compile"
27192 case "(($ac_try" in
27193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27194 *) ac_try_echo=$ac_try;;
27196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27197 (eval "$ac_compile") 2>conftest.er1
27199 grep -v '^
*+' conftest.er1 >conftest.err
27201 cat conftest.err >&5
27202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27203 (exit $ac_status); } && {
27204 test -z "$ac_c_werror_flag" ||
27205 test ! -s conftest.err
27206 } && test -s conftest.$ac_objext; then
27207 ac_hi=$ac_mid; break
27209 echo "$as_me: failed program was:" >&5
27210 sed 's
/^
/| /' conftest.$ac_ext >&5
27212 ac_lo=`expr $ac_mid + 1`
27213 if test $ac_lo -le $ac_mid; then
27217 ac_mid=`expr 2 '*' $ac_mid + 1`
27220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27223 echo "$as_me: failed program was:" >&5
27224 sed 's
/^
/| /' conftest.$ac_ext >&5
27226 cat >conftest.$ac_ext <<_ACEOF
27229 cat confdefs.h >>conftest.$ac_ext
27230 cat >>conftest.$ac_ext <<_ACEOF
27231 /* end confdefs.h. */
27233 #undef HAVE_BOOLEAN
27235 #include <jpeglib.h>
27238 typedef boolean ac__type_sizeof_;
27242 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27249 rm -f conftest.$ac_objext
27250 if { (ac_try="$ac_compile"
27251 case "(($ac_try" in
27252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27253 *) ac_try_echo=$ac_try;;
27255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27256 (eval "$ac_compile") 2>conftest.er1
27258 grep -v '^
*+' conftest.er1 >conftest.err
27260 cat conftest.err >&5
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); } && {
27263 test -z "$ac_c_werror_flag" ||
27264 test ! -s conftest.err
27265 } && test -s conftest.$ac_objext; then
27268 cat >conftest.$ac_ext <<_ACEOF
27271 cat confdefs.h >>conftest.$ac_ext
27272 cat >>conftest.$ac_ext <<_ACEOF
27273 /* end confdefs.h. */
27275 #undef HAVE_BOOLEAN
27277 #include <jpeglib.h>
27280 typedef boolean ac__type_sizeof_;
27284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27291 rm -f conftest.$ac_objext
27292 if { (ac_try="$ac_compile"
27293 case "(($ac_try" in
27294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27295 *) ac_try_echo=$ac_try;;
27297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27298 (eval "$ac_compile") 2>conftest.er1
27300 grep -v '^
*+' conftest.er1 >conftest.err
27302 cat conftest.err >&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } && {
27305 test -z "$ac_c_werror_flag" ||
27306 test ! -s conftest.err
27307 } && test -s conftest.$ac_objext; then
27308 ac_lo=$ac_mid; break
27310 echo "$as_me: failed program was:" >&5
27311 sed 's
/^
/| /' conftest.$ac_ext >&5
27313 ac_hi=`expr '(' $ac_mid ')' - 1`
27314 if test $ac_mid -le $ac_hi; then
27318 ac_mid=`expr 2 '*' $ac_mid`
27321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27324 echo "$as_me: failed program was:" >&5
27325 sed 's
/^
/| /' conftest.$ac_ext >&5
27330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27334 # Binary search between lo and hi bounds.
27335 while test "x$ac_lo" != "x$ac_hi"; do
27336 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27337 cat >conftest.$ac_ext <<_ACEOF
27340 cat confdefs.h >>conftest.$ac_ext
27341 cat >>conftest.$ac_ext <<_ACEOF
27342 /* end confdefs.h. */
27344 #undef HAVE_BOOLEAN
27346 #include <jpeglib.h>
27349 typedef boolean ac__type_sizeof_;
27353 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27360 rm -f conftest.$ac_objext
27361 if { (ac_try="$ac_compile"
27362 case "(($ac_try" in
27363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27364 *) ac_try_echo=$ac_try;;
27366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27367 (eval "$ac_compile") 2>conftest.er1
27369 grep -v '^
*+' conftest.er1 >conftest.err
27371 cat conftest.err >&5
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); } && {
27374 test -z "$ac_c_werror_flag" ||
27375 test ! -s conftest.err
27376 } && test -s conftest.$ac_objext; then
27379 echo "$as_me: failed program was:" >&5
27380 sed 's
/^
/| /' conftest.$ac_ext >&5
27382 ac_lo=`expr '(' $ac_mid ')' + 1`
27385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27388 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27389 '') if test "$ac_cv_type_boolean" = yes; then
27390 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27391 See \`config.log' for more details.
" >&5
27392 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27393 See \
`config.log' for more details." >&2;}
27394 { (exit 77); exit 77; }; }
27396 ac_cv_sizeof_boolean=0
27400 cat >conftest.$ac_ext <<_ACEOF
27403 cat confdefs.h >>conftest.$ac_ext
27404 cat >>conftest.$ac_ext <<_ACEOF
27405 /* end confdefs.h. */
27407 #undef HAVE_BOOLEAN
27409 #include <jpeglib.h>
27412 typedef boolean ac__type_sizeof_;
27413 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27414 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27416 #include <stdlib.h>
27421 FILE *f = fopen ("conftest.val", "w");
27424 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27426 long int i = longval ();
27427 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27429 fprintf (f, "%ld\n", i);
27433 unsigned long int i = ulongval ();
27434 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27436 fprintf (f, "%lu\n", i);
27438 return ferror (f) || fclose (f) != 0;
27444 rm -f conftest$ac_exeext
27445 if { (ac_try="$ac_link"
27446 case "(($ac_try" in
27447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27448 *) ac_try_echo
=$ac_try;;
27450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27451 (eval "$ac_link") 2>&5
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27455 { (case "(($ac_try" in
27456 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27457 *) ac_try_echo=$ac_try;;
27459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27460 (eval "$ac_try") 2>&5
27462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463 (exit $ac_status); }; }; then
27464 ac_cv_sizeof_boolean=`cat conftest.val
`
27466 echo "$as_me: program exited with status $ac_status" >&5
27467 echo "$as_me: failed program was:" >&5
27468 sed 's/^/| /' conftest.$ac_ext >&5
27470 ( exit $ac_status )
27471 if test "$ac_cv_type_boolean" = yes; then
27472 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27473 See \`config.log
' for more details." >&5
27474 echo "$as_me: error: cannot compute sizeof (boolean)
27475 See \`config.log' for more details.
" >&2;}
27476 { (exit 77); exit 77; }; }
27478 ac_cv_sizeof_boolean=0
27481 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27485 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27486 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27490 cat >>confdefs.h <<_ACEOF
27491 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27495 cat >>confdefs.h <<_ACEOF
27496 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27510 TIFF_PREREQ_LINKS=-lm
27511 if test "$wxUSE_LIBTIFF" != "no
" ; then
27512 cat >>confdefs.h <<\_ACEOF
27513 #define wxUSE_LIBTIFF 1
27517 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27518 if test "$wxUSE_LIBJPEG" = "sys
"; then
27519 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27521 if test "$wxUSE_ZLIB" = "sys
"; then
27522 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27524 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27525 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27526 if test "${ac_cv_header_tiffio_h+set}" = set; then
27527 echo $ECHO_N "(cached
) $ECHO_C" >&6
27529 cat >conftest.$ac_ext <<_ACEOF
27532 cat confdefs.h >>conftest.$ac_ext
27533 cat >>conftest.$ac_ext <<_ACEOF
27534 /* end confdefs.h. */
27538 #include <tiffio.h>
27540 rm -f conftest.$ac_objext
27541 if { (ac_try="$ac_compile"
27542 case "(($ac_try" in
27543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27544 *) ac_try_echo=$ac_try;;
27546 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27547 (eval "$ac_compile") 2>conftest.er1
27549 grep -v '^ *+' conftest.er1 >conftest.err
27551 cat conftest.err >&5
27552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27553 (exit $ac_status); } && {
27554 test -z "$ac_c_werror_flag" ||
27555 test ! -s conftest.err
27556 } && test -s conftest.$ac_objext; then
27557 ac_cv_header_tiffio_h=yes
27559 echo "$as_me: failed program was
:" >&5
27560 sed 's/^/| /' conftest.$ac_ext >&5
27562 ac_cv_header_tiffio_h=no
27565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27567 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27568 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27569 if test $ac_cv_header_tiffio_h = yes; then
27571 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27572 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27573 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27574 echo $ECHO_N "(cached
) $ECHO_C" >&6
27576 ac_check_lib_save_LIBS=$LIBS
27577 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27578 cat >conftest.$ac_ext <<_ACEOF
27581 cat confdefs.h >>conftest.$ac_ext
27582 cat >>conftest.$ac_ext <<_ACEOF
27583 /* end confdefs.h. */
27585 /* Override any GCC internal prototype to avoid an error.
27586 Use char because int might match the return type of a GCC
27587 builtin and then its argument prototype would still apply. */
27595 return TIFFError ();
27600 rm -f conftest.$ac_objext conftest$ac_exeext
27601 if { (ac_try="$ac_link"
27602 case "(($ac_try" in
27603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27604 *) ac_try_echo=$ac_try;;
27606 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27607 (eval "$ac_link") 2>conftest.er1
27609 grep -v '^ *+' conftest.er1 >conftest.err
27611 cat conftest.err >&5
27612 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27613 (exit $ac_status); } && {
27614 test -z "$ac_c_werror_flag" ||
27615 test ! -s conftest.err
27616 } && test -s conftest$ac_exeext &&
27617 $as_test_x conftest$ac_exeext; then
27618 ac_cv_lib_tiff_TIFFError=yes
27620 echo "$as_me: failed program was
:" >&5
27621 sed 's/^/| /' conftest.$ac_ext >&5
27623 ac_cv_lib_tiff_TIFFError=no
27626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27627 conftest$ac_exeext conftest.$ac_ext
27628 LIBS=$ac_check_lib_save_LIBS
27630 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27631 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27632 if test $ac_cv_lib_tiff_TIFFError = yes; then
27633 TIFF_LINK=" -ltiff"
27641 if test "x
$TIFF_LINK" = "x
" ; then
27642 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27643 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27644 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27645 { (exit 1); exit 1; }; }
27647 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27648 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27649 wxUSE_LIBTIFF=builtin
27655 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27656 if test "$wxUSE_LIBJPEG" = "no
"; then
27657 ac_configure_args="$ac_configure_args --disable-jpeg"
27659 subdirs="$subdirs src
/tiff
"
27665 if test "$wxUSE_WCHAR_T" != "yes"; then
27666 if test "$wxUSE_EXPAT" != "no
"; then
27667 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27668 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27671 if test "$wxUSE_XML" != "no
"; then
27672 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27673 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27678 if test "$wxUSE_EXPAT" != "no
"; then
27680 cat >>confdefs.h <<\_ACEOF
27681 #define wxUSE_EXPAT 1
27684 cat >>confdefs.h <<\_ACEOF
27685 #define wxUSE_XML 1
27689 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27690 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27691 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27692 if test "${ac_cv_header_expat_h+set}" = set; then
27693 echo $ECHO_N "(cached
) $ECHO_C" >&6
27695 cat >conftest.$ac_ext <<_ACEOF
27698 cat confdefs.h >>conftest.$ac_ext
27699 cat >>conftest.$ac_ext <<_ACEOF
27700 /* end confdefs.h. */
27705 rm -f conftest.$ac_objext
27706 if { (ac_try="$ac_compile"
27707 case "(($ac_try" in
27708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27709 *) ac_try_echo=$ac_try;;
27711 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27712 (eval "$ac_compile") 2>conftest.er1
27714 grep -v '^ *+' conftest.er1 >conftest.err
27716 cat conftest.err >&5
27717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27718 (exit $ac_status); } && {
27719 test -z "$ac_c_werror_flag" ||
27720 test ! -s conftest.err
27721 } && test -s conftest.$ac_objext; then
27722 ac_cv_header_expat_h=yes
27724 echo "$as_me: failed program was
:" >&5
27725 sed 's/^/| /' conftest.$ac_ext >&5
27727 ac_cv_header_expat_h=no
27730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27732 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27733 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27734 if test $ac_cv_header_expat_h = yes; then
27739 if test "x
$found_expat_h" = "x1
"; then
27740 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27741 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27742 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27743 echo $ECHO_N "(cached
) $ECHO_C" >&6
27747 ac_cpp='$CXXCPP $CPPFLAGS'
27748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27752 cat >conftest.$ac_ext <<_ACEOF
27755 cat confdefs.h >>conftest.$ac_ext
27756 cat >>conftest.$ac_ext <<_ACEOF
27757 /* end confdefs.h. */
27767 rm -f conftest.$ac_objext
27768 if { (ac_try="$ac_compile"
27769 case "(($ac_try" in
27770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27771 *) ac_try_echo=$ac_try;;
27773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27774 (eval "$ac_compile") 2>conftest.er1
27776 grep -v '^ *+' conftest.er1 >conftest.err
27778 cat conftest.err >&5
27779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27780 (exit $ac_status); } && {
27781 test -z "$ac_cxx_werror_flag" ||
27782 test ! -s conftest.err
27783 } && test -s conftest.$ac_objext; then
27784 wx_cv_expat_is_not_broken=yes
27786 echo "$as_me: failed program was
:" >&5
27787 sed 's/^/| /' conftest.$ac_ext >&5
27789 wx_cv_expat_is_not_broken=no
27793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27795 ac_cpp='$CPP $CPPFLAGS'
27796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27803 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27804 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27805 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27806 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27807 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27808 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27809 echo $ECHO_N "(cached
) $ECHO_C" >&6
27811 ac_check_lib_save_LIBS=$LIBS
27812 LIBS="-lexpat $LIBS"
27813 cat >conftest.$ac_ext <<_ACEOF
27816 cat confdefs.h >>conftest.$ac_ext
27817 cat >>conftest.$ac_ext <<_ACEOF
27818 /* end confdefs.h. */
27820 /* Override any GCC internal prototype to avoid an error.
27821 Use char because int might match the return type of a GCC
27822 builtin and then its argument prototype would still apply. */
27826 char XML_ParserCreate ();
27830 return XML_ParserCreate ();
27835 rm -f conftest.$ac_objext conftest$ac_exeext
27836 if { (ac_try="$ac_link"
27837 case "(($ac_try" in
27838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27839 *) ac_try_echo=$ac_try;;
27841 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27842 (eval "$ac_link") 2>conftest.er1
27844 grep -v '^ *+' conftest.er1 >conftest.err
27846 cat conftest.err >&5
27847 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27848 (exit $ac_status); } && {
27849 test -z "$ac_c_werror_flag" ||
27850 test ! -s conftest.err
27851 } && test -s conftest$ac_exeext &&
27852 $as_test_x conftest$ac_exeext; then
27853 ac_cv_lib_expat_XML_ParserCreate=yes
27855 echo "$as_me: failed program was
:" >&5
27856 sed 's/^/| /' conftest.$ac_ext >&5
27858 ac_cv_lib_expat_XML_ParserCreate=no
27861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27862 conftest$ac_exeext conftest.$ac_ext
27863 LIBS=$ac_check_lib_save_LIBS
27865 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27866 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27867 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27868 EXPAT_LINK=" -lexpat"
27873 if test "x
$EXPAT_LINK" = "x
" ; then
27874 if test "$wxUSE_EXPAT" = "sys
" ; then
27875 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27876 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27877 { (exit 1); exit 1; }; }
27879 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27880 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27881 wxUSE_EXPAT=builtin
27887 if test "$wxUSE_EXPAT" = "builtin" ; then
27888 subdirs="$subdirs src
/expat
"
27895 if test "$wxUSE_LIBMSPACK" != "no
"; then
27896 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27897 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27898 if test "${ac_cv_header_mspack_h+set}" = set; then
27899 echo $ECHO_N "(cached
) $ECHO_C" >&6
27901 cat >conftest.$ac_ext <<_ACEOF
27904 cat confdefs.h >>conftest.$ac_ext
27905 cat >>conftest.$ac_ext <<_ACEOF
27906 /* end confdefs.h. */
27909 #include <mspack.h>
27911 rm -f conftest.$ac_objext
27912 if { (ac_try="$ac_compile"
27913 case "(($ac_try" in
27914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27915 *) ac_try_echo=$ac_try;;
27917 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27918 (eval "$ac_compile") 2>conftest.er1
27920 grep -v '^ *+' conftest.er1 >conftest.err
27922 cat conftest.err >&5
27923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27924 (exit $ac_status); } && {
27925 test -z "$ac_c_werror_flag" ||
27926 test ! -s conftest.err
27927 } && test -s conftest.$ac_objext; then
27928 ac_cv_header_mspack_h=yes
27930 echo "$as_me: failed program was
:" >&5
27931 sed 's/^/| /' conftest.$ac_ext >&5
27933 ac_cv_header_mspack_h=no
27936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27938 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27939 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27940 if test $ac_cv_header_mspack_h = yes; then
27945 if test "x
$found_mspack_h" = "x1
"; then
27946 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27947 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27948 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27949 echo $ECHO_N "(cached
) $ECHO_C" >&6
27951 ac_check_lib_save_LIBS=$LIBS
27952 LIBS="-lmspack $LIBS"
27953 cat >conftest.$ac_ext <<_ACEOF
27956 cat confdefs.h >>conftest.$ac_ext
27957 cat >>conftest.$ac_ext <<_ACEOF
27958 /* end confdefs.h. */
27960 /* Override any GCC internal prototype to avoid an error.
27961 Use char because int might match the return type of a GCC
27962 builtin and then its argument prototype would still apply. */
27966 char mspack_create_chm_decompressor ();
27970 return mspack_create_chm_decompressor ();
27975 rm -f conftest.$ac_objext conftest$ac_exeext
27976 if { (ac_try="$ac_link"
27977 case "(($ac_try" in
27978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27979 *) ac_try_echo=$ac_try;;
27981 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27982 (eval "$ac_link") 2>conftest.er1
27984 grep -v '^ *+' conftest.er1 >conftest.err
27986 cat conftest.err >&5
27987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27988 (exit $ac_status); } && {
27989 test -z "$ac_c_werror_flag" ||
27990 test ! -s conftest.err
27991 } && test -s conftest$ac_exeext &&
27992 $as_test_x conftest$ac_exeext; then
27993 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27995 echo "$as_me: failed program was
:" >&5
27996 sed 's/^/| /' conftest.$ac_ext >&5
27998 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28002 conftest$ac_exeext conftest.$ac_ext
28003 LIBS=$ac_check_lib_save_LIBS
28005 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28006 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28007 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28008 MSPACK_LINK=" -lmspack"
28012 if test "x
$MSPACK_LINK" = "x
" ; then
28017 if test "$wxUSE_LIBMSPACK" != "no
"; then
28018 cat >>confdefs.h <<\_ACEOF
28019 #define wxUSE_LIBMSPACK 1
28033 if test "$USE_WIN32" = 1 ; then
28035 for ac_header in w32api.h
28037 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28038 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28039 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28040 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28041 echo $ECHO_N "(cached
) $ECHO_C" >&6
28043 cat >conftest.$ac_ext <<_ACEOF
28046 cat confdefs.h >>conftest.$ac_ext
28047 cat >>conftest.$ac_ext <<_ACEOF
28048 /* end confdefs.h. */
28051 #include <$ac_header>
28053 rm -f conftest.$ac_objext
28054 if { (ac_try="$ac_compile"
28055 case "(($ac_try" in
28056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28057 *) ac_try_echo=$ac_try;;
28059 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28060 (eval "$ac_compile") 2>conftest.er1
28062 grep -v '^ *+' conftest.er1 >conftest.err
28064 cat conftest.err >&5
28065 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28066 (exit $ac_status); } && {
28067 test -z "$ac_c_werror_flag" ||
28068 test ! -s conftest.err
28069 } && test -s conftest.$ac_objext; then
28070 eval "$as_ac_Header=yes"
28072 echo "$as_me: failed program was
:" >&5
28073 sed 's/^/| /' conftest.$ac_ext >&5
28075 eval "$as_ac_Header=no
"
28078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28080 ac_res=`eval echo '${'$as_ac_Header'}'`
28081 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28082 echo "${ECHO_T}$ac_res" >&6; }
28083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28084 cat >>confdefs.h <<_ACEOF
28085 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28092 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28093 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28094 if test "${ac_cv_header_windows_h+set}" = set; then
28095 echo $ECHO_N "(cached
) $ECHO_C" >&6
28097 cat >conftest.$ac_ext <<_ACEOF
28100 cat confdefs.h >>conftest.$ac_ext
28101 cat >>conftest.$ac_ext <<_ACEOF
28102 /* end confdefs.h. */
28105 #include <windows.h>
28107 rm -f conftest.$ac_objext
28108 if { (ac_try="$ac_compile"
28109 case "(($ac_try" in
28110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28111 *) ac_try_echo=$ac_try;;
28113 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28114 (eval "$ac_compile") 2>conftest.er1
28116 grep -v '^ *+' conftest.er1 >conftest.err
28118 cat conftest.err >&5
28119 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28120 (exit $ac_status); } && {
28121 test -z "$ac_c_werror_flag" ||
28122 test ! -s conftest.err
28123 } && test -s conftest.$ac_objext; then
28124 ac_cv_header_windows_h=yes
28126 echo "$as_me: failed program was
:" >&5
28127 sed 's/^/| /' conftest.$ac_ext >&5
28129 ac_cv_header_windows_h=no
28132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28134 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28135 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28136 if test $ac_cv_header_windows_h = yes; then
28140 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28141 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28142 { (exit 1); exit 1; }; }
28149 x86_64-*-mingw32* )
28150 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28153 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28156 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28157 LIBS="$LIBS -loleacc"
28162 LIBS="$LIBS -lkernel32 -luser32"
28165 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28166 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28168 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28170 WIN32INSTALL=win32install
28172 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28173 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28174 if test "${ac_cv_header_pbt_h+set}" = set; then
28175 echo $ECHO_N "(cached
) $ECHO_C" >&6
28177 cat >conftest.$ac_ext <<_ACEOF
28180 cat confdefs.h >>conftest.$ac_ext
28181 cat >>conftest.$ac_ext <<_ACEOF
28182 /* end confdefs.h. */
28187 rm -f conftest.$ac_objext
28188 if { (ac_try="$ac_compile"
28189 case "(($ac_try" in
28190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28191 *) ac_try_echo=$ac_try;;
28193 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28194 (eval "$ac_compile") 2>conftest.er1
28196 grep -v '^ *+' conftest.er1 >conftest.err
28198 cat conftest.err >&5
28199 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28200 (exit $ac_status); } && {
28201 test -z "$ac_c_werror_flag" ||
28202 test ! -s conftest.err
28203 } && test -s conftest.$ac_objext; then
28204 ac_cv_header_pbt_h=yes
28206 echo "$as_me: failed program was
:" >&5
28207 sed 's/^/| /' conftest.$ac_ext >&5
28209 ac_cv_header_pbt_h=no
28212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28214 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28215 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28216 if test $ac_cv_header_pbt_h = yes; then
28219 cat >>confdefs.h <<\_ACEOF
28220 #define NEED_PBT_H 1
28228 if test "$wxUSE_GUI" = "yes"; then
28238 if test "$wxUSE_COCOA" = 1 ; then
28239 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28240 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28241 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28242 wxUSE_PRINTING_ARCHITECTURE=no
28244 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28245 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28246 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28247 wxUSE_DRAG_AND_DROP=no
28249 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28250 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28251 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28256 if test "$wxUSE_MSW" = 1 ; then
28262 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28266 if test "$wxUSE_GTK" = 1; then
28267 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28268 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28270 gtk_version_cached=1
28271 if test "${wx_cv_lib_gtk+set}" = set; then
28272 echo $ECHO_N "(cached
) $ECHO_C" >&6
28275 gtk_version_cached=0
28276 { echo "$as_me:$LINENO: result
: " >&5
28277 echo "${ECHO_T}" >&6; }
28280 if test "$wxUSE_THREADS" = "yes"; then
28281 GTK_MODULES=gthread
28285 if test "x
$wxGTK_VERSION" != "x1
"
28289 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28294 # Check whether --enable-gtktest was given.
28295 if test "${enable_gtktest+set}" = set; then
28296 enableval=$enable_gtktest;
28302 pkg_config_args=gtk+-2.0
28303 for module in . $GTK_MODULES
28307 pkg_config_args="$pkg_config_args gthread
-2.0
"
28314 # Extract the first word of "pkg
-config", so it can be a program name with args.
28315 set dummy pkg-config; ac_word=$2
28316 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28317 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28318 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28319 echo $ECHO_N "(cached
) $ECHO_C" >&6
28321 case $PKG_CONFIG in
28323 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28327 for as_dir in $PATH
28330 test -z "$as_dir" && as_dir=.
28331 for ac_exec_ext in '' $ac_executable_extensions; do
28332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28333 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28334 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28341 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28345 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28346 if test -n "$PKG_CONFIG"; then
28347 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28348 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28350 { echo "$as_me:$LINENO: result
: no
" >&5
28351 echo "${ECHO_T}no
" >&6; }
28356 if test x$PKG_CONFIG != xno ; then
28357 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28360 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28368 min_gtk_version=2.4.0
28369 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28370 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28372 if test x$PKG_CONFIG != xno ; then
28373 ## don't try to run the test against uninstalled libtool libs
28374 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28375 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28379 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28386 if test x"$no_gtk" = x ; then
28387 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28388 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28389 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28391 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28393 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28395 if test "x
$enable_gtktest" = "xyes
" ; then
28396 ac_save_CFLAGS="$CFLAGS"
28397 ac_save_LIBS="$LIBS"
28398 CFLAGS="$CFLAGS $GTK_CFLAGS"
28399 LIBS="$GTK_LIBS $LIBS"
28401 if test "$cross_compiling" = yes; then
28402 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28404 cat >conftest.$ac_ext <<_ACEOF
28407 cat confdefs.h >>conftest.$ac_ext
28408 cat >>conftest.$ac_ext <<_ACEOF
28409 /* end confdefs.h. */
28411 #include <gtk/gtk.h>
28413 #include <stdlib.h>
28418 int major, minor, micro;
28421 system ("touch conf.gtktest
");
28423 /* HP/UX 9 (%@#!) writes to sscanf strings */
28424 tmp_version = g_strdup("$min_gtk_version");
28425 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28426 printf("%s
, bad version string
\n", "$min_gtk_version");
28430 if ((gtk_major_version != $gtk_config_major_version) ||
28431 (gtk_minor_version != $gtk_config_minor_version) ||
28432 (gtk_micro_version != $gtk_config_micro_version))
28434 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28435 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28436 gtk_major_version, gtk_minor_version, gtk_micro_version);
28437 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28438 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28439 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28440 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28441 printf("*** required on your system.
\n");
28442 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28443 printf("*** to point to the correct configuration files
\n");
28445 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28446 (gtk_minor_version != GTK_MINOR_VERSION) ||
28447 (gtk_micro_version != GTK_MICRO_VERSION))
28449 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28450 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28451 printf("*** library
(version
%d.
%d.
%d
)\n",
28452 gtk_major_version, gtk_minor_version, gtk_micro_version);
28456 if ((gtk_major_version > major) ||
28457 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28458 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28464 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28465 gtk_major_version, gtk_minor_version, gtk_micro_version);
28466 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28467 major, minor, micro);
28468 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28470 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28471 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28472 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28473 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28474 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28475 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28476 printf("*** so that the correct libraries are found
at run
-time))\n");
28483 rm -f conftest$ac_exeext
28484 if { (ac_try="$ac_link"
28485 case "(($ac_try" in
28486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28487 *) ac_try_echo=$ac_try;;
28489 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28490 (eval "$ac_link") 2>&5
28492 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28493 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28494 { (case "(($ac_try" in
28495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28496 *) ac_try_echo=$ac_try;;
28498 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28499 (eval "$ac_try") 2>&5
28501 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28502 (exit $ac_status); }; }; then
28505 echo "$as_me: program exited with status
$ac_status" >&5
28506 echo "$as_me: failed program was
:" >&5
28507 sed 's/^/| /' conftest.$ac_ext >&5
28509 ( exit $ac_status )
28512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28516 CFLAGS="$ac_save_CFLAGS"
28517 LIBS="$ac_save_LIBS"
28520 if test "x
$no_gtk" = x ; then
28521 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28522 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28525 { echo "$as_me:$LINENO: result
: no
" >&5
28526 echo "${ECHO_T}no
" >&6; }
28527 if test "$PKG_CONFIG" = "no
" ; then
28528 echo "*** A new enough version of pkg
-config was not found.
"
28529 echo "*** See http
://pkgconfig.sourceforge.net
"
28531 if test -f conf.gtktest ; then
28534 echo "*** Could not run GTK
+ test program
, checking why...
"
28535 ac_save_CFLAGS="$CFLAGS"
28536 ac_save_LIBS="$LIBS"
28537 CFLAGS="$CFLAGS $GTK_CFLAGS"
28538 LIBS="$LIBS $GTK_LIBS"
28539 cat >conftest.$ac_ext <<_ACEOF
28542 cat confdefs.h >>conftest.$ac_ext
28543 cat >>conftest.$ac_ext <<_ACEOF
28544 /* end confdefs.h. */
28546 #include <gtk/gtk.h>
28552 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28557 rm -f conftest.$ac_objext conftest$ac_exeext
28558 if { (ac_try="$ac_link"
28559 case "(($ac_try" in
28560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28561 *) ac_try_echo=$ac_try;;
28563 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28564 (eval "$ac_link") 2>conftest.er1
28566 grep -v '^ *+' conftest.er1 >conftest.err
28568 cat conftest.err >&5
28569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28570 (exit $ac_status); } && {
28571 test -z "$ac_c_werror_flag" ||
28572 test ! -s conftest.err
28573 } && test -s conftest$ac_exeext &&
28574 $as_test_x conftest$ac_exeext; then
28575 echo "*** The
test program compiled
, but did not run. This usually means
"
28576 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28577 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28578 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28579 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28580 echo "*** is required on your system"
28582 echo "*** If you have an old version installed, it is best to remove it, although"
28583 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28585 echo "$as_me: failed program was:" >&5
28586 sed 's
/^
/| /' conftest.$ac_ext >&5
28588 echo "*** The test program failed to compile or link. See the file config.log for the"
28589 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28593 conftest$ac_exeext conftest.$ac_ext
28594 CFLAGS="$ac_save_CFLAGS"
28595 LIBS="$ac_save_LIBS"
28609 if test "$wxUSE_SHARED" != "yes"; then
28610 GTK_LIBS="$GTK_LIBS -lX11"
28615 if test -z "$wx_cv_lib_gtk"; then
28616 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28618 # Check whether --with-gtk-prefix was given.
28619 if test "${with_gtk_prefix+set}" = set; then
28620 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28622 gtk_config_prefix=""
28626 # Check whether --with-gtk-exec-prefix was given.
28627 if test "${with_gtk_exec_prefix+set}" = set; then
28628 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28630 gtk_config_exec_prefix=""
28633 # Check whether --enable-gtktest was given.
28634 if test "${enable_gtktest+set}" = set; then
28635 enableval=$enable_gtktest;
28641 for module in . $GTK_MODULES
28645 gtk_config_args="$gtk_config_args gthread"
28650 if test x$gtk_config_exec_prefix != x ; then
28651 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28652 if test x${GTK_CONFIG+set} != xset ; then
28653 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28656 if test x$gtk_config_prefix != x ; then
28657 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28658 if test x${GTK_CONFIG+set} != xset ; then
28659 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28663 # Extract the first word of "gtk-config", so it can be a program name with args.
28664 set dummy gtk-config; ac_word=$2
28665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28667 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28668 echo $ECHO_N "(cached) $ECHO_C" >&6
28670 case $GTK_CONFIG in
28672 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28676 for as_dir in $PATH
28679 test -z "$as_dir" && as_dir=.
28680 for ac_exec_ext in '' $ac_executable_extensions; do
28681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28682 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28690 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28694 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28695 if test -n "$GTK_CONFIG"; then
28696 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28697 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28699 { echo "$as_me:$LINENO: result: no" >&5
28700 echo "${ECHO_T}no" >&6; }
28704 min_gtk_version=1.2.7
28705 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28706 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28708 if test "$GTK_CONFIG" = "no" ; then
28711 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28712 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28713 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28714 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28715 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28716 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28717 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28718 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28719 if test "x$enable_gtktest" = "xyes" ; then
28720 ac_save_CFLAGS="$CFLAGS"
28721 ac_save_LIBS="$LIBS"
28722 CFLAGS="$CFLAGS $GTK_CFLAGS"
28723 LIBS="$GTK_LIBS $LIBS"
28725 if test "$cross_compiling" = yes; then
28726 echo $ac_n "cross compiling; assumed OK... $ac_c"
28728 cat >conftest.$ac_ext <<_ACEOF
28731 cat confdefs.h >>conftest.$ac_ext
28732 cat >>conftest.$ac_ext <<_ACEOF
28733 /* end confdefs.h. */
28735 #include <gtk/gtk.h>
28737 #include <stdlib.h>
28742 int major, minor, micro;
28745 system ("touch conf.gtktest");
28747 /* HP/UX 9 (%@#!) writes to sscanf strings */
28748 tmp_version = g_strdup("$min_gtk_version");
28749 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28750 printf("%s, bad version string\n", "$min_gtk_version");
28754 if ((gtk_major_version != $gtk_config_major_version) ||
28755 (gtk_minor_version != $gtk_config_minor_version) ||
28756 (gtk_micro_version != $gtk_config_micro_version))
28758 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28759 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28760 gtk_major_version, gtk_minor_version, gtk_micro_version);
28761 printf ("*** was found! If gtk-config was correct, then it is best\n");
28762 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28763 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28764 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28765 printf("*** required on your system.\n");
28766 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28767 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28768 printf("*** before re-running configure\n");
28770 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28771 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28772 (gtk_minor_version != GTK_MINOR_VERSION) ||
28773 (gtk_micro_version != GTK_MICRO_VERSION))
28775 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28776 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28777 printf("*** library (version %d.%d.%d)\n",
28778 gtk_major_version, gtk_minor_version, gtk_micro_version);
28780 #endif /* defined (GTK_MAJOR_VERSION) ... */
28783 if ((gtk_major_version > major) ||
28784 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28785 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28791 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28792 gtk_major_version, gtk_minor_version, gtk_micro_version);
28793 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28794 major, minor, micro);
28795 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28797 printf("*** If you have already installed a sufficiently new version, this error\n");
28798 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28799 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28800 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28801 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28802 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28803 printf("*** so that the correct libraries are found at run-time))\n");
28810 rm -f conftest$ac_exeext
28811 if { (ac_try="$ac_link"
28812 case "(($ac_try" in
28813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28814 *) ac_try_echo=$ac_try;;
28816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28817 (eval "$ac_link") 2>&5
28819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28821 { (case "(($ac_try" in
28822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28823 *) ac_try_echo=$ac_try;;
28825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28826 (eval "$ac_try") 2>&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); }; }; then
28832 echo "$as_me: program exited with status $ac_status" >&5
28833 echo "$as_me: failed program was:" >&5
28834 sed 's
/^
/| /' conftest.$ac_ext >&5
28836 ( exit $ac_status )
28839 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28843 CFLAGS="$ac_save_CFLAGS"
28844 LIBS="$ac_save_LIBS"
28847 if test "x$no_gtk" = x ; then
28848 { echo "$as_me:$LINENO: result: yes" >&5
28849 echo "${ECHO_T}yes" >&6; }
28850 wx_cv_lib_gtk=1.2.7
28852 { echo "$as_me:$LINENO: result: no" >&5
28853 echo "${ECHO_T}no" >&6; }
28854 if test "$GTK_CONFIG" = "no" ; then
28855 echo "*** The gtk-config script installed by GTK could not be found"
28856 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28857 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28858 echo "*** full path to gtk-config."
28860 if test -f conf.gtktest ; then
28863 echo "*** Could not run GTK test program, checking why..."
28864 CFLAGS="$CFLAGS $GTK_CFLAGS"
28865 LIBS="$LIBS $GTK_LIBS"
28866 cat >conftest.$ac_ext <<_ACEOF
28869 cat confdefs.h >>conftest.$ac_ext
28870 cat >>conftest.$ac_ext <<_ACEOF
28871 /* end confdefs.h. */
28873 #include <gtk/gtk.h>
28879 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28884 rm -f conftest.$ac_objext conftest$ac_exeext
28885 if { (ac_try="$ac_link"
28886 case "(($ac_try" in
28887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28888 *) ac_try_echo=$ac_try;;
28890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28891 (eval "$ac_link") 2>conftest.er1
28893 grep -v '^
*+' conftest.er1 >conftest.err
28895 cat conftest.err >&5
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); } && {
28898 test -z "$ac_c_werror_flag" ||
28899 test ! -s conftest.err
28900 } && test -s conftest$ac_exeext &&
28901 $as_test_x conftest$ac_exeext; then
28902 echo "*** The test program compiled, but did not run. This usually means"
28903 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28904 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28905 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28906 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28907 echo "*** is required on your system
"
28909 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28910 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28912 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28913 echo "*** came with the system with the
command"
28915 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28917 echo "$as_me: failed program was
:" >&5
28918 sed 's/^/| /' conftest.$ac_ext >&5
28920 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28921 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28922 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28923 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28927 conftest$ac_exeext conftest.$ac_ext
28928 CFLAGS="$ac_save_CFLAGS"
28929 LIBS="$ac_save_LIBS"
28941 if test -z "$wx_cv_lib_gtk"; then
28943 # Check whether --with-gtk-prefix was given.
28944 if test "${with_gtk_prefix+set}" = set; then
28945 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28947 gtk_config_prefix=""
28951 # Check whether --with-gtk-exec-prefix was given.
28952 if test "${with_gtk_exec_prefix+set}" = set; then
28953 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28955 gtk_config_exec_prefix=""
28958 # Check whether --enable-gtktest was given.
28959 if test "${enable_gtktest+set}" = set; then
28960 enableval=$enable_gtktest;
28966 for module in . $GTK_MODULES
28970 gtk_config_args="$gtk_config_args gthread
"
28975 if test x$gtk_config_exec_prefix != x ; then
28976 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28977 if test x${GTK_CONFIG+set} != xset ; then
28978 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28981 if test x$gtk_config_prefix != x ; then
28982 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28983 if test x${GTK_CONFIG+set} != xset ; then
28984 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28988 # Extract the first word of "gtk
-config", so it can be a program name with args.
28989 set dummy gtk-config; ac_word=$2
28990 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28991 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28992 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28993 echo $ECHO_N "(cached
) $ECHO_C" >&6
28995 case $GTK_CONFIG in
28997 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29001 for as_dir in $PATH
29004 test -z "$as_dir" && as_dir=.
29005 for ac_exec_ext in '' $ac_executable_extensions; do
29006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29007 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29008 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29015 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29019 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29020 if test -n "$GTK_CONFIG"; then
29021 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29022 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29024 { echo "$as_me:$LINENO: result
: no
" >&5
29025 echo "${ECHO_T}no
" >&6; }
29029 min_gtk_version=1.2.3
29030 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29031 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29033 if test "$GTK_CONFIG" = "no
" ; then
29036 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29037 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29038 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29040 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29042 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29044 if test "x
$enable_gtktest" = "xyes
" ; then
29045 ac_save_CFLAGS="$CFLAGS"
29046 ac_save_LIBS="$LIBS"
29047 CFLAGS="$CFLAGS $GTK_CFLAGS"
29048 LIBS="$GTK_LIBS $LIBS"
29050 if test "$cross_compiling" = yes; then
29051 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29053 cat >conftest.$ac_ext <<_ACEOF
29056 cat confdefs.h >>conftest.$ac_ext
29057 cat >>conftest.$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29060 #include <gtk/gtk.h>
29062 #include <stdlib.h>
29067 int major, minor, micro;
29070 system ("touch conf.gtktest
");
29072 /* HP/UX 9 (%@#!) writes to sscanf strings */
29073 tmp_version = g_strdup("$min_gtk_version");
29074 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29075 printf("%s
, bad version string
\n", "$min_gtk_version");
29079 if ((gtk_major_version != $gtk_config_major_version) ||
29080 (gtk_minor_version != $gtk_config_minor_version) ||
29081 (gtk_micro_version != $gtk_config_micro_version))
29083 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29084 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29085 gtk_major_version, gtk_minor_version, gtk_micro_version);
29086 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29087 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29088 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29089 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29090 printf("*** required on your system.
\n");
29091 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29092 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29093 printf("*** before re
-running configure
\n");
29095 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29096 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29097 (gtk_minor_version != GTK_MINOR_VERSION) ||
29098 (gtk_micro_version != GTK_MICRO_VERSION))
29100 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29101 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29102 printf("*** library
(version
%d.
%d.
%d
)\n",
29103 gtk_major_version, gtk_minor_version, gtk_micro_version);
29105 #endif /* defined (GTK_MAJOR_VERSION) ... */
29108 if ((gtk_major_version > major) ||
29109 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29110 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29116 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29117 gtk_major_version, gtk_minor_version, gtk_micro_version);
29118 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29119 major, minor, micro);
29120 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29122 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29123 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29124 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29125 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29126 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29127 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29128 printf("*** so that the correct libraries are found
at run
-time))\n");
29135 rm -f conftest$ac_exeext
29136 if { (ac_try="$ac_link"
29137 case "(($ac_try" in
29138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29139 *) ac_try_echo=$ac_try;;
29141 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29142 (eval "$ac_link") 2>&5
29144 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29146 { (case "(($ac_try" in
29147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29148 *) ac_try_echo=$ac_try;;
29150 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29151 (eval "$ac_try") 2>&5
29153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29154 (exit $ac_status); }; }; then
29157 echo "$as_me: program exited with status
$ac_status" >&5
29158 echo "$as_me: failed program was
:" >&5
29159 sed 's/^/| /' conftest.$ac_ext >&5
29161 ( exit $ac_status )
29164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29168 CFLAGS="$ac_save_CFLAGS"
29169 LIBS="$ac_save_LIBS"
29172 if test "x
$no_gtk" = x ; then
29173 { echo "$as_me:$LINENO: result
: yes" >&5
29174 echo "${ECHO_T}yes" >&6; }
29175 wx_cv_lib_gtk=1.2.3
29177 { echo "$as_me:$LINENO: result
: no
" >&5
29178 echo "${ECHO_T}no
" >&6; }
29179 if test "$GTK_CONFIG" = "no
" ; then
29180 echo "*** The gtk
-config script installed by GTK could not be found
"
29181 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29182 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29183 echo "*** full path to gtk
-config.
"
29185 if test -f conf.gtktest ; then
29188 echo "*** Could not run GTK
test program
, checking why...
"
29189 CFLAGS="$CFLAGS $GTK_CFLAGS"
29190 LIBS="$LIBS $GTK_LIBS"
29191 cat >conftest.$ac_ext <<_ACEOF
29194 cat confdefs.h >>conftest.$ac_ext
29195 cat >>conftest.$ac_ext <<_ACEOF
29196 /* end confdefs.h. */
29198 #include <gtk/gtk.h>
29204 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29209 rm -f conftest.$ac_objext conftest$ac_exeext
29210 if { (ac_try="$ac_link"
29211 case "(($ac_try" in
29212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29213 *) ac_try_echo=$ac_try;;
29215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29216 (eval "$ac_link") 2>conftest.er1
29218 grep -v '^ *+' conftest.er1 >conftest.err
29220 cat conftest.err >&5
29221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29222 (exit $ac_status); } && {
29223 test -z "$ac_c_werror_flag" ||
29224 test ! -s conftest.err
29225 } && test -s conftest$ac_exeext &&
29226 $as_test_x conftest$ac_exeext; then
29227 echo "*** The
test program compiled
, but did not run. This usually means
"
29228 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29229 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29230 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29231 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29232 echo "*** is required on your system"
29234 echo "*** If you have an old version installed, it is best to remove it, although"
29235 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29237 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29238 echo "*** came with the system with the command"
29240 echo "*** rpm --erase --nodeps gtk gtk-devel"
29242 echo "$as_me: failed program was:" >&5
29243 sed 's
/^
/| /' conftest.$ac_ext >&5
29245 echo "*** The test program failed to compile or link. See the file config.log for the"
29246 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29247 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29248 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29252 conftest$ac_exeext conftest.$ac_ext
29253 CFLAGS="$ac_save_CFLAGS"
29254 LIBS="$ac_save_LIBS"
29269 if test -z "$wx_cv_lib_gtk"; then
29272 wx_cv_cflags_gtk=$GTK_CFLAGS
29273 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29280 if test "$gtk_version_cached" = 1; then
29281 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29282 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29285 case "$wx_cv_lib_gtk" in
29294 *) { { echo "$as_me:$LINENO: error:
29295 The development files for GTK+ were not found. For GTK+ 2, please
29296 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29297 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29298 and that the version is 1.2.3 or above. Also check that the
29299 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29300 --libs' are in the LD_LIBRARY_PATH or equivalent.
29302 echo "$as_me: error:
29303 The development files for GTK+ were not found. For GTK+ 2, please
29304 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29305 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29306 and that the version is 1.2.3 or above. Also check that the
29307 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29308 --libs' are in the LD_LIBRARY_PATH or equivalent.
29310 { (exit 1); exit 1; }; }
29314 if test "$WXGTK2" = 1; then
29315 save_CFLAGS="$CFLAGS"
29317 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29318 LIBS="$LIBS $wx_cv_libs_gtk"
29320 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29321 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29322 cat >conftest.$ac_ext <<_ACEOF
29325 cat confdefs.h >>conftest.$ac_ext
29326 cat >>conftest.$ac_ext <<_ACEOF
29327 /* end confdefs.h. */
29329 #include <gtk/gtk.h>
29335 #if !GTK_CHECK_VERSION(2,10,0)
29343 rm -f conftest.$ac_objext
29344 if { (ac_try="$ac_compile"
29345 case "(($ac_try" in
29346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29347 *) ac_try_echo=$ac_try;;
29349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29350 (eval "$ac_compile") 2>conftest.er1
29352 grep -v '^
*+' conftest.er1 >conftest.err
29354 cat conftest.err >&5
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); } && {
29357 test -z "$ac_c_werror_flag" ||
29358 test ! -s conftest.err
29359 } && test -s conftest.$ac_objext; then
29361 cat >>confdefs.h <<\_ACEOF
29362 #define __WXGTK210__ 1
29365 cat >>confdefs.h <<\_ACEOF
29366 #define __WXGTK26__ 1
29369 { echo "$as_me:$LINENO: result: yes" >&5
29370 echo "${ECHO_T}yes" >&6; }
29374 echo "$as_me: failed program was:" >&5
29375 sed 's
/^
/| /' conftest.$ac_ext >&5
29378 { echo "$as_me:$LINENO: result: no" >&5
29379 echo "${ECHO_T}no" >&6; }
29384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29386 if test "$ac_wxgtk210" = 0; then
29387 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29388 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29389 cat >conftest.$ac_ext <<_ACEOF
29392 cat confdefs.h >>conftest.$ac_ext
29393 cat >>conftest.$ac_ext <<_ACEOF
29394 /* end confdefs.h. */
29396 #include <gtk/gtk.h>
29402 #if !GTK_CHECK_VERSION(2,6,0)
29410 rm -f conftest.$ac_objext
29411 if { (ac_try="$ac_compile"
29412 case "(($ac_try" in
29413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29414 *) ac_try_echo=$ac_try;;
29416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29417 (eval "$ac_compile") 2>conftest.er1
29419 grep -v '^
*+' conftest.er1 >conftest.err
29421 cat conftest.err >&5
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); } && {
29424 test -z "$ac_c_werror_flag" ||
29425 test ! -s conftest.err
29426 } && test -s conftest.$ac_objext; then
29428 cat >>confdefs.h <<\_ACEOF
29429 #define __WXGTK26__ 1
29432 { echo "$as_me:$LINENO: result: yes" >&5
29433 echo "${ECHO_T}yes" >&6; }
29437 echo "$as_me: failed program was:" >&5
29438 sed 's
/^
/| /' conftest.$ac_ext >&5
29441 { echo "$as_me:$LINENO: result: no" >&5
29442 echo "${ECHO_T}no" >&6; }
29447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29450 CFLAGS="$save_CFLAGS"
29453 if test "$wxUSE_UNICODE" = "yes"; then
29454 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29455 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29459 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29460 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29461 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29462 echo $ECHO_N "(cached) $ECHO_C" >&6
29464 ac_check_lib_save_LIBS=$LIBS
29466 cat >conftest.$ac_ext <<_ACEOF
29469 cat confdefs.h >>conftest.$ac_ext
29470 cat >>conftest.$ac_ext <<_ACEOF
29471 /* end confdefs.h. */
29473 /* Override any GCC internal prototype to avoid an error.
29474 Use char because int might match the return type of a GCC
29475 builtin and then its argument prototype would still apply. */
29479 char gdk_im_open ();
29483 return gdk_im_open ();
29488 rm -f conftest.$ac_objext conftest$ac_exeext
29489 if { (ac_try="$ac_link"
29490 case "(($ac_try" in
29491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29492 *) ac_try_echo=$ac_try;;
29494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29495 (eval "$ac_link") 2>conftest.er1
29497 grep -v '^
*+' conftest.er1 >conftest.err
29499 cat conftest.err >&5
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); } && {
29502 test -z "$ac_c_werror_flag" ||
29503 test ! -s conftest.err
29504 } && test -s conftest$ac_exeext &&
29505 $as_test_x conftest$ac_exeext; then
29506 ac_cv_lib_gdk_gdk_im_open=yes
29508 echo "$as_me: failed program was:" >&5
29509 sed 's
/^
/| /' conftest.$ac_ext >&5
29511 ac_cv_lib_gdk_gdk_im_open=no
29514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29515 conftest$ac_exeext conftest.$ac_ext
29516 LIBS=$ac_check_lib_save_LIBS
29518 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29519 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29520 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29521 cat >>confdefs.h <<\_ACEOF
29528 if test "$USE_DARWIN" != 1; then
29530 for ac_func in poll
29532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29533 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29535 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29536 echo $ECHO_N "(cached) $ECHO_C" >&6
29538 cat >conftest.$ac_ext <<_ACEOF
29541 cat confdefs.h >>conftest.$ac_ext
29542 cat >>conftest.$ac_ext <<_ACEOF
29543 /* end confdefs.h. */
29544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29546 #define $ac_func innocuous_$ac_func
29548 /* System header to define __stub macros and hopefully few prototypes,
29549 which can conflict with char $ac_func (); below.
29550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29551 <limits.h> exists even on freestanding compilers. */
29554 # include <limits.h>
29556 # include <assert.h>
29561 /* Override any GCC internal prototype to avoid an error.
29562 Use char because int might match the return type of a GCC
29563 builtin and then its argument prototype would still apply. */
29568 /* The GNU C library defines this for functions which it implements
29569 to always fail with ENOSYS. Some functions are actually named
29570 something starting with __ and the normal name is an alias. */
29571 #if defined __stub_$ac_func || defined __stub___$ac_func
29578 return $ac_func ();
29583 rm -f conftest.$ac_objext conftest$ac_exeext
29584 if { (ac_try="$ac_link"
29585 case "(($ac_try" in
29586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29587 *) ac_try_echo=$ac_try;;
29589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29590 (eval "$ac_link") 2>conftest.er1
29592 grep -v '^
*+' conftest.er1 >conftest.err
29594 cat conftest.err >&5
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); } && {
29597 test -z "$ac_c_werror_flag" ||
29598 test ! -s conftest.err
29599 } && test -s conftest$ac_exeext &&
29600 $as_test_x conftest$ac_exeext; then
29601 eval "$as_ac_var=yes"
29603 echo "$as_me: failed program was:" >&5
29604 sed 's
/^
/| /' conftest.$ac_ext >&5
29606 eval "$as_ac_var=no"
29609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29610 conftest$ac_exeext conftest.$ac_ext
29612 ac_res=`eval echo '${'$as_ac_var'}'`
29613 { echo "$as_me:$LINENO: result: $ac_res" >&5
29614 echo "${ECHO_T}$ac_res" >&6; }
29615 if test `eval echo '${'$as_ac_var'}'` = yes; then
29616 cat >>confdefs.h <<_ACEOF
29617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29626 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29627 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29629 AFMINSTALL=afminstall
29633 if test "$wxUSE_GPE" = "yes"; then
29634 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29635 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29638 for ac_dir in $SEARCH_LIB;
29640 for ac_extension in a so sl dylib dll.a; do
29641 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29642 ac_find_libraries=$ac_dir
29648 if test "$ac_find_libraries" != "" ; then
29650 if test "$ac_find_libraries" = "default location"; then
29653 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29655 if test $result = 0; then
29658 ac_path_to_link=" -L$ac_find_libraries"
29662 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29664 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29665 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29667 { echo "$as_me:$LINENO: result: not found" >&5
29668 echo "${ECHO_T}not found" >&6; }
29674 if test "$wxUSE_MGL" = 1; then
29675 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29676 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29677 if test "x$MGL_ROOT" = x ; then
29678 { echo "$as_me:$LINENO: result: not found" >&5
29679 echo "${ECHO_T}not found" >&6; }
29680 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29681 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29682 { (exit 1); exit 1; }; }
29684 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29685 echo "${ECHO_T}$MGL_ROOT" >&6; }
29688 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29689 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29692 if test "x$wxUSE_SHARED" = xyes ; then
29693 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29695 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29699 mgl_os_candidates="dos32/dj2"
29702 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29703 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29704 { (exit 1); exit 1; }; }
29710 for mgl_os_i in $mgl_os_candidates ; do
29711 if test "x$mgl_os" = x ; then
29712 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29713 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29714 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29719 if test "x$mgl_lib_type" = x ; then
29720 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29721 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29722 mgl_lib_type=release
29729 if test "x$mgl_os" = x ; then
29730 { echo "$as_me:$LINENO: result: not found" >&5
29731 echo "${ECHO_T}not found" >&6; }
29732 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29733 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29734 { (exit 1); exit 1; }; }
29736 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29737 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29739 wxUSE_UNIVERSAL="yes"
29741 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29742 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29744 AFMINSTALL=afminstall
29749 if test "$wxUSE_DFB" = 1; then
29752 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29753 if test -n "$ac_tool_prefix"; then
29754 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29755 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29758 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29759 echo $ECHO_N "(cached) $ECHO_C" >&6
29761 case $PKG_CONFIG in
29763 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29767 for as_dir in $PATH
29770 test -z "$as_dir" && as_dir=.
29771 for ac_exec_ext in '' $ac_executable_extensions; do
29772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29773 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29784 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29785 if test -n "$PKG_CONFIG"; then
29786 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29787 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29789 { echo "$as_me:$LINENO: result: no" >&5
29790 echo "${ECHO_T}no" >&6; }
29795 if test -z "$ac_cv_path_PKG_CONFIG"; then
29796 ac_pt_PKG_CONFIG=$PKG_CONFIG
29797 # Extract the first word of "pkg-config", so it can be a program name with args.
29798 set dummy pkg-config; ac_word=$2
29799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29801 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29802 echo $ECHO_N "(cached) $ECHO_C" >&6
29804 case $ac_pt_PKG_CONFIG in
29806 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29810 for as_dir in $PATH
29813 test -z "$as_dir" && as_dir=.
29814 for ac_exec_ext in '' $ac_executable_extensions; do
29815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29816 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29827 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29828 if test -n "$ac_pt_PKG_CONFIG"; then
29829 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29830 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29832 { echo "$as_me:$LINENO: result: no" >&5
29833 echo "${ECHO_T}no" >&6; }
29836 if test "x$ac_pt_PKG_CONFIG" = x; then
29839 case $cross_compiling:$ac_tool_warned in
29841 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29842 whose name does not start with the host triplet. If you think this
29843 configuration is useful to you, please write to autoconf@gnu.org." >&5
29844 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29845 whose name does not start with the host triplet. If you think this
29846 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29847 ac_tool_warned=yes ;;
29849 PKG_CONFIG=$ac_pt_PKG_CONFIG
29852 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29856 if test -n "$PKG_CONFIG"; then
29857 _pkg_min_version=0.9.0
29858 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29859 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29860 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29861 { echo "$as_me:$LINENO: result: yes" >&5
29862 echo "${ECHO_T}yes" >&6; }
29864 { echo "$as_me:$LINENO: result: no" >&5
29865 echo "${ECHO_T}no" >&6; }
29873 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29874 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29876 if test -n "$PKG_CONFIG"; then
29877 if test -n "$DIRECTFB_CFLAGS"; then
29878 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29880 if test -n "$PKG_CONFIG" && \
29881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29882 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); }; then
29886 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29894 if test -n "$PKG_CONFIG"; then
29895 if test -n "$DIRECTFB_LIBS"; then
29896 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29898 if test -n "$PKG_CONFIG" && \
29899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29900 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; then
29904 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29915 if test $pkg_failed = yes; then
29917 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29918 _pkg_short_errors_supported=yes
29920 _pkg_short_errors_supported=no
29922 if test $_pkg_short_errors_supported = yes; then
29923 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29925 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29927 # Put the nasty error message in config.log where it belongs
29928 echo "$DIRECTFB_PKG_ERRORS" >&5
29931 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29932 echo "$as_me: error: DirectFB not found." >&2;}
29933 { (exit 1); exit 1; }; }
29936 elif test $pkg_failed = untried; then
29938 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29939 echo "$as_me: error: DirectFB not found." >&2;}
29940 { (exit 1); exit 1; }; }
29944 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29945 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29946 { echo "$as_me:$LINENO: result: yes" >&5
29947 echo "${ECHO_T}yes" >&6; }
29949 wxUSE_UNIVERSAL="yes"
29950 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29951 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29958 if test "$wxUSE_MICROWIN" = 1; then
29959 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29960 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29961 if test "x$MICROWINDOWS" = x ; then
29962 { echo "$as_me:$LINENO: result: not found" >&5
29963 echo "${ECHO_T}not found" >&6; }
29964 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29965 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29966 { (exit 1); exit 1; }; }
29968 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29969 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29972 if test -f $MICROWINDOWS/lib/libmwin.a; then
29973 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29974 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29976 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29977 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29978 { (exit 1); exit 1; }; }
29981 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29982 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29984 wxUSE_UNIVERSAL="yes"
29986 AFMINSTALL=afminstall
29988 GUIDIST=MICROWIN_DIST
29990 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29993 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29994 { echo "$as_me:$LINENO: checking for X" >&5
29995 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29998 # Check whether --with-x was given.
29999 if test "${with_x+set}" = set; then
30003 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30004 if test "x$with_x" = xno; then
30005 # The user explicitly disabled X.
30008 case $x_includes,$x_libraries in #(
30009 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30010 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30011 { (exit 1); exit 1; }; };; #(
30012 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30015 # One or both of the vars are not set, and there is no cached value.
30016 ac_x_includes=no ac_x_libraries=no
30017 rm -f -r conftest.dir
30018 if mkdir conftest.dir; then
30020 cat >Imakefile <<'_ACEOF'
30022 @echo incroot='${INCROOT}'
30024 @echo usrlibdir='${USRLIBDIR}'
30026 @echo libdir='${LIBDIR}'
30028 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30029 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30030 for ac_var in incroot usrlibdir libdir; do
30031 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30033 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30034 for ac_extension in a so sl; do
30035 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30036 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30037 ac_im_usrlibdir=$ac_im_libdir; break
30040 # Screen out bogus values from the imake configuration. They are
30041 # bogus both because they are the default anyway, and because
30042 # using them would break gcc on systems where it needs fixed includes.
30043 case $ac_im_incroot in
30044 /usr/include) ac_x_includes= ;;
30045 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30047 case $ac_im_usrlibdir in
30048 /usr/lib | /lib) ;;
30049 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30053 rm -f -r conftest.dir
30056 # Standard set of common directories for X headers.
30057 # Check X11 before X11Rn because it is often a symlink to the current release.
30069 /usr
/local
/X
11/include
30070 /usr
/local
/X
11R
6/include
30071 /usr
/local
/X
11R
5/include
30072 /usr
/local
/X
11R
4/include
30074 /usr
/local
/include
/X11
30075 /usr
/local
/include
/X11R6
30076 /usr
/local
/include
/X11R5
30077 /usr
/local
/include
/X11R4
30081 /usr
/XFree
86/include
/X11
30085 /usr
/unsupported
/include
30086 /usr
/athena
/include
30087 /usr
/local
/x
11r
5/include
30088 /usr
/lpp
/Xamples
/include
30090 /usr
/openwin
/include
30091 /usr
/openwin
/share
/include
'
30093 if test "$ac_x_includes" = no; then
30094 # Guess where to find include files, by looking for Xlib.h.
30095 # First, try using that file with no special directory specified.
30096 cat >conftest.$ac_ext <<_ACEOF
30099 cat confdefs.h >>conftest.$ac_ext
30100 cat >>conftest.$ac_ext <<_ACEOF
30101 /* end confdefs.h. */
30102 #include <X11/Xlib.h>
30104 if { (ac_try="$ac_cpp conftest.$ac_ext"
30105 case "(($ac_try" in
30106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30107 *) ac_try_echo=$ac_try;;
30109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30110 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30112 grep -v '^
*+' conftest.er1 >conftest.err
30114 cat conftest.err >&5
30115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30116 (exit $ac_status); } >/dev/null && {
30117 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30118 test ! -s conftest.err
30120 # We can compile using X headers with no special include directory.
30123 echo "$as_me: failed program was:" >&5
30124 sed 's
/^
/| /' conftest.$ac_ext >&5
30126 for ac_dir in $ac_x_header_dirs; do
30127 if test -r "$ac_dir/X11/Xlib.h"; then
30128 ac_x_includes=$ac_dir
30134 rm -f conftest.err conftest.$ac_ext
30135 fi # $ac_x_includes = no
30137 if test "$ac_x_libraries" = no; then
30138 # Check for the libraries.
30139 # See if we find them without any special options.
30140 # Don't add to
$LIBS permanently.
30143 cat >conftest.
$ac_ext <<_ACEOF
30146 cat confdefs.h
>>conftest.
$ac_ext
30147 cat >>conftest.
$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149 #include <X11/Xlib.h>
30158 rm -f conftest.
$ac_objext conftest
$ac_exeext
30159 if { (ac_try
="$ac_link"
30160 case "(($ac_try" in
30161 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30162 *) ac_try_echo=$ac_try;;
30164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30165 (eval "$ac_link") 2>conftest.er1
30167 grep -v '^ *+' conftest.er1 >conftest.err
30169 cat conftest.err >&5
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); } && {
30172 test -z "$ac_c_werror_flag" ||
30173 test ! -s conftest.err
30174 } && test -s conftest$ac_exeext &&
30175 $as_test_x conftest$ac_exeext; then
30177 # We can link X programs with no special library path.
30180 echo "$as_me: failed program was:" >&5
30181 sed 's/^/| /' conftest.$ac_ext >&5
30184 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30186 # Don't even attempt the hair of trying to link an X program!
30187 for ac_extension in a so sl; do
30188 if test -r "$ac_dir/libX11.$ac_extension"; then
30189 ac_x_libraries=$ac_dir
30196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30197 conftest$ac_exeext conftest.$ac_ext
30198 fi # $ac_x_libraries = no
30200 case $ac_x_includes,$ac_x_libraries in #(
30201 no,* | *,no | *\'*)
30202 # Didn't find X, or a directory has "'" in its name.
30203 ac_cv_have_x="have_x=no";; #(
30205 # Record where we found X for the cache.
30206 ac_cv_have_x="have_x=yes\
30207 ac_x_includes='$ac_x_includes'\
30208 ac_x_libraries='$ac_x_libraries'"
30214 eval "$ac_cv_have_x"
30217 if test "$have_x" != yes; then
30218 { echo "$as_me:$LINENO: result: $have_x" >&5
30219 echo "${ECHO_T}$have_x" >&6; }
30222 # If each of the values was on the command line, it overrides each guess.
30223 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30224 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30225 # Update the cache value to reflect the command line values.
30226 ac_cv_have_x="have_x=yes\
30227 ac_x_includes='$x_includes'\
30228 ac_x_libraries='$x_libraries'"
30229 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30230 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30233 if test "$no_x" = yes; then
30234 # Not all programs may use this symbol, but it does not hurt to define it.
30236 cat >>confdefs.h <<\_ACEOF
30237 #define X_DISPLAY_MISSING 1
30240 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30242 if test -n "$x_includes"; then
30243 X_CFLAGS="$X_CFLAGS -I$x_includes"
30246 # It would also be nice to do this for all -L options, not just this one.
30247 if test -n "$x_libraries"; then
30248 X_LIBS="$X_LIBS -L$x_libraries"
30249 # For Solaris; some versions of Sun CC require a space after -R and
30250 # others require no space. Words are not sufficient . . . .
30251 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30252 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30253 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30254 ac_xsave_c_werror_flag=$ac_c_werror_flag
30255 ac_c_werror_flag=yes
30256 cat >conftest.$ac_ext <<_ACEOF
30259 cat confdefs.h >>conftest.$ac_ext
30260 cat >>conftest.$ac_ext <<_ACEOF
30261 /* end confdefs.h. */
30271 rm -f conftest.$ac_objext conftest$ac_exeext
30272 if { (ac_try="$ac_link"
30273 case "(($ac_try" in
30274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30275 *) ac_try_echo
=$ac_try;;
30277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30278 (eval "$ac_link") 2>conftest.er1
30280 grep -v '^ *+' conftest.er1
>conftest.err
30282 cat conftest.err
>&5
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); } && {
30285 test -z "$ac_c_werror_flag" ||
30286 test ! -s conftest.err
30287 } && test -s conftest
$ac_exeext &&
30288 $as_test_x conftest
$ac_exeext; then
30289 { echo "$as_me:$LINENO: result: no" >&5
30290 echo "${ECHO_T}no" >&6; }
30291 X_LIBS
="$X_LIBS -R$x_libraries"
30293 echo "$as_me: failed program was:" >&5
30294 sed 's/^/| /' conftest.
$ac_ext >&5
30296 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30297 cat >conftest.
$ac_ext <<_ACEOF
30300 cat confdefs.h
>>conftest.
$ac_ext
30301 cat >>conftest.
$ac_ext <<_ACEOF
30302 /* end confdefs.h. */
30312 rm -f conftest.
$ac_objext conftest
$ac_exeext
30313 if { (ac_try
="$ac_link"
30314 case "(($ac_try" in
30315 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30316 *) ac_try_echo=$ac_try;;
30318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30319 (eval "$ac_link") 2>conftest.er1
30321 grep -v '^ *+' conftest.er1 >conftest.err
30323 cat conftest.err >&5
30324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30325 (exit $ac_status); } && {
30326 test -z "$ac_c_werror_flag" ||
30327 test ! -s conftest.err
30328 } && test -s conftest$ac_exeext &&
30329 $as_test_x conftest$ac_exeext; then
30330 { echo "$as_me:$LINENO: result: yes" >&5
30331 echo "${ECHO_T}yes" >&6; }
30332 X_LIBS="$X_LIBS -R $x_libraries"
30334 echo "$as_me: failed program was:" >&5
30335 sed 's/^/| /' conftest.$ac_ext >&5
30337 { echo "$as_me:$LINENO: result: neither works" >&5
30338 echo "${ECHO_T}neither works" >&6; }
30341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30342 conftest$ac_exeext conftest.$ac_ext
30345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30346 conftest$ac_exeext conftest.$ac_ext
30347 ac_c_werror_flag=$ac_xsave_c_werror_flag
30348 LIBS=$ac_xsave_LIBS
30351 # Check for system-dependent libraries X programs must link with.
30352 # Do this before checking for the system-independent R6 libraries
30353 # (-lICE), since we may need -lsocket or whatever for X linking.
30355 if test "$ISC" = yes; then
30356 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30358 # Martyn Johnson says this is needed for Ultrix, if the X
30359 # libraries were built with DECnet support. And Karl Berry says
30360 # the Alpha needs dnet_stub (dnet does not exist).
30361 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30362 cat >conftest.$ac_ext <<_ACEOF
30365 cat confdefs.h >>conftest.$ac_ext
30366 cat >>conftest.$ac_ext <<_ACEOF
30367 /* end confdefs.h. */
30369 /* Override any GCC internal prototype to avoid an error.
30370 Use char because int might match the return type of a GCC
30371 builtin and then its argument prototype would still apply. */
30375 char XOpenDisplay ();
30379 return XOpenDisplay ();
30384 rm -f conftest.$ac_objext conftest$ac_exeext
30385 if { (ac_try="$ac_link"
30386 case "(($ac_try" in
30387 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30388 *) ac_try_echo
=$ac_try;;
30390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30391 (eval "$ac_link") 2>conftest.er1
30393 grep -v '^ *+' conftest.er1
>conftest.err
30395 cat conftest.err
>&5
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); } && {
30398 test -z "$ac_c_werror_flag" ||
30399 test ! -s conftest.err
30400 } && test -s conftest
$ac_exeext &&
30401 $as_test_x conftest
$ac_exeext; then
30404 echo "$as_me: failed program was:" >&5
30405 sed 's/^/| /' conftest.
$ac_ext >&5
30407 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30408 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30409 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30410 echo $ECHO_N "(cached) $ECHO_C" >&6
30412 ac_check_lib_save_LIBS
=$LIBS
30413 LIBS
="-ldnet $LIBS"
30414 cat >conftest.
$ac_ext <<_ACEOF
30417 cat confdefs.h
>>conftest.
$ac_ext
30418 cat >>conftest.
$ac_ext <<_ACEOF
30419 /* end confdefs.h. */
30421 /* Override any GCC internal prototype to avoid an error.
30422 Use char because int might match the return type of a GCC
30423 builtin and then its argument prototype would still apply. */
30431 return dnet_ntoa ();
30436 rm -f conftest.
$ac_objext conftest
$ac_exeext
30437 if { (ac_try
="$ac_link"
30438 case "(($ac_try" in
30439 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30440 *) ac_try_echo=$ac_try;;
30442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30443 (eval "$ac_link") 2>conftest.er1
30445 grep -v '^ *+' conftest.er1 >conftest.err
30447 cat conftest.err >&5
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); } && {
30450 test -z "$ac_c_werror_flag" ||
30451 test ! -s conftest.err
30452 } && test -s conftest$ac_exeext &&
30453 $as_test_x conftest$ac_exeext; then
30454 ac_cv_lib_dnet_dnet_ntoa=yes
30456 echo "$as_me: failed program was:" >&5
30457 sed 's/^/| /' conftest.$ac_ext >&5
30459 ac_cv_lib_dnet_dnet_ntoa=no
30462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30463 conftest$ac_exeext conftest.$ac_ext
30464 LIBS=$ac_check_lib_save_LIBS
30466 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30467 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30468 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30469 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30472 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30473 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30474 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30475 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30476 echo $ECHO_N "(cached) $ECHO_C" >&6
30478 ac_check_lib_save_LIBS=$LIBS
30479 LIBS="-ldnet_stub $LIBS"
30480 cat >conftest.$ac_ext <<_ACEOF
30483 cat confdefs.h >>conftest.$ac_ext
30484 cat >>conftest.$ac_ext <<_ACEOF
30485 /* end confdefs.h. */
30487 /* Override any GCC internal prototype to avoid an error.
30488 Use char because int might match the return type of a GCC
30489 builtin and then its argument prototype would still apply. */
30497 return dnet_ntoa ();
30502 rm -f conftest.$ac_objext conftest$ac_exeext
30503 if { (ac_try="$ac_link"
30504 case "(($ac_try" in
30505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30506 *) ac_try_echo
=$ac_try;;
30508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30509 (eval "$ac_link") 2>conftest.er1
30511 grep -v '^ *+' conftest.er1
>conftest.err
30513 cat conftest.err
>&5
30514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30515 (exit $ac_status); } && {
30516 test -z "$ac_c_werror_flag" ||
30517 test ! -s conftest.err
30518 } && test -s conftest
$ac_exeext &&
30519 $as_test_x conftest
$ac_exeext; then
30520 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.
$ac_ext >&5
30525 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30528 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30529 conftest
$ac_exeext conftest.
$ac_ext
30530 LIBS
=$ac_check_lib_save_LIBS
30532 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30533 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30534 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30535 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30541 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30542 conftest
$ac_exeext conftest.
$ac_ext
30543 LIBS
="$ac_xsave_LIBS"
30545 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30546 # to get the SysV transport functions.
30547 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30549 # The nsl library prevents programs from opening the X display
30550 # on Irix 5.2, according to T.E. Dickey.
30551 # The functions gethostbyname, getservbyname, and inet_addr are
30552 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30553 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30554 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30555 if test "${ac_cv_func_gethostbyname+set}" = set; then
30556 echo $ECHO_N "(cached) $ECHO_C" >&6
30558 cat >conftest.
$ac_ext <<_ACEOF
30561 cat confdefs.h
>>conftest.
$ac_ext
30562 cat >>conftest.
$ac_ext <<_ACEOF
30563 /* end confdefs.h. */
30564 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30566 #define gethostbyname innocuous_gethostbyname
30568 /* System header to define __stub macros and hopefully few prototypes,
30569 which can conflict with char gethostbyname (); below.
30570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30571 <limits.h> exists even on freestanding compilers. */
30574 # include <limits.h>
30576 # include <assert.h>
30579 #undef gethostbyname
30581 /* Override any GCC internal prototype to avoid an error.
30582 Use char because int might match the return type of a GCC
30583 builtin and then its argument prototype would still apply. */
30587 char gethostbyname ();
30588 /* The GNU C library defines this for functions which it implements
30589 to always fail with ENOSYS. Some functions are actually named
30590 something starting with __ and the normal name is an alias. */
30591 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30598 return gethostbyname ();
30603 rm -f conftest.
$ac_objext conftest
$ac_exeext
30604 if { (ac_try
="$ac_link"
30605 case "(($ac_try" in
30606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30607 *) ac_try_echo=$ac_try;;
30609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30610 (eval "$ac_link") 2>conftest.er1
30612 grep -v '^ *+' conftest.er1 >conftest.err
30614 cat conftest.err >&5
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); } && {
30617 test -z "$ac_c_werror_flag" ||
30618 test ! -s conftest.err
30619 } && test -s conftest$ac_exeext &&
30620 $as_test_x conftest$ac_exeext; then
30621 ac_cv_func_gethostbyname=yes
30623 echo "$as_me: failed program was:" >&5
30624 sed 's/^/| /' conftest.$ac_ext >&5
30626 ac_cv_func_gethostbyname=no
30629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30630 conftest$ac_exeext conftest.$ac_ext
30632 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30633 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30635 if test $ac_cv_func_gethostbyname = no; then
30636 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30637 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30638 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30639 echo $ECHO_N "(cached) $ECHO_C" >&6
30641 ac_check_lib_save_LIBS=$LIBS
30643 cat >conftest.$ac_ext <<_ACEOF
30646 cat confdefs.h >>conftest.$ac_ext
30647 cat >>conftest.$ac_ext <<_ACEOF
30648 /* end confdefs.h. */
30650 /* Override any GCC internal prototype to avoid an error.
30651 Use char because int might match the return type of a GCC
30652 builtin and then its argument prototype would still apply. */
30656 char gethostbyname ();
30660 return gethostbyname ();
30665 rm -f conftest.$ac_objext conftest$ac_exeext
30666 if { (ac_try="$ac_link"
30667 case "(($ac_try" in
30668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30669 *) ac_try_echo
=$ac_try;;
30671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30672 (eval "$ac_link") 2>conftest.er1
30674 grep -v '^ *+' conftest.er1
>conftest.err
30676 cat conftest.err
>&5
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); } && {
30679 test -z "$ac_c_werror_flag" ||
30680 test ! -s conftest.err
30681 } && test -s conftest
$ac_exeext &&
30682 $as_test_x conftest
$ac_exeext; then
30683 ac_cv_lib_nsl_gethostbyname
=yes
30685 echo "$as_me: failed program was:" >&5
30686 sed 's/^/| /' conftest.
$ac_ext >&5
30688 ac_cv_lib_nsl_gethostbyname
=no
30691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30692 conftest
$ac_exeext conftest.
$ac_ext
30693 LIBS
=$ac_check_lib_save_LIBS
30695 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30696 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30697 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30698 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30701 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30702 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30703 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30704 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30705 echo $ECHO_N "(cached) $ECHO_C" >&6
30707 ac_check_lib_save_LIBS
=$LIBS
30709 cat >conftest.
$ac_ext <<_ACEOF
30712 cat confdefs.h
>>conftest.
$ac_ext
30713 cat >>conftest.
$ac_ext <<_ACEOF
30714 /* end confdefs.h. */
30716 /* Override any GCC internal prototype to avoid an error.
30717 Use char because int might match the return type of a GCC
30718 builtin and then its argument prototype would still apply. */
30722 char gethostbyname ();
30726 return gethostbyname ();
30731 rm -f conftest.
$ac_objext conftest
$ac_exeext
30732 if { (ac_try
="$ac_link"
30733 case "(($ac_try" in
30734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30735 *) ac_try_echo=$ac_try;;
30737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30738 (eval "$ac_link") 2>conftest.er1
30740 grep -v '^ *+' conftest.er1 >conftest.err
30742 cat conftest.err >&5
30743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744 (exit $ac_status); } && {
30745 test -z "$ac_c_werror_flag" ||
30746 test ! -s conftest.err
30747 } && test -s conftest$ac_exeext &&
30748 $as_test_x conftest$ac_exeext; then
30749 ac_cv_lib_bsd_gethostbyname=yes
30751 echo "$as_me: failed program was:" >&5
30752 sed 's/^/| /' conftest.$ac_ext >&5
30754 ac_cv_lib_bsd_gethostbyname=no
30757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30758 conftest$ac_exeext conftest.$ac_ext
30759 LIBS=$ac_check_lib_save_LIBS
30761 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30762 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30763 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30764 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30770 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30771 # socket/setsockopt and other routines are undefined under SCO ODT
30772 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30773 # on later versions), says Simon Leinen: it contains gethostby*
30774 # variants that don't use the name server (or something). -lsocket
30775 # must be given before -lnsl if both are needed. We assume that
30776 # if connect needs -lnsl, so does gethostbyname.
30777 { echo "$as_me:$LINENO: checking for connect" >&5
30778 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30779 if test "${ac_cv_func_connect+set}" = set; then
30780 echo $ECHO_N "(cached) $ECHO_C" >&6
30782 cat >conftest.$ac_ext <<_ACEOF
30785 cat confdefs.h >>conftest.$ac_ext
30786 cat >>conftest.$ac_ext <<_ACEOF
30787 /* end confdefs.h. */
30788 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30790 #define connect innocuous_connect
30792 /* System header to define __stub macros and hopefully few prototypes,
30793 which can conflict with char connect (); below.
30794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30795 <limits.h> exists even on freestanding compilers. */
30798 # include <limits.h>
30800 # include <assert.h>
30805 /* Override any GCC internal prototype to avoid an error.
30806 Use char because int might match the return type of a GCC
30807 builtin and then its argument prototype would still apply. */
30812 /* The GNU C library defines this for functions which it implements
30813 to always fail with ENOSYS. Some functions are actually named
30814 something starting with __ and the normal name is an alias. */
30815 #if defined __stub_connect || defined __stub___connect
30827 rm -f conftest.$ac_objext conftest$ac_exeext
30828 if { (ac_try="$ac_link"
30829 case "(($ac_try" in
30830 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30831 *) ac_try_echo
=$ac_try;;
30833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30834 (eval "$ac_link") 2>conftest.er1
30836 grep -v '^ *+' conftest.er1
>conftest.err
30838 cat conftest.err
>&5
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); } && {
30841 test -z "$ac_c_werror_flag" ||
30842 test ! -s conftest.err
30843 } && test -s conftest
$ac_exeext &&
30844 $as_test_x conftest
$ac_exeext; then
30845 ac_cv_func_connect
=yes
30847 echo "$as_me: failed program was:" >&5
30848 sed 's/^/| /' conftest.
$ac_ext >&5
30850 ac_cv_func_connect
=no
30853 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30854 conftest
$ac_exeext conftest.
$ac_ext
30856 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30857 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30859 if test $ac_cv_func_connect = no
; then
30860 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30861 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30862 if test "${ac_cv_lib_socket_connect+set}" = set; then
30863 echo $ECHO_N "(cached) $ECHO_C" >&6
30865 ac_check_lib_save_LIBS
=$LIBS
30866 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30867 cat >conftest.
$ac_ext <<_ACEOF
30870 cat confdefs.h
>>conftest.
$ac_ext
30871 cat >>conftest.
$ac_ext <<_ACEOF
30872 /* end confdefs.h. */
30874 /* Override any GCC internal prototype to avoid an error.
30875 Use char because int might match the return type of a GCC
30876 builtin and then its argument prototype would still apply. */
30889 rm -f conftest.
$ac_objext conftest
$ac_exeext
30890 if { (ac_try
="$ac_link"
30891 case "(($ac_try" in
30892 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30893 *) ac_try_echo=$ac_try;;
30895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30896 (eval "$ac_link") 2>conftest.er1
30898 grep -v '^ *+' conftest.er1 >conftest.err
30900 cat conftest.err >&5
30901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902 (exit $ac_status); } && {
30903 test -z "$ac_c_werror_flag" ||
30904 test ! -s conftest.err
30905 } && test -s conftest$ac_exeext &&
30906 $as_test_x conftest$ac_exeext; then
30907 ac_cv_lib_socket_connect=yes
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30912 ac_cv_lib_socket_connect=no
30915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30916 conftest$ac_exeext conftest.$ac_ext
30917 LIBS=$ac_check_lib_save_LIBS
30919 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30920 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30921 if test $ac_cv_lib_socket_connect = yes; then
30922 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30927 # Guillermo Gomez says -lposix is necessary on A/UX.
30928 { echo "$as_me:$LINENO: checking for remove" >&5
30929 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30930 if test "${ac_cv_func_remove+set}" = set; then
30931 echo $ECHO_N "(cached) $ECHO_C" >&6
30933 cat >conftest.$ac_ext <<_ACEOF
30936 cat confdefs.h >>conftest.$ac_ext
30937 cat >>conftest.$ac_ext <<_ACEOF
30938 /* end confdefs.h. */
30939 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30941 #define remove innocuous_remove
30943 /* System header to define __stub macros and hopefully few prototypes,
30944 which can conflict with char remove (); below.
30945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30946 <limits.h> exists even on freestanding compilers. */
30949 # include <limits.h>
30951 # include <assert.h>
30956 /* Override any GCC internal prototype to avoid an error.
30957 Use char because int might match the return type of a GCC
30958 builtin and then its argument prototype would still apply. */
30963 /* The GNU C library defines this for functions which it implements
30964 to always fail with ENOSYS. Some functions are actually named
30965 something starting with __ and the normal name is an alias. */
30966 #if defined __stub_remove || defined __stub___remove
30978 rm -f conftest.$ac_objext conftest$ac_exeext
30979 if { (ac_try="$ac_link"
30980 case "(($ac_try" in
30981 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30982 *) ac_try_echo
=$ac_try;;
30984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30985 (eval "$ac_link") 2>conftest.er1
30987 grep -v '^ *+' conftest.er1
>conftest.err
30989 cat conftest.err
>&5
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); } && {
30992 test -z "$ac_c_werror_flag" ||
30993 test ! -s conftest.err
30994 } && test -s conftest
$ac_exeext &&
30995 $as_test_x conftest
$ac_exeext; then
30996 ac_cv_func_remove
=yes
30998 echo "$as_me: failed program was:" >&5
30999 sed 's/^/| /' conftest.
$ac_ext >&5
31001 ac_cv_func_remove
=no
31004 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31005 conftest
$ac_exeext conftest.
$ac_ext
31007 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31008 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31010 if test $ac_cv_func_remove = no
; then
31011 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31012 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31013 if test "${ac_cv_lib_posix_remove+set}" = set; then
31014 echo $ECHO_N "(cached) $ECHO_C" >&6
31016 ac_check_lib_save_LIBS
=$LIBS
31017 LIBS
="-lposix $LIBS"
31018 cat >conftest.
$ac_ext <<_ACEOF
31021 cat confdefs.h
>>conftest.
$ac_ext
31022 cat >>conftest.
$ac_ext <<_ACEOF
31023 /* end confdefs.h. */
31025 /* Override any GCC internal prototype to avoid an error.
31026 Use char because int might match the return type of a GCC
31027 builtin and then its argument prototype would still apply. */
31040 rm -f conftest.
$ac_objext conftest
$ac_exeext
31041 if { (ac_try
="$ac_link"
31042 case "(($ac_try" in
31043 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31044 *) ac_try_echo=$ac_try;;
31046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31047 (eval "$ac_link") 2>conftest.er1
31049 grep -v '^ *+' conftest.er1 >conftest.err
31051 cat conftest.err >&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); } && {
31054 test -z "$ac_c_werror_flag" ||
31055 test ! -s conftest.err
31056 } && test -s conftest$ac_exeext &&
31057 $as_test_x conftest$ac_exeext; then
31058 ac_cv_lib_posix_remove=yes
31060 echo "$as_me: failed program was:" >&5
31061 sed 's/^/| /' conftest.$ac_ext >&5
31063 ac_cv_lib_posix_remove=no
31066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31067 conftest$ac_exeext conftest.$ac_ext
31068 LIBS=$ac_check_lib_save_LIBS
31070 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31071 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31072 if test $ac_cv_lib_posix_remove = yes; then
31073 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31078 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31079 { echo "$as_me:$LINENO: checking for shmat" >&5
31080 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31081 if test "${ac_cv_func_shmat+set}" = set; then
31082 echo $ECHO_N "(cached) $ECHO_C" >&6
31084 cat >conftest.$ac_ext <<_ACEOF
31087 cat confdefs.h >>conftest.$ac_ext
31088 cat >>conftest.$ac_ext <<_ACEOF
31089 /* end confdefs.h. */
31090 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31092 #define shmat innocuous_shmat
31094 /* System header to define __stub macros and hopefully few prototypes,
31095 which can conflict with char shmat (); below.
31096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31097 <limits.h> exists even on freestanding compilers. */
31100 # include <limits.h>
31102 # include <assert.h>
31107 /* Override any GCC internal prototype to avoid an error.
31108 Use char because int might match the return type of a GCC
31109 builtin and then its argument prototype would still apply. */
31114 /* The GNU C library defines this for functions which it implements
31115 to always fail with ENOSYS. Some functions are actually named
31116 something starting with __ and the normal name is an alias. */
31117 #if defined __stub_shmat || defined __stub___shmat
31129 rm -f conftest.$ac_objext conftest$ac_exeext
31130 if { (ac_try="$ac_link"
31131 case "(($ac_try" in
31132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31133 *) ac_try_echo
=$ac_try;;
31135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31136 (eval "$ac_link") 2>conftest.er1
31138 grep -v '^ *+' conftest.er1
>conftest.err
31140 cat conftest.err
>&5
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); } && {
31143 test -z "$ac_c_werror_flag" ||
31144 test ! -s conftest.err
31145 } && test -s conftest
$ac_exeext &&
31146 $as_test_x conftest
$ac_exeext; then
31147 ac_cv_func_shmat
=yes
31149 echo "$as_me: failed program was:" >&5
31150 sed 's/^/| /' conftest.
$ac_ext >&5
31152 ac_cv_func_shmat
=no
31155 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31156 conftest
$ac_exeext conftest.
$ac_ext
31158 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31159 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31161 if test $ac_cv_func_shmat = no
; then
31162 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31163 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31164 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31165 echo $ECHO_N "(cached) $ECHO_C" >&6
31167 ac_check_lib_save_LIBS
=$LIBS
31169 cat >conftest.
$ac_ext <<_ACEOF
31172 cat confdefs.h
>>conftest.
$ac_ext
31173 cat >>conftest.
$ac_ext <<_ACEOF
31174 /* end confdefs.h. */
31176 /* Override any GCC internal prototype to avoid an error.
31177 Use char because int might match the return type of a GCC
31178 builtin and then its argument prototype would still apply. */
31191 rm -f conftest.
$ac_objext conftest
$ac_exeext
31192 if { (ac_try
="$ac_link"
31193 case "(($ac_try" in
31194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31195 *) ac_try_echo=$ac_try;;
31197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31198 (eval "$ac_link") 2>conftest.er1
31200 grep -v '^ *+' conftest.er1 >conftest.err
31202 cat conftest.err >&5
31203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31204 (exit $ac_status); } && {
31205 test -z "$ac_c_werror_flag" ||
31206 test ! -s conftest.err
31207 } && test -s conftest$ac_exeext &&
31208 $as_test_x conftest$ac_exeext; then
31209 ac_cv_lib_ipc_shmat=yes
31211 echo "$as_me: failed program was:" >&5
31212 sed 's/^/| /' conftest.$ac_ext >&5
31214 ac_cv_lib_ipc_shmat=no
31217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31218 conftest$ac_exeext conftest.$ac_ext
31219 LIBS=$ac_check_lib_save_LIBS
31221 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31222 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31223 if test $ac_cv_lib_ipc_shmat = yes; then
31224 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31230 # Check for libraries that X11R6 Xt/Xaw programs need.
31231 ac_save_LDFLAGS=$LDFLAGS
31232 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31233 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31234 # check for ICE first), but we must link in the order -lSM -lICE or
31235 # we get undefined symbols. So assume we have SM if we have ICE.
31236 # These have to be linked with before -lX11, unlike the other
31237 # libraries we check for below, so use a different variable.
31238 # John Interrante, Karl Berry
31239 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31240 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31241 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31242 echo $ECHO_N "(cached) $ECHO_C" >&6
31244 ac_check_lib_save_LIBS=$LIBS
31245 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31246 cat >conftest.$ac_ext <<_ACEOF
31249 cat confdefs.h >>conftest.$ac_ext
31250 cat >>conftest.$ac_ext <<_ACEOF
31251 /* end confdefs.h. */
31253 /* Override any GCC internal prototype to avoid an error.
31254 Use char because int might match the return type of a GCC
31255 builtin and then its argument prototype would still apply. */
31259 char IceConnectionNumber ();
31263 return IceConnectionNumber ();
31268 rm -f conftest.$ac_objext conftest$ac_exeext
31269 if { (ac_try="$ac_link"
31270 case "(($ac_try" in
31271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31272 *) ac_try_echo
=$ac_try;;
31274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31275 (eval "$ac_link") 2>conftest.er1
31277 grep -v '^ *+' conftest.er1
>conftest.err
31279 cat conftest.err
>&5
31280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281 (exit $ac_status); } && {
31282 test -z "$ac_c_werror_flag" ||
31283 test ! -s conftest.err
31284 } && test -s conftest
$ac_exeext &&
31285 $as_test_x conftest
$ac_exeext; then
31286 ac_cv_lib_ICE_IceConnectionNumber
=yes
31288 echo "$as_me: failed program was:" >&5
31289 sed 's/^/| /' conftest.
$ac_ext >&5
31291 ac_cv_lib_ICE_IceConnectionNumber
=no
31294 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31295 conftest
$ac_exeext conftest.
$ac_ext
31296 LIBS
=$ac_check_lib_save_LIBS
31298 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31299 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31300 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31301 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31304 LDFLAGS
=$ac_save_LDFLAGS
31309 if test "$no_x" = "yes"; then
31310 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31311 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31312 { (exit 1); exit 1; }; }
31315 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31316 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31317 AFMINSTALL
=afminstall
31318 COMPILED_X_PROGRAM
=0
31322 if test "$wxUSE_X11" = 1; then
31323 if test "$wxUSE_NANOX" = "yes"; then
31324 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31325 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31326 if test "x$MICROWIN" = x
; then
31327 { echo "$as_me:$LINENO: result: not found" >&5
31328 echo "${ECHO_T}not found" >&6; }
31329 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31330 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31331 { (exit 1); exit 1; }; }
31333 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31334 echo "${ECHO_T}$MICROWIN" >&6; }
31335 cat >>confdefs.h
<<\_ACEOF
31336 #define wxUSE_NANOX 1
31342 if test "$wxUSE_UNICODE" = "yes"; then
31345 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31346 if test -n "$ac_tool_prefix"; then
31347 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31348 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31351 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31352 echo $ECHO_N "(cached) $ECHO_C" >&6
31354 case $PKG_CONFIG in
31356 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31360 for as_dir
in $PATH
31363 test -z "$as_dir" && as_dir
=.
31364 for ac_exec_ext
in '' $ac_executable_extensions; do
31365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31366 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31377 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31378 if test -n "$PKG_CONFIG"; then
31379 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31380 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31382 { echo "$as_me:$LINENO: result: no" >&5
31383 echo "${ECHO_T}no" >&6; }
31388 if test -z "$ac_cv_path_PKG_CONFIG"; then
31389 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31390 # Extract the first word of "pkg-config", so it can be a program name with args.
31391 set dummy pkg
-config; ac_word
=$2
31392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31394 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31395 echo $ECHO_N "(cached) $ECHO_C" >&6
31397 case $ac_pt_PKG_CONFIG in
31399 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31403 for as_dir
in $PATH
31406 test -z "$as_dir" && as_dir
=.
31407 for ac_exec_ext
in '' $ac_executable_extensions; do
31408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31409 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31420 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31421 if test -n "$ac_pt_PKG_CONFIG"; then
31422 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31423 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31425 { echo "$as_me:$LINENO: result: no" >&5
31426 echo "${ECHO_T}no" >&6; }
31429 if test "x$ac_pt_PKG_CONFIG" = x
; then
31432 case $cross_compiling:$ac_tool_warned in
31434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31435 whose name does not start with the host triplet. If you think this
31436 configuration is useful to you, please write to autoconf@gnu.org." >&5
31437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31438 whose name does not start with the host triplet. If you think this
31439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31440 ac_tool_warned
=yes ;;
31442 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31445 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31449 if test -n "$PKG_CONFIG"; then
31450 _pkg_min_version
=0.9.0
31451 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31452 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31453 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31454 { echo "$as_me:$LINENO: result: yes" >&5
31455 echo "${ECHO_T}yes" >&6; }
31457 { echo "$as_me:$LINENO: result: no" >&5
31458 echo "${ECHO_T}no" >&6; }
31466 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31467 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31469 if test -n "$PKG_CONFIG"; then
31470 if test -n "$PANGOX_CFLAGS"; then
31471 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31473 if test -n "$PKG_CONFIG" && \
31474 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31475 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); }; then
31479 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31487 if test -n "$PKG_CONFIG"; then
31488 if test -n "$PANGOX_LIBS"; then
31489 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31491 if test -n "$PKG_CONFIG" && \
31492 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31493 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); }; then
31497 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31508 if test $pkg_failed = yes; then
31510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31511 _pkg_short_errors_supported
=yes
31513 _pkg_short_errors_supported
=no
31515 if test $_pkg_short_errors_supported = yes; then
31516 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31518 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31520 # Put the nasty error message in config.log where it belongs
31521 echo "$PANGOX_PKG_ERRORS" >&5
31524 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31525 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31526 { (exit 1); exit 1; }; }
31529 elif test $pkg_failed = untried
; then
31531 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31532 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31533 { (exit 1); exit 1; }; }
31537 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31538 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31539 { echo "$as_me:$LINENO: result: yes" >&5
31540 echo "${ECHO_T}yes" >&6; }
31542 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31543 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31544 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31549 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31550 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31552 if test -n "$PKG_CONFIG"; then
31553 if test -n "$PANGOFT2_CFLAGS"; then
31554 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31556 if test -n "$PKG_CONFIG" && \
31557 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31558 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; then
31562 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31570 if test -n "$PKG_CONFIG"; then
31571 if test -n "$PANGOFT2_LIBS"; then
31572 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31574 if test -n "$PKG_CONFIG" && \
31575 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31576 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); }; then
31580 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31591 if test $pkg_failed = yes; then
31593 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31594 _pkg_short_errors_supported
=yes
31596 _pkg_short_errors_supported
=no
31598 if test $_pkg_short_errors_supported = yes; then
31599 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31601 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31603 # Put the nasty error message in config.log where it belongs
31604 echo "$PANGOFT2_PKG_ERRORS" >&5
31607 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31608 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31609 wxUSE_PRINTING_ARCHITECTURE
="no"
31612 elif test $pkg_failed = untried
; then
31614 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31615 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31616 wxUSE_PRINTING_ARCHITECTURE
="no"
31620 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31621 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31622 { echo "$as_me:$LINENO: result: yes" >&5
31623 echo "${ECHO_T}yes" >&6; }
31625 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31626 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31627 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31632 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31633 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31635 if test -n "$PKG_CONFIG"; then
31636 if test -n "$PANGOXFT_CFLAGS"; then
31637 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31639 if test -n "$PKG_CONFIG" && \
31640 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31641 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); }; then
31645 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31653 if test -n "$PKG_CONFIG"; then
31654 if test -n "$PANGOXFT_LIBS"; then
31655 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31657 if test -n "$PKG_CONFIG" && \
31658 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31659 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); }; then
31663 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31674 if test $pkg_failed = yes; then
31676 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31677 _pkg_short_errors_supported
=yes
31679 _pkg_short_errors_supported
=no
31681 if test $_pkg_short_errors_supported = yes; then
31682 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31684 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31686 # Put the nasty error message in config.log where it belongs
31687 echo "$PANGOXFT_PKG_ERRORS" >&5
31690 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31691 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31694 elif test $pkg_failed = untried
; then
31696 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31697 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31701 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31702 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31703 { echo "$as_me:$LINENO: result: yes" >&5
31704 echo "${ECHO_T}yes" >&6; }
31706 cat >>confdefs.h
<<\_ACEOF
31707 #define HAVE_PANGO_XFT 1
31710 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31711 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31712 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31716 LIBS
="$LIBS $PANGOX_LIBS"
31718 for ac_func
in pango_font_family_is_monospace
31720 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31721 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31723 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31724 echo $ECHO_N "(cached) $ECHO_C" >&6
31726 cat >conftest.
$ac_ext <<_ACEOF
31729 cat confdefs.h
>>conftest.
$ac_ext
31730 cat >>conftest.
$ac_ext <<_ACEOF
31731 /* end confdefs.h. */
31732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31734 #define $ac_func innocuous_$ac_func
31736 /* System header to define __stub macros and hopefully few prototypes,
31737 which can conflict with char $ac_func (); below.
31738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31739 <limits.h> exists even on freestanding compilers. */
31742 # include <limits.h>
31744 # include <assert.h>
31749 /* Override any GCC internal prototype to avoid an error.
31750 Use char because int might match the return type of a GCC
31751 builtin and then its argument prototype would still apply. */
31756 /* The GNU C library defines this for functions which it implements
31757 to always fail with ENOSYS. Some functions are actually named
31758 something starting with __ and the normal name is an alias. */
31759 #if defined __stub_$ac_func || defined __stub___$ac_func
31766 return $ac_func ();
31771 rm -f conftest.
$ac_objext conftest
$ac_exeext
31772 if { (ac_try
="$ac_link"
31773 case "(($ac_try" in
31774 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31775 *) ac_try_echo=$ac_try;;
31777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31778 (eval "$ac_link") 2>conftest.er1
31780 grep -v '^ *+' conftest.er1 >conftest.err
31782 cat conftest.err >&5
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); } && {
31785 test -z "$ac_c_werror_flag" ||
31786 test ! -s conftest.err
31787 } && test -s conftest$ac_exeext &&
31788 $as_test_x conftest$ac_exeext; then
31789 eval "$as_ac_var=yes"
31791 echo "$as_me: failed program was:" >&5
31792 sed 's/^/| /' conftest.$ac_ext >&5
31794 eval "$as_ac_var=no"
31797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31798 conftest$ac_exeext conftest.$ac_ext
31800 ac_res=`eval echo '${'$as_ac_var'}'`
31801 { echo "$as_me:$LINENO: result: $ac_res" >&5
31802 echo "${ECHO_T}$ac_res" >&6; }
31803 if test `eval echo '${'$as_ac_var'}'` = yes; then
31804 cat >>confdefs.h <<_ACEOF
31805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31814 wxUSE_UNIVERSAL="yes"
31816 if test "$wxUSE_NANOX" = "yes"; then
31817 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31818 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"
31819 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31821 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31828 if test "$wxUSE_MOTIF" = 1; then
31829 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31830 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31833 for ac_dir in $SEARCH_INCLUDE /usr/include;
31835 if test -f "$ac_dir/Xm/Xm.h"; then
31836 ac_find_includes=$ac_dir
31841 if test "$ac_find_includes" != "" ; then
31842 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31843 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31845 if test "x$ac_find_includes" = "x/usr/include"; then
31846 ac_path_to_include=""
31848 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31850 if test $result = 0; then
31851 ac_path_to_include=""
31853 ac_path_to_include=" -I$ac_find_includes"
31857 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31859 save_CFLAGS=$CFLAGS
31860 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31862 cat >conftest.$ac_ext <<_ACEOF
31865 cat confdefs.h >>conftest.$ac_ext
31866 cat >>conftest.$ac_ext <<_ACEOF
31867 /* end confdefs.h. */
31876 version = xmUseVersion;
31882 rm -f conftest.$ac_objext
31883 if { (ac_try="$ac_compile"
31884 case "(($ac_try" in
31885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31886 *) ac_try_echo
=$ac_try;;
31888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31889 (eval "$ac_compile") 2>conftest.er1
31891 grep -v '^ *+' conftest.er1
>conftest.err
31893 cat conftest.err
>&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); } && {
31896 test -z "$ac_c_werror_flag" ||
31897 test ! -s conftest.err
31898 } && test -s conftest.
$ac_objext; then
31900 { echo "$as_me:$LINENO: result: found in default search path" >&5
31901 echo "${ECHO_T}found in default search path" >&6; }
31902 COMPILED_X_PROGRAM
=1
31905 echo "$as_me: failed program was:" >&5
31906 sed 's/^/| /' conftest.
$ac_ext >&5
31909 { echo "$as_me:$LINENO: result: no" >&5
31910 echo "${ECHO_T}no" >&6; }
31911 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31912 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31913 { (exit 1); exit 1; }; }
31918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31920 CFLAGS
=$save_CFLAGS
31924 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31925 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31928 for ac_dir
in $SEARCH_LIB;
31930 for ac_extension
in a so sl dylib dll.a
; do
31931 if test -f "$ac_dir/libXm.$ac_extension"; then
31932 ac_find_libraries
=$ac_dir
31939 if test "x$ac_find_libraries" != "x" ; then
31940 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31941 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31944 if test "$ac_find_libraries" = "default location"; then
31947 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31949 if test $result = 0; then
31952 ac_path_to_link
=" -L$ac_find_libraries"
31956 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31958 save_CFLAGS
=$CFLAGS
31959 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31961 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31963 cat >conftest.
$ac_ext <<_ACEOF
31966 cat confdefs.h
>>conftest.
$ac_ext
31967 cat >>conftest.
$ac_ext <<_ACEOF
31968 /* end confdefs.h. */
31977 version = xmUseVersion;
31983 rm -f conftest.
$ac_objext conftest
$ac_exeext
31984 if { (ac_try
="$ac_link"
31985 case "(($ac_try" in
31986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31987 *) ac_try_echo=$ac_try;;
31989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31990 (eval "$ac_link") 2>conftest.er1
31992 grep -v '^ *+' conftest.er1 >conftest.err
31994 cat conftest.err >&5
31995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31996 (exit $ac_status); } && {
31997 test -z "$ac_c_werror_flag" ||
31998 test ! -s conftest.err
31999 } && test -s conftest$ac_exeext &&
32000 $as_test_x conftest$ac_exeext; then
32002 { echo "$as_me:$LINENO: result: found in default search path" >&5
32003 echo "${ECHO_T}found in default search path" >&6; }
32004 COMPILED_X_PROGRAM=1
32007 echo "$as_me: failed program was:" >&5
32008 sed 's/^/| /' conftest.$ac_ext >&5
32011 { echo "$as_me:$LINENO: result: no" >&5
32012 echo "${ECHO_T}no" >&6; }
32013 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32014 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32015 { (exit 1); exit 1; }; }
32020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32021 conftest$ac_exeext conftest.$ac_ext
32023 CFLAGS=$save_CFLAGS
32027 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32028 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32032 for libp in "" " -lXp"; do
32033 if test "$libs_found" = 0; then
32034 for libsm_ice in "" " -lSM -lICE"; do
32035 if test "$libs_found" = 0; then
32037 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32038 save_CFLAGS=$CFLAGS
32039 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32041 cat >conftest.$ac_ext <<_ACEOF
32044 cat confdefs.h >>conftest.$ac_ext
32045 cat >>conftest.$ac_ext <<_ACEOF
32046 /* end confdefs.h. */
32049 #include <Xm/List.h>
32055 XmString string = NULL;
32058 XmListAddItem(w, string, position);
32064 rm -f conftest.$ac_objext conftest$ac_exeext
32065 if { (ac_try="$ac_link"
32066 case "(($ac_try" in
32067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32068 *) ac_try_echo
=$ac_try;;
32070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32071 (eval "$ac_link") 2>conftest.er1
32073 grep -v '^ *+' conftest.er1
>conftest.err
32075 cat conftest.err
>&5
32076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077 (exit $ac_status); } && {
32078 test -z "$ac_c_werror_flag" ||
32079 test ! -s conftest.err
32080 } && test -s conftest
$ac_exeext &&
32081 $as_test_x conftest
$ac_exeext; then
32084 libsm_ice_link
="$libsm_ice"
32085 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32086 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32090 echo "$as_me: failed program was:" >&5
32091 sed 's/^/| /' conftest.
$ac_ext >&5
32097 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32098 conftest
$ac_exeext conftest.
$ac_ext
32101 CFLAGS
=$save_CFLAGS
32107 if test "$libs_found" = 0; then
32108 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32109 echo "${ECHO_T}can't find the right libraries" >&6; }
32110 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32111 echo "$as_me: error: can't link a simple motif program" >&2;}
32112 { (exit 1); exit 1; }; }
32115 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32116 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32117 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32118 echo $ECHO_N "(cached) $ECHO_C" >&6
32120 ac_check_lib_save_LIBS
=$LIBS
32122 cat >conftest.
$ac_ext <<_ACEOF
32125 cat confdefs.h
>>conftest.
$ac_ext
32126 cat >>conftest.
$ac_ext <<_ACEOF
32127 /* end confdefs.h. */
32129 /* Override any GCC internal prototype to avoid an error.
32130 Use char because int might match the return type of a GCC
32131 builtin and then its argument prototype would still apply. */
32135 char SgCreateList ();
32139 return SgCreateList ();
32144 rm -f conftest.
$ac_objext conftest
$ac_exeext
32145 if { (ac_try
="$ac_link"
32146 case "(($ac_try" in
32147 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32148 *) ac_try_echo=$ac_try;;
32150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32151 (eval "$ac_link") 2>conftest.er1
32153 grep -v '^ *+' conftest.er1 >conftest.err
32155 cat conftest.err >&5
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); } && {
32158 test -z "$ac_c_werror_flag" ||
32159 test ! -s conftest.err
32160 } && test -s conftest$ac_exeext &&
32161 $as_test_x conftest$ac_exeext; then
32162 ac_cv_lib_Sgm_SgCreateList=yes
32164 echo "$as_me: failed program was:" >&5
32165 sed 's/^/| /' conftest.$ac_ext >&5
32167 ac_cv_lib_Sgm_SgCreateList=no
32170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32171 conftest$ac_exeext conftest.$ac_ext
32172 LIBS=$ac_check_lib_save_LIBS
32174 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32175 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32176 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32177 libsgm_link=" -lSgm"
32181 save_CFLAGS=$CFLAGS
32182 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32184 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32185 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32186 if test "${wx_cv_lib_motif2+set}" = set; then
32187 echo $ECHO_N "(cached) $ECHO_C" >&6
32189 cat >conftest.$ac_ext <<_ACEOF
32192 cat confdefs.h >>conftest.$ac_ext
32193 cat >>conftest.$ac_ext <<_ACEOF
32194 /* end confdefs.h. */
32202 #if XmVersion < 2000
32210 rm -f conftest.$ac_objext
32211 if { (ac_try="$ac_compile"
32212 case "(($ac_try" in
32213 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32214 *) ac_try_echo
=$ac_try;;
32216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32217 (eval "$ac_compile") 2>conftest.er1
32219 grep -v '^ *+' conftest.er1
>conftest.err
32221 cat conftest.err
>&5
32222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32223 (exit $ac_status); } && {
32224 test -z "$ac_c_werror_flag" ||
32225 test ! -s conftest.err
32226 } && test -s conftest.
$ac_objext; then
32227 wx_cv_lib_motif2
="yes"
32229 echo "$as_me: failed program was:" >&5
32230 sed 's/^/| /' conftest.
$ac_ext >&5
32232 wx_cv_lib_motif2
="no"
32235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32237 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32238 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32239 if test "$wx_cv_lib_motif2" = "yes"; then
32240 cat >>confdefs.h
<<\_ACEOF
32241 #define __WXMOTIF20__ 1
32245 cat >>confdefs.h
<<\_ACEOF
32246 #define __WXMOTIF20__ 0
32251 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32252 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32253 if test "${wx_cv_lib_lesstif+set}" = set; then
32254 echo $ECHO_N "(cached) $ECHO_C" >&6
32256 cat >conftest.
$ac_ext <<_ACEOF
32259 cat confdefs.h
>>conftest.
$ac_ext
32260 cat >>conftest.
$ac_ext <<_ACEOF
32261 /* end confdefs.h. */
32269 #if !defined(LesstifVersion) || LesstifVersion <= 0
32277 rm -f conftest.
$ac_objext
32278 if { (ac_try
="$ac_compile"
32279 case "(($ac_try" in
32280 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32281 *) ac_try_echo=$ac_try;;
32283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32284 (eval "$ac_compile") 2>conftest.er1
32286 grep -v '^ *+' conftest.er1 >conftest.err
32288 cat conftest.err >&5
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); } && {
32291 test -z "$ac_c_werror_flag" ||
32292 test ! -s conftest.err
32293 } && test -s conftest.$ac_objext; then
32294 wx_cv_lib_lesstif="yes"
32296 echo "$as_me: failed program was:" >&5
32297 sed 's/^/| /' conftest.$ac_ext >&5
32299 wx_cv_lib_lesstif="no"
32302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32305 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32306 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32307 if test "$wx_cv_lib_lesstif" = "yes"; then
32308 cat >>confdefs.h <<\_ACEOF
32309 #define __WXLESSTIF__ 1
32313 cat >>confdefs.h <<\_ACEOF
32314 #define __WXLESSTIF__ 0
32319 CFLAGS=$save_CFLAGS
32321 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32326 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32327 if test "$wxUSE_LIBXPM" = "sys"; then
32328 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32329 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32332 for ac_dir in $SEARCH_LIB;
32334 for ac_extension in a so sl dylib dll.a; do
32335 if test -f "$ac_dir/libXpm.$ac_extension"; then
32336 ac_find_libraries=$ac_dir
32342 if test "$ac_find_libraries" != "" ; then
32344 if test "$ac_find_libraries" = "default location"; then
32347 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32349 if test $result = 0; then
32352 ac_path_to_link=" -L$ac_find_libraries"
32356 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32357 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32358 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32360 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32361 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32362 if test "${wx_cv_x11_xpm_h+set}" = set; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32366 save_CFLAGS=$CFLAGS
32367 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32369 cat >conftest.$ac_ext <<_ACEOF
32372 cat confdefs.h >>conftest.$ac_ext
32373 cat >>conftest.$ac_ext <<_ACEOF
32374 /* end confdefs.h. */
32376 #include <X11/xpm.h>
32383 version = XpmLibraryVersion();
32389 rm -f conftest.$ac_objext
32390 if { (ac_try="$ac_compile"
32391 case "(($ac_try" in
32392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32393 *) ac_try_echo
=$ac_try;;
32395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32396 (eval "$ac_compile") 2>conftest.er1
32398 grep -v '^ *+' conftest.er1
>conftest.err
32400 cat conftest.err
>&5
32401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32402 (exit $ac_status); } && {
32403 test -z "$ac_c_werror_flag" ||
32404 test ! -s conftest.err
32405 } && test -s conftest.
$ac_objext; then
32406 wx_cv_x11_xpm_h
=yes
32408 echo "$as_me: failed program was:" >&5
32409 sed 's/^/| /' conftest.
$ac_ext >&5
32415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32417 CFLAGS
=$save_CFLAGS
32421 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32422 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32424 if test $wx_cv_x11_xpm_h = "yes"; then
32425 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32426 cat >>confdefs.h
<<\_ACEOF
32427 #define wxHAVE_LIB_XPM 1
32431 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32432 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32438 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32439 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32440 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32441 echo $ECHO_N "(cached) $ECHO_C" >&6
32443 ac_check_lib_save_LIBS
=$LIBS
32444 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32445 cat >conftest.
$ac_ext <<_ACEOF
32448 cat confdefs.h
>>conftest.
$ac_ext
32449 cat >>conftest.
$ac_ext <<_ACEOF
32450 /* end confdefs.h. */
32452 /* Override any GCC internal prototype to avoid an error.
32453 Use char because int might match the return type of a GCC
32454 builtin and then its argument prototype would still apply. */
32458 char XShapeQueryExtension ();
32462 return XShapeQueryExtension ();
32467 rm -f conftest.
$ac_objext conftest
$ac_exeext
32468 if { (ac_try
="$ac_link"
32469 case "(($ac_try" in
32470 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32471 *) ac_try_echo=$ac_try;;
32473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32474 (eval "$ac_link") 2>conftest.er1
32476 grep -v '^ *+' conftest.er1 >conftest.err
32478 cat conftest.err >&5
32479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32480 (exit $ac_status); } && {
32481 test -z "$ac_c_werror_flag" ||
32482 test ! -s conftest.err
32483 } && test -s conftest$ac_exeext &&
32484 $as_test_x conftest$ac_exeext; then
32485 ac_cv_lib_Xext_XShapeQueryExtension=yes
32487 echo "$as_me: failed program was:" >&5
32488 sed 's/^/| /' conftest.$ac_ext >&5
32490 ac_cv_lib_Xext_XShapeQueryExtension=no
32493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32494 conftest$ac_exeext conftest.$ac_ext
32495 LIBS=$ac_check_lib_save_LIBS
32497 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32498 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32499 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32501 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32507 if test "$wxHAVE_XEXT_LIB" = 1; then
32508 save_CFLAGS="$CFLAGS"
32509 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32511 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32512 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32513 cat >conftest.$ac_ext <<_ACEOF
32516 cat confdefs.h >>conftest.$ac_ext
32517 cat >>conftest.$ac_ext <<_ACEOF
32518 /* end confdefs.h. */
32520 #include <X11/Xlib.h>
32521 #include <X11/extensions/shape.h>
32527 int dummy1, dummy2;
32528 XShapeQueryExtension((Display*)NULL,
32529 (int*)NULL, (int*)NULL);
32535 rm -f conftest.$ac_objext
32536 if { (ac_try="$ac_compile"
32537 case "(($ac_try" in
32538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32539 *) ac_try_echo
=$ac_try;;
32541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32542 (eval "$ac_compile") 2>conftest.er1
32544 grep -v '^ *+' conftest.er1
>conftest.err
32546 cat conftest.err
>&5
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); } && {
32549 test -z "$ac_c_werror_flag" ||
32550 test ! -s conftest.err
32551 } && test -s conftest.
$ac_objext; then
32553 cat >>confdefs.h
<<\_ACEOF
32554 #define HAVE_XSHAPE 1
32557 { echo "$as_me:$LINENO: result: found" >&5
32558 echo "${ECHO_T}found" >&6; }
32561 echo "$as_me: failed program was:" >&5
32562 sed 's/^/| /' conftest.
$ac_ext >&5
32565 { echo "$as_me:$LINENO: result: not found" >&5
32566 echo "${ECHO_T}not found" >&6; }
32570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32571 CFLAGS
="$save_CFLAGS"
32576 if test "$wxUSE_OSX_CARBON" = 1; then
32577 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32578 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32579 if test "$GCC" = yes; then
32580 { echo "$as_me:$LINENO: result: gcc" >&5
32581 echo "${ECHO_T}gcc" >&6; }
32582 CPPFLAGS_PASCAL
="-fpascal-strings"
32583 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32584 { echo "$as_me:$LINENO: result: xlc" >&5
32585 echo "${ECHO_T}xlc" >&6; }
32586 CPPFLAGS_PASCAL
="-qmacpstr"
32588 { echo "$as_me:$LINENO: result: none" >&5
32589 echo "${ECHO_T}none" >&6; }
32592 if test "x$wxUSE_UNIX" = "xyes"; then
32593 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32595 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32599 GUIDIST
=OSX_CARBON_DIST
32600 WXBASEPORT
="_carbon"
32603 if test "$wxUSE_OSX_COCOA" = 1; then
32605 GUIDIST
=OSX_COCOA_DIST
32608 if test "$wxUSE_COCOA" = 1; then
32613 if test "$wxUSE_PM" = 1; then
32616 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32617 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32618 if test "${wx_cv_spbcdata+set}" = set; then
32619 echo $ECHO_N "(cached) $ECHO_C" >&6
32622 cat >conftest.
$ac_ext <<_ACEOF
32625 cat confdefs.h
>>conftest.
$ac_ext
32626 cat >>conftest.
$ac_ext <<_ACEOF
32627 /* end confdefs.h. */
32642 rm -f conftest.
$ac_objext
32643 if { (ac_try
="$ac_compile"
32644 case "(($ac_try" in
32645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32646 *) ac_try_echo=$ac_try;;
32648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32649 (eval "$ac_compile") 2>conftest.er1
32651 grep -v '^ *+' conftest.er1 >conftest.err
32653 cat conftest.err >&5
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); } && {
32656 test -z "$ac_c_werror_flag" ||
32657 test ! -s conftest.err
32658 } && test -s conftest.$ac_objext; then
32661 echo "$as_me: failed program was:" >&5
32662 sed 's/^/| /' conftest.$ac_ext >&5
32668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32672 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32673 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32675 if test $wx_cv_spbcdata = "yes"; then
32676 cat >>confdefs.h <<\_ACEOF
32677 #define HAVE_SPBCDATA 1
32683 if test "$TOOLKIT" = "PM" ; then
32686 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32689 if test "$wxUSE_UNIVERSAL" = "yes"; then
32690 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32694 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32695 DISTDIR="wx\$(TOOLKIT)"
32701 if test "$USE_WIN32" = 1 ; then
32705 GUIDIST="BASE_DIST"
32711 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32712 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32713 wxUSE_UNICODE_UTF8=yes
32714 elif test "$USE_OS2" = 1 ; then
32715 wxUSE_UNICODE_UTF8=yes
32717 wxUSE_UNICODE_UTF8=no
32722 if test "$wxUSE_GUI" = "yes"; then
32723 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32725 for ac_header in X11/Xlib.h
32727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32728 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32731 echo $ECHO_N "(cached) $ECHO_C" >&6
32733 cat >conftest.$ac_ext <<_ACEOF
32736 cat confdefs.h >>conftest.$ac_ext
32737 cat >>conftest.$ac_ext <<_ACEOF
32738 /* end confdefs.h. */
32741 #include <$ac_header>
32743 rm -f conftest.$ac_objext
32744 if { (ac_try="$ac_compile"
32745 case "(($ac_try" in
32746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32747 *) ac_try_echo
=$ac_try;;
32749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32750 (eval "$ac_compile") 2>conftest.er1
32752 grep -v '^ *+' conftest.er1
>conftest.err
32754 cat conftest.err
>&5
32755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32756 (exit $ac_status); } && {
32757 test -z "$ac_c_werror_flag" ||
32758 test ! -s conftest.err
32759 } && test -s conftest.
$ac_objext; then
32760 eval "$as_ac_Header=yes"
32762 echo "$as_me: failed program was:" >&5
32763 sed 's/^/| /' conftest.
$ac_ext >&5
32765 eval "$as_ac_Header=no"
32768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32770 ac_res
=`eval echo '${'$as_ac_Header'}'`
32771 { echo "$as_me:$LINENO: result: $ac_res" >&5
32772 echo "${ECHO_T}$ac_res" >&6; }
32773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32774 cat >>confdefs.h
<<_ACEOF
32775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32783 for ac_header
in X
11/XKBlib.h
32785 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32786 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32788 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32789 echo $ECHO_N "(cached) $ECHO_C" >&6
32791 cat >conftest.
$ac_ext <<_ACEOF
32794 cat confdefs.h
>>conftest.
$ac_ext
32795 cat >>conftest.
$ac_ext <<_ACEOF
32796 /* end confdefs.h. */
32798 #if HAVE_X11_XLIB_H
32799 #include <X11/Xlib.h>
32803 #include <$ac_header>
32805 rm -f conftest.
$ac_objext
32806 if { (ac_try
="$ac_compile"
32807 case "(($ac_try" in
32808 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32809 *) ac_try_echo=$ac_try;;
32811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32812 (eval "$ac_compile") 2>conftest.er1
32814 grep -v '^ *+' conftest.er1 >conftest.err
32816 cat conftest.err >&5
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); } && {
32819 test -z "$ac_c_werror_flag" ||
32820 test ! -s conftest.err
32821 } && test -s conftest.$ac_objext; then
32822 eval "$as_ac_Header=yes"
32824 echo "$as_me: failed program was:" >&5
32825 sed 's/^/| /' conftest.$ac_ext >&5
32827 eval "$as_ac_Header=no"
32830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32832 ac_res=`eval echo '${'$as_ac_Header'}'`
32833 { echo "$as_me:$LINENO: result: $ac_res" >&5
32834 echo "${ECHO_T}$ac_res" >&6; }
32835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32836 cat >>confdefs.h <<_ACEOF
32837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32849 if test "$wxUSE_DISPLAY" = "yes"; then
32850 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32851 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32852 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32855 for ac_dir in $SEARCH_LIB;
32857 for ac_extension in a so sl dylib dll.a; do
32858 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32859 ac_find_libraries=$ac_dir
32865 if test "$ac_find_libraries" != "" ; then
32867 if test "$ac_find_libraries" = "default location"; then
32870 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32872 if test $result = 0; then
32875 ac_path_to_link=" -L$ac_find_libraries"
32879 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32880 LDFLAGS="$LDFLAGS $ac_path_to_link"
32882 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32883 { echo "$as_me:$LINENO: result: yes" >&5
32884 echo "${ECHO_T}yes" >&6; }
32886 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32887 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32890 for ac_dir in $SEARCH_LIB;
32892 for ac_extension in a so sl dylib dll.a; do
32893 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32894 ac_find_libraries=$ac_dir
32900 if test "$ac_find_libraries" != "" ; then
32901 { echo "$as_me:$LINENO: result: yes" >&5
32902 echo "${ECHO_T}yes" >&6; }
32904 for ac_header in X11/extensions/xf86vmode.h
32906 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32907 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32909 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32910 echo $ECHO_N "(cached) $ECHO_C" >&6
32912 cat >conftest.$ac_ext <<_ACEOF
32915 cat confdefs.h >>conftest.$ac_ext
32916 cat >>conftest.$ac_ext <<_ACEOF
32917 /* end confdefs.h. */
32919 #if HAVE_X11_XLIB_H
32920 #include <X11/Xlib.h>
32924 #include <$ac_header>
32926 rm -f conftest.$ac_objext
32927 if { (ac_try="$ac_compile"
32928 case "(($ac_try" in
32929 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32930 *) ac_try_echo
=$ac_try;;
32932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32933 (eval "$ac_compile") 2>conftest.er1
32935 grep -v '^ *+' conftest.er1
>conftest.err
32937 cat conftest.err
>&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); } && {
32940 test -z "$ac_c_werror_flag" ||
32941 test ! -s conftest.err
32942 } && test -s conftest.
$ac_objext; then
32943 eval "$as_ac_Header=yes"
32945 echo "$as_me: failed program was:" >&5
32946 sed 's/^/| /' conftest.
$ac_ext >&5
32948 eval "$as_ac_Header=no"
32951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32953 ac_res
=`eval echo '${'$as_ac_Header'}'`
32954 { echo "$as_me:$LINENO: result: $ac_res" >&5
32955 echo "${ECHO_T}$ac_res" >&6; }
32956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32957 cat >>confdefs.h
<<_ACEOF
32958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32961 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32968 { echo "$as_me:$LINENO: result: no" >&5
32969 echo "${ECHO_T}no" >&6; }
32973 { echo "$as_me:$LINENO: result: no" >&5
32974 echo "${ECHO_T}no" >&6; }
32975 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32976 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32979 elif test "$wxUSE_MSW" = 1; then
32980 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32981 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32982 if test "${ac_cv_header_ddraw_h+set}" = set; then
32983 echo $ECHO_N "(cached) $ECHO_C" >&6
32985 cat >conftest.
$ac_ext <<_ACEOF
32988 cat confdefs.h
>>conftest.
$ac_ext
32989 cat >>conftest.
$ac_ext <<_ACEOF
32990 /* end confdefs.h. */
32991 #include <windows.h>
32995 rm -f conftest.
$ac_objext
32996 if { (ac_try
="$ac_compile"
32997 case "(($ac_try" in
32998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32999 *) ac_try_echo=$ac_try;;
33001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33002 (eval "$ac_compile") 2>conftest.er1
33004 grep -v '^ *+' conftest.er1 >conftest.err
33006 cat conftest.err >&5
33007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33008 (exit $ac_status); } && {
33009 test -z "$ac_c_werror_flag" ||
33010 test ! -s conftest.err
33011 } && test -s conftest.$ac_objext; then
33012 ac_cv_header_ddraw_h=yes
33014 echo "$as_me: failed program was:" >&5
33015 sed 's/^/| /' conftest.$ac_ext >&5
33017 ac_cv_header_ddraw_h=no
33020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33022 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33023 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33029 if test "$wxUSE_DETECT_SM" = "yes"; then
33030 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33031 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33032 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33035 for ac_dir in $SEARCH_LIB;
33037 for ac_extension in a so sl dylib dll.a; do
33038 if test -f "$ac_dir/libSM.$ac_extension"; then
33039 ac_find_libraries=$ac_dir
33045 if test "$ac_find_libraries" != "" ; then
33047 if test "$ac_find_libraries" = "default location"; then
33050 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33052 if test $result = 0; then
33055 ac_path_to_link=" -L$ac_find_libraries"
33059 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33060 LDFLAGS="$LDFLAGS $ac_path_to_link"
33062 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33063 { echo "$as_me:$LINENO: result: yes" >&5
33064 echo "${ECHO_T}yes" >&6; }
33066 { echo "$as_me:$LINENO: result: no" >&5
33067 echo "${ECHO_T}no" >&6; }
33068 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33069 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33070 wxUSE_DETECT_SM="no"
33073 wxUSE_DETECT_SM="no"
33080 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33083 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33084 OPENGL_LIBS="-framework OpenGL -framework AGL"
33085 elif test "$wxUSE_MSW" = 1; then
33086 OPENGL_LIBS="-lopengl32 -lglu32"
33087 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33089 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33090 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33093 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33095 if test -f "$ac_dir/GL/gl.h"; then
33096 ac_find_includes=$ac_dir
33101 if test "$ac_find_includes" != "" ; then
33102 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33103 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33105 if test "x$ac_find_includes" = "x/usr/include"; then
33106 ac_path_to_include=""
33108 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33110 if test $result = 0; then
33111 ac_path_to_include=""
33113 ac_path_to_include=" -I$ac_find_includes"
33117 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33119 { echo "$as_me:$LINENO: result: not found" >&5
33120 echo "${ECHO_T}not found" >&6; }
33123 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33124 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33125 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33126 echo $ECHO_N "(cached) $ECHO_C" >&6
33128 cat >conftest.$ac_ext <<_ACEOF
33131 cat confdefs.h >>conftest.$ac_ext
33132 cat >>conftest.$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33138 rm -f conftest.$ac_objext
33139 if { (ac_try="$ac_compile"
33140 case "(($ac_try" in
33141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33142 *) ac_try_echo
=$ac_try;;
33144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33145 (eval "$ac_compile") 2>conftest.er1
33147 grep -v '^ *+' conftest.er1
>conftest.err
33149 cat conftest.err
>&5
33150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33151 (exit $ac_status); } && {
33152 test -z "$ac_c_werror_flag" ||
33153 test ! -s conftest.err
33154 } && test -s conftest.
$ac_objext; then
33155 ac_cv_header_GL_gl_h
=yes
33157 echo "$as_me: failed program was:" >&5
33158 sed 's/^/| /' conftest.
$ac_ext >&5
33160 ac_cv_header_GL_gl_h
=no
33163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33165 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33166 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33167 if test $ac_cv_header_GL_gl_h = yes; then
33169 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33170 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33171 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33172 echo $ECHO_N "(cached) $ECHO_C" >&6
33174 cat >conftest.
$ac_ext <<_ACEOF
33177 cat confdefs.h
>>conftest.
$ac_ext
33178 cat >>conftest.
$ac_ext <<_ACEOF
33179 /* end confdefs.h. */
33182 #include <GL/glu.h>
33184 rm -f conftest.
$ac_objext
33185 if { (ac_try
="$ac_compile"
33186 case "(($ac_try" in
33187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33188 *) ac_try_echo=$ac_try;;
33190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33191 (eval "$ac_compile") 2>conftest.er1
33193 grep -v '^ *+' conftest.er1 >conftest.err
33195 cat conftest.err >&5
33196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33197 (exit $ac_status); } && {
33198 test -z "$ac_c_werror_flag" ||
33199 test ! -s conftest.err
33200 } && test -s conftest.$ac_objext; then
33201 ac_cv_header_GL_glu_h=yes
33203 echo "$as_me: failed program was:" >&5
33204 sed 's/^/| /' conftest.$ac_ext >&5
33206 ac_cv_header_GL_glu_h=no
33209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33211 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33212 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33213 if test $ac_cv_header_GL_glu_h = yes; then
33217 { echo "$as_me:$LINENO: checking for -lGL" >&5
33218 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33221 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33223 for ac_extension in a so sl dylib dll.a; do
33224 if test -f "$ac_dir/libGL.$ac_extension"; then
33225 ac_find_libraries=$ac_dir
33231 if test "$ac_find_libraries" != "" ; then
33232 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33233 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33236 if test "$ac_find_libraries" = "default location"; then
33239 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33241 if test $result = 0; then
33244 ac_path_to_link=" -L$ac_find_libraries"
33248 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33249 LDFLAGS_GL="$ac_path_to_link"
33252 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33253 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33256 for ac_dir in $SEARCH_LIB;
33258 for ac_extension in a so sl dylib dll.a; do
33259 if test -f "$ac_dir/libGLU.$ac_extension"; then
33260 ac_find_libraries=$ac_dir
33266 if test "$ac_find_libraries" != "" ; then
33268 if test "$ac_find_libraries" = "default location"; then
33271 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33273 if test $result = 0; then
33276 ac_path_to_link=" -L$ac_find_libraries"
33280 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33281 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33282 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33286 OPENGL_LIBS="-lGL -lGLU"
33287 { echo "$as_me:$LINENO: result: yes" >&5
33288 echo "${ECHO_T}yes" >&6; }
33290 { echo "$as_me:$LINENO: result: no" >&5
33291 echo "${ECHO_T}no" >&6; }
33294 { echo "$as_me:$LINENO: result: no" >&5
33295 echo "${ECHO_T}no" >&6; }
33298 if test "$found_gl" != 1; then
33299 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33300 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33303 for ac_dir in $SEARCH_LIB;
33305 for ac_extension in a so sl dylib dll.a; do
33306 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33307 ac_find_libraries=$ac_dir
33313 if test "$ac_find_libraries" != "" ; then
33315 if test "$ac_find_libraries" = "default location"; then
33318 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33320 if test $result = 0; then
33323 ac_path_to_link=" -L$ac_find_libraries"
33327 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33328 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33329 { echo "$as_me:$LINENO: result: yes" >&5
33330 echo "${ECHO_T}yes" >&6; }
33332 { echo "$as_me:$LINENO: result: no" >&5
33333 echo "${ECHO_T}no" >&6; }
33345 if test "x$OPENGL_LIBS" = "x"; then
33346 if test "$wxUSE_OPENGL" = "yes"; then
33347 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33348 echo "$as_me: error: OpenGL libraries not available" >&2;}
33349 { (exit 1); exit 1; }; }
33351 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33352 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33360 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33361 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33365 if test "$wxUSE_OPENGL" = "yes"; then
33367 cat >>confdefs.h <<\_ACEOF
33368 #define wxUSE_OPENGL 1
33371 cat >>confdefs.h <<\_ACEOF
33372 #define wxUSE_GLCANVAS 1
33375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33380 if test -n "$TOOLKIT" ; then
33381 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33386 if test "$wxUSE_SHARED" = "yes"; then
33390 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33391 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33396 if test "$wxUSE_SHARED" = "yes"; then
33400 *-*-cygwin* | *-*-mingw* )
33401 wx_cv_version_script=no
33405 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33406 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33407 if test "${wx_cv_version_script+set}" = set; then
33408 echo $ECHO_N "(cached) $ECHO_C" >&6
33411 echo "VER_1 { *; };" >conftest.sym
33412 echo "int main() { return 0; }" >conftest.cpp
33415 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33416 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33418 (eval $ac_try) 2>&5
33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33421 (exit $ac_status); }; } ; then
33422 if test -s conftest.stderr ; then
33423 wx_cv_version_script=no
33425 wx_cv_version_script=yes
33428 wx_cv_version_script=no
33431 if test $wx_cv_version_script = yes
33433 echo "struct B { virtual ~B() { } }; \
33434 struct D : public B { }; \
33435 void F() { D d; }" > conftest.cpp
33438 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33439 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33441 (eval $ac_try) 2>&5
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); }; } &&
33446 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33447 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33449 (eval $ac_try) 2>&5
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); }; }
33455 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33456 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33458 (eval $ac_try) 2>&5
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; }
33463 wx_cv_version_script=yes
33465 wx_cv_version_script=no
33470 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33471 rm -f conftest1.output conftest2.output conftest3.output
33474 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33475 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33477 if test $wx_cv_version_script = yes ; then
33478 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33484 if test "$wxUSE_VISIBILITY" != "no"; then
33487 if test -n "$GCC"; then
33488 CFLAGS_VISIBILITY="-fvisibility=hidden"
33489 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33490 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33491 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33492 if test "${wx_cv_cc_visibility+set}" = set; then
33493 echo $ECHO_N "(cached) $ECHO_C" >&6
33496 wx_save_CXXFLAGS="$CXXFLAGS"
33497 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33499 ac_cpp='$CXXCPP $CPPFLAGS'
33500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33504 cat >conftest.$ac_ext <<_ACEOF
33507 cat confdefs.h >>conftest.$ac_ext
33508 cat >>conftest.$ac_ext <<_ACEOF
33509 /* end confdefs.h. */
33511 /* we need gcc >= 4.0, older versions with visibility support
33512 didn't have class visibility: */
33513 #if defined(__GNUC__) && __GNUC__ < 4
33514 error this gcc is too old;
33517 /* visibility only makes sense for ELF shared libs: */
33518 #if !defined(__ELF__) && !defined(__APPLE__)
33519 error this platform has no visibility;
33522 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33523 extern __attribute__((__visibility__("default"))) int exportedvar;
33524 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33525 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33526 class __attribute__((__visibility__("default"))) Foo {
33538 rm -f conftest.$ac_objext
33539 if { (ac_try="$ac_compile"
33540 case "(($ac_try" in
33541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33542 *) ac_try_echo
=$ac_try;;
33544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33545 (eval "$ac_compile") 2>conftest.er1
33547 grep -v '^ *+' conftest.er1
>conftest.err
33549 cat conftest.err
>&5
33550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33551 (exit $ac_status); } && {
33552 test -z "$ac_cxx_werror_flag" ||
33553 test ! -s conftest.err
33554 } && test -s conftest.
$ac_objext; then
33555 wx_cv_cc_visibility
=yes
33557 echo "$as_me: failed program was:" >&5
33558 sed 's/^/| /' conftest.
$ac_ext >&5
33560 wx_cv_cc_visibility
=no
33563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33565 ac_cpp
='$CPP $CPPFLAGS'
33566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33570 CXXFLAGS
="$wx_save_CXXFLAGS"
33573 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33574 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33575 if test $wx_cv_cc_visibility = yes; then
33576 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33577 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33578 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33579 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 wx_save_CXXFLAGS
="$CXXFLAGS"
33583 wx_save_LDFLAGS
="$LDFLAGS"
33584 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33585 LDFLAGS
="$LDFLAGS -shared -fPIC"
33587 ac_cpp
='$CXXCPP $CPPFLAGS'
33588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33592 cat >conftest.
$ac_ext <<_ACEOF
33595 cat confdefs.h
>>conftest.
$ac_ext
33596 cat >>conftest.
$ac_ext <<_ACEOF
33597 /* end confdefs.h. */
33605 std::string s("hello");
33612 rm -f conftest.
$ac_objext conftest
$ac_exeext
33613 if { (ac_try
="$ac_link"
33614 case "(($ac_try" in
33615 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33616 *) ac_try_echo=$ac_try;;
33618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33619 (eval "$ac_link") 2>conftest.er1
33621 grep -v '^ *+' conftest.er1 >conftest.err
33623 cat conftest.err >&5
33624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33625 (exit $ac_status); } && {
33626 test -z "$ac_cxx_werror_flag" ||
33627 test ! -s conftest.err
33628 } && test -s conftest$ac_exeext &&
33629 $as_test_x conftest$ac_exeext; then
33630 wx_cv_cc_broken_libstdcxx_visibility=no
33632 echo "$as_me: failed program was:" >&5
33633 sed 's/^/| /' conftest.$ac_ext >&5
33635 wx_cv_cc_broken_libstdcxx_visibility=yes
33638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33639 conftest$ac_exeext conftest.$ac_ext
33641 ac_cpp='$CPP $CPPFLAGS'
33642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33646 CXXFLAGS="$wx_save_CXXFLAGS"
33647 LDFLAGS="$wx_save_LDFLAGS"
33650 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33651 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33653 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33654 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33655 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33656 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33657 echo $ECHO_N "(cached) $ECHO_C" >&6
33661 ac_cpp='$CXXCPP $CPPFLAGS'
33662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33666 cat >conftest.$ac_ext <<_ACEOF
33669 cat confdefs.h >>conftest.$ac_ext
33670 cat >>conftest.$ac_ext <<_ACEOF
33671 /* end confdefs.h. */
33673 #pragma GCC visibility push(default)
33675 #pragma GCC visibility pop
33681 std::string s("hello");
33688 rm -f conftest.$ac_objext conftest$ac_exeext
33689 if { (ac_try="$ac_link"
33690 case "(($ac_try" in
33691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33692 *) ac_try_echo
=$ac_try;;
33694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33695 (eval "$ac_link") 2>conftest.er1
33697 grep -v '^ *+' conftest.er1
>conftest.err
33699 cat conftest.err
>&5
33700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33701 (exit $ac_status); } && {
33702 test -z "$ac_cxx_werror_flag" ||
33703 test ! -s conftest.err
33704 } && test -s conftest
$ac_exeext &&
33705 $as_test_x conftest
$ac_exeext; then
33706 wx_cv_cc_visibility_workaround
=no
33708 echo "$as_me: failed program was:" >&5
33709 sed 's/^/| /' conftest.
$ac_ext >&5
33711 wx_cv_cc_visibility_workaround
=yes
33714 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33715 conftest
$ac_exeext conftest.
$ac_ext
33717 ac_cpp
='$CPP $CPPFLAGS'
33718 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33725 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33726 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33728 if test $wx_cv_cc_visibility_workaround = no
; then
33729 wx_cv_cc_visibility
=no
33734 if test $wx_cv_cc_visibility = yes; then
33735 cat >>confdefs.h
<<\_ACEOF
33736 #define HAVE_VISIBILITY 1
33739 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33740 cat >>confdefs.h
<<\_ACEOF
33741 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33746 CFLAGS_VISIBILITY
=""
33747 CXXFLAGS_VISIBILITY
=""
33755 if test "x$SUNCXX" = xyes
; then
33756 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33757 WXCONFIG_RPATH
="-R\$libdir"
33760 *-*-linux* | *-*-gnu* )
33761 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33762 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33767 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33769 saveLdflags
="$LDFLAGS"
33770 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33771 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33772 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33773 cat >conftest.
$ac_ext <<_ACEOF
33776 cat confdefs.h
>>conftest.
$ac_ext
33777 cat >>conftest.
$ac_ext <<_ACEOF
33778 /* end confdefs.h. */
33788 rm -f conftest.
$ac_objext conftest
$ac_exeext
33789 if { (ac_try
="$ac_link"
33790 case "(($ac_try" in
33791 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33792 *) ac_try_echo=$ac_try;;
33794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33795 (eval "$ac_link") 2>conftest.er1
33797 grep -v '^ *+' conftest.er1 >conftest.err
33799 cat conftest.err >&5
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); } && {
33802 test -z "$ac_c_werror_flag" ||
33803 test ! -s conftest.err
33804 } && test -s conftest$ac_exeext &&
33805 $as_test_x conftest$ac_exeext; then
33807 { echo "$as_me:$LINENO: result: yes" >&5
33808 echo "${ECHO_T}yes" >&6; }
33809 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33810 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33813 echo "$as_me: failed program was:" >&5
33814 sed 's/^/| /' conftest.$ac_ext >&5
33817 { echo "$as_me:$LINENO: result: no" >&5
33818 echo "${ECHO_T}no" >&6; }
33819 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33820 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33821 LDFLAGS="$saveLdflags -Wl,-R,/"
33822 cat >conftest.$ac_ext <<_ACEOF
33825 cat confdefs.h >>conftest.$ac_ext
33826 cat >>conftest.$ac_ext <<_ACEOF
33827 /* end confdefs.h. */
33837 rm -f conftest.$ac_objext conftest$ac_exeext
33838 if { (ac_try="$ac_link"
33839 case "(($ac_try" in
33840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33841 *) ac_try_echo
=$ac_try;;
33843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33844 (eval "$ac_link") 2>conftest.er1
33846 grep -v '^ *+' conftest.er1
>conftest.err
33848 cat conftest.err
>&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } && {
33851 test -z "$ac_c_werror_flag" ||
33852 test ! -s conftest.err
33853 } && test -s conftest
$ac_exeext &&
33854 $as_test_x conftest
$ac_exeext; then
33856 { echo "$as_me:$LINENO: result: yes" >&5
33857 echo "${ECHO_T}yes" >&6; }
33858 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33859 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33862 echo "$as_me: failed program was:" >&5
33863 sed 's/^/| /' conftest.
$ac_ext >&5
33866 { echo "$as_me:$LINENO: result: no" >&5
33867 echo "${ECHO_T}no" >&6; }
33871 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33872 conftest
$ac_exeext conftest.
$ac_ext
33876 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33877 conftest
$ac_exeext conftest.
$ac_ext
33878 LDFLAGS
="$saveLdflags"
33882 install_name_tool
=`which install_name_tool`
33883 if test "$install_name_tool" -a -x "$install_name_tool"; then
33884 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33885 cat <<EOF >change-install-names
33887 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33888 inst_cmd="install_name_tool "
33889 for i in \${libnames} ; do
33890 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33894 chmod +x change
-install-names
33897 HEADER_PAD_OPTION
="-headerpad_max_install_names"
33900 *-*-cygwin* | *-*-mingw32* )
33904 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33905 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33911 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33913 if test $wxUSE_RPATH = "no"; then
33914 SAMPLES_RPATH_FLAG
=''
33915 SAMPLES_RPATH_POSTLINK
=''
33923 config_linkage_component
="-static"
33930 lib_unicode_suffix
=
33932 if test "$wxUSE_UNICODE" = "yes"; then
33933 lib_unicode_suffix
=u
33934 WX_CHARTYPE
="unicode"
33939 WX_DEBUGTYPE
="release"
33941 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33943 WX_DEBUGTYPE
="debug"
33947 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33948 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33951 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33955 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33957 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33959 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33961 if test "$cross_compiling" = "yes"; then
33962 HOST_SUFFIX
="-$host_alias"
33963 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33964 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33968 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33969 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33971 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33973 if test "${TOOLKIT_DIR}" = "os2"; then
33974 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33976 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33981 if test "$wxUSE_COCOA" = 1; then
33984 ac_cpp
='$CPP $CPPFLAGS'
33985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33991 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33992 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33993 cat >conftest.
$ac_ext <<_ACEOF
33996 cat confdefs.h
>>conftest.
$ac_ext
33997 cat >>conftest.
$ac_ext <<_ACEOF
33998 /* end confdefs.h. */
33999 #include <AppKit/NSEvent.h>
34000 #include <CoreFoundation/CoreFoundation.h>
34010 rm -f conftest.
$ac_objext
34011 if { (ac_try
="$ac_compile"
34012 case "(($ac_try" in
34013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34014 *) ac_try_echo=$ac_try;;
34016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34017 (eval "$ac_compile") 2>conftest.er1
34019 grep -v '^ *+' conftest.er1 >conftest.err
34021 cat conftest.err >&5
34022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 (exit $ac_status); } && {
34024 test -z "$ac_c_werror_flag" ||
34025 test ! -s conftest.err
34026 } && test -s conftest.$ac_objext; then
34027 { echo "$as_me:$LINENO: result: no" >&5
34028 echo "${ECHO_T}no" >&6; }
34030 echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.$ac_ext >&5
34033 { echo "$as_me:$LINENO: result: yes" >&5
34034 echo "${ECHO_T}yes" >&6; }
34035 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34036 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34037 cat >conftest.$ac_ext <<_ACEOF
34040 cat confdefs.h >>conftest.$ac_ext
34041 cat >>conftest.$ac_ext <<_ACEOF
34042 /* end confdefs.h. */
34043 #define __Point__ 1
34044 #include <AppKit/NSEvent.h>
34045 #include <CoreFoundation/CoreFoundation.h>
34055 rm -f conftest.$ac_objext
34056 if { (ac_try="$ac_compile"
34057 case "(($ac_try" in
34058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34059 *) ac_try_echo
=$ac_try;;
34061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34062 (eval "$ac_compile") 2>conftest.er1
34064 grep -v '^ *+' conftest.er1
>conftest.err
34066 cat conftest.err
>&5
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); } && {
34069 test -z "$ac_c_werror_flag" ||
34070 test ! -s conftest.err
34071 } && test -s conftest.
$ac_objext; then
34072 { echo "$as_me:$LINENO: result: yes" >&5
34073 echo "${ECHO_T}yes" >&6; }
34074 cat >>confdefs.h
<<\_ACEOF
34075 #define __Point__ 1
34080 echo "$as_me: failed program was:" >&5
34081 sed 's/^/| /' conftest.
$ac_ext >&5
34083 { { echo "$as_me:$LINENO: error: no
34084 See \`config.log' for more details." >&5
34085 echo "$as_me: error: no
34086 See \`config.log' for more details." >&2;}
34087 { (exit 1); exit 1; }; }
34091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34097 ac_cpp
='$CPP $CPPFLAGS'
34098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34105 { echo "$as_me:$LINENO: checking for mode_t" >&5
34106 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34107 if test "${ac_cv_type_mode_t+set}" = set; then
34108 echo $ECHO_N "(cached) $ECHO_C" >&6
34110 cat >conftest.
$ac_ext <<_ACEOF
34113 cat confdefs.h
>>conftest.
$ac_ext
34114 cat >>conftest.
$ac_ext <<_ACEOF
34115 /* end confdefs.h. */
34116 $ac_includes_default
34117 typedef mode_t ac__type_new_;
34121 if ((ac__type_new_ *) 0)
34123 if (sizeof (ac__type_new_))
34129 rm -f conftest.
$ac_objext
34130 if { (ac_try
="$ac_compile"
34131 case "(($ac_try" in
34132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34133 *) ac_try_echo=$ac_try;;
34135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34136 (eval "$ac_compile") 2>conftest.er1
34138 grep -v '^ *+' conftest.er1 >conftest.err
34140 cat conftest.err >&5
34141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34142 (exit $ac_status); } && {
34143 test -z "$ac_c_werror_flag" ||
34144 test ! -s conftest.err
34145 } && test -s conftest.$ac_objext; then
34146 ac_cv_type_mode_t=yes
34148 echo "$as_me: failed program was:" >&5
34149 sed 's/^/| /' conftest.$ac_ext >&5
34151 ac_cv_type_mode_t=no
34154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34156 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34157 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34158 if test $ac_cv_type_mode_t = yes; then
34162 cat >>confdefs.h <<_ACEOF
34168 { echo "$as_me:$LINENO: checking for off_t" >&5
34169 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34170 if test "${ac_cv_type_off_t+set}" = set; then
34171 echo $ECHO_N "(cached) $ECHO_C" >&6
34173 cat >conftest.$ac_ext <<_ACEOF
34176 cat confdefs.h >>conftest.$ac_ext
34177 cat >>conftest.$ac_ext <<_ACEOF
34178 /* end confdefs.h. */
34179 $ac_includes_default
34180 typedef off_t ac__type_new_;
34184 if ((ac__type_new_ *) 0)
34186 if (sizeof (ac__type_new_))
34192 rm -f conftest.$ac_objext
34193 if { (ac_try="$ac_compile"
34194 case "(($ac_try" in
34195 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34196 *) ac_try_echo
=$ac_try;;
34198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34199 (eval "$ac_compile") 2>conftest.er1
34201 grep -v '^ *+' conftest.er1
>conftest.err
34203 cat conftest.err
>&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); } && {
34206 test -z "$ac_c_werror_flag" ||
34207 test ! -s conftest.err
34208 } && test -s conftest.
$ac_objext; then
34209 ac_cv_type_off_t
=yes
34211 echo "$as_me: failed program was:" >&5
34212 sed 's/^/| /' conftest.
$ac_ext >&5
34214 ac_cv_type_off_t
=no
34217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34219 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34220 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34221 if test $ac_cv_type_off_t = yes; then
34225 cat >>confdefs.h
<<_ACEOF
34226 #define off_t long int
34231 { echo "$as_me:$LINENO: checking for pid_t" >&5
34232 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34233 if test "${ac_cv_type_pid_t+set}" = set; then
34234 echo $ECHO_N "(cached) $ECHO_C" >&6
34236 cat >conftest.
$ac_ext <<_ACEOF
34239 cat confdefs.h
>>conftest.
$ac_ext
34240 cat >>conftest.
$ac_ext <<_ACEOF
34241 /* end confdefs.h. */
34242 $ac_includes_default
34243 typedef pid_t ac__type_new_;
34247 if ((ac__type_new_ *) 0)
34249 if (sizeof (ac__type_new_))
34255 rm -f conftest.
$ac_objext
34256 if { (ac_try
="$ac_compile"
34257 case "(($ac_try" in
34258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34259 *) ac_try_echo=$ac_try;;
34261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34262 (eval "$ac_compile") 2>conftest.er1
34264 grep -v '^ *+' conftest.er1 >conftest.err
34266 cat conftest.err >&5
34267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34268 (exit $ac_status); } && {
34269 test -z "$ac_c_werror_flag" ||
34270 test ! -s conftest.err
34271 } && test -s conftest.$ac_objext; then
34272 ac_cv_type_pid_t=yes
34274 echo "$as_me: failed program was:" >&5
34275 sed 's/^/| /' conftest.$ac_ext >&5
34277 ac_cv_type_pid_t=no
34280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34282 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34283 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34284 if test $ac_cv_type_pid_t = yes; then
34288 cat >>confdefs.h <<_ACEOF
34294 { echo "$as_me:$LINENO: checking for size_t" >&5
34295 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34296 if test "${ac_cv_type_size_t+set}" = set; then
34297 echo $ECHO_N "(cached) $ECHO_C" >&6
34299 cat >conftest.$ac_ext <<_ACEOF
34302 cat confdefs.h >>conftest.$ac_ext
34303 cat >>conftest.$ac_ext <<_ACEOF
34304 /* end confdefs.h. */
34305 $ac_includes_default
34306 typedef size_t ac__type_new_;
34310 if ((ac__type_new_ *) 0)
34312 if (sizeof (ac__type_new_))
34318 rm -f conftest.$ac_objext
34319 if { (ac_try="$ac_compile"
34320 case "(($ac_try" in
34321 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34322 *) ac_try_echo
=$ac_try;;
34324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34325 (eval "$ac_compile") 2>conftest.er1
34327 grep -v '^ *+' conftest.er1
>conftest.err
34329 cat conftest.err
>&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); } && {
34332 test -z "$ac_c_werror_flag" ||
34333 test ! -s conftest.err
34334 } && test -s conftest.
$ac_objext; then
34335 ac_cv_type_size_t
=yes
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.
$ac_ext >&5
34340 ac_cv_type_size_t
=no
34343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34345 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34346 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34347 if test $ac_cv_type_size_t = yes; then
34351 cat >>confdefs.h
<<_ACEOF
34352 #define size_t unsigned int
34358 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34359 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34360 if test "${ac_cv_type_ssize_t+set}" = set; then
34361 echo $ECHO_N "(cached) $ECHO_C" >&6
34363 cat >conftest.
$ac_ext <<_ACEOF
34366 cat confdefs.h
>>conftest.
$ac_ext
34367 cat >>conftest.
$ac_ext <<_ACEOF
34368 /* end confdefs.h. */
34369 $ac_includes_default
34370 typedef ssize_t ac__type_new_;
34374 if ((ac__type_new_ *) 0)
34376 if (sizeof (ac__type_new_))
34382 rm -f conftest.
$ac_objext
34383 if { (ac_try
="$ac_compile"
34384 case "(($ac_try" in
34385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34386 *) ac_try_echo=$ac_try;;
34388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34389 (eval "$ac_compile") 2>conftest.er1
34391 grep -v '^ *+' conftest.er1 >conftest.err
34393 cat conftest.err >&5
34394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34395 (exit $ac_status); } && {
34396 test -z "$ac_c_werror_flag" ||
34397 test ! -s conftest.err
34398 } && test -s conftest.$ac_objext; then
34399 ac_cv_type_ssize_t=yes
34401 echo "$as_me: failed program was:" >&5
34402 sed 's/^/| /' conftest.$ac_ext >&5
34404 ac_cv_type_ssize_t=no
34407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34409 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34410 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34411 if test $ac_cv_type_ssize_t = yes; then
34413 cat >>confdefs.h <<_ACEOF
34414 #define HAVE_SSIZE_T 1
34422 ac_cpp='$CXXCPP $CPPFLAGS'
34423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34426 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34427 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34428 if test "${wx_cv_size_t_is_uint+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34432 cat >conftest.$ac_ext <<_ACEOF
34435 cat confdefs.h >>conftest.$ac_ext
34436 cat >>conftest.$ac_ext <<_ACEOF
34437 /* end confdefs.h. */
34438 #include <stddef.h>
34445 struct Foo { void foo(size_t); void foo(unsigned int); };
34453 rm -f conftest.$ac_objext
34454 if { (ac_try="$ac_compile"
34455 case "(($ac_try" in
34456 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34457 *) ac_try_echo
=$ac_try;;
34459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34460 (eval "$ac_compile") 2>conftest.er1
34462 grep -v '^ *+' conftest.er1
>conftest.err
34464 cat conftest.err
>&5
34465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34466 (exit $ac_status); } && {
34467 test -z "$ac_cxx_werror_flag" ||
34468 test ! -s conftest.err
34469 } && test -s conftest.
$ac_objext; then
34470 wx_cv_size_t_is_uint
=no
34472 echo "$as_me: failed program was:" >&5
34473 sed 's/^/| /' conftest.
$ac_ext >&5
34475 wx_cv_size_t_is_uint
=yes
34479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34483 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34484 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34486 if test "$wx_cv_size_t_is_uint" = "yes"; then
34487 cat >>confdefs.h
<<\_ACEOF
34488 #define wxSIZE_T_IS_UINT 1
34492 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34493 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34494 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34495 echo $ECHO_N "(cached) $ECHO_C" >&6
34497 cat >conftest.
$ac_ext <<_ACEOF
34500 cat confdefs.h
>>conftest.
$ac_ext
34501 cat >>conftest.
$ac_ext <<_ACEOF
34502 /* end confdefs.h. */
34503 #include <stddef.h>
34510 struct Foo { void foo(size_t); void foo(unsigned long); };
34518 rm -f conftest.
$ac_objext
34519 if { (ac_try
="$ac_compile"
34520 case "(($ac_try" in
34521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34522 *) ac_try_echo=$ac_try;;
34524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34525 (eval "$ac_compile") 2>conftest.er1
34527 grep -v '^ *+' conftest.er1 >conftest.err
34529 cat conftest.err >&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); } && {
34532 test -z "$ac_cxx_werror_flag" ||
34533 test ! -s conftest.err
34534 } && test -s conftest.$ac_objext; then
34535 wx_cv_size_t_is_ulong=no
34537 echo "$as_me: failed program was:" >&5
34538 sed 's/^/| /' conftest.$ac_ext >&5
34540 wx_cv_size_t_is_ulong=yes
34544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34547 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34548 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34550 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34551 cat >>confdefs.h <<\_ACEOF
34552 #define wxSIZE_T_IS_ULONG 1
34558 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34559 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34560 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34561 echo $ECHO_N "(cached) $ECHO_C" >&6
34563 cat >conftest.$ac_ext <<_ACEOF
34566 cat confdefs.h >>conftest.$ac_ext
34567 cat >>conftest.$ac_ext <<_ACEOF
34568 /* end confdefs.h. */
34576 struct Foo { void foo(wchar_t);
34577 void foo(unsigned short);
34578 void foo(unsigned int);
34579 void foo(unsigned long); };
34587 rm -f conftest.$ac_objext
34588 if { (ac_try="$ac_compile"
34589 case "(($ac_try" in
34590 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34591 *) ac_try_echo
=$ac_try;;
34593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34594 (eval "$ac_compile") 2>conftest.er1
34596 grep -v '^ *+' conftest.er1
>conftest.err
34598 cat conftest.err
>&5
34599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600 (exit $ac_status); } && {
34601 test -z "$ac_cxx_werror_flag" ||
34602 test ! -s conftest.err
34603 } && test -s conftest.
$ac_objext; then
34604 wx_cv_wchar_t_is_separate_type
=yes
34606 echo "$as_me: failed program was:" >&5
34607 sed 's/^/| /' conftest.
$ac_ext >&5
34609 wx_cv_wchar_t_is_separate_type
=no
34613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34616 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34617 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34619 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34620 cat >>confdefs.h
<<\_ACEOF
34621 #define wxWCHAR_T_IS_REAL_TYPE 1
34625 cat >>confdefs.h
<<\_ACEOF
34626 #define wxWCHAR_T_IS_REAL_TYPE 0
34632 ac_cpp
='$CPP $CPPFLAGS'
34633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34638 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34639 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34640 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34641 echo $ECHO_N "(cached) $ECHO_C" >&6
34644 cat >conftest.
$ac_ext <<_ACEOF
34647 cat confdefs.h
>>conftest.
$ac_ext
34648 cat >>conftest.
$ac_ext <<_ACEOF
34649 /* end confdefs.h. */
34663 rm -f conftest.
$ac_objext
34664 if { (ac_try
="$ac_compile"
34665 case "(($ac_try" in
34666 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34667 *) ac_try_echo=$ac_try;;
34669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34670 (eval "$ac_compile") 2>conftest.er1
34672 grep -v '^ *+' conftest.er1 >conftest.err
34674 cat conftest.err >&5
34675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34676 (exit $ac_status); } && {
34677 test -z "$ac_c_werror_flag" ||
34678 test ! -s conftest.err
34679 } && test -s conftest.$ac_objext; then
34681 wx_cv_struct_pw_gecos=yes
34684 echo "$as_me: failed program was:" >&5
34685 sed 's/^/| /' conftest.$ac_ext >&5
34688 wx_cv_struct_pw_gecos=no
34693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34697 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34698 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34700 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34701 cat >>confdefs.h <<\_ACEOF
34702 #define HAVE_PW_GECOS 1
34708 if test "$wxUSE_WCHAR_T" = "yes"; then
34709 cat >>confdefs.h <<\_ACEOF
34710 #define wxUSE_WCHAR_T 1
34717 for ac_func in wcslen
34719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34720 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34722 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34723 echo $ECHO_N "(cached) $ECHO_C" >&6
34725 cat >conftest.$ac_ext <<_ACEOF
34728 cat confdefs.h >>conftest.$ac_ext
34729 cat >>conftest.$ac_ext <<_ACEOF
34730 /* end confdefs.h. */
34731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34733 #define $ac_func innocuous_$ac_func
34735 /* System header to define __stub macros and hopefully few prototypes,
34736 which can conflict with char $ac_func (); below.
34737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34738 <limits.h> exists even on freestanding compilers. */
34741 # include <limits.h>
34743 # include <assert.h>
34748 /* Override any GCC internal prototype to avoid an error.
34749 Use char because int might match the return type of a GCC
34750 builtin and then its argument prototype would still apply. */
34755 /* The GNU C library defines this for functions which it implements
34756 to always fail with ENOSYS. Some functions are actually named
34757 something starting with __ and the normal name is an alias. */
34758 #if defined __stub_$ac_func || defined __stub___$ac_func
34765 return $ac_func ();
34770 rm -f conftest.$ac_objext conftest$ac_exeext
34771 if { (ac_try="$ac_link"
34772 case "(($ac_try" in
34773 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34774 *) ac_try_echo
=$ac_try;;
34776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34777 (eval "$ac_link") 2>conftest.er1
34779 grep -v '^ *+' conftest.er1
>conftest.err
34781 cat conftest.err
>&5
34782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34783 (exit $ac_status); } && {
34784 test -z "$ac_c_werror_flag" ||
34785 test ! -s conftest.err
34786 } && test -s conftest
$ac_exeext &&
34787 $as_test_x conftest
$ac_exeext; then
34788 eval "$as_ac_var=yes"
34790 echo "$as_me: failed program was:" >&5
34791 sed 's/^/| /' conftest.
$ac_ext >&5
34793 eval "$as_ac_var=no"
34796 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34797 conftest
$ac_exeext conftest.
$ac_ext
34799 ac_res
=`eval echo '${'$as_ac_var'}'`
34800 { echo "$as_me:$LINENO: result: $ac_res" >&5
34801 echo "${ECHO_T}$ac_res" >&6; }
34802 if test `eval echo '${'$as_ac_var'}'` = yes; then
34803 cat >>confdefs.h
<<_ACEOF
34804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34811 if test "$WCSLEN_FOUND" = 0; then
34812 if test "$TOOLKIT" = "MSW"; then
34813 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34814 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34815 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34816 echo $ECHO_N "(cached) $ECHO_C" >&6
34818 ac_check_lib_save_LIBS
=$LIBS
34819 LIBS
="-lmsvcrt $LIBS"
34820 cat >conftest.
$ac_ext <<_ACEOF
34823 cat confdefs.h
>>conftest.
$ac_ext
34824 cat >>conftest.
$ac_ext <<_ACEOF
34825 /* end confdefs.h. */
34827 /* Override any GCC internal prototype to avoid an error.
34828 Use char because int might match the return type of a GCC
34829 builtin and then its argument prototype would still apply. */
34842 rm -f conftest.
$ac_objext conftest
$ac_exeext
34843 if { (ac_try
="$ac_link"
34844 case "(($ac_try" in
34845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34846 *) ac_try_echo=$ac_try;;
34848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34849 (eval "$ac_link") 2>conftest.er1
34851 grep -v '^ *+' conftest.er1 >conftest.err
34853 cat conftest.err >&5
34854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34855 (exit $ac_status); } && {
34856 test -z "$ac_c_werror_flag" ||
34857 test ! -s conftest.err
34858 } && test -s conftest$ac_exeext &&
34859 $as_test_x conftest$ac_exeext; then
34860 ac_cv_lib_msvcrt_wcslen=yes
34862 echo "$as_me: failed program was:" >&5
34863 sed 's/^/| /' conftest.$ac_ext >&5
34865 ac_cv_lib_msvcrt_wcslen=no
34868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34869 conftest$ac_exeext conftest.$ac_ext
34870 LIBS=$ac_check_lib_save_LIBS
34872 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34873 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34874 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34879 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34880 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34881 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34882 echo $ECHO_N "(cached) $ECHO_C" >&6
34884 ac_check_lib_save_LIBS=$LIBS
34886 cat >conftest.$ac_ext <<_ACEOF
34889 cat confdefs.h >>conftest.$ac_ext
34890 cat >>conftest.$ac_ext <<_ACEOF
34891 /* end confdefs.h. */
34893 /* Override any GCC internal prototype to avoid an error.
34894 Use char because int might match the return type of a GCC
34895 builtin and then its argument prototype would still apply. */
34908 rm -f conftest.$ac_objext conftest$ac_exeext
34909 if { (ac_try="$ac_link"
34910 case "(($ac_try" in
34911 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34912 *) ac_try_echo
=$ac_try;;
34914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34915 (eval "$ac_link") 2>conftest.er1
34917 grep -v '^ *+' conftest.er1
>conftest.err
34919 cat conftest.err
>&5
34920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34921 (exit $ac_status); } && {
34922 test -z "$ac_c_werror_flag" ||
34923 test ! -s conftest.err
34924 } && test -s conftest
$ac_exeext &&
34925 $as_test_x conftest
$ac_exeext; then
34926 ac_cv_lib_w_wcslen
=yes
34928 echo "$as_me: failed program was:" >&5
34929 sed 's/^/| /' conftest.
$ac_ext >&5
34931 ac_cv_lib_w_wcslen
=no
34934 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34935 conftest
$ac_exeext conftest.
$ac_ext
34936 LIBS
=$ac_check_lib_save_LIBS
34938 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34939 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34940 if test $ac_cv_lib_w_wcslen = yes; then
34950 if test "$WCSLEN_FOUND" = 1; then
34951 cat >>confdefs.h
<<\_ACEOF
34952 #define HAVE_WCSLEN 1
34962 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
34964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34965 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34967 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34968 echo $ECHO_N "(cached) $ECHO_C" >&6
34970 cat >conftest.
$ac_ext <<_ACEOF
34973 cat confdefs.h
>>conftest.
$ac_ext
34974 cat >>conftest.
$ac_ext <<_ACEOF
34975 /* end confdefs.h. */
34976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34978 #define $ac_func innocuous_$ac_func
34980 /* System header to define __stub macros and hopefully few prototypes,
34981 which can conflict with char $ac_func (); below.
34982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34983 <limits.h> exists even on freestanding compilers. */
34986 # include <limits.h>
34988 # include <assert.h>
34993 /* Override any GCC internal prototype to avoid an error.
34994 Use char because int might match the return type of a GCC
34995 builtin and then its argument prototype would still apply. */
35000 /* The GNU C library defines this for functions which it implements
35001 to always fail with ENOSYS. Some functions are actually named
35002 something starting with __ and the normal name is an alias. */
35003 #if defined __stub_$ac_func || defined __stub___$ac_func
35010 return $ac_func ();
35015 rm -f conftest.
$ac_objext conftest
$ac_exeext
35016 if { (ac_try
="$ac_link"
35017 case "(($ac_try" in
35018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35019 *) ac_try_echo=$ac_try;;
35021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35022 (eval "$ac_link") 2>conftest.er1
35024 grep -v '^ *+' conftest.er1 >conftest.err
35026 cat conftest.err >&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); } && {
35029 test -z "$ac_c_werror_flag" ||
35030 test ! -s conftest.err
35031 } && test -s conftest$ac_exeext &&
35032 $as_test_x conftest$ac_exeext; then
35033 eval "$as_ac_var=yes"
35035 echo "$as_me: failed program was:" >&5
35036 sed 's/^/| /' conftest.$ac_ext >&5
35038 eval "$as_ac_var=no"
35041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35042 conftest$ac_exeext conftest.$ac_ext
35044 ac_res=`eval echo '${'$as_ac_var'}'`
35045 { echo "$as_me:$LINENO: result: $ac_res" >&5
35046 echo "${ECHO_T}$ac_res" >&6; }
35047 if test `eval echo '${'$as_ac_var'}'` = yes; then
35048 cat >>confdefs.h <<_ACEOF
35049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35056 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35057 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35060 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35061 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35062 if test "${ac_cv_type_mbstate_t+set}" = set; then
35063 echo $ECHO_N "(cached) $ECHO_C" >&6
35065 cat >conftest.$ac_ext <<_ACEOF
35068 cat confdefs.h >>conftest.$ac_ext
35069 cat >>conftest.$ac_ext <<_ACEOF
35070 /* end confdefs.h. */
35073 typedef mbstate_t ac__type_new_;
35077 if ((ac__type_new_ *) 0)
35079 if (sizeof (ac__type_new_))
35085 rm -f conftest.$ac_objext
35086 if { (ac_try="$ac_compile"
35087 case "(($ac_try" in
35088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35089 *) ac_try_echo
=$ac_try;;
35091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35092 (eval "$ac_compile") 2>conftest.er1
35094 grep -v '^ *+' conftest.er1
>conftest.err
35096 cat conftest.err
>&5
35097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35098 (exit $ac_status); } && {
35099 test -z "$ac_c_werror_flag" ||
35100 test ! -s conftest.err
35101 } && test -s conftest.
$ac_objext; then
35102 ac_cv_type_mbstate_t
=yes
35104 echo "$as_me: failed program was:" >&5
35105 sed 's/^/| /' conftest.
$ac_ext >&5
35107 ac_cv_type_mbstate_t
=no
35110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35112 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35113 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35114 if test $ac_cv_type_mbstate_t = yes; then
35116 cat >>confdefs.h
<<_ACEOF
35117 #define HAVE_MBSTATE_T 1
35121 for ac_func
in wcsrtombs
35123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35126 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35127 echo $ECHO_N "(cached) $ECHO_C" >&6
35129 cat >conftest.
$ac_ext <<_ACEOF
35132 cat confdefs.h
>>conftest.
$ac_ext
35133 cat >>conftest.
$ac_ext <<_ACEOF
35134 /* end confdefs.h. */
35135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35137 #define $ac_func innocuous_$ac_func
35139 /* System header to define __stub macros and hopefully few prototypes,
35140 which can conflict with char $ac_func (); below.
35141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35142 <limits.h> exists even on freestanding compilers. */
35145 # include <limits.h>
35147 # include <assert.h>
35152 /* Override any GCC internal prototype to avoid an error.
35153 Use char because int might match the return type of a GCC
35154 builtin and then its argument prototype would still apply. */
35159 /* The GNU C library defines this for functions which it implements
35160 to always fail with ENOSYS. Some functions are actually named
35161 something starting with __ and the normal name is an alias. */
35162 #if defined __stub_$ac_func || defined __stub___$ac_func
35169 return $ac_func ();
35174 rm -f conftest.
$ac_objext conftest
$ac_exeext
35175 if { (ac_try
="$ac_link"
35176 case "(($ac_try" in
35177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35178 *) ac_try_echo=$ac_try;;
35180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35181 (eval "$ac_link") 2>conftest.er1
35183 grep -v '^ *+' conftest.er1 >conftest.err
35185 cat conftest.err >&5
35186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187 (exit $ac_status); } && {
35188 test -z "$ac_c_werror_flag" ||
35189 test ! -s conftest.err
35190 } && test -s conftest$ac_exeext &&
35191 $as_test_x conftest$ac_exeext; then
35192 eval "$as_ac_var=yes"
35194 echo "$as_me: failed program was:" >&5
35195 sed 's/^/| /' conftest.$ac_ext >&5
35197 eval "$as_ac_var=no"
35200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35201 conftest$ac_exeext conftest.$ac_ext
35203 ac_res=`eval echo '${'$as_ac_var'}'`
35204 { echo "$as_me:$LINENO: result: $ac_res" >&5
35205 echo "${ECHO_T}$ac_res" >&6; }
35206 if test `eval echo '${'$as_ac_var'}'` = yes; then
35207 cat >>confdefs.h <<_ACEOF
35208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35217 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35218 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35224 for ac_func in snprintf vsnprintf vsscanf
35226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35230 echo $ECHO_N "(cached) $ECHO_C" >&6
35232 cat >conftest.$ac_ext <<_ACEOF
35235 cat confdefs.h >>conftest.$ac_ext
35236 cat >>conftest.$ac_ext <<_ACEOF
35237 /* end confdefs.h. */
35238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35240 #define $ac_func innocuous_$ac_func
35242 /* System header to define __stub macros and hopefully few prototypes,
35243 which can conflict with char $ac_func (); below.
35244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35245 <limits.h> exists even on freestanding compilers. */
35248 # include <limits.h>
35250 # include <assert.h>
35255 /* Override any GCC internal prototype to avoid an error.
35256 Use char because int might match the return type of a GCC
35257 builtin and then its argument prototype would still apply. */
35262 /* The GNU C library defines this for functions which it implements
35263 to always fail with ENOSYS. Some functions are actually named
35264 something starting with __ and the normal name is an alias. */
35265 #if defined __stub_$ac_func || defined __stub___$ac_func
35272 return $ac_func ();
35277 rm -f conftest.$ac_objext conftest$ac_exeext
35278 if { (ac_try="$ac_link"
35279 case "(($ac_try" in
35280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35281 *) ac_try_echo
=$ac_try;;
35283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35284 (eval "$ac_link") 2>conftest.er1
35286 grep -v '^ *+' conftest.er1
>conftest.err
35288 cat conftest.err
>&5
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); } && {
35291 test -z "$ac_c_werror_flag" ||
35292 test ! -s conftest.err
35293 } && test -s conftest
$ac_exeext &&
35294 $as_test_x conftest
$ac_exeext; then
35295 eval "$as_ac_var=yes"
35297 echo "$as_me: failed program was:" >&5
35298 sed 's/^/| /' conftest.
$ac_ext >&5
35300 eval "$as_ac_var=no"
35303 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35304 conftest
$ac_exeext conftest.
$ac_ext
35306 ac_res
=`eval echo '${'$as_ac_var'}'`
35307 { echo "$as_me:$LINENO: result: $ac_res" >&5
35308 echo "${ECHO_T}$ac_res" >&6; }
35309 if test `eval echo '${'$as_ac_var'}'` = yes; then
35310 cat >>confdefs.h
<<_ACEOF
35311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35319 ac_cpp
='$CXXCPP $CPPFLAGS'
35320 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35321 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35322 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35324 if test "$ac_cv_func_vsnprintf" = "yes"; then
35325 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35326 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35327 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35328 echo $ECHO_N "(cached) $ECHO_C" >&6
35331 cat >conftest.
$ac_ext <<_ACEOF
35334 cat confdefs.h
>>conftest.
$ac_ext
35335 cat >>conftest.
$ac_ext <<_ACEOF
35336 /* end confdefs.h. */
35339 #include <stdarg.h>
35341 #if __MSL__ >= 0x6000
35343 using namespace std;
35353 vsnprintf(buf, 10u, "%s", ap);
35359 rm -f conftest.
$ac_objext
35360 if { (ac_try
="$ac_compile"
35361 case "(($ac_try" in
35362 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35363 *) ac_try_echo=$ac_try;;
35365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35366 (eval "$ac_compile") 2>conftest.er1
35368 grep -v '^ *+' conftest.er1 >conftest.err
35370 cat conftest.err >&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); } && {
35373 test -z "$ac_cxx_werror_flag" ||
35374 test ! -s conftest.err
35375 } && test -s conftest.$ac_objext; then
35376 wx_cv_func_vsnprintf_decl=yes
35378 echo "$as_me: failed program was:" >&5
35379 sed 's/^/| /' conftest.$ac_ext >&5
35381 wx_cv_func_vsnprintf_decl=no
35385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35389 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35390 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35392 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35393 cat >>confdefs.h <<\_ACEOF
35394 #define HAVE_VSNPRINTF_DECL 1
35398 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35399 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35400 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35401 echo $ECHO_N "(cached) $ECHO_C" >&6
35404 cat >conftest.$ac_ext <<_ACEOF
35407 cat confdefs.h >>conftest.$ac_ext
35408 cat >>conftest.$ac_ext <<_ACEOF
35409 /* end confdefs.h. */
35412 #include <stdarg.h>
35414 #if __MSL__ >= 0x6000
35416 using namespace std;
35426 const char *fmt = "%s";
35427 vsnprintf(buf, 10u, fmt, ap);
35433 rm -f conftest.$ac_objext
35434 if { (ac_try="$ac_compile"
35435 case "(($ac_try" in
35436 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35437 *) ac_try_echo
=$ac_try;;
35439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35440 (eval "$ac_compile") 2>conftest.er1
35442 grep -v '^ *+' conftest.er1
>conftest.err
35444 cat conftest.err
>&5
35445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35446 (exit $ac_status); } && {
35447 test -z "$ac_cxx_werror_flag" ||
35448 test ! -s conftest.err
35449 } && test -s conftest.
$ac_objext; then
35450 wx_cv_func_broken_vsnprintf_decl
=no
35452 echo "$as_me: failed program was:" >&5
35453 sed 's/^/| /' conftest.
$ac_ext >&5
35455 wx_cv_func_broken_vsnprintf_decl
=yes
35459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35463 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35464 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35466 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35467 cat >>confdefs.h
<<\_ACEOF
35468 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35475 if test "$ac_cv_func_snprintf" = "yes"; then
35476 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35477 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35478 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35479 echo $ECHO_N "(cached) $ECHO_C" >&6
35482 cat >conftest.
$ac_ext <<_ACEOF
35485 cat confdefs.h
>>conftest.
$ac_ext
35486 cat >>conftest.
$ac_ext <<_ACEOF
35487 /* end confdefs.h. */
35490 #include <stdarg.h>
35492 #if __MSL__ >= 0x6000
35494 using namespace std;
35503 snprintf(buf, 10u, "%s", "wx");
35509 rm -f conftest.
$ac_objext
35510 if { (ac_try
="$ac_compile"
35511 case "(($ac_try" in
35512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35513 *) ac_try_echo=$ac_try;;
35515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35516 (eval "$ac_compile") 2>conftest.er1
35518 grep -v '^ *+' conftest.er1 >conftest.err
35520 cat conftest.err >&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); } && {
35523 test -z "$ac_cxx_werror_flag" ||
35524 test ! -s conftest.err
35525 } && test -s conftest.$ac_objext; then
35526 wx_cv_func_snprintf_decl=yes
35528 echo "$as_me: failed program was:" >&5
35529 sed 's/^/| /' conftest.$ac_ext >&5
35531 wx_cv_func_snprintf_decl=no
35535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35539 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35540 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35542 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35543 cat >>confdefs.h <<\_ACEOF
35544 #define HAVE_SNPRINTF_DECL 1
35549 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35551 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35552 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35553 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35554 echo $ECHO_N "(cached) $ECHO_C" >&6
35557 if test "$cross_compiling" = yes; then
35559 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35560 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35561 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35562 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35563 wx_cv_func_snprintf_pos_params=no
35567 cat >conftest.$ac_ext <<_ACEOF
35570 cat confdefs.h >>conftest.$ac_ext
35571 cat >>conftest.$ac_ext <<_ACEOF
35572 /* end confdefs.h. */
35579 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35580 if (strcmp ("2 3 1", buffer) == 0)
35586 rm -f conftest$ac_exeext
35587 if { (ac_try="$ac_link"
35588 case "(($ac_try" in
35589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35590 *) ac_try_echo
=$ac_try;;
35592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35593 (eval "$ac_link") 2>&5
35595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35596 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35597 { (case "(($ac_try" in
35598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35599 *) ac_try_echo=$ac_try;;
35601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35602 (eval "$ac_try") 2>&5
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); }; }; then
35606 wx_cv_func_snprintf_pos_params=no
35608 echo "$as_me: program exited with status $ac_status" >&5
35609 echo "$as_me: failed program was:" >&5
35610 sed 's/^/| /' conftest.$ac_ext >&5
35612 ( exit $ac_status )
35613 wx_cv_func_snprintf_pos_params=yes
35615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35622 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35623 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35625 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35626 cat >>confdefs.h <<\_ACEOF
35627 #define HAVE_UNIX98_PRINTF 1
35634 if test "$ac_cv_func_vsscanf" = "yes"; then
35635 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35636 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35637 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35638 echo $ECHO_N "(cached) $ECHO_C" >&6
35641 cat >conftest.$ac_ext <<_ACEOF
35644 cat confdefs.h >>conftest.$ac_ext
35645 cat >>conftest.$ac_ext <<_ACEOF
35646 /* end confdefs.h. */
35649 #include <stdarg.h>
35651 #if __MSL__ >= 0x6000
35653 using namespace std;
35663 vsscanf(buf, "%s", args);
35669 rm -f conftest.$ac_objext
35670 if { (ac_try="$ac_compile"
35671 case "(($ac_try" in
35672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35673 *) ac_try_echo
=$ac_try;;
35675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35676 (eval "$ac_compile") 2>conftest.er1
35678 grep -v '^ *+' conftest.er1
>conftest.err
35680 cat conftest.err
>&5
35681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35682 (exit $ac_status); } && {
35683 test -z "$ac_cxx_werror_flag" ||
35684 test ! -s conftest.err
35685 } && test -s conftest.
$ac_objext; then
35686 wx_cv_func_vsscanf_decl
=yes
35688 echo "$as_me: failed program was:" >&5
35689 sed 's/^/| /' conftest.
$ac_ext >&5
35691 wx_cv_func_vsscanf_decl
=no
35695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35699 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35700 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35702 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35703 cat >>confdefs.h
<<\_ACEOF
35704 #define HAVE_VSSCANF_DECL 1
35710 ac_cpp
='$CPP $CPPFLAGS'
35711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35716 if test "$wxUSE_UNICODE" = yes; then
35718 wchar_headers
="#include <stdio.h>
35719 #include <wchar.h>"
35723 for ac_header
in widec.h
35725 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35726 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35728 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35729 echo $ECHO_N "(cached) $ECHO_C" >&6
35731 cat >conftest.
$ac_ext <<_ACEOF
35734 cat confdefs.h
>>conftest.
$ac_ext
35735 cat >>conftest.
$ac_ext <<_ACEOF
35736 /* end confdefs.h. */
35737 $ac_includes_default
35739 #include <$ac_header>
35741 rm -f conftest.
$ac_objext
35742 if { (ac_try
="$ac_compile"
35743 case "(($ac_try" in
35744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35745 *) ac_try_echo=$ac_try;;
35747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35748 (eval "$ac_compile") 2>conftest.er1
35750 grep -v '^ *+' conftest.er1 >conftest.err
35752 cat conftest.err >&5
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); } && {
35755 test -z "$ac_c_werror_flag" ||
35756 test ! -s conftest.err
35757 } && test -s conftest.$ac_objext; then
35758 eval "$as_ac_Header=yes"
35760 echo "$as_me: failed program was:" >&5
35761 sed 's/^/| /' conftest.$ac_ext >&5
35763 eval "$as_ac_Header=no"
35766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35768 ac_res=`eval echo '${'$as_ac_Header'}'`
35769 { echo "$as_me:$LINENO: result: $ac_res" >&5
35770 echo "${ECHO_T}$ac_res" >&6; }
35771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35772 cat >>confdefs.h <<_ACEOF
35773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35780 if test "$ac_cv_header_widec_h" = "yes"; then
35781 wchar_headers="$wchar_headers
35782 #include <widec.h>"
35787 for wx_func in putws fputws wprintf vswprintf vswscanf
35789 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35790 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35791 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35792 echo $ECHO_N "(cached) $ECHO_C" >&6
35795 cat >conftest.$ac_ext <<_ACEOF
35799 cat confdefs.h >>conftest.$ac_ext
35800 cat >>conftest.$ac_ext <<_ACEOF
35801 /* end confdefs.h. */
35804 $ac_includes_default
35820 rm -f conftest.$ac_objext conftest$ac_exeext
35821 if { (ac_try="$ac_link"
35822 case "(($ac_try" in
35823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35824 *) ac_try_echo
=$ac_try;;
35826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35827 (eval "$ac_link") 2>conftest.er1
35829 grep -v '^ *+' conftest.er1
>conftest.err
35831 cat conftest.err
>&5
35832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35833 (exit $ac_status); } && {
35834 test -z "$ac_c_werror_flag" ||
35835 test ! -s conftest.err
35836 } && test -s conftest
$ac_exeext &&
35837 $as_test_x conftest
$ac_exeext; then
35838 eval wx_cv_func_
$wx_func=yes
35840 echo "$as_me: failed program was:" >&5
35841 sed 's/^/| /' conftest.
$ac_ext >&5
35843 eval wx_cv_func_
$wx_func=no
35846 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35847 conftest
$ac_exeext conftest.
$ac_ext
35850 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35851 { echo "$as_me:$LINENO: result: $ac_res" >&5
35852 echo "${ECHO_T}$ac_res" >&6; }
35854 if eval test \
$wx_cv_func_$wx_func = yes
35856 cat >>confdefs.h
<<_ACEOF
35857 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35868 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35869 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35870 cat >conftest.
$ac_ext <<_ACEOF
35873 cat confdefs.h
>>conftest.
$ac_ext
35874 cat >>conftest.
$ac_ext <<_ACEOF
35875 /* end confdefs.h. */
35885 rm -f conftest.
$ac_objext
35886 if { (ac_try
="$ac_compile"
35887 case "(($ac_try" in
35888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35889 *) ac_try_echo=$ac_try;;
35891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35892 (eval "$ac_compile") 2>conftest.er1
35894 grep -v '^ *+' conftest.er1 >conftest.err
35896 cat conftest.err >&5
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); } && {
35899 test -z "$ac_c_werror_flag" ||
35900 test ! -s conftest.err
35901 } && test -s conftest.$ac_objext; then
35902 { echo "$as_me:$LINENO: result: yes" >&5
35903 echo "${ECHO_T}yes" >&6; }
35904 cat >>confdefs.h <<\_ACEOF
35905 #define HAVE__VSNWPRINTF 1
35909 echo "$as_me: failed program was:" >&5
35910 sed 's/^/| /' conftest.$ac_ext >&5
35912 { echo "$as_me:$LINENO: result: no" >&5
35913 echo "${ECHO_T}no" >&6; }
35916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35919 if test "$wxUSE_FILE" = "yes"; then
35921 for wx_func in fsync
35923 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35924 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35925 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35926 echo $ECHO_N "(cached) $ECHO_C" >&6
35929 cat >conftest.$ac_ext <<_ACEOF
35933 cat confdefs.h >>conftest.$ac_ext
35934 cat >>conftest.$ac_ext <<_ACEOF
35935 /* end confdefs.h. */
35938 $ac_includes_default
35954 rm -f conftest.$ac_objext conftest$ac_exeext
35955 if { (ac_try="$ac_link"
35956 case "(($ac_try" in
35957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35958 *) ac_try_echo
=$ac_try;;
35960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35961 (eval "$ac_link") 2>conftest.er1
35963 grep -v '^ *+' conftest.er1
>conftest.err
35965 cat conftest.err
>&5
35966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35967 (exit $ac_status); } && {
35968 test -z "$ac_c_werror_flag" ||
35969 test ! -s conftest.err
35970 } && test -s conftest
$ac_exeext &&
35971 $as_test_x conftest
$ac_exeext; then
35972 eval wx_cv_func_
$wx_func=yes
35974 echo "$as_me: failed program was:" >&5
35975 sed 's/^/| /' conftest.
$ac_ext >&5
35977 eval wx_cv_func_
$wx_func=no
35980 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35981 conftest
$ac_exeext conftest.
$ac_ext
35984 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35985 { echo "$as_me:$LINENO: result: $ac_res" >&5
35986 echo "${ECHO_T}$ac_res" >&6; }
35988 if eval test \
$wx_cv_func_$wx_func = yes
35990 cat >>confdefs.h
<<_ACEOF
35991 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36004 ac_cpp
='$CXXCPP $CPPFLAGS'
36005 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36006 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36007 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36010 for wx_func
in round
36012 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36013 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36014 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36015 echo $ECHO_N "(cached) $ECHO_C" >&6
36018 cat >conftest.
$ac_ext <<_ACEOF
36022 cat confdefs.h
>>conftest.
$ac_ext
36023 cat >>conftest.
$ac_ext <<_ACEOF
36024 /* end confdefs.h. */
36027 $ac_includes_default
36043 rm -f conftest.
$ac_objext conftest
$ac_exeext
36044 if { (ac_try
="$ac_link"
36045 case "(($ac_try" in
36046 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36047 *) ac_try_echo=$ac_try;;
36049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36050 (eval "$ac_link") 2>conftest.er1
36052 grep -v '^ *+' conftest.er1 >conftest.err
36054 cat conftest.err >&5
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); } && {
36057 test -z "$ac_cxx_werror_flag" ||
36058 test ! -s conftest.err
36059 } && test -s conftest$ac_exeext &&
36060 $as_test_x conftest$ac_exeext; then
36061 eval wx_cv_func_$wx_func=yes
36063 echo "$as_me: failed program was:" >&5
36064 sed 's/^/| /' conftest.$ac_ext >&5
36066 eval wx_cv_func_$wx_func=no
36069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36070 conftest$ac_exeext conftest.$ac_ext
36073 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36074 { echo "$as_me:$LINENO: result: $ac_res" >&5
36075 echo "${ECHO_T}$ac_res" >&6; }
36077 if eval test \$wx_cv_func_$wx_func = yes
36079 cat >>confdefs.h <<_ACEOF
36080 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36091 ac_cpp='$CPP $CPPFLAGS'
36092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36097 if test "$TOOLKIT" != "MSW"; then
36099 if test "$wxUSE_LIBICONV" != "no" ; then
36103 # Check whether --with-libiconv-prefix was given.
36104 if test "${with_libiconv_prefix+set}" = set; then
36105 withval=$with_libiconv_prefix;
36106 for dir in `echo "$withval" | tr : ' '`; do
36107 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36108 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36114 { echo "$as_me:$LINENO: checking for iconv" >&5
36115 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36116 if test "${am_cv_func_iconv+set}" = set; then
36117 echo $ECHO_N "(cached) $ECHO_C" >&6
36120 am_cv_func_iconv="no, consider installing GNU libiconv"
36122 cat >conftest.$ac_ext <<_ACEOF
36125 cat confdefs.h >>conftest.$ac_ext
36126 cat >>conftest.$ac_ext <<_ACEOF
36127 /* end confdefs.h. */
36128 #include <stdlib.h>
36133 iconv_t cd = iconv_open("","");
36134 iconv(cd,NULL,NULL,NULL,NULL);
36140 rm -f conftest.$ac_objext conftest$ac_exeext
36141 if { (ac_try="$ac_link"
36142 case "(($ac_try" in
36143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36144 *) ac_try_echo
=$ac_try;;
36146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36147 (eval "$ac_link") 2>conftest.er1
36149 grep -v '^ *+' conftest.er1
>conftest.err
36151 cat conftest.err
>&5
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); } && {
36154 test -z "$ac_c_werror_flag" ||
36155 test ! -s conftest.err
36156 } && test -s conftest
$ac_exeext &&
36157 $as_test_x conftest
$ac_exeext; then
36158 am_cv_func_iconv
=yes
36160 echo "$as_me: failed program was:" >&5
36161 sed 's/^/| /' conftest.
$ac_ext >&5
36166 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36167 conftest
$ac_exeext conftest.
$ac_ext
36168 if test "$am_cv_func_iconv" != yes; then
36169 am_save_LIBS
="$LIBS"
36170 LIBS
="$LIBS -liconv"
36171 cat >conftest.
$ac_ext <<_ACEOF
36174 cat confdefs.h
>>conftest.
$ac_ext
36175 cat >>conftest.
$ac_ext <<_ACEOF
36176 /* end confdefs.h. */
36177 #include <stdlib.h>
36182 iconv_t cd = iconv_open("","");
36183 iconv(cd,NULL,NULL,NULL,NULL);
36189 rm -f conftest.
$ac_objext conftest
$ac_exeext
36190 if { (ac_try
="$ac_link"
36191 case "(($ac_try" in
36192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36193 *) ac_try_echo=$ac_try;;
36195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36196 (eval "$ac_link") 2>conftest.er1
36198 grep -v '^ *+' conftest.er1 >conftest.err
36200 cat conftest.err >&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); } && {
36203 test -z "$ac_c_werror_flag" ||
36204 test ! -s conftest.err
36205 } && test -s conftest$ac_exeext &&
36206 $as_test_x conftest$ac_exeext; then
36207 am_cv_lib_iconv=yes
36208 am_cv_func_iconv=yes
36210 echo "$as_me: failed program was:" >&5
36211 sed 's/^/| /' conftest.$ac_ext >&5
36216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36217 conftest$ac_exeext conftest.$ac_ext
36218 LIBS="$am_save_LIBS"
36222 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36223 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36224 if test "$am_cv_func_iconv" = yes; then
36226 cat >>confdefs.h <<\_ACEOF
36227 #define HAVE_ICONV 1
36230 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36231 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36232 if test "${wx_cv_func_iconv_const+set}" = set; then
36233 echo $ECHO_N "(cached) $ECHO_C" >&6
36235 cat >conftest.$ac_ext <<_ACEOF
36238 cat confdefs.h >>conftest.$ac_ext
36239 cat >>conftest.$ac_ext <<_ACEOF
36240 /* end confdefs.h. */
36242 #include <stdlib.h>
36248 #if defined(__STDC__) || defined(__cplusplus)
36249 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36262 rm -f conftest.$ac_objext
36263 if { (ac_try="$ac_compile"
36264 case "(($ac_try" in
36265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36266 *) ac_try_echo
=$ac_try;;
36268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36269 (eval "$ac_compile") 2>conftest.er1
36271 grep -v '^ *+' conftest.er1
>conftest.err
36273 cat conftest.err
>&5
36274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275 (exit $ac_status); } && {
36276 test -z "$ac_c_werror_flag" ||
36277 test ! -s conftest.err
36278 } && test -s conftest.
$ac_objext; then
36279 wx_cv_func_iconv_const
="no"
36281 echo "$as_me: failed program was:" >&5
36282 sed 's/^/| /' conftest.
$ac_ext >&5
36284 wx_cv_func_iconv_const
="yes"
36288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36291 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36292 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36295 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36296 iconv_const
="const"
36300 cat >>confdefs.h
<<_ACEOF
36301 #define ICONV_CONST $iconv_const
36306 if test "$am_cv_lib_iconv" = yes; then
36311 LIBS
="$LIBICONV $LIBS"
36314 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36316 for ac_func
in sigaction
36318 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36319 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36321 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36322 echo $ECHO_N "(cached) $ECHO_C" >&6
36324 cat >conftest.
$ac_ext <<_ACEOF
36327 cat confdefs.h
>>conftest.
$ac_ext
36328 cat >>conftest.
$ac_ext <<_ACEOF
36329 /* end confdefs.h. */
36330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36332 #define $ac_func innocuous_$ac_func
36334 /* System header to define __stub macros and hopefully few prototypes,
36335 which can conflict with char $ac_func (); below.
36336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36337 <limits.h> exists even on freestanding compilers. */
36340 # include <limits.h>
36342 # include <assert.h>
36347 /* Override any GCC internal prototype to avoid an error.
36348 Use char because int might match the return type of a GCC
36349 builtin and then its argument prototype would still apply. */
36354 /* The GNU C library defines this for functions which it implements
36355 to always fail with ENOSYS. Some functions are actually named
36356 something starting with __ and the normal name is an alias. */
36357 #if defined __stub_$ac_func || defined __stub___$ac_func
36364 return $ac_func ();
36369 rm -f conftest.
$ac_objext conftest
$ac_exeext
36370 if { (ac_try
="$ac_link"
36371 case "(($ac_try" in
36372 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36373 *) ac_try_echo=$ac_try;;
36375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36376 (eval "$ac_link") 2>conftest.er1
36378 grep -v '^ *+' conftest.er1 >conftest.err
36380 cat conftest.err >&5
36381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36382 (exit $ac_status); } && {
36383 test -z "$ac_c_werror_flag" ||
36384 test ! -s conftest.err
36385 } && test -s conftest$ac_exeext &&
36386 $as_test_x conftest$ac_exeext; then
36387 eval "$as_ac_var=yes"
36389 echo "$as_me: failed program was:" >&5
36390 sed 's/^/| /' conftest.$ac_ext >&5
36392 eval "$as_ac_var=no"
36395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36396 conftest$ac_exeext conftest.$ac_ext
36398 ac_res=`eval echo '${'$as_ac_var'}'`
36399 { echo "$as_me:$LINENO: result: $ac_res" >&5
36400 echo "${ECHO_T}$ac_res" >&6; }
36401 if test `eval echo '${'$as_ac_var'}'` = yes; then
36402 cat >>confdefs.h <<_ACEOF
36403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36410 if test "$ac_cv_func_sigaction" = "no"; then
36411 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36412 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36413 wxUSE_ON_FATAL_EXCEPTION=no
36416 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36417 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36418 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36419 if test "${wx_cv_type_sa_handler+set}" = set; then
36420 echo $ECHO_N "(cached) $ECHO_C" >&6
36424 ac_cpp='$CXXCPP $CPPFLAGS'
36425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36429 cat >conftest.$ac_ext <<_ACEOF
36432 cat confdefs.h >>conftest.$ac_ext
36433 cat >>conftest.$ac_ext <<_ACEOF
36434 /* end confdefs.h. */
36435 #include <signal.h>
36440 extern void testSigHandler(int);
36442 struct sigaction sa;
36443 sa.sa_handler = testSigHandler;
36449 rm -f conftest.$ac_objext
36450 if { (ac_try="$ac_compile"
36451 case "(($ac_try" in
36452 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36453 *) ac_try_echo
=$ac_try;;
36455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36456 (eval "$ac_compile") 2>conftest.er1
36458 grep -v '^ *+' conftest.er1
>conftest.err
36460 cat conftest.err
>&5
36461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36462 (exit $ac_status); } && {
36463 test -z "$ac_cxx_werror_flag" ||
36464 test ! -s conftest.err
36465 } && test -s conftest.
$ac_objext; then
36467 wx_cv_type_sa_handler
=int
36470 echo "$as_me: failed program was:" >&5
36471 sed 's/^/| /' conftest.
$ac_ext >&5
36474 wx_cv_type_sa_handler
=void
36478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36480 ac_cpp
='$CPP $CPPFLAGS'
36481 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36482 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36483 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36487 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36488 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36490 cat >>confdefs.h
<<_ACEOF
36491 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36497 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36498 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36499 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36500 if test "${wx_cv_func_backtrace+set}" = set; then
36501 echo $ECHO_N "(cached) $ECHO_C" >&6
36505 ac_cpp
='$CXXCPP $CPPFLAGS'
36506 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36507 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36508 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36510 cat >conftest.
$ac_ext <<_ACEOF
36513 cat confdefs.h
>>conftest.
$ac_ext
36514 cat >>conftest.
$ac_ext <<_ACEOF
36515 /* end confdefs.h. */
36516 #include <execinfo.h>
36524 backtrace(trace, 1);
36525 messages = backtrace_symbols(trace, 1);
36531 rm -f conftest.
$ac_objext
36532 if { (ac_try
="$ac_compile"
36533 case "(($ac_try" in
36534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36535 *) ac_try_echo=$ac_try;;
36537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36538 (eval "$ac_compile") 2>conftest.er1
36540 grep -v '^ *+' conftest.er1 >conftest.err
36542 cat conftest.err >&5
36543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36544 (exit $ac_status); } && {
36545 test -z "$ac_cxx_werror_flag" ||
36546 test ! -s conftest.err
36547 } && test -s conftest.$ac_objext; then
36548 wx_cv_func_backtrace=yes
36550 echo "$as_me: failed program was:" >&5
36551 sed 's/^/| /' conftest.$ac_ext >&5
36553 wx_cv_func_backtrace=no
36557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36559 ac_cpp='$CPP $CPPFLAGS'
36560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36567 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36568 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36571 if test "$wx_cv_func_backtrace" = "no"; then
36572 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36573 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36574 wxUSE_STACKWALKER=no
36576 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36577 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36578 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36579 echo $ECHO_N "(cached) $ECHO_C" >&6
36583 ac_cpp='$CXXCPP $CPPFLAGS'
36584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36588 cat >conftest.$ac_ext <<_ACEOF
36591 cat confdefs.h >>conftest.$ac_ext
36592 cat >>conftest.$ac_ext <<_ACEOF
36593 /* end confdefs.h. */
36594 #include <cxxabi.h>
36600 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36606 rm -f conftest.$ac_objext conftest$ac_exeext
36607 if { (ac_try="$ac_link"
36608 case "(($ac_try" in
36609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36610 *) ac_try_echo
=$ac_try;;
36612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36613 (eval "$ac_link") 2>conftest.er1
36615 grep -v '^ *+' conftest.er1
>conftest.err
36617 cat conftest.err
>&5
36618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36619 (exit $ac_status); } && {
36620 test -z "$ac_cxx_werror_flag" ||
36621 test ! -s conftest.err
36622 } && test -s conftest
$ac_exeext &&
36623 $as_test_x conftest
$ac_exeext; then
36624 wx_cv_func_cxa_demangle
=yes
36626 echo "$as_me: failed program was:" >&5
36627 sed 's/^/| /' conftest.
$ac_ext >&5
36629 wx_cv_func_cxa_demangle
=no
36633 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36634 conftest
$ac_exeext conftest.
$ac_ext
36636 ac_cpp
='$CPP $CPPFLAGS'
36637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36644 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36645 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36647 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36648 cat >>confdefs.h
<<\_ACEOF
36649 #define HAVE_CXA_DEMANGLE 1
36656 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36657 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36658 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36659 wxUSE_STACKWALKER
=no
36665 for ac_func
in mkstemp mktemp
36667 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36668 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36670 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36671 echo $ECHO_N "(cached) $ECHO_C" >&6
36673 cat >conftest.
$ac_ext <<_ACEOF
36676 cat confdefs.h
>>conftest.
$ac_ext
36677 cat >>conftest.
$ac_ext <<_ACEOF
36678 /* end confdefs.h. */
36679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36681 #define $ac_func innocuous_$ac_func
36683 /* System header to define __stub macros and hopefully few prototypes,
36684 which can conflict with char $ac_func (); below.
36685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36686 <limits.h> exists even on freestanding compilers. */
36689 # include <limits.h>
36691 # include <assert.h>
36696 /* Override any GCC internal prototype to avoid an error.
36697 Use char because int might match the return type of a GCC
36698 builtin and then its argument prototype would still apply. */
36703 /* The GNU C library defines this for functions which it implements
36704 to always fail with ENOSYS. Some functions are actually named
36705 something starting with __ and the normal name is an alias. */
36706 #if defined __stub_$ac_func || defined __stub___$ac_func
36713 return $ac_func ();
36718 rm -f conftest.
$ac_objext conftest
$ac_exeext
36719 if { (ac_try
="$ac_link"
36720 case "(($ac_try" in
36721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36722 *) ac_try_echo=$ac_try;;
36724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36725 (eval "$ac_link") 2>conftest.er1
36727 grep -v '^ *+' conftest.er1 >conftest.err
36729 cat conftest.err >&5
36730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36731 (exit $ac_status); } && {
36732 test -z "$ac_c_werror_flag" ||
36733 test ! -s conftest.err
36734 } && test -s conftest$ac_exeext &&
36735 $as_test_x conftest$ac_exeext; then
36736 eval "$as_ac_var=yes"
36738 echo "$as_me: failed program was:" >&5
36739 sed 's/^/| /' conftest.$ac_ext >&5
36741 eval "$as_ac_var=no"
36744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36745 conftest$ac_exeext conftest.$ac_ext
36747 ac_res=`eval echo '${'$as_ac_var'}'`
36748 { echo "$as_me:$LINENO: result: $ac_res" >&5
36749 echo "${ECHO_T}$ac_res" >&6; }
36750 if test `eval echo '${'$as_ac_var'}'` = yes; then
36751 cat >>confdefs.h <<_ACEOF
36752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36759 { echo "$as_me:$LINENO: checking for statfs" >&5
36760 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36761 if test "${wx_cv_func_statfs+set}" = set; then
36762 echo $ECHO_N "(cached) $ECHO_C" >&6
36764 cat >conftest.$ac_ext <<_ACEOF
36767 cat confdefs.h >>conftest.$ac_ext
36768 cat >>conftest.$ac_ext <<_ACEOF
36769 /* end confdefs.h. */
36771 #if defined(__BSD__)
36772 #include <sys/param.h>
36773 #include <sys/mount.h>
36775 #include <sys/vfs.h>
36793 rm -f conftest.$ac_objext
36794 if { (ac_try="$ac_compile"
36795 case "(($ac_try" in
36796 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36797 *) ac_try_echo
=$ac_try;;
36799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36800 (eval "$ac_compile") 2>conftest.er1
36802 grep -v '^ *+' conftest.er1
>conftest.err
36804 cat conftest.err
>&5
36805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36806 (exit $ac_status); } && {
36807 test -z "$ac_c_werror_flag" ||
36808 test ! -s conftest.err
36809 } && test -s conftest.
$ac_objext; then
36810 wx_cv_func_statfs
=yes
36812 echo "$as_me: failed program was:" >&5
36813 sed 's/^/| /' conftest.
$ac_ext >&5
36815 wx_cv_func_statfs
=no
36819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36822 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36823 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36825 if test "$wx_cv_func_statfs" = "yes"; then
36826 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36827 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36828 if test "${wx_cv_func_statfs_decl+set}" = set; then
36829 echo $ECHO_N "(cached) $ECHO_C" >&6
36832 ac_cpp
='$CXXCPP $CPPFLAGS'
36833 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36834 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36835 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36837 cat >conftest.
$ac_ext <<_ACEOF
36840 cat confdefs.h
>>conftest.
$ac_ext
36841 cat >>conftest.
$ac_ext <<_ACEOF
36842 /* end confdefs.h. */
36844 #if defined(__BSD__)
36845 #include <sys/param.h>
36846 #include <sys/mount.h>
36848 #include <sys/vfs.h>
36862 rm -f conftest.
$ac_objext
36863 if { (ac_try
="$ac_compile"
36864 case "(($ac_try" in
36865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36866 *) ac_try_echo=$ac_try;;
36868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36869 (eval "$ac_compile") 2>conftest.er1
36871 grep -v '^ *+' conftest.er1 >conftest.err
36873 cat conftest.err >&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); } && {
36876 test -z "$ac_cxx_werror_flag" ||
36877 test ! -s conftest.err
36878 } && test -s conftest.$ac_objext; then
36879 wx_cv_func_statfs_decl=yes
36881 echo "$as_me: failed program was:" >&5
36882 sed 's/^/| /' conftest.$ac_ext >&5
36884 wx_cv_func_statfs_decl=no
36888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36890 ac_cpp='$CPP $CPPFLAGS'
36891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36897 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36898 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36900 if test "$wx_cv_func_statfs_decl" = "yes"; then
36901 cat >>confdefs.h <<\_ACEOF
36902 #define HAVE_STATFS_DECL 1
36907 wx_cv_type_statvfs_t="struct statfs"
36908 cat >>confdefs.h <<\_ACEOF
36909 #define HAVE_STATFS 1
36913 { echo "$as_me:$LINENO: checking for statvfs" >&5
36914 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36915 if test "${wx_cv_func_statvfs+set}" = set; then
36916 echo $ECHO_N "(cached) $ECHO_C" >&6
36918 cat >conftest.$ac_ext <<_ACEOF
36921 cat confdefs.h >>conftest.$ac_ext
36922 cat >>conftest.$ac_ext <<_ACEOF
36923 /* end confdefs.h. */
36925 #include <stddef.h>
36926 #include <sys/statvfs.h>
36932 statvfs("/", NULL);
36938 rm -f conftest.$ac_objext
36939 if { (ac_try="$ac_compile"
36940 case "(($ac_try" in
36941 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36942 *) ac_try_echo
=$ac_try;;
36944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36945 (eval "$ac_compile") 2>conftest.er1
36947 grep -v '^ *+' conftest.er1
>conftest.err
36949 cat conftest.err
>&5
36950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36951 (exit $ac_status); } && {
36952 test -z "$ac_c_werror_flag" ||
36953 test ! -s conftest.err
36954 } && test -s conftest.
$ac_objext; then
36955 wx_cv_func_statvfs
=yes
36957 echo "$as_me: failed program was:" >&5
36958 sed 's/^/| /' conftest.
$ac_ext >&5
36960 wx_cv_func_statvfs
=no
36964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36967 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36968 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36970 if test "$wx_cv_func_statvfs" = "yes"; then
36971 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36972 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36973 if test "${wx_cv_type_statvfs_t+set}" = set; then
36974 echo $ECHO_N "(cached) $ECHO_C" >&6
36977 ac_cpp
='$CXXCPP $CPPFLAGS'
36978 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36979 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36980 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36982 cat >conftest.
$ac_ext <<_ACEOF
36985 cat confdefs.h
>>conftest.
$ac_ext
36986 cat >>conftest.
$ac_ext <<_ACEOF
36987 /* end confdefs.h. */
36989 #include <sys/statvfs.h>
37006 rm -f conftest.
$ac_objext
37007 if { (ac_try
="$ac_compile"
37008 case "(($ac_try" in
37009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37010 *) ac_try_echo=$ac_try;;
37012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37013 (eval "$ac_compile") 2>conftest.er1
37015 grep -v '^ *+' conftest.er1 >conftest.err
37017 cat conftest.err >&5
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); } && {
37020 test -z "$ac_cxx_werror_flag" ||
37021 test ! -s conftest.err
37022 } && test -s conftest.$ac_objext; then
37023 wx_cv_type_statvfs_t=statvfs_t
37025 echo "$as_me: failed program was:" >&5
37026 sed 's/^/| /' conftest.$ac_ext >&5
37029 cat >conftest.$ac_ext <<_ACEOF
37032 cat confdefs.h >>conftest.$ac_ext
37033 cat >>conftest.$ac_ext <<_ACEOF
37034 /* end confdefs.h. */
37036 #include <sys/statvfs.h>
37053 rm -f conftest.$ac_objext
37054 if { (ac_try="$ac_compile"
37055 case "(($ac_try" in
37056 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37057 *) ac_try_echo
=$ac_try;;
37059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37060 (eval "$ac_compile") 2>conftest.er1
37062 grep -v '^ *+' conftest.er1
>conftest.err
37064 cat conftest.err
>&5
37065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37066 (exit $ac_status); } && {
37067 test -z "$ac_cxx_werror_flag" ||
37068 test ! -s conftest.err
37069 } && test -s conftest.
$ac_objext; then
37070 wx_cv_type_statvfs_t
="struct statvfs"
37072 echo "$as_me: failed program was:" >&5
37073 sed 's/^/| /' conftest.
$ac_ext >&5
37075 wx_cv_type_statvfs_t
="unknown"
37079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37086 ac_cpp
='$CPP $CPPFLAGS'
37087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37093 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37094 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37096 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37097 cat >>confdefs.h
<<\_ACEOF
37098 #define HAVE_STATVFS 1
37103 wx_cv_type_statvfs_t
="unknown"
37107 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37108 cat >>confdefs.h
<<_ACEOF
37109 #define WX_STATFS_T $wx_cv_type_statvfs_t
37113 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37114 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37117 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37120 for ac_func
in fcntl flock
37122 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37123 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37125 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37126 echo $ECHO_N "(cached) $ECHO_C" >&6
37128 cat >conftest.
$ac_ext <<_ACEOF
37131 cat confdefs.h
>>conftest.
$ac_ext
37132 cat >>conftest.
$ac_ext <<_ACEOF
37133 /* end confdefs.h. */
37134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37136 #define $ac_func innocuous_$ac_func
37138 /* System header to define __stub macros and hopefully few prototypes,
37139 which can conflict with char $ac_func (); below.
37140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37141 <limits.h> exists even on freestanding compilers. */
37144 # include <limits.h>
37146 # include <assert.h>
37151 /* Override any GCC internal prototype to avoid an error.
37152 Use char because int might match the return type of a GCC
37153 builtin and then its argument prototype would still apply. */
37158 /* The GNU C library defines this for functions which it implements
37159 to always fail with ENOSYS. Some functions are actually named
37160 something starting with __ and the normal name is an alias. */
37161 #if defined __stub_$ac_func || defined __stub___$ac_func
37168 return $ac_func ();
37173 rm -f conftest.
$ac_objext conftest
$ac_exeext
37174 if { (ac_try
="$ac_link"
37175 case "(($ac_try" in
37176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37177 *) ac_try_echo=$ac_try;;
37179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37180 (eval "$ac_link") 2>conftest.er1
37182 grep -v '^ *+' conftest.er1 >conftest.err
37184 cat conftest.err >&5
37185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37186 (exit $ac_status); } && {
37187 test -z "$ac_c_werror_flag" ||
37188 test ! -s conftest.err
37189 } && test -s conftest$ac_exeext &&
37190 $as_test_x conftest$ac_exeext; then
37191 eval "$as_ac_var=yes"
37193 echo "$as_me: failed program was:" >&5
37194 sed 's/^/| /' conftest.$ac_ext >&5
37196 eval "$as_ac_var=no"
37199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37200 conftest$ac_exeext conftest.$ac_ext
37202 ac_res=`eval echo '${'$as_ac_var'}'`
37203 { echo "$as_me:$LINENO: result: $ac_res" >&5
37204 echo "${ECHO_T}$ac_res" >&6; }
37205 if test `eval echo '${'$as_ac_var'}'` = yes; then
37206 cat >>confdefs.h <<_ACEOF
37207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37214 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37215 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37216 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37217 wxUSE_SNGLINST_CHECKER=no
37223 for ac_func in setenv putenv
37225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37226 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37228 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37229 echo $ECHO_N "(cached) $ECHO_C" >&6
37231 cat >conftest.$ac_ext <<_ACEOF
37234 cat confdefs.h >>conftest.$ac_ext
37235 cat >>conftest.$ac_ext <<_ACEOF
37236 /* end confdefs.h. */
37237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37239 #define $ac_func innocuous_$ac_func
37241 /* System header to define __stub macros and hopefully few prototypes,
37242 which can conflict with char $ac_func (); below.
37243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37244 <limits.h> exists even on freestanding compilers. */
37247 # include <limits.h>
37249 # include <assert.h>
37254 /* Override any GCC internal prototype to avoid an error.
37255 Use char because int might match the return type of a GCC
37256 builtin and then its argument prototype would still apply. */
37261 /* The GNU C library defines this for functions which it implements
37262 to always fail with ENOSYS. Some functions are actually named
37263 something starting with __ and the normal name is an alias. */
37264 #if defined __stub_$ac_func || defined __stub___$ac_func
37271 return $ac_func ();
37276 rm -f conftest.$ac_objext conftest$ac_exeext
37277 if { (ac_try="$ac_link"
37278 case "(($ac_try" in
37279 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37280 *) ac_try_echo
=$ac_try;;
37282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37283 (eval "$ac_link") 2>conftest.er1
37285 grep -v '^ *+' conftest.er1
>conftest.err
37287 cat conftest.err
>&5
37288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37289 (exit $ac_status); } && {
37290 test -z "$ac_c_werror_flag" ||
37291 test ! -s conftest.err
37292 } && test -s conftest
$ac_exeext &&
37293 $as_test_x conftest
$ac_exeext; then
37294 eval "$as_ac_var=yes"
37296 echo "$as_me: failed program was:" >&5
37297 sed 's/^/| /' conftest.
$ac_ext >&5
37299 eval "$as_ac_var=no"
37302 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37303 conftest
$ac_exeext conftest.
$ac_ext
37305 ac_res
=`eval echo '${'$as_ac_var'}'`
37306 { echo "$as_me:$LINENO: result: $ac_res" >&5
37307 echo "${ECHO_T}$ac_res" >&6; }
37308 if test `eval echo '${'$as_ac_var'}'` = yes; then
37309 cat >>confdefs.h
<<_ACEOF
37310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37316 if test "$ac_cv_func_setenv" = "yes"; then
37318 for ac_func
in unsetenv
37320 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37321 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37323 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37324 echo $ECHO_N "(cached) $ECHO_C" >&6
37326 cat >conftest.
$ac_ext <<_ACEOF
37329 cat confdefs.h
>>conftest.
$ac_ext
37330 cat >>conftest.
$ac_ext <<_ACEOF
37331 /* end confdefs.h. */
37332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37334 #define $ac_func innocuous_$ac_func
37336 /* System header to define __stub macros and hopefully few prototypes,
37337 which can conflict with char $ac_func (); below.
37338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37339 <limits.h> exists even on freestanding compilers. */
37342 # include <limits.h>
37344 # include <assert.h>
37349 /* Override any GCC internal prototype to avoid an error.
37350 Use char because int might match the return type of a GCC
37351 builtin and then its argument prototype would still apply. */
37356 /* The GNU C library defines this for functions which it implements
37357 to always fail with ENOSYS. Some functions are actually named
37358 something starting with __ and the normal name is an alias. */
37359 #if defined __stub_$ac_func || defined __stub___$ac_func
37366 return $ac_func ();
37371 rm -f conftest.
$ac_objext conftest
$ac_exeext
37372 if { (ac_try
="$ac_link"
37373 case "(($ac_try" in
37374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37375 *) ac_try_echo=$ac_try;;
37377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37378 (eval "$ac_link") 2>conftest.er1
37380 grep -v '^ *+' conftest.er1 >conftest.err
37382 cat conftest.err >&5
37383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37384 (exit $ac_status); } && {
37385 test -z "$ac_c_werror_flag" ||
37386 test ! -s conftest.err
37387 } && test -s conftest$ac_exeext &&
37388 $as_test_x conftest$ac_exeext; then
37389 eval "$as_ac_var=yes"
37391 echo "$as_me: failed program was:" >&5
37392 sed 's/^/| /' conftest.$ac_ext >&5
37394 eval "$as_ac_var=no"
37397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37398 conftest$ac_exeext conftest.$ac_ext
37400 ac_res=`eval echo '${'$as_ac_var'}'`
37401 { echo "$as_me:$LINENO: result: $ac_res" >&5
37402 echo "${ECHO_T}$ac_res" >&6; }
37403 if test `eval echo '${'$as_ac_var'}'` = yes; then
37404 cat >>confdefs.h <<_ACEOF
37405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37413 HAVE_SOME_SLEEP_FUNC=0
37414 if test "$USE_BEOS" = 1; then
37415 cat >>confdefs.h <<\_ACEOF
37416 #define HAVE_SLEEP 1
37419 HAVE_SOME_SLEEP_FUNC=1
37422 if test "$USE_DARWIN" = 1; then
37423 cat >>confdefs.h <<\_ACEOF
37424 #define HAVE_USLEEP 1
37427 HAVE_SOME_SLEEP_FUNC=1
37430 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37433 for ac_func in nanosleep
37435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37436 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37438 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37439 echo $ECHO_N "(cached) $ECHO_C" >&6
37441 cat >conftest.$ac_ext <<_ACEOF
37444 cat confdefs.h >>conftest.$ac_ext
37445 cat >>conftest.$ac_ext <<_ACEOF
37446 /* end confdefs.h. */
37447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37449 #define $ac_func innocuous_$ac_func
37451 /* System header to define __stub macros and hopefully few prototypes,
37452 which can conflict with char $ac_func (); below.
37453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37454 <limits.h> exists even on freestanding compilers. */
37457 # include <limits.h>
37459 # include <assert.h>
37464 /* Override any GCC internal prototype to avoid an error.
37465 Use char because int might match the return type of a GCC
37466 builtin and then its argument prototype would still apply. */
37471 /* The GNU C library defines this for functions which it implements
37472 to always fail with ENOSYS. Some functions are actually named
37473 something starting with __ and the normal name is an alias. */
37474 #if defined __stub_$ac_func || defined __stub___$ac_func
37481 return $ac_func ();
37486 rm -f conftest.$ac_objext conftest$ac_exeext
37487 if { (ac_try="$ac_link"
37488 case "(($ac_try" in
37489 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37490 *) ac_try_echo
=$ac_try;;
37492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37493 (eval "$ac_link") 2>conftest.er1
37495 grep -v '^ *+' conftest.er1
>conftest.err
37497 cat conftest.err
>&5
37498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37499 (exit $ac_status); } && {
37500 test -z "$ac_c_werror_flag" ||
37501 test ! -s conftest.err
37502 } && test -s conftest
$ac_exeext &&
37503 $as_test_x conftest
$ac_exeext; then
37504 eval "$as_ac_var=yes"
37506 echo "$as_me: failed program was:" >&5
37507 sed 's/^/| /' conftest.
$ac_ext >&5
37509 eval "$as_ac_var=no"
37512 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37513 conftest
$ac_exeext conftest.
$ac_ext
37515 ac_res
=`eval echo '${'$as_ac_var'}'`
37516 { echo "$as_me:$LINENO: result: $ac_res" >&5
37517 echo "${ECHO_T}$ac_res" >&6; }
37518 if test `eval echo '${'$as_ac_var'}'` = yes; then
37519 cat >>confdefs.h
<<_ACEOF
37520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37522 cat >>confdefs.h
<<\_ACEOF
37523 #define HAVE_NANOSLEEP 1
37528 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37529 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37530 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37531 echo $ECHO_N "(cached) $ECHO_C" >&6
37533 ac_check_lib_save_LIBS
=$LIBS
37534 LIBS
="-lposix4 $LIBS"
37535 cat >conftest.
$ac_ext <<_ACEOF
37538 cat confdefs.h
>>conftest.
$ac_ext
37539 cat >>conftest.
$ac_ext <<_ACEOF
37540 /* end confdefs.h. */
37542 /* Override any GCC internal prototype to avoid an error.
37543 Use char because int might match the return type of a GCC
37544 builtin and then its argument prototype would still apply. */
37552 return nanosleep ();
37557 rm -f conftest.
$ac_objext conftest
$ac_exeext
37558 if { (ac_try
="$ac_link"
37559 case "(($ac_try" in
37560 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37561 *) ac_try_echo=$ac_try;;
37563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37564 (eval "$ac_link") 2>conftest.er1
37566 grep -v '^ *+' conftest.er1 >conftest.err
37568 cat conftest.err >&5
37569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37570 (exit $ac_status); } && {
37571 test -z "$ac_c_werror_flag" ||
37572 test ! -s conftest.err
37573 } && test -s conftest$ac_exeext &&
37574 $as_test_x conftest$ac_exeext; then
37575 ac_cv_lib_posix4_nanosleep=yes
37577 echo "$as_me: failed program was:" >&5
37578 sed 's/^/| /' conftest.$ac_ext >&5
37580 ac_cv_lib_posix4_nanosleep=no
37583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37584 conftest$ac_exeext conftest.$ac_ext
37585 LIBS=$ac_check_lib_save_LIBS
37587 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37588 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37589 if test $ac_cv_lib_posix4_nanosleep = yes; then
37591 cat >>confdefs.h <<\_ACEOF
37592 #define HAVE_NANOSLEEP 1
37595 POSIX4_LINK=" -lposix4"
37600 for wx_func in usleep
37602 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37603 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37604 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37605 echo $ECHO_N "(cached) $ECHO_C" >&6
37608 cat >conftest.$ac_ext <<_ACEOF
37612 cat confdefs.h >>conftest.$ac_ext
37613 cat >>conftest.$ac_ext <<_ACEOF
37614 /* end confdefs.h. */
37617 $ac_includes_default
37633 rm -f conftest.$ac_objext conftest$ac_exeext
37634 if { (ac_try="$ac_link"
37635 case "(($ac_try" in
37636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37637 *) ac_try_echo
=$ac_try;;
37639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37640 (eval "$ac_link") 2>conftest.er1
37642 grep -v '^ *+' conftest.er1
>conftest.err
37644 cat conftest.err
>&5
37645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646 (exit $ac_status); } && {
37647 test -z "$ac_c_werror_flag" ||
37648 test ! -s conftest.err
37649 } && test -s conftest
$ac_exeext &&
37650 $as_test_x conftest
$ac_exeext; then
37651 eval wx_cv_func_
$wx_func=yes
37653 echo "$as_me: failed program was:" >&5
37654 sed 's/^/| /' conftest.
$ac_ext >&5
37656 eval wx_cv_func_
$wx_func=no
37659 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37660 conftest
$ac_exeext conftest.
$ac_ext
37663 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37664 { echo "$as_me:$LINENO: result: $ac_res" >&5
37665 echo "${ECHO_T}$ac_res" >&6; }
37667 if eval test \
$wx_cv_func_$wx_func = yes
37669 cat >>confdefs.h
<<_ACEOF
37670 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37676 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37677 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37694 for wx_func
in uname
37696 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37697 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37698 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37699 echo $ECHO_N "(cached) $ECHO_C" >&6
37702 cat >conftest.
$ac_ext <<_ACEOF
37706 cat confdefs.h
>>conftest.
$ac_ext
37707 cat >>conftest.
$ac_ext <<_ACEOF
37708 /* end confdefs.h. */
37710 #include <sys/utsname.h>
37711 $ac_includes_default
37727 rm -f conftest.
$ac_objext conftest
$ac_exeext
37728 if { (ac_try
="$ac_link"
37729 case "(($ac_try" in
37730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37731 *) ac_try_echo=$ac_try;;
37733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37734 (eval "$ac_link") 2>conftest.er1
37736 grep -v '^ *+' conftest.er1 >conftest.err
37738 cat conftest.err >&5
37739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37740 (exit $ac_status); } && {
37741 test -z "$ac_c_werror_flag" ||
37742 test ! -s conftest.err
37743 } && test -s conftest$ac_exeext &&
37744 $as_test_x conftest$ac_exeext; then
37745 eval wx_cv_func_$wx_func=yes
37747 echo "$as_me: failed program was:" >&5
37748 sed 's/^/| /' conftest.$ac_ext >&5
37750 eval wx_cv_func_$wx_func=no
37753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37754 conftest$ac_exeext conftest.$ac_ext
37757 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37758 { echo "$as_me:$LINENO: result: $ac_res" >&5
37759 echo "${ECHO_T}$ac_res" >&6; }
37761 if eval test \$wx_cv_func_$wx_func = yes
37763 cat >>confdefs.h <<_ACEOF
37764 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37774 if test "$wx_cv_func_uname" != yes; then
37776 for wx_func in gethostname
37778 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37779 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37780 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37781 echo $ECHO_N "(cached) $ECHO_C" >&6
37784 cat >conftest.$ac_ext <<_ACEOF
37788 cat confdefs.h >>conftest.$ac_ext
37789 cat >>conftest.$ac_ext <<_ACEOF
37790 /* end confdefs.h. */
37793 $ac_includes_default
37809 rm -f conftest.$ac_objext conftest$ac_exeext
37810 if { (ac_try="$ac_link"
37811 case "(($ac_try" in
37812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37813 *) ac_try_echo
=$ac_try;;
37815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37816 (eval "$ac_link") 2>conftest.er1
37818 grep -v '^ *+' conftest.er1
>conftest.err
37820 cat conftest.err
>&5
37821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37822 (exit $ac_status); } && {
37823 test -z "$ac_c_werror_flag" ||
37824 test ! -s conftest.err
37825 } && test -s conftest
$ac_exeext &&
37826 $as_test_x conftest
$ac_exeext; then
37827 eval wx_cv_func_
$wx_func=yes
37829 echo "$as_me: failed program was:" >&5
37830 sed 's/^/| /' conftest.
$ac_ext >&5
37832 eval wx_cv_func_
$wx_func=no
37835 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37836 conftest
$ac_exeext conftest.
$ac_ext
37839 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37840 { echo "$as_me:$LINENO: result: $ac_res" >&5
37841 echo "${ECHO_T}$ac_res" >&6; }
37843 if eval test \
$wx_cv_func_$wx_func = yes
37845 cat >>confdefs.h
<<_ACEOF
37846 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37859 for wx_func
in strtok_r
37861 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37862 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37863 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37864 echo $ECHO_N "(cached) $ECHO_C" >&6
37867 cat >conftest.
$ac_ext <<_ACEOF
37871 cat confdefs.h
>>conftest.
$ac_ext
37872 cat >>conftest.
$ac_ext <<_ACEOF
37873 /* end confdefs.h. */
37876 $ac_includes_default
37892 rm -f conftest.
$ac_objext conftest
$ac_exeext
37893 if { (ac_try
="$ac_link"
37894 case "(($ac_try" in
37895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37896 *) ac_try_echo=$ac_try;;
37898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37899 (eval "$ac_link") 2>conftest.er1
37901 grep -v '^ *+' conftest.er1 >conftest.err
37903 cat conftest.err >&5
37904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905 (exit $ac_status); } && {
37906 test -z "$ac_c_werror_flag" ||
37907 test ! -s conftest.err
37908 } && test -s conftest$ac_exeext &&
37909 $as_test_x conftest$ac_exeext; then
37910 eval wx_cv_func_$wx_func=yes
37912 echo "$as_me: failed program was:" >&5
37913 sed 's/^/| /' conftest.$ac_ext >&5
37915 eval wx_cv_func_$wx_func=no
37918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37919 conftest$ac_exeext conftest.$ac_ext
37922 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37923 { echo "$as_me:$LINENO: result: $ac_res" >&5
37924 echo "${ECHO_T}$ac_res" >&6; }
37926 if eval test \$wx_cv_func_$wx_func = yes
37928 cat >>confdefs.h <<_ACEOF
37929 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37942 for ac_func in inet_addr
37944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37945 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37947 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37948 echo $ECHO_N "(cached) $ECHO_C" >&6
37950 cat >conftest.$ac_ext <<_ACEOF
37953 cat confdefs.h >>conftest.$ac_ext
37954 cat >>conftest.$ac_ext <<_ACEOF
37955 /* end confdefs.h. */
37956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37958 #define $ac_func innocuous_$ac_func
37960 /* System header to define __stub macros and hopefully few prototypes,
37961 which can conflict with char $ac_func (); below.
37962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37963 <limits.h> exists even on freestanding compilers. */
37966 # include <limits.h>
37968 # include <assert.h>
37973 /* Override any GCC internal prototype to avoid an error.
37974 Use char because int might match the return type of a GCC
37975 builtin and then its argument prototype would still apply. */
37980 /* The GNU C library defines this for functions which it implements
37981 to always fail with ENOSYS. Some functions are actually named
37982 something starting with __ and the normal name is an alias. */
37983 #if defined __stub_$ac_func || defined __stub___$ac_func
37990 return $ac_func ();
37995 rm -f conftest.$ac_objext conftest$ac_exeext
37996 if { (ac_try="$ac_link"
37997 case "(($ac_try" in
37998 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37999 *) ac_try_echo
=$ac_try;;
38001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38002 (eval "$ac_link") 2>conftest.er1
38004 grep -v '^ *+' conftest.er1
>conftest.err
38006 cat conftest.err
>&5
38007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38008 (exit $ac_status); } && {
38009 test -z "$ac_c_werror_flag" ||
38010 test ! -s conftest.err
38011 } && test -s conftest
$ac_exeext &&
38012 $as_test_x conftest
$ac_exeext; then
38013 eval "$as_ac_var=yes"
38015 echo "$as_me: failed program was:" >&5
38016 sed 's/^/| /' conftest.
$ac_ext >&5
38018 eval "$as_ac_var=no"
38021 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38022 conftest
$ac_exeext conftest.
$ac_ext
38024 ac_res
=`eval echo '${'$as_ac_var'}'`
38025 { echo "$as_me:$LINENO: result: $ac_res" >&5
38026 echo "${ECHO_T}$ac_res" >&6; }
38027 if test `eval echo '${'$as_ac_var'}'` = yes; then
38028 cat >>confdefs.h
<<_ACEOF
38029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38031 cat >>confdefs.h
<<\_ACEOF
38032 #define HAVE_INET_ADDR 1
38037 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38038 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38039 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38040 echo $ECHO_N "(cached) $ECHO_C" >&6
38042 ac_check_lib_save_LIBS
=$LIBS
38044 cat >conftest.
$ac_ext <<_ACEOF
38047 cat confdefs.h
>>conftest.
$ac_ext
38048 cat >>conftest.
$ac_ext <<_ACEOF
38049 /* end confdefs.h. */
38051 /* Override any GCC internal prototype to avoid an error.
38052 Use char because int might match the return type of a GCC
38053 builtin and then its argument prototype would still apply. */
38061 return inet_addr ();
38066 rm -f conftest.
$ac_objext conftest
$ac_exeext
38067 if { (ac_try
="$ac_link"
38068 case "(($ac_try" in
38069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38070 *) ac_try_echo=$ac_try;;
38072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38073 (eval "$ac_link") 2>conftest.er1
38075 grep -v '^ *+' conftest.er1 >conftest.err
38077 cat conftest.err >&5
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); } && {
38080 test -z "$ac_c_werror_flag" ||
38081 test ! -s conftest.err
38082 } && test -s conftest$ac_exeext &&
38083 $as_test_x conftest$ac_exeext; then
38084 ac_cv_lib_nsl_inet_addr=yes
38086 echo "$as_me: failed program was:" >&5
38087 sed 's/^/| /' conftest.$ac_ext >&5
38089 ac_cv_lib_nsl_inet_addr=no
38092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38093 conftest$ac_exeext conftest.$ac_ext
38094 LIBS=$ac_check_lib_save_LIBS
38096 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38097 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38098 if test $ac_cv_lib_nsl_inet_addr = yes; then
38102 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38103 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38104 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38105 echo $ECHO_N "(cached) $ECHO_C" >&6
38107 ac_check_lib_save_LIBS=$LIBS
38108 LIBS="-lresolv $LIBS"
38109 cat >conftest.$ac_ext <<_ACEOF
38112 cat confdefs.h >>conftest.$ac_ext
38113 cat >>conftest.$ac_ext <<_ACEOF
38114 /* end confdefs.h. */
38116 /* Override any GCC internal prototype to avoid an error.
38117 Use char because int might match the return type of a GCC
38118 builtin and then its argument prototype would still apply. */
38126 return inet_addr ();
38131 rm -f conftest.$ac_objext conftest$ac_exeext
38132 if { (ac_try="$ac_link"
38133 case "(($ac_try" in
38134 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38135 *) ac_try_echo
=$ac_try;;
38137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38138 (eval "$ac_link") 2>conftest.er1
38140 grep -v '^ *+' conftest.er1
>conftest.err
38142 cat conftest.err
>&5
38143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38144 (exit $ac_status); } && {
38145 test -z "$ac_c_werror_flag" ||
38146 test ! -s conftest.err
38147 } && test -s conftest
$ac_exeext &&
38148 $as_test_x conftest
$ac_exeext; then
38149 ac_cv_lib_resolv_inet_addr
=yes
38151 echo "$as_me: failed program was:" >&5
38152 sed 's/^/| /' conftest.
$ac_ext >&5
38154 ac_cv_lib_resolv_inet_addr
=no
38157 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38158 conftest
$ac_exeext conftest.
$ac_ext
38159 LIBS
=$ac_check_lib_save_LIBS
38161 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38162 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38163 if test $ac_cv_lib_resolv_inet_addr = yes; then
38167 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38168 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38169 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38170 echo $ECHO_N "(cached) $ECHO_C" >&6
38172 ac_check_lib_save_LIBS
=$LIBS
38173 LIBS
="-lsocket $LIBS"
38174 cat >conftest.
$ac_ext <<_ACEOF
38177 cat confdefs.h
>>conftest.
$ac_ext
38178 cat >>conftest.
$ac_ext <<_ACEOF
38179 /* end confdefs.h. */
38181 /* Override any GCC internal prototype to avoid an error.
38182 Use char because int might match the return type of a GCC
38183 builtin and then its argument prototype would still apply. */
38191 return inet_addr ();
38196 rm -f conftest.
$ac_objext conftest
$ac_exeext
38197 if { (ac_try
="$ac_link"
38198 case "(($ac_try" in
38199 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38200 *) ac_try_echo=$ac_try;;
38202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38203 (eval "$ac_link") 2>conftest.er1
38205 grep -v '^ *+' conftest.er1 >conftest.err
38207 cat conftest.err >&5
38208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38209 (exit $ac_status); } && {
38210 test -z "$ac_c_werror_flag" ||
38211 test ! -s conftest.err
38212 } && test -s conftest$ac_exeext &&
38213 $as_test_x conftest$ac_exeext; then
38214 ac_cv_lib_socket_inet_addr=yes
38216 echo "$as_me: failed program was:" >&5
38217 sed 's/^/| /' conftest.$ac_ext >&5
38219 ac_cv_lib_socket_inet_addr=no
38222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38223 conftest$ac_exeext conftest.$ac_ext
38224 LIBS=$ac_check_lib_save_LIBS
38226 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38227 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38228 if test $ac_cv_lib_socket_inet_addr = yes; then
38248 for ac_func in inet_aton
38250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38251 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38253 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38254 echo $ECHO_N "(cached) $ECHO_C" >&6
38256 cat >conftest.$ac_ext <<_ACEOF
38259 cat confdefs.h >>conftest.$ac_ext
38260 cat >>conftest.$ac_ext <<_ACEOF
38261 /* end confdefs.h. */
38262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38264 #define $ac_func innocuous_$ac_func
38266 /* System header to define __stub macros and hopefully few prototypes,
38267 which can conflict with char $ac_func (); below.
38268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38269 <limits.h> exists even on freestanding compilers. */
38272 # include <limits.h>
38274 # include <assert.h>
38279 /* Override any GCC internal prototype to avoid an error.
38280 Use char because int might match the return type of a GCC
38281 builtin and then its argument prototype would still apply. */
38286 /* The GNU C library defines this for functions which it implements
38287 to always fail with ENOSYS. Some functions are actually named
38288 something starting with __ and the normal name is an alias. */
38289 #if defined __stub_$ac_func || defined __stub___$ac_func
38296 return $ac_func ();
38301 rm -f conftest.$ac_objext conftest$ac_exeext
38302 if { (ac_try="$ac_link"
38303 case "(($ac_try" in
38304 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38305 *) ac_try_echo
=$ac_try;;
38307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38308 (eval "$ac_link") 2>conftest.er1
38310 grep -v '^ *+' conftest.er1
>conftest.err
38312 cat conftest.err
>&5
38313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38314 (exit $ac_status); } && {
38315 test -z "$ac_c_werror_flag" ||
38316 test ! -s conftest.err
38317 } && test -s conftest
$ac_exeext &&
38318 $as_test_x conftest
$ac_exeext; then
38319 eval "$as_ac_var=yes"
38321 echo "$as_me: failed program was:" >&5
38322 sed 's/^/| /' conftest.
$ac_ext >&5
38324 eval "$as_ac_var=no"
38327 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38328 conftest
$ac_exeext conftest.
$ac_ext
38330 ac_res
=`eval echo '${'$as_ac_var'}'`
38331 { echo "$as_me:$LINENO: result: $ac_res" >&5
38332 echo "${ECHO_T}$ac_res" >&6; }
38333 if test `eval echo '${'$as_ac_var'}'` = yes; then
38334 cat >>confdefs.h
<<_ACEOF
38335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38337 cat >>confdefs.h
<<\_ACEOF
38338 #define HAVE_INET_ATON 1
38343 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38344 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38345 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38346 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38347 echo $ECHO_N "(cached) $ECHO_C" >&6
38349 ac_check_lib_save_LIBS
=$LIBS
38350 LIBS
="-l$INET_LINK $LIBS"
38351 cat >conftest.
$ac_ext <<_ACEOF
38354 cat confdefs.h
>>conftest.
$ac_ext
38355 cat >>conftest.
$ac_ext <<_ACEOF
38356 /* end confdefs.h. */
38358 /* Override any GCC internal prototype to avoid an error.
38359 Use char because int might match the return type of a GCC
38360 builtin and then its argument prototype would still apply. */
38368 return inet_aton ();
38373 rm -f conftest.
$ac_objext conftest
$ac_exeext
38374 if { (ac_try
="$ac_link"
38375 case "(($ac_try" in
38376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38377 *) ac_try_echo=$ac_try;;
38379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38380 (eval "$ac_link") 2>conftest.er1
38382 grep -v '^ *+' conftest.er1 >conftest.err
38384 cat conftest.err >&5
38385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386 (exit $ac_status); } && {
38387 test -z "$ac_c_werror_flag" ||
38388 test ! -s conftest.err
38389 } && test -s conftest$ac_exeext &&
38390 $as_test_x conftest$ac_exeext; then
38391 eval "$as_ac_Lib=yes"
38393 echo "$as_me: failed program was:" >&5
38394 sed 's/^/| /' conftest.$ac_ext >&5
38396 eval "$as_ac_Lib=no"
38399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38400 conftest$ac_exeext conftest.$ac_ext
38401 LIBS=$ac_check_lib_save_LIBS
38403 ac_res=`eval echo '${'$as_ac_Lib'}'`
38404 { echo "$as_me:$LINENO: result: $ac_res" >&5
38405 echo "${ECHO_T}$ac_res" >&6; }
38406 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38407 cat >>confdefs.h <<\_ACEOF
38408 #define HAVE_INET_ATON 1
38418 if test "x$INET_LINK" != "x"; then
38419 cat >>confdefs.h <<\_ACEOF
38420 #define HAVE_INET_ADDR 1
38423 INET_LINK=" -l$INET_LINK"
38427 for wx_func in fdopen
38429 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38430 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38431 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38432 echo $ECHO_N "(cached) $ECHO_C" >&6
38435 cat >conftest.$ac_ext <<_ACEOF
38439 cat confdefs.h >>conftest.$ac_ext
38440 cat >>conftest.$ac_ext <<_ACEOF
38441 /* end confdefs.h. */
38444 $ac_includes_default
38460 rm -f conftest.$ac_objext conftest$ac_exeext
38461 if { (ac_try="$ac_link"
38462 case "(($ac_try" in
38463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38464 *) ac_try_echo
=$ac_try;;
38466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38467 (eval "$ac_link") 2>conftest.er1
38469 grep -v '^ *+' conftest.er1
>conftest.err
38471 cat conftest.err
>&5
38472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38473 (exit $ac_status); } && {
38474 test -z "$ac_c_werror_flag" ||
38475 test ! -s conftest.err
38476 } && test -s conftest
$ac_exeext &&
38477 $as_test_x conftest
$ac_exeext; then
38478 eval wx_cv_func_
$wx_func=yes
38480 echo "$as_me: failed program was:" >&5
38481 sed 's/^/| /' conftest.
$ac_ext >&5
38483 eval wx_cv_func_
$wx_func=no
38486 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38487 conftest
$ac_exeext conftest.
$ac_ext
38490 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38491 { echo "$as_me:$LINENO: result: $ac_res" >&5
38492 echo "${ECHO_T}$ac_res" >&6; }
38494 if eval test \
$wx_cv_func_$wx_func = yes
38496 cat >>confdefs.h
<<_ACEOF
38497 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38508 if test "$wxUSE_TARSTREAM" = "yes"; then
38510 for wx_func
in sysconf
38512 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38513 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38514 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38515 echo $ECHO_N "(cached) $ECHO_C" >&6
38518 cat >conftest.
$ac_ext <<_ACEOF
38522 cat confdefs.h
>>conftest.
$ac_ext
38523 cat >>conftest.
$ac_ext <<_ACEOF
38524 /* end confdefs.h. */
38527 $ac_includes_default
38543 rm -f conftest.
$ac_objext conftest
$ac_exeext
38544 if { (ac_try
="$ac_link"
38545 case "(($ac_try" in
38546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38547 *) ac_try_echo=$ac_try;;
38549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38550 (eval "$ac_link") 2>conftest.er1
38552 grep -v '^ *+' conftest.er1 >conftest.err
38554 cat conftest.err >&5
38555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38556 (exit $ac_status); } && {
38557 test -z "$ac_c_werror_flag" ||
38558 test ! -s conftest.err
38559 } && test -s conftest$ac_exeext &&
38560 $as_test_x conftest$ac_exeext; then
38561 eval wx_cv_func_$wx_func=yes
38563 echo "$as_me: failed program was:" >&5
38564 sed 's/^/| /' conftest.$ac_ext >&5
38566 eval wx_cv_func_$wx_func=no
38569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38570 conftest$ac_exeext conftest.$ac_ext
38573 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38574 { echo "$as_me:$LINENO: result: $ac_res" >&5
38575 echo "${ECHO_T}$ac_res" >&6; }
38577 if eval test \$wx_cv_func_$wx_func = yes
38579 cat >>confdefs.h <<_ACEOF
38580 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38592 for wx_func in getpwuid_r
38594 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38595 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38596 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38597 echo $ECHO_N "(cached) $ECHO_C" >&6
38600 cat >conftest.$ac_ext <<_ACEOF
38604 cat confdefs.h >>conftest.$ac_ext
38605 cat >>conftest.$ac_ext <<_ACEOF
38606 /* end confdefs.h. */
38612 $ac_includes_default
38622 struct passwd pw, *ppw;
38624 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38632 rm -f conftest.$ac_objext conftest$ac_exeext
38633 if { (ac_try="$ac_link"
38634 case "(($ac_try" in
38635 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38636 *) ac_try_echo
=$ac_try;;
38638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38639 (eval "$ac_link") 2>conftest.er1
38641 grep -v '^ *+' conftest.er1
>conftest.err
38643 cat conftest.err
>&5
38644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38645 (exit $ac_status); } && {
38646 test -z "$ac_c_werror_flag" ||
38647 test ! -s conftest.err
38648 } && test -s conftest
$ac_exeext &&
38649 $as_test_x conftest
$ac_exeext; then
38650 eval wx_cv_func_
$wx_func=yes
38652 echo "$as_me: failed program was:" >&5
38653 sed 's/^/| /' conftest.
$ac_ext >&5
38655 eval wx_cv_func_
$wx_func=no
38658 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38659 conftest
$ac_exeext conftest.
$ac_ext
38662 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38663 { echo "$as_me:$LINENO: result: $ac_res" >&5
38664 echo "${ECHO_T}$ac_res" >&6; }
38666 if eval test \
$wx_cv_func_$wx_func = yes
38668 cat >>confdefs.h
<<_ACEOF
38669 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38681 for wx_func
in getgrgid_r
38683 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38684 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38685 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38686 echo $ECHO_N "(cached) $ECHO_C" >&6
38689 cat >conftest.
$ac_ext <<_ACEOF
38693 cat confdefs.h
>>conftest.
$ac_ext
38694 cat >>conftest.
$ac_ext <<_ACEOF
38695 /* end confdefs.h. */
38701 $ac_includes_default
38711 struct group grp, *pgrp;
38713 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38721 rm -f conftest.
$ac_objext conftest
$ac_exeext
38722 if { (ac_try
="$ac_link"
38723 case "(($ac_try" in
38724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38725 *) ac_try_echo=$ac_try;;
38727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38728 (eval "$ac_link") 2>conftest.er1
38730 grep -v '^ *+' conftest.er1 >conftest.err
38732 cat conftest.err >&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); } && {
38735 test -z "$ac_c_werror_flag" ||
38736 test ! -s conftest.err
38737 } && test -s conftest$ac_exeext &&
38738 $as_test_x conftest$ac_exeext; then
38739 eval wx_cv_func_$wx_func=yes
38741 echo "$as_me: failed program was:" >&5
38742 sed 's/^/| /' conftest.$ac_ext >&5
38744 eval wx_cv_func_$wx_func=no
38747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38748 conftest$ac_exeext conftest.$ac_ext
38751 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38752 { echo "$as_me:$LINENO: result: $ac_res" >&5
38753 echo "${ECHO_T}$ac_res" >&6; }
38755 if eval test \$wx_cv_func_$wx_func = yes
38757 cat >>confdefs.h <<_ACEOF
38758 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38774 cat >confcache <<\_ACEOF
38775 # This file is a shell script that caches the results of configure
38776 # tests run on this system so they can be shared between configure
38777 # scripts and configure runs, see configure's option --config-cache.
38778 # It is not useful on other systems. If it contains results you don't
38779 # want to keep, you may remove or edit it.
38781 # config.status only pays attention to the cache file if you give it
38782 # the --recheck option to rerun configure.
38784 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38785 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38786 # following values.
38790 # The following way of writing the cache mishandles newlines in values,
38791 # but we know of no workaround that is simple, portable, and efficient.
38792 # So, we kill variables containing newlines.
38793 # Ultrix sh set writes to stderr and can't be redirected directly,
38794 # and sets the high bit in the cache file unless we assign to the vars.
38796 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38797 eval ac_val
=\$
$ac_var
38801 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38802 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38805 _
| IFS
| as_nl
) ;; #(
38806 *) $as_unset $ac_var ;;
38812 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38813 *${as_nl}ac_space
=\
*)
38814 # `set' does not quote correctly, so add quotes (double-quote
38815 # substitution turns \\\\ into \\, and sed turns \\ into \).
38818 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38821 # `set' quotes correctly as required by POSIX, so do not add quotes.
38822 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38831 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38833 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38835 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38836 if test -w "$cache_file"; then
38837 test "x$cache_file" != "x/dev/null" &&
38838 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38839 echo "$as_me: updating cache $cache_file" >&6;}
38840 cat confcache
>$cache_file
38842 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38843 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38849 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38855 if test "$wxUSE_THREADS" = "yes" ; then
38856 if test "$USE_BEOS" = 1; then
38857 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38858 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38863 if test "$wxUSE_THREADS" = "yes" ; then
38866 THREAD_OPTS
="-pthread"
38867 if test "x$SUNCXX" = xyes
; then
38868 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38872 *-*-solaris2* | *-*-sunos4* )
38873 if test "x$GCC" = "xyes"; then
38874 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38878 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38880 *-*-darwin* | *-*-cygwin* )
38884 THREAD_OPTS
="pthreads"
38887 if test "x$GCC" = "xyes"; then
38888 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38896 if test "x$GCC" = "xyes"; then
38902 if test "x$GCC" != "xyes"; then
38903 THREAD_OPTS
="-Ethread"
38908 THREAD_OPTS
="$THREAD_OPTS pthread none"
38911 for flag
in $THREAD_OPTS; do
38914 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38915 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38919 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38920 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38921 THREADS_CFLAGS
="$flag"
38925 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38926 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38927 THREADS_LINK
="-l$flag"
38932 save_CFLAGS
="$CFLAGS"
38933 LIBS
="$THREADS_LINK $LIBS"
38934 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38936 cat >conftest.
$ac_ext <<_ACEOF
38939 cat confdefs.h
>>conftest.
$ac_ext
38940 cat >>conftest.
$ac_ext <<_ACEOF
38941 /* end confdefs.h. */
38942 #include <pthread.h>
38946 pthread_create(0,0,0,0);
38951 rm -f conftest.
$ac_objext conftest
$ac_exeext
38952 if { (ac_try
="$ac_link"
38953 case "(($ac_try" in
38954 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38955 *) ac_try_echo=$ac_try;;
38957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38958 (eval "$ac_link") 2>conftest.er1
38960 grep -v '^ *+' conftest.er1 >conftest.err
38962 cat conftest.err >&5
38963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38964 (exit $ac_status); } && {
38965 test -z "$ac_c_werror_flag" ||
38966 test ! -s conftest.err
38967 } && test -s conftest$ac_exeext &&
38968 $as_test_x conftest$ac_exeext; then
38971 echo "$as_me: failed program was:" >&5
38972 sed 's/^/| /' conftest.$ac_ext >&5
38977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38978 conftest$ac_exeext conftest.$ac_ext
38981 CFLAGS="$save_CFLAGS"
38983 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38984 echo "${ECHO_T}$THREADS_OK" >&6; }
38985 if test "x$THREADS_OK" = "xyes"; then
38993 if test "x$THREADS_OK" != "xyes"; then
38995 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38996 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38998 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38999 LIBS="$THREADS_LINK $LIBS"
39001 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39002 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39006 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39007 flag="-D_THREAD_SAFE"
39010 flag="-D_THREAD_SAFE"
39013 flag="-D_REENTRANT"
39014 if test "x$GCC" != "xyes"; then
39015 flag="$flag -D_RWSTD_MULTI_THREAD"
39018 *solaris* | alpha*-osf*)
39019 flag="-D_REENTRANT"
39022 { echo "$as_me:$LINENO: result: ${flag}" >&5
39023 echo "${ECHO_T}${flag}" >&6; }
39024 if test "x$flag" != xno; then
39025 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39028 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39032 if test "$wxUSE_THREADS" = "yes" ; then
39034 for ac_func in thr_setconcurrency
39036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39037 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39039 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39042 cat >conftest.$ac_ext <<_ACEOF
39045 cat confdefs.h >>conftest.$ac_ext
39046 cat >>conftest.$ac_ext <<_ACEOF
39047 /* end confdefs.h. */
39048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39050 #define $ac_func innocuous_$ac_func
39052 /* System header to define __stub macros and hopefully few prototypes,
39053 which can conflict with char $ac_func (); below.
39054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39055 <limits.h> exists even on freestanding compilers. */
39058 # include <limits.h>
39060 # include <assert.h>
39065 /* Override any GCC internal prototype to avoid an error.
39066 Use char because int might match the return type of a GCC
39067 builtin and then its argument prototype would still apply. */
39072 /* The GNU C library defines this for functions which it implements
39073 to always fail with ENOSYS. Some functions are actually named
39074 something starting with __ and the normal name is an alias. */
39075 #if defined __stub_$ac_func || defined __stub___$ac_func
39082 return $ac_func ();
39087 rm -f conftest.$ac_objext conftest$ac_exeext
39088 if { (ac_try="$ac_link"
39089 case "(($ac_try" in
39090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39091 *) ac_try_echo
=$ac_try;;
39093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39094 (eval "$ac_link") 2>conftest.er1
39096 grep -v '^ *+' conftest.er1
>conftest.err
39098 cat conftest.err
>&5
39099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39100 (exit $ac_status); } && {
39101 test -z "$ac_c_werror_flag" ||
39102 test ! -s conftest.err
39103 } && test -s conftest
$ac_exeext &&
39104 $as_test_x conftest
$ac_exeext; then
39105 eval "$as_ac_var=yes"
39107 echo "$as_me: failed program was:" >&5
39108 sed 's/^/| /' conftest.
$ac_ext >&5
39110 eval "$as_ac_var=no"
39113 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39114 conftest
$ac_exeext conftest.
$ac_ext
39116 ac_res
=`eval echo '${'$as_ac_var'}'`
39117 { echo "$as_me:$LINENO: result: $ac_res" >&5
39118 echo "${ECHO_T}$ac_res" >&6; }
39119 if test `eval echo '${'$as_ac_var'}'` = yes; then
39120 cat >>confdefs.h
<<_ACEOF
39121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39128 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39129 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39130 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39131 echo $ECHO_N "(cached) $ECHO_C" >&6
39135 ac_cpp
='$CXXCPP $CPPFLAGS'
39136 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39137 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39138 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39140 cat >conftest.
$ac_ext <<_ACEOF
39143 cat confdefs.h
>>conftest.
$ac_ext
39144 cat >>conftest.
$ac_ext <<_ACEOF
39145 /* end confdefs.h. */
39146 #include <pthread.h>
39147 void ThreadCleanupFunc(void *p);
39154 pthread_cleanup_push(ThreadCleanupFunc, p);
39155 pthread_cleanup_pop(0);
39161 rm -f conftest.
$ac_objext
39162 if { (ac_try
="$ac_compile"
39163 case "(($ac_try" in
39164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39165 *) ac_try_echo=$ac_try;;
39167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39168 (eval "$ac_compile") 2>conftest.er1
39170 grep -v '^ *+' conftest.er1 >conftest.err
39172 cat conftest.err >&5
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); } && {
39175 test -z "$ac_cxx_werror_flag" ||
39176 test ! -s conftest.err
39177 } && test -s conftest.$ac_objext; then
39179 wx_cv_func_pthread_cleanup=yes
39182 echo "$as_me: failed program was:" >&5
39183 sed 's/^/| /' conftest.$ac_ext >&5
39186 wx_cv_func_pthread_cleanup=no
39191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39193 ac_cpp='$CPP $CPPFLAGS'
39194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39200 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39201 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39202 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39203 cat >>confdefs.h <<\_ACEOF
39204 #define wxHAVE_PTHREAD_CLEANUP 1
39210 for ac_header in sched.h
39212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39213 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39216 echo $ECHO_N "(cached) $ECHO_C" >&6
39218 cat >conftest.$ac_ext <<_ACEOF
39221 cat confdefs.h >>conftest.$ac_ext
39222 cat >>conftest.$ac_ext <<_ACEOF
39223 /* end confdefs.h. */
39224 $ac_includes_default
39226 #include <$ac_header>
39228 rm -f conftest.$ac_objext
39229 if { (ac_try="$ac_compile"
39230 case "(($ac_try" in
39231 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39232 *) ac_try_echo
=$ac_try;;
39234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39235 (eval "$ac_compile") 2>conftest.er1
39237 grep -v '^ *+' conftest.er1
>conftest.err
39239 cat conftest.err
>&5
39240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39241 (exit $ac_status); } && {
39242 test -z "$ac_c_werror_flag" ||
39243 test ! -s conftest.err
39244 } && test -s conftest.
$ac_objext; then
39245 eval "$as_ac_Header=yes"
39247 echo "$as_me: failed program was:" >&5
39248 sed 's/^/| /' conftest.
$ac_ext >&5
39250 eval "$as_ac_Header=no"
39253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39255 ac_res
=`eval echo '${'$as_ac_Header'}'`
39256 { echo "$as_me:$LINENO: result: $ac_res" >&5
39257 echo "${ECHO_T}$ac_res" >&6; }
39258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39259 cat >>confdefs.h
<<_ACEOF
39260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39267 if test "$ac_cv_header_sched_h" = "yes"; then
39268 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39269 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39270 if test "${ac_cv_func_sched_yield+set}" = set; then
39271 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 cat >conftest.
$ac_ext <<_ACEOF
39276 cat confdefs.h
>>conftest.
$ac_ext
39277 cat >>conftest.
$ac_ext <<_ACEOF
39278 /* end confdefs.h. */
39279 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39281 #define sched_yield innocuous_sched_yield
39283 /* System header to define __stub macros and hopefully few prototypes,
39284 which can conflict with char sched_yield (); below.
39285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39286 <limits.h> exists even on freestanding compilers. */
39289 # include <limits.h>
39291 # include <assert.h>
39296 /* Override any GCC internal prototype to avoid an error.
39297 Use char because int might match the return type of a GCC
39298 builtin and then its argument prototype would still apply. */
39302 char sched_yield ();
39303 /* The GNU C library defines this for functions which it implements
39304 to always fail with ENOSYS. Some functions are actually named
39305 something starting with __ and the normal name is an alias. */
39306 #if defined __stub_sched_yield || defined __stub___sched_yield
39313 return sched_yield ();
39318 rm -f conftest.
$ac_objext conftest
$ac_exeext
39319 if { (ac_try
="$ac_link"
39320 case "(($ac_try" in
39321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39322 *) ac_try_echo=$ac_try;;
39324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39325 (eval "$ac_link") 2>conftest.er1
39327 grep -v '^ *+' conftest.er1 >conftest.err
39329 cat conftest.err >&5
39330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39331 (exit $ac_status); } && {
39332 test -z "$ac_c_werror_flag" ||
39333 test ! -s conftest.err
39334 } && test -s conftest$ac_exeext &&
39335 $as_test_x conftest$ac_exeext; then
39336 ac_cv_func_sched_yield=yes
39338 echo "$as_me: failed program was:" >&5
39339 sed 's/^/| /' conftest.$ac_ext >&5
39341 ac_cv_func_sched_yield=no
39344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39345 conftest$ac_exeext conftest.$ac_ext
39347 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39348 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39349 if test $ac_cv_func_sched_yield = yes; then
39350 cat >>confdefs.h <<\_ACEOF
39351 #define HAVE_SCHED_YIELD 1
39356 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39357 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39358 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39359 echo $ECHO_N "(cached) $ECHO_C" >&6
39361 ac_check_lib_save_LIBS=$LIBS
39362 LIBS="-lposix4 $LIBS"
39363 cat >conftest.$ac_ext <<_ACEOF
39366 cat confdefs.h >>conftest.$ac_ext
39367 cat >>conftest.$ac_ext <<_ACEOF
39368 /* end confdefs.h. */
39370 /* Override any GCC internal prototype to avoid an error.
39371 Use char because int might match the return type of a GCC
39372 builtin and then its argument prototype would still apply. */
39376 char sched_yield ();
39380 return sched_yield ();
39385 rm -f conftest.$ac_objext conftest$ac_exeext
39386 if { (ac_try="$ac_link"
39387 case "(($ac_try" in
39388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39389 *) ac_try_echo
=$ac_try;;
39391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39392 (eval "$ac_link") 2>conftest.er1
39394 grep -v '^ *+' conftest.er1
>conftest.err
39396 cat conftest.err
>&5
39397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39398 (exit $ac_status); } && {
39399 test -z "$ac_c_werror_flag" ||
39400 test ! -s conftest.err
39401 } && test -s conftest
$ac_exeext &&
39402 $as_test_x conftest
$ac_exeext; then
39403 ac_cv_lib_posix4_sched_yield
=yes
39405 echo "$as_me: failed program was:" >&5
39406 sed 's/^/| /' conftest.
$ac_ext >&5
39408 ac_cv_lib_posix4_sched_yield
=no
39411 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39412 conftest
$ac_exeext conftest.
$ac_ext
39413 LIBS
=$ac_check_lib_save_LIBS
39415 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39416 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39417 if test $ac_cv_lib_posix4_sched_yield = yes; then
39418 cat >>confdefs.h
<<\_ACEOF
39419 #define HAVE_SCHED_YIELD 1
39421 POSIX4_LINK
=" -lposix4"
39423 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39424 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39435 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39436 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39437 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39438 echo $ECHO_N "(cached) $ECHO_C" >&6
39440 cat >conftest.
$ac_ext <<_ACEOF
39443 cat confdefs.h
>>conftest.
$ac_ext
39444 cat >>conftest.
$ac_ext <<_ACEOF
39445 /* end confdefs.h. */
39446 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39448 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39450 /* System header to define __stub macros and hopefully few prototypes,
39451 which can conflict with char pthread_attr_getschedpolicy (); below.
39452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39453 <limits.h> exists even on freestanding compilers. */
39456 # include <limits.h>
39458 # include <assert.h>
39461 #undef pthread_attr_getschedpolicy
39463 /* Override any GCC internal prototype to avoid an error.
39464 Use char because int might match the return type of a GCC
39465 builtin and then its argument prototype would still apply. */
39469 char pthread_attr_getschedpolicy ();
39470 /* The GNU C library defines this for functions which it implements
39471 to always fail with ENOSYS. Some functions are actually named
39472 something starting with __ and the normal name is an alias. */
39473 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39480 return pthread_attr_getschedpolicy ();
39485 rm -f conftest.
$ac_objext conftest
$ac_exeext
39486 if { (ac_try
="$ac_link"
39487 case "(($ac_try" in
39488 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39489 *) ac_try_echo=$ac_try;;
39491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39492 (eval "$ac_link") 2>conftest.er1
39494 grep -v '^ *+' conftest.er1 >conftest.err
39496 cat conftest.err >&5
39497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39498 (exit $ac_status); } && {
39499 test -z "$ac_c_werror_flag" ||
39500 test ! -s conftest.err
39501 } && test -s conftest$ac_exeext &&
39502 $as_test_x conftest$ac_exeext; then
39503 ac_cv_func_pthread_attr_getschedpolicy=yes
39505 echo "$as_me: failed program was:" >&5
39506 sed 's/^/| /' conftest.$ac_ext >&5
39508 ac_cv_func_pthread_attr_getschedpolicy=no
39511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39512 conftest$ac_exeext conftest.$ac_ext
39514 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39515 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39516 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39517 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39518 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39519 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39520 echo $ECHO_N "(cached) $ECHO_C" >&6
39522 cat >conftest.$ac_ext <<_ACEOF
39525 cat confdefs.h >>conftest.$ac_ext
39526 cat >>conftest.$ac_ext <<_ACEOF
39527 /* end confdefs.h. */
39528 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39530 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39532 /* System header to define __stub macros and hopefully few prototypes,
39533 which can conflict with char pthread_attr_setschedparam (); below.
39534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39535 <limits.h> exists even on freestanding compilers. */
39538 # include <limits.h>
39540 # include <assert.h>
39543 #undef pthread_attr_setschedparam
39545 /* Override any GCC internal prototype to avoid an error.
39546 Use char because int might match the return type of a GCC
39547 builtin and then its argument prototype would still apply. */
39551 char pthread_attr_setschedparam ();
39552 /* The GNU C library defines this for functions which it implements
39553 to always fail with ENOSYS. Some functions are actually named
39554 something starting with __ and the normal name is an alias. */
39555 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39562 return pthread_attr_setschedparam ();
39567 rm -f conftest.$ac_objext conftest$ac_exeext
39568 if { (ac_try="$ac_link"
39569 case "(($ac_try" in
39570 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39571 *) ac_try_echo
=$ac_try;;
39573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39574 (eval "$ac_link") 2>conftest.er1
39576 grep -v '^ *+' conftest.er1
>conftest.err
39578 cat conftest.err
>&5
39579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39580 (exit $ac_status); } && {
39581 test -z "$ac_c_werror_flag" ||
39582 test ! -s conftest.err
39583 } && test -s conftest
$ac_exeext &&
39584 $as_test_x conftest
$ac_exeext; then
39585 ac_cv_func_pthread_attr_setschedparam
=yes
39587 echo "$as_me: failed program was:" >&5
39588 sed 's/^/| /' conftest.
$ac_ext >&5
39590 ac_cv_func_pthread_attr_setschedparam
=no
39593 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39594 conftest
$ac_exeext conftest.
$ac_ext
39596 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39597 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39598 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39599 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39600 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39601 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39602 echo $ECHO_N "(cached) $ECHO_C" >&6
39604 cat >conftest.
$ac_ext <<_ACEOF
39607 cat confdefs.h
>>conftest.
$ac_ext
39608 cat >>conftest.
$ac_ext <<_ACEOF
39609 /* end confdefs.h. */
39610 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39612 #define sched_get_priority_max innocuous_sched_get_priority_max
39614 /* System header to define __stub macros and hopefully few prototypes,
39615 which can conflict with char sched_get_priority_max (); below.
39616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39617 <limits.h> exists even on freestanding compilers. */
39620 # include <limits.h>
39622 # include <assert.h>
39625 #undef sched_get_priority_max
39627 /* Override any GCC internal prototype to avoid an error.
39628 Use char because int might match the return type of a GCC
39629 builtin and then its argument prototype would still apply. */
39633 char sched_get_priority_max ();
39634 /* The GNU C library defines this for functions which it implements
39635 to always fail with ENOSYS. Some functions are actually named
39636 something starting with __ and the normal name is an alias. */
39637 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39644 return sched_get_priority_max ();
39649 rm -f conftest.
$ac_objext conftest
$ac_exeext
39650 if { (ac_try
="$ac_link"
39651 case "(($ac_try" in
39652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39653 *) ac_try_echo=$ac_try;;
39655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39656 (eval "$ac_link") 2>conftest.er1
39658 grep -v '^ *+' conftest.er1 >conftest.err
39660 cat conftest.err >&5
39661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39662 (exit $ac_status); } && {
39663 test -z "$ac_c_werror_flag" ||
39664 test ! -s conftest.err
39665 } && test -s conftest$ac_exeext &&
39666 $as_test_x conftest$ac_exeext; then
39667 ac_cv_func_sched_get_priority_max=yes
39669 echo "$as_me: failed program was:" >&5
39670 sed 's/^/| /' conftest.$ac_ext >&5
39672 ac_cv_func_sched_get_priority_max=no
39675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39676 conftest$ac_exeext conftest.$ac_ext
39678 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39679 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39680 if test $ac_cv_func_sched_get_priority_max = yes; then
39683 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39684 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39685 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39686 echo $ECHO_N "(cached) $ECHO_C" >&6
39688 ac_check_lib_save_LIBS=$LIBS
39689 LIBS="-lposix4 $LIBS"
39690 cat >conftest.$ac_ext <<_ACEOF
39693 cat confdefs.h >>conftest.$ac_ext
39694 cat >>conftest.$ac_ext <<_ACEOF
39695 /* end confdefs.h. */
39697 /* Override any GCC internal prototype to avoid an error.
39698 Use char because int might match the return type of a GCC
39699 builtin and then its argument prototype would still apply. */
39703 char sched_get_priority_max ();
39707 return sched_get_priority_max ();
39712 rm -f conftest.$ac_objext conftest$ac_exeext
39713 if { (ac_try="$ac_link"
39714 case "(($ac_try" in
39715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39716 *) ac_try_echo
=$ac_try;;
39718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39719 (eval "$ac_link") 2>conftest.er1
39721 grep -v '^ *+' conftest.er1
>conftest.err
39723 cat conftest.err
>&5
39724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39725 (exit $ac_status); } && {
39726 test -z "$ac_c_werror_flag" ||
39727 test ! -s conftest.err
39728 } && test -s conftest
$ac_exeext &&
39729 $as_test_x conftest
$ac_exeext; then
39730 ac_cv_lib_posix4_sched_get_priority_max
=yes
39732 echo "$as_me: failed program was:" >&5
39733 sed 's/^/| /' conftest.
$ac_ext >&5
39735 ac_cv_lib_posix4_sched_get_priority_max
=no
39738 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39739 conftest
$ac_exeext conftest.
$ac_ext
39740 LIBS
=$ac_check_lib_save_LIBS
39742 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39743 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39744 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39747 POSIX4_LINK
=" -lposix4"
39761 if test "$HAVE_PRIOR_FUNCS" = 1; then
39762 cat >>confdefs.h
<<\_ACEOF
39763 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39767 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39768 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39771 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39772 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39773 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39774 echo $ECHO_N "(cached) $ECHO_C" >&6
39776 cat >conftest.
$ac_ext <<_ACEOF
39779 cat confdefs.h
>>conftest.
$ac_ext
39780 cat >>conftest.
$ac_ext <<_ACEOF
39781 /* end confdefs.h. */
39782 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39784 #define pthread_cancel innocuous_pthread_cancel
39786 /* System header to define __stub macros and hopefully few prototypes,
39787 which can conflict with char pthread_cancel (); below.
39788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39789 <limits.h> exists even on freestanding compilers. */
39792 # include <limits.h>
39794 # include <assert.h>
39797 #undef pthread_cancel
39799 /* Override any GCC internal prototype to avoid an error.
39800 Use char because int might match the return type of a GCC
39801 builtin and then its argument prototype would still apply. */
39805 char pthread_cancel ();
39806 /* The GNU C library defines this for functions which it implements
39807 to always fail with ENOSYS. Some functions are actually named
39808 something starting with __ and the normal name is an alias. */
39809 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39816 return pthread_cancel ();
39821 rm -f conftest.
$ac_objext conftest
$ac_exeext
39822 if { (ac_try
="$ac_link"
39823 case "(($ac_try" in
39824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39825 *) ac_try_echo=$ac_try;;
39827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39828 (eval "$ac_link") 2>conftest.er1
39830 grep -v '^ *+' conftest.er1 >conftest.err
39832 cat conftest.err >&5
39833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39834 (exit $ac_status); } && {
39835 test -z "$ac_c_werror_flag" ||
39836 test ! -s conftest.err
39837 } && test -s conftest$ac_exeext &&
39838 $as_test_x conftest$ac_exeext; then
39839 ac_cv_func_pthread_cancel=yes
39841 echo "$as_me: failed program was:" >&5
39842 sed 's/^/| /' conftest.$ac_ext >&5
39844 ac_cv_func_pthread_cancel=no
39847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39848 conftest$ac_exeext conftest.$ac_ext
39850 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39851 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39852 if test $ac_cv_func_pthread_cancel = yes; then
39853 cat >>confdefs.h <<\_ACEOF
39854 #define HAVE_PTHREAD_CANCEL 1
39858 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39859 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39863 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39864 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39865 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39866 echo $ECHO_N "(cached) $ECHO_C" >&6
39868 cat >conftest.$ac_ext <<_ACEOF
39871 cat confdefs.h >>conftest.$ac_ext
39872 cat >>conftest.$ac_ext <<_ACEOF
39873 /* end confdefs.h. */
39874 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39876 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39878 /* System header to define __stub macros and hopefully few prototypes,
39879 which can conflict with char pthread_mutex_timedlock (); below.
39880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39881 <limits.h> exists even on freestanding compilers. */
39884 # include <limits.h>
39886 # include <assert.h>
39889 #undef pthread_mutex_timedlock
39891 /* Override any GCC internal prototype to avoid an error.
39892 Use char because int might match the return type of a GCC
39893 builtin and then its argument prototype would still apply. */
39897 char pthread_mutex_timedlock ();
39898 /* The GNU C library defines this for functions which it implements
39899 to always fail with ENOSYS. Some functions are actually named
39900 something starting with __ and the normal name is an alias. */
39901 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39908 return pthread_mutex_timedlock ();
39913 rm -f conftest.$ac_objext conftest$ac_exeext
39914 if { (ac_try="$ac_link"
39915 case "(($ac_try" in
39916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39917 *) ac_try_echo
=$ac_try;;
39919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39920 (eval "$ac_link") 2>conftest.er1
39922 grep -v '^ *+' conftest.er1
>conftest.err
39924 cat conftest.err
>&5
39925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39926 (exit $ac_status); } && {
39927 test -z "$ac_c_werror_flag" ||
39928 test ! -s conftest.err
39929 } && test -s conftest
$ac_exeext &&
39930 $as_test_x conftest
$ac_exeext; then
39931 ac_cv_func_pthread_mutex_timedlock
=yes
39933 echo "$as_me: failed program was:" >&5
39934 sed 's/^/| /' conftest.
$ac_ext >&5
39936 ac_cv_func_pthread_mutex_timedlock
=no
39939 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39940 conftest
$ac_exeext conftest.
$ac_ext
39942 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39943 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39944 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39945 cat >>confdefs.h
<<\_ACEOF
39946 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39950 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39951 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39955 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39956 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39957 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39958 echo $ECHO_N "(cached) $ECHO_C" >&6
39960 cat >conftest.
$ac_ext <<_ACEOF
39963 cat confdefs.h
>>conftest.
$ac_ext
39964 cat >>conftest.
$ac_ext <<_ACEOF
39965 /* end confdefs.h. */
39966 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39968 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39970 /* System header to define __stub macros and hopefully few prototypes,
39971 which can conflict with char pthread_attr_setstacksize (); below.
39972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39973 <limits.h> exists even on freestanding compilers. */
39976 # include <limits.h>
39978 # include <assert.h>
39981 #undef pthread_attr_setstacksize
39983 /* Override any GCC internal prototype to avoid an error.
39984 Use char because int might match the return type of a GCC
39985 builtin and then its argument prototype would still apply. */
39989 char pthread_attr_setstacksize ();
39990 /* The GNU C library defines this for functions which it implements
39991 to always fail with ENOSYS. Some functions are actually named
39992 something starting with __ and the normal name is an alias. */
39993 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40000 return pthread_attr_setstacksize ();
40005 rm -f conftest.
$ac_objext conftest
$ac_exeext
40006 if { (ac_try
="$ac_link"
40007 case "(($ac_try" in
40008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40009 *) ac_try_echo=$ac_try;;
40011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40012 (eval "$ac_link") 2>conftest.er1
40014 grep -v '^ *+' conftest.er1 >conftest.err
40016 cat conftest.err >&5
40017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40018 (exit $ac_status); } && {
40019 test -z "$ac_c_werror_flag" ||
40020 test ! -s conftest.err
40021 } && test -s conftest$ac_exeext &&
40022 $as_test_x conftest$ac_exeext; then
40023 ac_cv_func_pthread_attr_setstacksize=yes
40025 echo "$as_me: failed program was:" >&5
40026 sed 's/^/| /' conftest.$ac_ext >&5
40028 ac_cv_func_pthread_attr_setstacksize=no
40031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40032 conftest$ac_exeext conftest.$ac_ext
40034 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40035 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40036 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40037 cat >>confdefs.h <<\_ACEOF
40038 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40045 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40046 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40047 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40048 echo $ECHO_N "(cached) $ECHO_C" >&6
40051 cat >conftest.$ac_ext <<_ACEOF
40054 cat confdefs.h >>conftest.$ac_ext
40055 cat >>conftest.$ac_ext <<_ACEOF
40056 /* end confdefs.h. */
40057 #include <pthread.h>
40062 pthread_mutexattr_t attr;
40063 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40069 rm -f conftest.$ac_objext
40070 if { (ac_try="$ac_compile"
40071 case "(($ac_try" in
40072 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40073 *) ac_try_echo
=$ac_try;;
40075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40076 (eval "$ac_compile") 2>conftest.er1
40078 grep -v '^ *+' conftest.er1
>conftest.err
40080 cat conftest.err
>&5
40081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40082 (exit $ac_status); } && {
40083 test -z "$ac_c_werror_flag" ||
40084 test ! -s conftest.err
40085 } && test -s conftest.
$ac_objext; then
40086 wx_cv_type_pthread_mutexattr_t
=yes
40088 echo "$as_me: failed program was:" >&5
40089 sed 's/^/| /' conftest.
$ac_ext >&5
40091 wx_cv_type_pthread_mutexattr_t
=no
40095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40098 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40099 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40101 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40102 cat >>confdefs.h
<<\_ACEOF
40103 #define HAVE_PTHREAD_MUTEXATTR_T 1
40107 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40108 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40109 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40110 echo $ECHO_N "(cached) $ECHO_C" >&6
40113 cat >conftest.
$ac_ext <<_ACEOF
40116 cat confdefs.h
>>conftest.
$ac_ext
40117 cat >>conftest.
$ac_ext <<_ACEOF
40118 /* end confdefs.h. */
40119 #include <pthread.h>
40124 pthread_mutexattr_t attr;
40125 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40131 rm -f conftest.
$ac_objext
40132 if { (ac_try
="$ac_compile"
40133 case "(($ac_try" in
40134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40135 *) ac_try_echo=$ac_try;;
40137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40138 (eval "$ac_compile") 2>conftest.er1
40140 grep -v '^ *+' conftest.er1 >conftest.err
40142 cat conftest.err >&5
40143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40144 (exit $ac_status); } && {
40145 test -z "$ac_c_werror_flag" ||
40146 test ! -s conftest.err
40147 } && test -s conftest.$ac_objext; then
40148 wx_cv_func_pthread_mutexattr_settype_decl=yes
40150 echo "$as_me: failed program was:" >&5
40151 sed 's/^/| /' conftest.$ac_ext >&5
40153 wx_cv_func_pthread_mutexattr_settype_decl=no
40157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40160 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40161 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40162 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40163 cat >>confdefs.h <<\_ACEOF
40164 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40169 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40170 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40171 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40172 echo $ECHO_N "(cached) $ECHO_C" >&6
40175 cat >conftest.$ac_ext <<_ACEOF
40178 cat confdefs.h >>conftest.$ac_ext
40179 cat >>conftest.$ac_ext <<_ACEOF
40180 /* end confdefs.h. */
40181 #include <pthread.h>
40186 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40192 rm -f conftest.$ac_objext
40193 if { (ac_try="$ac_compile"
40194 case "(($ac_try" in
40195 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40196 *) ac_try_echo
=$ac_try;;
40198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40199 (eval "$ac_compile") 2>conftest.er1
40201 grep -v '^ *+' conftest.er1
>conftest.err
40203 cat conftest.err
>&5
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); } && {
40206 test -z "$ac_c_werror_flag" ||
40207 test ! -s conftest.err
40208 } && test -s conftest.
$ac_objext; then
40210 wx_cv_type_pthread_rec_mutex_init
=yes
40213 echo "$as_me: failed program was:" >&5
40214 sed 's/^/| /' conftest.
$ac_ext >&5
40217 wx_cv_type_pthread_rec_mutex_init
=no
40222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40225 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40226 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40227 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40228 cat >>confdefs.h
<<\_ACEOF
40229 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40233 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40234 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40238 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40239 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40240 if test "${wx_cv_cc___thread+set}" = set; then
40241 echo $ECHO_N "(cached) $ECHO_C" >&6
40244 cat >conftest.
$ac_ext <<_ACEOF
40247 cat confdefs.h
>>conftest.
$ac_ext
40248 cat >>conftest.
$ac_ext <<_ACEOF
40249 /* end confdefs.h. */
40250 #include <pthread.h>
40255 static __thread int n = 0;
40256 static __thread int *p = 0;
40262 rm -f conftest.
$ac_objext
40263 if { (ac_try
="$ac_compile"
40264 case "(($ac_try" in
40265 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40266 *) ac_try_echo=$ac_try;;
40268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40269 (eval "$ac_compile") 2>conftest.er1
40271 grep -v '^ *+' conftest.er1 >conftest.err
40273 cat conftest.err >&5
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); } && {
40276 test -z "$ac_c_werror_flag" ||
40277 test ! -s conftest.err
40278 } && test -s conftest.$ac_objext; then
40279 wx_cv_cc___thread=yes
40281 echo "$as_me: failed program was:" >&5
40282 sed 's/^/| /' conftest.$ac_ext >&5
40284 wx_cv_cc___thread=no
40288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40292 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40293 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40295 if test "$wx_cv_cc___thread" = "yes"; then
40301 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40302 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40304 if test "x$GCC" = "xyes" ; then
40306 if test -z "" ; then
40308 ax_gcc_option_test="int main()
40315 ax_gcc_option_test=""
40320 # Dump the test program to file
40321 cat <<EOF > conftest.c
40322 $ax_gcc_option_test
40325 # Dump back the file to the log, useful for debugging purposes
40326 { ac_try='cat conftest.c 1>&5'
40327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40328 (eval $ac_try) 2>&5
40330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40331 (exit $ac_status); }; }
40333 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40335 (eval $ac_try) 2>&5
40337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40338 (exit $ac_status); }; } ; then
40340 { echo "$as_me:$LINENO: result: yes" >&5
40341 echo "${ECHO_T}yes" >&6; }
40343 ax_gcc_version_option=yes
40348 { echo "$as_me:$LINENO: result: no" >&5
40349 echo "${ECHO_T}no" >&6; }
40351 ax_gcc_version_option=no
40359 { echo "$as_me:$LINENO: result: no gcc available" >&5
40360 echo "${ECHO_T}no gcc available" >&6; }
40365 if test "x$GXX" = "xyes"; then
40367 if test "x$ax_gxx_version_option" != "no"; then
40369 { echo "$as_me:$LINENO: checking gxx version" >&5
40370 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40371 if test "${ax_cv_gxx_version+set}" = set; then
40372 echo $ECHO_N "(cached) $ECHO_C" >&6
40375 ax_cv_gxx_version="`$CXX -dumpversion`"
40376 if test "x$ax_cv_gxx_version" = "x"; then
40378 ax_cv_gxx_version=""
40384 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40385 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40386 GXX_VERSION=$ax_cv_gxx_version
40395 if test -n "$ax_cv_gxx_version"; then
40396 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40397 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40398 case "$ax_cv_gxx_version" in
40400 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40401 echo "${ECHO_T}no, it's broken" >&6; }
40402 wx_cv_cc___thread=no
40405 { echo "$as_me:$LINENO: result: yes, it works" >&5
40406 echo "${ECHO_T}yes, it works" >&6; }
40412 if test "$wx_cv_cc___thread" = "yes"; then
40413 cat >>confdefs.h <<\_ACEOF
40414 #define HAVE___THREAD_KEYWORD 1
40421 if test "$wxUSE_THREADS" = "yes" ; then
40423 x86_64-*-mingw32* )
40426 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40427 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40428 if test "${wx_cv_cflags_mthread+set}" = set; then
40429 echo $ECHO_N "(cached) $ECHO_C" >&6
40432 CFLAGS_OLD="$CFLAGS"
40433 CFLAGS="-mthreads $CFLAGS"
40434 cat >conftest.$ac_ext <<_ACEOF
40437 cat confdefs.h >>conftest.$ac_ext
40438 cat >>conftest.$ac_ext <<_ACEOF
40439 /* end confdefs.h. */
40449 rm -f conftest.$ac_objext
40450 if { (ac_try="$ac_compile"
40451 case "(($ac_try" in
40452 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40453 *) ac_try_echo
=$ac_try;;
40455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40456 (eval "$ac_compile") 2>conftest.er1
40458 grep -v '^ *+' conftest.er1
>conftest.err
40460 cat conftest.err
>&5
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); } && {
40463 test -z "$ac_c_werror_flag" ||
40464 test ! -s conftest.err
40465 } && test -s conftest.
$ac_objext; then
40466 wx_cv_cflags_mthread
=yes
40468 echo "$as_me: failed program was:" >&5
40469 sed 's/^/| /' conftest.
$ac_ext >&5
40471 wx_cv_cflags_mthread
=no
40475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40479 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40480 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40482 if test "$wx_cv_cflags_mthread" = "yes"; then
40483 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40484 LDFLAGS
="$LDFLAGS -mthreads"
40486 CFLAGS
="$CFLAGS_OLD"
40490 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40491 LDFLAGS
="$LDFLAGS -Zmt"
40497 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40498 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40499 if test "${ac_cv_func_localtime_r+set}" = set; then
40500 echo $ECHO_N "(cached) $ECHO_C" >&6
40502 cat >conftest.
$ac_ext <<_ACEOF
40505 cat confdefs.h
>>conftest.
$ac_ext
40506 cat >>conftest.
$ac_ext <<_ACEOF
40507 /* end confdefs.h. */
40508 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40510 #define localtime_r innocuous_localtime_r
40512 /* System header to define __stub macros and hopefully few prototypes,
40513 which can conflict with char localtime_r (); below.
40514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40515 <limits.h> exists even on freestanding compilers. */
40518 # include <limits.h>
40520 # include <assert.h>
40525 /* Override any GCC internal prototype to avoid an error.
40526 Use char because int might match the return type of a GCC
40527 builtin and then its argument prototype would still apply. */
40531 char localtime_r ();
40532 /* The GNU C library defines this for functions which it implements
40533 to always fail with ENOSYS. Some functions are actually named
40534 something starting with __ and the normal name is an alias. */
40535 #if defined __stub_localtime_r || defined __stub___localtime_r
40542 return localtime_r ();
40547 rm -f conftest.
$ac_objext conftest
$ac_exeext
40548 if { (ac_try
="$ac_link"
40549 case "(($ac_try" in
40550 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40551 *) ac_try_echo=$ac_try;;
40553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40554 (eval "$ac_link") 2>conftest.er1
40556 grep -v '^ *+' conftest.er1 >conftest.err
40558 cat conftest.err >&5
40559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40560 (exit $ac_status); } && {
40561 test -z "$ac_c_werror_flag" ||
40562 test ! -s conftest.err
40563 } && test -s conftest$ac_exeext &&
40564 $as_test_x conftest$ac_exeext; then
40565 ac_cv_func_localtime_r=yes
40567 echo "$as_me: failed program was:" >&5
40568 sed 's/^/| /' conftest.$ac_ext >&5
40570 ac_cv_func_localtime_r=no
40573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40574 conftest$ac_exeext conftest.$ac_ext
40576 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40577 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40578 if test $ac_cv_func_localtime_r = yes; then
40579 cat >>confdefs.h <<\_ACEOF
40580 #define HAVE_LOCALTIME_R 1
40585 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40586 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40587 if test "${ac_cv_func_gmtime_r+set}" = set; then
40588 echo $ECHO_N "(cached) $ECHO_C" >&6
40590 cat >conftest.$ac_ext <<_ACEOF
40593 cat confdefs.h >>conftest.$ac_ext
40594 cat >>conftest.$ac_ext <<_ACEOF
40595 /* end confdefs.h. */
40596 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40598 #define gmtime_r innocuous_gmtime_r
40600 /* System header to define __stub macros and hopefully few prototypes,
40601 which can conflict with char gmtime_r (); below.
40602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40603 <limits.h> exists even on freestanding compilers. */
40606 # include <limits.h>
40608 # include <assert.h>
40613 /* Override any GCC internal prototype to avoid an error.
40614 Use char because int might match the return type of a GCC
40615 builtin and then its argument prototype would still apply. */
40620 /* The GNU C library defines this for functions which it implements
40621 to always fail with ENOSYS. Some functions are actually named
40622 something starting with __ and the normal name is an alias. */
40623 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40630 return gmtime_r ();
40635 rm -f conftest.$ac_objext conftest$ac_exeext
40636 if { (ac_try="$ac_link"
40637 case "(($ac_try" in
40638 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40639 *) ac_try_echo
=$ac_try;;
40641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40642 (eval "$ac_link") 2>conftest.er1
40644 grep -v '^ *+' conftest.er1
>conftest.err
40646 cat conftest.err
>&5
40647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40648 (exit $ac_status); } && {
40649 test -z "$ac_c_werror_flag" ||
40650 test ! -s conftest.err
40651 } && test -s conftest
$ac_exeext &&
40652 $as_test_x conftest
$ac_exeext; then
40653 ac_cv_func_gmtime_r
=yes
40655 echo "$as_me: failed program was:" >&5
40656 sed 's/^/| /' conftest.
$ac_ext >&5
40658 ac_cv_func_gmtime_r
=no
40661 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40662 conftest
$ac_exeext conftest.
$ac_ext
40664 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40665 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40666 if test $ac_cv_func_gmtime_r = yes; then
40667 cat >>confdefs.h
<<\_ACEOF
40668 #define HAVE_GMTIME_R 1
40677 ac_cpp
='$CPP $CPPFLAGS'
40678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40682 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40683 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40685 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40686 echo $ECHO_N "(cached) $ECHO_C" >&6
40690 ################################################################
40692 ac_cv_func_which_gethostbyname_r
=unknown
40695 # ONE ARGUMENT (sanity check)
40698 # This should fail, as there is no variant of gethostbyname_r() that takes
40699 # a single argument. If it actually compiles, then we can assume that
40700 # netdb.h is not declaring the function, and the compiler is thereby
40701 # assuming an implicit prototype. In which case, we're out of luck.
40703 cat >conftest.
$ac_ext <<_ACEOF
40706 cat confdefs.h
>>conftest.
$ac_ext
40707 cat >>conftest.
$ac_ext <<_ACEOF
40708 /* end confdefs.h. */
40714 char *name = "www.gnu.org";
40715 (void)gethostbyname_r(name) /* ; */
40721 rm -f conftest.
$ac_objext
40722 if { (ac_try
="$ac_compile"
40723 case "(($ac_try" in
40724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40725 *) ac_try_echo=$ac_try;;
40727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40728 (eval "$ac_compile") 2>conftest.er1
40730 grep -v '^ *+' conftest.er1 >conftest.err
40732 cat conftest.err >&5
40733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40734 (exit $ac_status); } && {
40735 test -z "$ac_c_werror_flag" ||
40736 test ! -s conftest.err
40737 } && test -s conftest.$ac_objext; then
40738 ac_cv_func_which_gethostbyname_r=no
40740 echo "$as_me: failed program was:" >&5
40741 sed 's/^/| /' conftest.$ac_ext >&5
40746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40753 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40755 cat >conftest.$ac_ext <<_ACEOF
40758 cat confdefs.h >>conftest.$ac_ext
40759 cat >>conftest.$ac_ext <<_ACEOF
40760 /* end confdefs.h. */
40766 char *name = "www.gnu.org";
40767 struct hostent ret, *retp;
40771 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40777 rm -f conftest.$ac_objext
40778 if { (ac_try="$ac_compile"
40779 case "(($ac_try" in
40780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40781 *) ac_try_echo
=$ac_try;;
40783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40784 (eval "$ac_compile") 2>conftest.er1
40786 grep -v '^ *+' conftest.er1
>conftest.err
40788 cat conftest.err
>&5
40789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40790 (exit $ac_status); } && {
40791 test -z "$ac_c_werror_flag" ||
40792 test ! -s conftest.err
40793 } && test -s conftest.
$ac_objext; then
40794 ac_cv_func_which_gethostbyname_r
=six
40796 echo "$as_me: failed program was:" >&5
40797 sed 's/^/| /' conftest.
$ac_ext >&5
40802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40811 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40813 cat >conftest.
$ac_ext <<_ACEOF
40816 cat confdefs.h
>>conftest.
$ac_ext
40817 cat >>conftest.
$ac_ext <<_ACEOF
40818 /* end confdefs.h. */
40824 char *name = "www.gnu.org";
40825 struct hostent ret;
40829 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40835 rm -f conftest.
$ac_objext
40836 if { (ac_try
="$ac_compile"
40837 case "(($ac_try" in
40838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40839 *) ac_try_echo=$ac_try;;
40841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40842 (eval "$ac_compile") 2>conftest.er1
40844 grep -v '^ *+' conftest.er1 >conftest.err
40846 cat conftest.err >&5
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); } && {
40849 test -z "$ac_c_werror_flag" ||
40850 test ! -s conftest.err
40851 } && test -s conftest.$ac_objext; then
40852 ac_cv_func_which_gethostbyname_r=five
40854 echo "$as_me: failed program was:" >&5
40855 sed 's/^/| /' conftest.$ac_ext >&5
40860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40866 # (e.g. AIX, HP-UX, Tru64)
40869 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40871 cat >conftest.$ac_ext <<_ACEOF
40874 cat confdefs.h >>conftest.$ac_ext
40875 cat >>conftest.$ac_ext <<_ACEOF
40876 /* end confdefs.h. */
40882 char *name = "www.gnu.org";
40883 struct hostent ret;
40884 struct hostent_data data;
40885 (void)gethostbyname_r(name, &ret, &data) /* ; */
40891 rm -f conftest.$ac_objext
40892 if { (ac_try="$ac_compile"
40893 case "(($ac_try" in
40894 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40895 *) ac_try_echo
=$ac_try;;
40897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40898 (eval "$ac_compile") 2>conftest.er1
40900 grep -v '^ *+' conftest.er1
>conftest.err
40902 cat conftest.err
>&5
40903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40904 (exit $ac_status); } && {
40905 test -z "$ac_c_werror_flag" ||
40906 test ! -s conftest.err
40907 } && test -s conftest.
$ac_objext; then
40908 ac_cv_func_which_gethostbyname_r
=three
40910 echo "$as_me: failed program was:" >&5
40911 sed 's/^/| /' conftest.
$ac_ext >&5
40916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40920 ################################################################
40925 case "$ac_cv_func_which_gethostbyname_r" in
40927 { echo "$as_me:$LINENO: result: three" >&5
40928 echo "${ECHO_T}three" >&6; }
40929 cat >>confdefs.h
<<\_ACEOF
40930 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40936 { echo "$as_me:$LINENO: result: five" >&5
40937 echo "${ECHO_T}five" >&6; }
40938 cat >>confdefs.h
<<\_ACEOF
40939 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40945 { echo "$as_me:$LINENO: result: six" >&5
40946 echo "${ECHO_T}six" >&6; }
40947 cat >>confdefs.h
<<\_ACEOF
40948 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40954 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40955 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40959 { echo "$as_me:$LINENO: result: can't tell" >&5
40960 echo "${ECHO_T}can't tell" >&6; }
40964 { { echo "$as_me:$LINENO: error: internal error" >&5
40965 echo "$as_me: error: internal error" >&2;}
40966 { (exit 1); exit 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
40978 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40979 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40980 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40981 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40982 if test "${ac_cv_func_gethostbyname+set}" = set; then
40983 echo $ECHO_N "(cached) $ECHO_C" >&6
40985 cat >conftest.
$ac_ext <<_ACEOF
40988 cat confdefs.h
>>conftest.
$ac_ext
40989 cat >>conftest.
$ac_ext <<_ACEOF
40990 /* end confdefs.h. */
40991 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40993 #define gethostbyname innocuous_gethostbyname
40995 /* System header to define __stub macros and hopefully few prototypes,
40996 which can conflict with char gethostbyname (); below.
40997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40998 <limits.h> exists even on freestanding compilers. */
41001 # include <limits.h>
41003 # include <assert.h>
41006 #undef gethostbyname
41008 /* Override any GCC internal prototype to avoid an error.
41009 Use char because int might match the return type of a GCC
41010 builtin and then its argument prototype would still apply. */
41014 char gethostbyname ();
41015 /* The GNU C library defines this for functions which it implements
41016 to always fail with ENOSYS. Some functions are actually named
41017 something starting with __ and the normal name is an alias. */
41018 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41025 return gethostbyname ();
41030 rm -f conftest.
$ac_objext conftest
$ac_exeext
41031 if { (ac_try
="$ac_link"
41032 case "(($ac_try" in
41033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41034 *) ac_try_echo=$ac_try;;
41036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41037 (eval "$ac_link") 2>conftest.er1
41039 grep -v '^ *+' conftest.er1 >conftest.err
41041 cat conftest.err >&5
41042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043 (exit $ac_status); } && {
41044 test -z "$ac_c_werror_flag" ||
41045 test ! -s conftest.err
41046 } && test -s conftest$ac_exeext &&
41047 $as_test_x conftest$ac_exeext; then
41048 ac_cv_func_gethostbyname=yes
41050 echo "$as_me: failed program was:" >&5
41051 sed 's/^/| /' conftest.$ac_ext >&5
41053 ac_cv_func_gethostbyname=no
41056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41057 conftest$ac_exeext conftest.$ac_ext
41059 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41060 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41061 if test $ac_cv_func_gethostbyname = yes; then
41062 cat >>confdefs.h <<\_ACEOF
41063 #define HAVE_GETHOSTBYNAME 1
41070 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41071 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41072 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41073 echo $ECHO_N "(cached) $ECHO_C" >&6
41077 ac_cpp='$CXXCPP $CPPFLAGS'
41078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41083 cat >conftest.$ac_ext <<_ACEOF
41086 cat confdefs.h >>conftest.$ac_ext
41087 cat >>conftest.$ac_ext <<_ACEOF
41088 /* end confdefs.h. */
41096 struct servent *se, *res;
41099 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41105 rm -f conftest.$ac_objext
41106 if { (ac_try="$ac_compile"
41107 case "(($ac_try" in
41108 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41109 *) ac_try_echo
=$ac_try;;
41111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41112 (eval "$ac_compile") 2>conftest.er1
41114 grep -v '^ *+' conftest.er1
>conftest.err
41116 cat conftest.err
>&5
41117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41118 (exit $ac_status); } && {
41119 test -z "$ac_cxx_werror_flag" ||
41120 test ! -s conftest.err
41121 } && test -s conftest.
$ac_objext; then
41122 ac_cv_func_which_getservbyname_r
=six
41124 echo "$as_me: failed program was:" >&5
41125 sed 's/^/| /' conftest.
$ac_ext >&5
41128 cat >conftest.
$ac_ext <<_ACEOF
41131 cat confdefs.h
>>conftest.
$ac_ext
41132 cat >>conftest.
$ac_ext <<_ACEOF
41133 /* end confdefs.h. */
41141 struct servent *se;
41144 (void) getservbyname_r(name, proto, se, buffer, buflen)
41150 rm -f conftest.
$ac_objext
41151 if { (ac_try
="$ac_compile"
41152 case "(($ac_try" in
41153 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41154 *) ac_try_echo=$ac_try;;
41156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41157 (eval "$ac_compile") 2>conftest.er1
41159 grep -v '^ *+' conftest.er1 >conftest.err
41161 cat conftest.err >&5
41162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41163 (exit $ac_status); } && {
41164 test -z "$ac_cxx_werror_flag" ||
41165 test ! -s conftest.err
41166 } && test -s conftest.$ac_objext; then
41167 ac_cv_func_which_getservbyname_r=five
41169 echo "$as_me: failed program was:" >&5
41170 sed 's/^/| /' conftest.$ac_ext >&5
41173 cat >conftest.$ac_ext <<_ACEOF
41176 cat confdefs.h >>conftest.$ac_ext
41177 cat >>conftest.$ac_ext <<_ACEOF
41178 /* end confdefs.h. */
41186 struct servent *se;
41187 struct servent_data data;
41188 (void) getservbyname_r(name, proto, se, &data);
41194 rm -f conftest.$ac_objext
41195 if { (ac_try="$ac_compile"
41196 case "(($ac_try" in
41197 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41198 *) ac_try_echo
=$ac_try;;
41200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41201 (eval "$ac_compile") 2>conftest.er1
41203 grep -v '^ *+' conftest.er1
>conftest.err
41205 cat conftest.err
>&5
41206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207 (exit $ac_status); } && {
41208 test -z "$ac_cxx_werror_flag" ||
41209 test ! -s conftest.err
41210 } && test -s conftest.
$ac_objext; then
41211 ac_cv_func_which_getservbyname_r
=four
41213 echo "$as_me: failed program was:" >&5
41214 sed 's/^/| /' conftest.
$ac_ext >&5
41216 ac_cv_func_which_getservbyname_r
=no
41220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41232 ac_cpp
='$CPP $CPPFLAGS'
41233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41240 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41241 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41243 if test $ac_cv_func_which_getservbyname_r = six
; then
41244 cat >>confdefs.h
<<\_ACEOF
41245 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41248 elif test $ac_cv_func_which_getservbyname_r = five
; then
41249 cat >>confdefs.h
<<\_ACEOF
41250 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41253 elif test $ac_cv_func_which_getservbyname_r = four
; then
41254 cat >>confdefs.h
<<\_ACEOF
41255 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41261 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41262 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41264 for ac_func
in getservbyname
41266 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41267 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41269 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41270 echo $ECHO_N "(cached) $ECHO_C" >&6
41272 cat >conftest.
$ac_ext <<_ACEOF
41275 cat confdefs.h
>>conftest.
$ac_ext
41276 cat >>conftest.
$ac_ext <<_ACEOF
41277 /* end confdefs.h. */
41278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41280 #define $ac_func innocuous_$ac_func
41282 /* System header to define __stub macros and hopefully few prototypes,
41283 which can conflict with char $ac_func (); below.
41284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41285 <limits.h> exists even on freestanding compilers. */
41288 # include <limits.h>
41290 # include <assert.h>
41295 /* Override any GCC internal prototype to avoid an error.
41296 Use char because int might match the return type of a GCC
41297 builtin and then its argument prototype would still apply. */
41302 /* The GNU C library defines this for functions which it implements
41303 to always fail with ENOSYS. Some functions are actually named
41304 something starting with __ and the normal name is an alias. */
41305 #if defined __stub_$ac_func || defined __stub___$ac_func
41312 return $ac_func ();
41317 rm -f conftest.
$ac_objext conftest
$ac_exeext
41318 if { (ac_try
="$ac_link"
41319 case "(($ac_try" in
41320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41321 *) ac_try_echo=$ac_try;;
41323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41324 (eval "$ac_link") 2>conftest.er1
41326 grep -v '^ *+' conftest.er1 >conftest.err
41328 cat conftest.err >&5
41329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330 (exit $ac_status); } && {
41331 test -z "$ac_c_werror_flag" ||
41332 test ! -s conftest.err
41333 } && test -s conftest$ac_exeext &&
41334 $as_test_x conftest$ac_exeext; then
41335 eval "$as_ac_var=yes"
41337 echo "$as_me: failed program was:" >&5
41338 sed 's/^/| /' conftest.$ac_ext >&5
41340 eval "$as_ac_var=no"
41343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41344 conftest$ac_exeext conftest.$ac_ext
41346 ac_res=`eval echo '${'$as_ac_var'}'`
41347 { echo "$as_me:$LINENO: result: $ac_res" >&5
41348 echo "${ECHO_T}$ac_res" >&6; }
41349 if test `eval echo '${'$as_ac_var'}'` = yes; then
41350 cat >>confdefs.h <<_ACEOF
41351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41353 cat >>confdefs.h <<\_ACEOF
41354 #define HAVE_GETSERVBYNAME 1
41362 if test "$wxUSE_THREADS" = "yes"; then
41363 cat >>confdefs.h <<\_ACEOF
41364 #define wxUSE_THREADS 1
41368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41370 if test "$wx_cv_func_strtok_r" = "yes"; then
41371 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41372 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41373 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41374 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41375 { echo "$as_me:$LINENO: result: yes" >&5
41376 echo "${ECHO_T}yes" >&6; }
41378 { echo "$as_me:$LINENO: result: no" >&5
41379 echo "${ECHO_T}no" >&6; }
41384 if test "$WXGTK2" = 1 ; then
41385 cat >>confdefs.h <<_ACEOF
41386 #define __WXGTK20__ $WXGTK2
41392 if test "$WXGTK12" = 1 ; then
41393 cat >>confdefs.h <<_ACEOF
41394 #define __WXGTK12__ $WXGTK12
41399 if test "$WXGTK127" = 1 ; then
41400 cat >>confdefs.h <<_ACEOF
41401 #define __WXGTK127__ $WXGTK127
41406 if test "$WXGPE" = 1 ; then
41407 cat >>confdefs.h <<_ACEOF
41408 #define __WXGPE__ $WXGPE
41414 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41418 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41419 wxUSE_DEBUG_INFO=yes
41420 if test "$GCC" = yes; then
41421 DEBUG_CFLAGS="-ggdb"
41425 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41426 cat >>confdefs.h <<\_ACEOF
41430 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41432 if test "$wxUSE_GTK" = 1 ; then
41433 if test "x$wxGTK_VERSION" = "x1" ; then
41434 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41439 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41440 cat >>confdefs.h <<\_ACEOF
41441 #define wxUSE_MEMORY_TRACING 1
41444 cat >>confdefs.h <<\_ACEOF
41445 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41448 cat >>confdefs.h <<\_ACEOF
41449 #define wxUSE_DEBUG_NEW_ALWAYS 1
41452 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41455 if test "$wxUSE_DMALLOC" = "yes" ; then
41456 DMALLOC_LIBS="-ldmallocthcxx"
41460 if test "$wxUSE_PROFILE" = "yes" ; then
41461 PROFILE_FLAGS=" -pg"
41464 if test "$GCC" = "yes" ; then
41465 if test "$wxUSE_NO_RTTI" = "yes" ; then
41466 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41468 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41469 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41471 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41472 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41477 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41480 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41486 if test "$wxUSE_OPTIMISE" = "no" ; then
41487 if test "$GCC" = yes ; then
41488 OPTIMISE_CFLAGS="-O0"
41491 if test "$GCC" = yes ; then
41493 *-pc-os2_emx | *-pc-os2-emx )
41494 OPTIMISE_CFLAGS="-O2"
41497 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41501 OPTIMISE_CFLAGS="-O"
41506 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41507 cat >>confdefs.h <<\_ACEOF
41508 #define WXWIN_COMPATIBILITY_2_6 1
41512 WXWIN_COMPATIBILITY_2_8="yes"
41515 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41516 cat >>confdefs.h <<\_ACEOF
41517 #define WXWIN_COMPATIBILITY_2_8 1
41523 if test "$wxUSE_GUI" = "yes"; then
41524 cat >>confdefs.h <<\_ACEOF
41525 #define wxUSE_GUI 1
41532 if test "$wxUSE_UNIX" = "yes"; then
41533 cat >>confdefs.h <<\_ACEOF
41534 #define wxUSE_UNIX 1
41540 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41544 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41545 if test "$USE_DOS" = 1; then
41549 for ac_func in dlopen
41551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41552 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41554 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41555 echo $ECHO_N "(cached) $ECHO_C" >&6
41557 cat >conftest.$ac_ext <<_ACEOF
41560 cat confdefs.h >>conftest.$ac_ext
41561 cat >>conftest.$ac_ext <<_ACEOF
41562 /* end confdefs.h. */
41563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41565 #define $ac_func innocuous_$ac_func
41567 /* System header to define __stub macros and hopefully few prototypes,
41568 which can conflict with char $ac_func (); below.
41569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41570 <limits.h> exists even on freestanding compilers. */
41573 # include <limits.h>
41575 # include <assert.h>
41580 /* Override any GCC internal prototype to avoid an error.
41581 Use char because int might match the return type of a GCC
41582 builtin and then its argument prototype would still apply. */
41587 /* The GNU C library defines this for functions which it implements
41588 to always fail with ENOSYS. Some functions are actually named
41589 something starting with __ and the normal name is an alias. */
41590 #if defined __stub_$ac_func || defined __stub___$ac_func
41597 return $ac_func ();
41602 rm -f conftest.$ac_objext conftest$ac_exeext
41603 if { (ac_try="$ac_link"
41604 case "(($ac_try" in
41605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41606 *) ac_try_echo
=$ac_try;;
41608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41609 (eval "$ac_link") 2>conftest.er1
41611 grep -v '^ *+' conftest.er1
>conftest.err
41613 cat conftest.err
>&5
41614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615 (exit $ac_status); } && {
41616 test -z "$ac_c_werror_flag" ||
41617 test ! -s conftest.err
41618 } && test -s conftest
$ac_exeext &&
41619 $as_test_x conftest
$ac_exeext; then
41620 eval "$as_ac_var=yes"
41622 echo "$as_me: failed program was:" >&5
41623 sed 's/^/| /' conftest.
$ac_ext >&5
41625 eval "$as_ac_var=no"
41628 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41629 conftest
$ac_exeext conftest.
$ac_ext
41631 ac_res
=`eval echo '${'$as_ac_var'}'`
41632 { echo "$as_me:$LINENO: result: $ac_res" >&5
41633 echo "${ECHO_T}$ac_res" >&6; }
41634 if test `eval echo '${'$as_ac_var'}'` = yes; then
41635 cat >>confdefs.h
<<_ACEOF
41636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41639 cat >>confdefs.h
<<\_ACEOF
41640 #define HAVE_DLOPEN 1
41647 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41648 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41649 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41650 echo $ECHO_N "(cached) $ECHO_C" >&6
41652 ac_check_lib_save_LIBS
=$LIBS
41654 cat >conftest.
$ac_ext <<_ACEOF
41657 cat confdefs.h
>>conftest.
$ac_ext
41658 cat >>conftest.
$ac_ext <<_ACEOF
41659 /* end confdefs.h. */
41661 /* Override any GCC internal prototype to avoid an error.
41662 Use char because int might match the return type of a GCC
41663 builtin and then its argument prototype would still apply. */
41676 rm -f conftest.
$ac_objext conftest
$ac_exeext
41677 if { (ac_try
="$ac_link"
41678 case "(($ac_try" in
41679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41680 *) ac_try_echo=$ac_try;;
41682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41683 (eval "$ac_link") 2>conftest.er1
41685 grep -v '^ *+' conftest.er1 >conftest.err
41687 cat conftest.err >&5
41688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41689 (exit $ac_status); } && {
41690 test -z "$ac_c_werror_flag" ||
41691 test ! -s conftest.err
41692 } && test -s conftest$ac_exeext &&
41693 $as_test_x conftest$ac_exeext; then
41694 ac_cv_lib_dl_dlopen=yes
41696 echo "$as_me: failed program was:" >&5
41697 sed 's/^/| /' conftest.$ac_ext >&5
41699 ac_cv_lib_dl_dlopen=no
41702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41703 conftest$ac_exeext conftest.$ac_ext
41704 LIBS=$ac_check_lib_save_LIBS
41706 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41707 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41708 if test $ac_cv_lib_dl_dlopen = yes; then
41710 cat >>confdefs.h <<\_ACEOF
41711 #define HAVE_DLOPEN 1
41715 DL_LINK=" -ldl$DL_LINK"
41720 for ac_func in shl_load
41722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41723 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41725 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41726 echo $ECHO_N "(cached) $ECHO_C" >&6
41728 cat >conftest.$ac_ext <<_ACEOF
41731 cat confdefs.h >>conftest.$ac_ext
41732 cat >>conftest.$ac_ext <<_ACEOF
41733 /* end confdefs.h. */
41734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41736 #define $ac_func innocuous_$ac_func
41738 /* System header to define __stub macros and hopefully few prototypes,
41739 which can conflict with char $ac_func (); below.
41740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41741 <limits.h> exists even on freestanding compilers. */
41744 # include <limits.h>
41746 # include <assert.h>
41751 /* Override any GCC internal prototype to avoid an error.
41752 Use char because int might match the return type of a GCC
41753 builtin and then its argument prototype would still apply. */
41758 /* The GNU C library defines this for functions which it implements
41759 to always fail with ENOSYS. Some functions are actually named
41760 something starting with __ and the normal name is an alias. */
41761 #if defined __stub_$ac_func || defined __stub___$ac_func
41768 return $ac_func ();
41773 rm -f conftest.$ac_objext conftest$ac_exeext
41774 if { (ac_try="$ac_link"
41775 case "(($ac_try" in
41776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41777 *) ac_try_echo
=$ac_try;;
41779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41780 (eval "$ac_link") 2>conftest.er1
41782 grep -v '^ *+' conftest.er1
>conftest.err
41784 cat conftest.err
>&5
41785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41786 (exit $ac_status); } && {
41787 test -z "$ac_c_werror_flag" ||
41788 test ! -s conftest.err
41789 } && test -s conftest
$ac_exeext &&
41790 $as_test_x conftest
$ac_exeext; then
41791 eval "$as_ac_var=yes"
41793 echo "$as_me: failed program was:" >&5
41794 sed 's/^/| /' conftest.
$ac_ext >&5
41796 eval "$as_ac_var=no"
41799 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41800 conftest
$ac_exeext conftest.
$ac_ext
41802 ac_res
=`eval echo '${'$as_ac_var'}'`
41803 { echo "$as_me:$LINENO: result: $ac_res" >&5
41804 echo "${ECHO_T}$ac_res" >&6; }
41805 if test `eval echo '${'$as_ac_var'}'` = yes; then
41806 cat >>confdefs.h
<<_ACEOF
41807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41810 cat >>confdefs.h
<<\_ACEOF
41811 #define HAVE_SHL_LOAD 1
41818 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41819 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41820 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41821 echo $ECHO_N "(cached) $ECHO_C" >&6
41823 ac_check_lib_save_LIBS
=$LIBS
41824 LIBS
="-lshl_load $LIBS"
41825 cat >conftest.
$ac_ext <<_ACEOF
41828 cat confdefs.h
>>conftest.
$ac_ext
41829 cat >>conftest.
$ac_ext <<_ACEOF
41830 /* end confdefs.h. */
41832 /* Override any GCC internal prototype to avoid an error.
41833 Use char because int might match the return type of a GCC
41834 builtin and then its argument prototype would still apply. */
41847 rm -f conftest.
$ac_objext conftest
$ac_exeext
41848 if { (ac_try
="$ac_link"
41849 case "(($ac_try" in
41850 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41851 *) ac_try_echo=$ac_try;;
41853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41854 (eval "$ac_link") 2>conftest.er1
41856 grep -v '^ *+' conftest.er1 >conftest.err
41858 cat conftest.err >&5
41859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41860 (exit $ac_status); } && {
41861 test -z "$ac_c_werror_flag" ||
41862 test ! -s conftest.err
41863 } && test -s conftest$ac_exeext &&
41864 $as_test_x conftest$ac_exeext; then
41865 ac_cv_lib_shl_load_dld=yes
41867 echo "$as_me: failed program was:" >&5
41868 sed 's/^/| /' conftest.$ac_ext >&5
41870 ac_cv_lib_shl_load_dld=no
41873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41874 conftest$ac_exeext conftest.$ac_ext
41875 LIBS=$ac_check_lib_save_LIBS
41877 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41878 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41879 if test $ac_cv_lib_shl_load_dld = yes; then
41882 DL_LINK=" -ldld$DL_LINK"
41898 if test "$HAVE_DL_FUNCS" = 1; then
41900 for ac_func in dlerror
41902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41903 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41905 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41906 echo $ECHO_N "(cached) $ECHO_C" >&6
41908 cat >conftest.$ac_ext <<_ACEOF
41911 cat confdefs.h >>conftest.$ac_ext
41912 cat >>conftest.$ac_ext <<_ACEOF
41913 /* end confdefs.h. */
41914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41916 #define $ac_func innocuous_$ac_func
41918 /* System header to define __stub macros and hopefully few prototypes,
41919 which can conflict with char $ac_func (); below.
41920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41921 <limits.h> exists even on freestanding compilers. */
41924 # include <limits.h>
41926 # include <assert.h>
41931 /* Override any GCC internal prototype to avoid an error.
41932 Use char because int might match the return type of a GCC
41933 builtin and then its argument prototype would still apply. */
41938 /* The GNU C library defines this for functions which it implements
41939 to always fail with ENOSYS. Some functions are actually named
41940 something starting with __ and the normal name is an alias. */
41941 #if defined __stub_$ac_func || defined __stub___$ac_func
41948 return $ac_func ();
41953 rm -f conftest.$ac_objext conftest$ac_exeext
41954 if { (ac_try="$ac_link"
41955 case "(($ac_try" in
41956 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41957 *) ac_try_echo
=$ac_try;;
41959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41960 (eval "$ac_link") 2>conftest.er1
41962 grep -v '^ *+' conftest.er1
>conftest.err
41964 cat conftest.err
>&5
41965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41966 (exit $ac_status); } && {
41967 test -z "$ac_c_werror_flag" ||
41968 test ! -s conftest.err
41969 } && test -s conftest
$ac_exeext &&
41970 $as_test_x conftest
$ac_exeext; then
41971 eval "$as_ac_var=yes"
41973 echo "$as_me: failed program was:" >&5
41974 sed 's/^/| /' conftest.
$ac_ext >&5
41976 eval "$as_ac_var=no"
41979 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41980 conftest
$ac_exeext conftest.
$ac_ext
41982 ac_res
=`eval echo '${'$as_ac_var'}'`
41983 { echo "$as_me:$LINENO: result: $ac_res" >&5
41984 echo "${ECHO_T}$ac_res" >&6; }
41985 if test `eval echo '${'$as_ac_var'}'` = yes; then
41986 cat >>confdefs.h
<<_ACEOF
41987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41989 cat >>confdefs.h
<<\_ACEOF
41990 #define HAVE_DLERROR 1
41995 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41996 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41997 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41998 echo $ECHO_N "(cached) $ECHO_C" >&6
42000 ac_check_lib_save_LIBS
=$LIBS
42002 cat >conftest.
$ac_ext <<_ACEOF
42005 cat confdefs.h
>>conftest.
$ac_ext
42006 cat >>conftest.
$ac_ext <<_ACEOF
42007 /* end confdefs.h. */
42009 /* Override any GCC internal prototype to avoid an error.
42010 Use char because int might match the return type of a GCC
42011 builtin and then its argument prototype would still apply. */
42024 rm -f conftest.
$ac_objext conftest
$ac_exeext
42025 if { (ac_try
="$ac_link"
42026 case "(($ac_try" in
42027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42028 *) ac_try_echo=$ac_try;;
42030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42031 (eval "$ac_link") 2>conftest.er1
42033 grep -v '^ *+' conftest.er1 >conftest.err
42035 cat conftest.err >&5
42036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42037 (exit $ac_status); } && {
42038 test -z "$ac_c_werror_flag" ||
42039 test ! -s conftest.err
42040 } && test -s conftest$ac_exeext &&
42041 $as_test_x conftest$ac_exeext; then
42042 ac_cv_lib_dl_dlerror=yes
42044 echo "$as_me: failed program was:" >&5
42045 sed 's/^/| /' conftest.$ac_ext >&5
42047 ac_cv_lib_dl_dlerror=no
42050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42051 conftest$ac_exeext conftest.$ac_ext
42052 LIBS=$ac_check_lib_save_LIBS
42054 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42055 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42056 if test $ac_cv_lib_dl_dlerror = yes; then
42057 cat >>confdefs.h <<\_ACEOF
42058 #define HAVE_DLERROR 1
42071 if test "$USE_DARWIN" = 1; then
42075 if test "$HAVE_DL_FUNCS" = 0; then
42076 if test "$HAVE_SHL_FUNCS" = 0; then
42077 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42078 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42079 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42080 wxUSE_DYNAMIC_LOADER=no
42081 wxUSE_DYNLIB_CLASS=no
42083 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42084 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42091 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42092 cat >>confdefs.h <<\_ACEOF
42093 #define wxUSE_DYNAMIC_LOADER 1
42097 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42098 cat >>confdefs.h <<\_ACEOF
42099 #define wxUSE_DYNLIB_CLASS 1
42106 if test "$wxUSE_PLUGINS" = "yes" ; then
42107 if test "$wxUSE_SHARED" = "no" ; then
42108 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42109 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42112 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42113 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42114 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42117 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42118 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42119 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42122 if test "$wxUSE_PLUGINS" = "yes" ; then
42123 cat >>confdefs.h <<\_ACEOF
42124 #define wxUSE_PLUGINS 1
42131 if test "$wxUSE_STL" = "yes"; then
42132 cat >>confdefs.h <<\_ACEOF
42133 #define wxUSE_STL 1
42138 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42139 cat >>confdefs.h <<\_ACEOF
42140 #define wxUSE_EXTENDED_RTTI 1
42145 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42146 cat >>confdefs.h <<\_ACEOF
42147 #define wxUSE_APPLE_IEEE 1
42152 if test "$wxUSE_TIMER" = "yes"; then
42153 cat >>confdefs.h <<\_ACEOF
42154 #define wxUSE_TIMER 1
42159 if test "$USE_UNIX" = 1 ; then
42160 if test "$wxUSE_MGL" != 1; then
42161 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42162 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42163 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42164 echo $ECHO_N "(cached) $ECHO_C" >&6
42167 cat >conftest.$ac_ext <<_ACEOF
42170 cat confdefs.h >>conftest.$ac_ext
42171 cat >>conftest.$ac_ext <<_ACEOF
42172 /* end confdefs.h. */
42174 #include <sys/ioctl.h>
42175 #include <sys/soundcard.h>
42181 ioctl(0, SNDCTL_DSP_SPEED, 0);
42187 rm -f conftest.$ac_objext conftest$ac_exeext
42188 if { (ac_try="$ac_link"
42189 case "(($ac_try" in
42190 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42191 *) ac_try_echo
=$ac_try;;
42193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42194 (eval "$ac_link") 2>conftest.er1
42196 grep -v '^ *+' conftest.er1
>conftest.err
42198 cat conftest.err
>&5
42199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42200 (exit $ac_status); } && {
42201 test -z "$ac_c_werror_flag" ||
42202 test ! -s conftest.err
42203 } && test -s conftest
$ac_exeext &&
42204 $as_test_x conftest
$ac_exeext; then
42205 ac_cv_header_sys_soundcard
=yes
42207 echo "$as_me: failed program was:" >&5
42208 sed 's/^/| /' conftest.
$ac_ext >&5
42212 LIBS
="$saveLibs -lossaudio"
42213 cat >conftest.
$ac_ext <<_ACEOF
42216 cat confdefs.h
>>conftest.
$ac_ext
42217 cat >>conftest.
$ac_ext <<_ACEOF
42218 /* end confdefs.h. */
42220 #include <sys/ioctl.h>
42221 #include <sys/soundcard.h>
42227 ioctl(0, SNDCTL_DSP_SPEED, 0);
42233 rm -f conftest.
$ac_objext conftest
$ac_exeext
42234 if { (ac_try
="$ac_link"
42235 case "(($ac_try" in
42236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42237 *) ac_try_echo=$ac_try;;
42239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42240 (eval "$ac_link") 2>conftest.er1
42242 grep -v '^ *+' conftest.er1 >conftest.err
42244 cat conftest.err >&5
42245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42246 (exit $ac_status); } && {
42247 test -z "$ac_c_werror_flag" ||
42248 test ! -s conftest.err
42249 } && test -s conftest$ac_exeext &&
42250 $as_test_x conftest$ac_exeext; then
42251 ac_cv_header_sys_soundcard=yes
42253 echo "$as_me: failed program was:" >&5
42254 sed 's/^/| /' conftest.$ac_ext >&5
42258 ac_cv_header_sys_soundcard=no
42263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42264 conftest$ac_exeext conftest.$ac_ext
42269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42270 conftest$ac_exeext conftest.$ac_ext
42273 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42274 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42277 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42278 cat >>confdefs.h <<\_ACEOF
42279 #define HAVE_SYS_SOUNDCARD_H 1
42286 if test "$wxUSE_SOUND" = "yes"; then
42287 if test "$USE_UNIX" = 1 ; then
42288 if test "$wxUSE_LIBSDL" != "no"; then
42290 # Check whether --with-sdl-prefix was given.
42291 if test "${with_sdl_prefix+set}" = set; then
42292 withval=$with_sdl_prefix; sdl_prefix="$withval"
42298 # Check whether --with-sdl-exec-prefix was given.
42299 if test "${with_sdl_exec_prefix+set}" = set; then
42300 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42305 # Check whether --enable-sdltest was given.
42306 if test "${enable_sdltest+set}" = set; then
42307 enableval=$enable_sdltest;
42313 if test x$sdl_exec_prefix != x ; then
42314 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42315 if test x${SDL_CONFIG+set} != xset ; then
42316 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42319 if test x$sdl_prefix != x ; then
42320 sdl_args="$sdl_args --prefix=$sdl_prefix"
42321 if test x${SDL_CONFIG+set} != xset ; then
42322 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42326 if test "x$prefix" != xNONE; then
42327 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42329 # Extract the first word of "sdl-config", so it can be a program name with args.
42330 set dummy sdl-config; ac_word=$2
42331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42333 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42334 echo $ECHO_N "(cached) $ECHO_C" >&6
42336 case $SDL_CONFIG in
42338 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42342 for as_dir in $PATH
42345 test -z "$as_dir" && as_dir=.
42346 for ac_exec_ext in '' $ac_executable_extensions; do
42347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42348 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42356 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42360 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42361 if test -n "$SDL_CONFIG"; then
42362 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42363 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42365 { echo "$as_me:$LINENO: result: no" >&5
42366 echo "${ECHO_T}no" >&6; }
42370 min_sdl_version=1.2.0
42371 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42372 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42374 if test "$SDL_CONFIG" = "no" ; then
42377 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42378 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42380 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42381 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42382 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42383 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42384 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42385 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42386 if test "x$enable_sdltest" = "xyes" ; then
42387 ac_save_CFLAGS="$CFLAGS"
42388 ac_save_CXXFLAGS="$CXXFLAGS"
42389 ac_save_LIBS="$LIBS"
42390 CFLAGS="$CFLAGS $SDL_CFLAGS"
42391 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42392 LIBS="$LIBS $SDL_LIBS"
42394 if test "$cross_compiling" = yes; then
42395 echo $ac_n "cross compiling; assumed OK... $ac_c"
42397 cat >conftest.$ac_ext <<_ACEOF
42400 cat confdefs.h >>conftest.$ac_ext
42401 cat >>conftest.$ac_ext <<_ACEOF
42402 /* end confdefs.h. */
42405 #include <stdlib.h>
42406 #include <string.h>
42410 my_strdup (char *str)
42416 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42417 strcpy (new_str, str);
42425 int main (int argc, char *argv[])
42427 int major, minor, micro;
42430 /* This hangs on some systems (?)
42431 system ("touch conf.sdltest");
42433 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42435 /* HP/UX 9 (%@#!) writes to sscanf strings */
42436 tmp_version = my_strdup("$min_sdl_version");
42437 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42438 printf("%s, bad version string\n", "$min_sdl_version");
42442 if (($sdl_major_version > major) ||
42443 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42444 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42450 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42451 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42452 printf("*** best to upgrade to the required version.\n");
42453 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42454 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42455 printf("*** config.cache before re-running configure\n");
42462 rm -f conftest$ac_exeext
42463 if { (ac_try="$ac_link"
42464 case "(($ac_try" in
42465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42466 *) ac_try_echo
=$ac_try;;
42468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42469 (eval "$ac_link") 2>&5
42471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42472 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42473 { (case "(($ac_try" in
42474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42475 *) ac_try_echo=$ac_try;;
42477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42478 (eval "$ac_try") 2>&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); }; }; then
42484 echo "$as_me: program exited with status $ac_status" >&5
42485 echo "$as_me: failed program was:" >&5
42486 sed 's/^/| /' conftest.$ac_ext >&5
42488 ( exit $ac_status )
42491 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42495 CFLAGS="$ac_save_CFLAGS"
42496 CXXFLAGS="$ac_save_CXXFLAGS"
42497 LIBS="$ac_save_LIBS"
42500 if test "x$no_sdl" = x ; then
42501 { echo "$as_me:$LINENO: result: yes" >&5
42502 echo "${ECHO_T}yes" >&6; }
42504 EXTRALIBS_SDL="$SDL_LIBS"
42505 CFLAGS="$SDL_CFLAGS $CFLAGS"
42506 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42507 cat >>confdefs.h <<\_ACEOF
42508 #define wxUSE_LIBSDL 1
42513 { echo "$as_me:$LINENO: result: no" >&5
42514 echo "${ECHO_T}no" >&6; }
42515 if test "$SDL_CONFIG" = "no" ; then
42516 echo "*** The sdl-config script installed by SDL could not be found"
42517 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42518 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42519 echo "*** full path to sdl-config."
42521 if test -f conf.sdltest ; then
42524 echo "*** Could not run SDL test program, checking why..."
42525 CFLAGS="$CFLAGS $SDL_CFLAGS"
42526 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42527 LIBS="$LIBS $SDL_LIBS"
42528 cat >conftest.$ac_ext <<_ACEOF
42531 cat confdefs.h >>conftest.$ac_ext
42532 cat >>conftest.$ac_ext <<_ACEOF
42533 /* end confdefs.h. */
42538 int main(int argc, char *argv[])
42541 #define main K_and_R_C_main
42551 rm -f conftest.$ac_objext conftest$ac_exeext
42552 if { (ac_try="$ac_link"
42553 case "(($ac_try" in
42554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42555 *) ac_try_echo
=$ac_try;;
42557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42558 (eval "$ac_link") 2>conftest.er1
42560 grep -v '^ *+' conftest.er1
>conftest.err
42562 cat conftest.err
>&5
42563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42564 (exit $ac_status); } && {
42565 test -z "$ac_c_werror_flag" ||
42566 test ! -s conftest.err
42567 } && test -s conftest
$ac_exeext &&
42568 $as_test_x conftest
$ac_exeext; then
42569 echo "*** The test program compiled, but did not run. This usually means"
42570 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42571 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42572 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42573 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42574 echo "*** is required on your system"
42576 echo "*** If you have an old version installed, it is best to remove it, although"
42577 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42579 echo "$as_me: failed program was:" >&5
42580 sed 's/^/| /' conftest.
$ac_ext >&5
42582 echo "*** The test program failed to compile or link. See the file config.log for the"
42583 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42584 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42585 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42588 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42589 conftest
$ac_exeext conftest.
$ac_ext
42590 CFLAGS
="$ac_save_CFLAGS"
42591 CXXFLAGS
="$ac_save_CXXFLAGS"
42592 LIBS
="$ac_save_LIBS"
42603 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42608 if test "$wxUSE_MGL" = 1; then
42609 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42610 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42616 if test "$wxUSE_SOUND" = "yes"; then
42617 cat >>confdefs.h
<<\_ACEOF
42618 #define wxUSE_SOUND 1
42621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42624 if test "$WXGTK2" = 1; then
42627 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42628 if test -n "$ac_tool_prefix"; then
42629 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42630 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42633 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42634 echo $ECHO_N "(cached) $ECHO_C" >&6
42636 case $PKG_CONFIG in
42638 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42642 for as_dir
in $PATH
42645 test -z "$as_dir" && as_dir
=.
42646 for ac_exec_ext
in '' $ac_executable_extensions; do
42647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42648 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42659 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42660 if test -n "$PKG_CONFIG"; then
42661 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42662 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42664 { echo "$as_me:$LINENO: result: no" >&5
42665 echo "${ECHO_T}no" >&6; }
42670 if test -z "$ac_cv_path_PKG_CONFIG"; then
42671 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42672 # Extract the first word of "pkg-config", so it can be a program name with args.
42673 set dummy pkg
-config; ac_word
=$2
42674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42676 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42677 echo $ECHO_N "(cached) $ECHO_C" >&6
42679 case $ac_pt_PKG_CONFIG in
42681 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42685 for as_dir
in $PATH
42688 test -z "$as_dir" && as_dir
=.
42689 for ac_exec_ext
in '' $ac_executable_extensions; do
42690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42691 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42702 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42703 if test -n "$ac_pt_PKG_CONFIG"; then
42704 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42705 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42707 { echo "$as_me:$LINENO: result: no" >&5
42708 echo "${ECHO_T}no" >&6; }
42711 if test "x$ac_pt_PKG_CONFIG" = x
; then
42714 case $cross_compiling:$ac_tool_warned in
42716 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42717 whose name does not start with the host triplet. If you think this
42718 configuration is useful to you, please write to autoconf@gnu.org." >&5
42719 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42720 whose name does not start with the host triplet. If you think this
42721 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42722 ac_tool_warned
=yes ;;
42724 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42727 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42731 if test -n "$PKG_CONFIG"; then
42732 _pkg_min_version
=0.9.0
42733 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42734 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42735 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42736 { echo "$as_me:$LINENO: result: yes" >&5
42737 echo "${ECHO_T}yes" >&6; }
42739 { echo "$as_me:$LINENO: result: no" >&5
42740 echo "${ECHO_T}no" >&6; }
42746 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42748 if test "$wxUSE_GTKPRINT" = "yes" ; then
42752 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42753 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42755 if test -n "$PKG_CONFIG"; then
42756 if test -n "$GTKPRINT_CFLAGS"; then
42757 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42759 if test -n "$PKG_CONFIG" && \
42760 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42761 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42764 (exit $ac_status); }; then
42765 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42773 if test -n "$PKG_CONFIG"; then
42774 if test -n "$GTKPRINT_LIBS"; then
42775 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42777 if test -n "$PKG_CONFIG" && \
42778 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42779 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42782 (exit $ac_status); }; then
42783 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42794 if test $pkg_failed = yes; then
42796 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42797 _pkg_short_errors_supported
=yes
42799 _pkg_short_errors_supported
=no
42801 if test $_pkg_short_errors_supported = yes; then
42802 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42804 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42806 # Put the nasty error message in config.log where it belongs
42807 echo "$GTKPRINT_PKG_ERRORS" >&5
42810 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42811 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42812 wxUSE_GTKPRINT
="no"
42815 elif test $pkg_failed = untried
; then
42817 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42818 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42819 wxUSE_GTKPRINT
="no"
42823 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42824 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42825 { echo "$as_me:$LINENO: result: yes" >&5
42826 echo "${ECHO_T}yes" >&6; }
42828 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42829 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42830 cat >>confdefs.h
<<\_ACEOF
42831 #define wxUSE_GTKPRINT 1
42838 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42842 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42843 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42845 if test -n "$PKG_CONFIG"; then
42846 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42847 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42849 if test -n "$PKG_CONFIG" && \
42850 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42851 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42854 (exit $ac_status); }; then
42855 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42863 if test -n "$PKG_CONFIG"; then
42864 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42865 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42867 if test -n "$PKG_CONFIG" && \
42868 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42869 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42872 (exit $ac_status); }; then
42873 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42884 if test $pkg_failed = yes; then
42886 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42887 _pkg_short_errors_supported
=yes
42889 _pkg_short_errors_supported
=no
42891 if test $_pkg_short_errors_supported = yes; then
42892 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42894 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42896 # Put the nasty error message in config.log where it belongs
42897 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42900 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42901 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42902 wxUSE_LIBGNOMEPRINT
="no"
42905 elif test $pkg_failed = untried
; then
42907 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42908 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42909 wxUSE_LIBGNOMEPRINT
="no"
42913 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42914 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42915 { echo "$as_me:$LINENO: result: yes" >&5
42916 echo "${ECHO_T}yes" >&6; }
42918 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42919 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42920 cat >>confdefs.h
<<\_ACEOF
42921 #define wxUSE_LIBGNOMEPRINT 1
42929 if test "$wxUSE_MIMETYPE" = "yes" ; then
42930 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42934 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42935 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42937 if test -n "$PKG_CONFIG"; then
42938 if test -n "$GNOMEVFS_CFLAGS"; then
42939 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42941 if test -n "$PKG_CONFIG" && \
42942 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42943 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42946 (exit $ac_status); }; then
42947 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42955 if test -n "$PKG_CONFIG"; then
42956 if test -n "$GNOMEVFS_LIBS"; then
42957 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42959 if test -n "$PKG_CONFIG" && \
42960 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42961 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42964 (exit $ac_status); }; then
42965 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42976 if test $pkg_failed = yes; then
42978 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42979 _pkg_short_errors_supported
=yes
42981 _pkg_short_errors_supported
=no
42983 if test $_pkg_short_errors_supported = yes; then
42984 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42986 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42988 # Put the nasty error message in config.log where it belongs
42989 echo "$GNOMEVFS_PKG_ERRORS" >&5
42992 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42993 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42994 wxUSE_LIBGNOMEVFS
="no"
42997 elif test $pkg_failed = untried
; then
42999 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43000 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43001 wxUSE_LIBGNOMEVFS
="no"
43005 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43006 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43007 { echo "$as_me:$LINENO: result: yes" >&5
43008 echo "${ECHO_T}yes" >&6; }
43010 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43011 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43012 cat >>confdefs.h
<<\_ACEOF
43013 #define wxUSE_LIBGNOMEVFS 1
43021 if test "$wxUSE_LIBHILDON" = "yes" ; then
43024 { echo "$as_me:$LINENO: checking for HILDON" >&5
43025 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43027 if test -n "$PKG_CONFIG"; then
43028 if test -n "$HILDON_CFLAGS"; then
43029 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43031 if test -n "$PKG_CONFIG" && \
43032 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43033 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43036 (exit $ac_status); }; then
43037 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43045 if test -n "$PKG_CONFIG"; then
43046 if test -n "$HILDON_LIBS"; then
43047 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43049 if test -n "$PKG_CONFIG" && \
43050 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43051 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43054 (exit $ac_status); }; then
43055 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43066 if test $pkg_failed = yes; then
43068 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43069 _pkg_short_errors_supported
=yes
43071 _pkg_short_errors_supported
=no
43073 if test $_pkg_short_errors_supported = yes; then
43074 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43076 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43078 # Put the nasty error message in config.log where it belongs
43079 echo "$HILDON_PKG_ERRORS" >&5
43082 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43083 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43084 wxUSE_LIBHILDON
="no"
43087 elif test $pkg_failed = untried
; then
43089 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43090 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43091 wxUSE_LIBHILDON
="no"
43095 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43096 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43097 { echo "$as_me:$LINENO: result: yes" >&5
43098 echo "${ECHO_T}yes" >&6; }
43100 EXTRALIBS_HILDON
="$HILDON_LIBS"
43101 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43102 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43103 cat >>confdefs.h
<<\_ACEOF
43104 #define wxUSE_LIBHILDON 1
43112 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43113 cat >>confdefs.h
<<\_ACEOF
43114 #define wxUSE_CMDLINE_PARSER 1
43119 if test "$wxUSE_STOPWATCH" = "yes"; then
43120 cat >>confdefs.h
<<\_ACEOF
43121 #define wxUSE_STOPWATCH 1
43126 if test "$wxUSE_DATETIME" = "yes"; then
43127 cat >>confdefs.h
<<\_ACEOF
43128 #define wxUSE_DATETIME 1
43133 if test "$wxUSE_FILE" = "yes"; then
43134 cat >>confdefs.h
<<\_ACEOF
43135 #define wxUSE_FILE 1
43140 if test "$wxUSE_FFILE" = "yes"; then
43141 cat >>confdefs.h
<<\_ACEOF
43142 #define wxUSE_FFILE 1
43147 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43148 if test "$wxUSE_STREAMS" != yes; then
43149 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43150 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43151 wxUSE_ARCHIVE_STREAMS
=no
43153 cat >>confdefs.h
<<\_ACEOF
43154 #define wxUSE_ARCHIVE_STREAMS 1
43160 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43161 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43162 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43163 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43164 elif test "$wxUSE_ZLIB" = "no"; then
43165 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43166 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43168 cat >>confdefs.h
<<\_ACEOF
43169 #define wxUSE_ZIPSTREAM 1
43175 if test "$wxUSE_TARSTREAM" = "yes"; then
43176 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43177 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43178 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43180 cat >>confdefs.h
<<\_ACEOF
43181 #define wxUSE_TARSTREAM 1
43187 if test "$wxUSE_FILESYSTEM" = "yes"; then
43188 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43189 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43190 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43191 wxUSE_FILESYSTEM
=no
43193 cat >>confdefs.h
<<\_ACEOF
43194 #define wxUSE_FILESYSTEM 1
43200 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43201 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43202 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43203 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43205 cat >>confdefs.h
<<\_ACEOF
43206 #define wxUSE_FS_ARCHIVE 1
43212 if test "$wxUSE_FS_ZIP" = "yes"; then
43213 if test "$wxUSE_FS_ARCHIVE" != yes; then
43214 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43215 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43217 cat >>confdefs.h
<<\_ACEOF
43218 #define wxUSE_FS_ZIP 1
43224 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43225 if test "$USE_UNIX" != 1; then
43226 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43227 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43228 wxUSE_ON_FATAL_EXCEPTION
=no
43230 cat >>confdefs.h
<<\_ACEOF
43231 #define wxUSE_ON_FATAL_EXCEPTION 1
43237 if test "$wxUSE_STACKWALKER" = "yes"; then
43238 cat >>confdefs.h
<<\_ACEOF
43239 #define wxUSE_STACKWALKER 1
43244 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43245 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43246 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43247 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43248 wxUSE_DEBUGREPORT
=no
43250 cat >>confdefs.h
<<\_ACEOF
43251 #define wxUSE_DEBUGREPORT 1
43254 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43260 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43261 cat >>confdefs.h
<<\_ACEOF
43262 #define wxUSE_SNGLINST_CHECKER 1
43267 if test "$wxUSE_BUSYINFO" = "yes"; then
43268 cat >>confdefs.h
<<\_ACEOF
43269 #define wxUSE_BUSYINFO 1
43274 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43275 cat >>confdefs.h
<<\_ACEOF
43276 #define wxUSE_STD_IOSTREAM 1
43281 if test "$wxUSE_STD_STRING" = "yes"; then
43282 cat >>confdefs.h
<<\_ACEOF
43283 #define wxUSE_STD_STRING 1
43288 if test "$wxUSE_STDPATHS" = "yes"; then
43289 cat >>confdefs.h
<<\_ACEOF
43290 #define wxUSE_STDPATHS 1
43295 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43296 cat >>confdefs.h
<<\_ACEOF
43297 #define wxUSE_TEXTBUFFER 1
43302 if test "$wxUSE_TEXTFILE" = "yes"; then
43303 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43304 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43305 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43307 cat >>confdefs.h
<<\_ACEOF
43308 #define wxUSE_TEXTFILE 1
43314 if test "$wxUSE_CONFIG" = "yes" ; then
43315 if test "$wxUSE_TEXTFILE" != "yes"; then
43316 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43317 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43319 cat >>confdefs.h
<<\_ACEOF
43320 #define wxUSE_CONFIG 1
43323 cat >>confdefs.h
<<\_ACEOF
43324 #define wxUSE_CONFIG_NATIVE 1
43327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43331 if test "$wxUSE_INTL" = "yes" ; then
43332 if test "$wxUSE_FILE" != "yes"; then
43333 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43334 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43336 cat >>confdefs.h
<<\_ACEOF
43337 #define wxUSE_INTL 1
43340 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43341 GUIDIST
="$GUIDIST INTL_DIST"
43345 if test "$wxUSE_XLOCALE" = "yes" ; then
43346 cat >>confdefs.h
<<\_ACEOF
43347 #define wxUSE_XLOCALE 1
43350 { echo "$as_me:$LINENO: checking for locale_t" >&5
43351 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43352 if test "${ac_cv_type_locale_t+set}" = set; then
43353 echo $ECHO_N "(cached) $ECHO_C" >&6
43355 cat >conftest.
$ac_ext <<_ACEOF
43358 cat confdefs.h
>>conftest.
$ac_ext
43359 cat >>conftest.
$ac_ext <<_ACEOF
43360 /* end confdefs.h. */
43361 #include <xlocale.h>
43362 #include <locale.h>
43364 typedef locale_t ac__type_new_;
43368 if ((ac__type_new_ *) 0)
43370 if (sizeof (ac__type_new_))
43376 rm -f conftest.
$ac_objext
43377 if { (ac_try
="$ac_compile"
43378 case "(($ac_try" in
43379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43380 *) ac_try_echo=$ac_try;;
43382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43383 (eval "$ac_compile") 2>conftest.er1
43385 grep -v '^ *+' conftest.er1 >conftest.err
43387 cat conftest.err >&5
43388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43389 (exit $ac_status); } && {
43390 test -z "$ac_c_werror_flag" ||
43391 test ! -s conftest.err
43392 } && test -s conftest.$ac_objext; then
43393 ac_cv_type_locale_t=yes
43395 echo "$as_me: failed program was:" >&5
43396 sed 's/^/| /' conftest.$ac_ext >&5
43398 ac_cv_type_locale_t=no
43401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43403 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43404 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43405 if test $ac_cv_type_locale_t = yes; then
43407 cat >>confdefs.h <<_ACEOF
43408 #define HAVE_LOCALE_T 1
43416 if test "$wxUSE_LOG" = "yes"; then
43417 cat >>confdefs.h <<\_ACEOF
43418 #define wxUSE_LOG 1
43422 if test "$wxUSE_LOGGUI" = "yes"; then
43423 cat >>confdefs.h <<\_ACEOF
43424 #define wxUSE_LOGGUI 1
43429 if test "$wxUSE_LOGWINDOW" = "yes"; then
43430 cat >>confdefs.h <<\_ACEOF
43431 #define wxUSE_LOGWINDOW 1
43436 if test "$wxUSE_LOGDIALOG" = "yes"; then
43437 cat >>confdefs.h <<\_ACEOF
43438 #define wxUSE_LOG_DIALOG 1
43443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43446 if test "$wxUSE_LONGLONG" = "yes"; then
43447 cat >>confdefs.h <<\_ACEOF
43448 #define wxUSE_LONGLONG 1
43453 if test "$wxUSE_GEOMETRY" = "yes"; then
43454 cat >>confdefs.h <<\_ACEOF
43455 #define wxUSE_GEOMETRY 1
43460 if test "$wxUSE_BASE64" = "yes"; then
43461 cat >>confdefs.h <<\_ACEOF
43462 #define wxUSE_BASE64 1
43467 if test "$wxUSE_STREAMS" = "yes" ; then
43468 cat >>confdefs.h <<\_ACEOF
43469 #define wxUSE_STREAMS 1
43474 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43475 cat >>confdefs.h <<\_ACEOF
43476 #define wxUSE_PRINTF_POS_PARAMS 1
43481 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43482 cat >>confdefs.h <<\_ACEOF
43483 #define wxUSE_OBJC_UNIQUIFYING 1
43489 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43490 cat >>confdefs.h <<\_ACEOF
43491 #define wxUSE_CONSOLE_EVENTLOOP 1
43495 if test "$wxUSE_UNIX" = "yes"; then
43496 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43497 cat >>confdefs.h <<\_ACEOF
43498 #define wxUSE_SELECT_DISPATCHER 1
43503 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43505 for ac_header in sys/epoll.h
43507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43511 echo $ECHO_N "(cached) $ECHO_C" >&6
43513 cat >conftest.$ac_ext <<_ACEOF
43516 cat confdefs.h >>conftest.$ac_ext
43517 cat >>conftest.$ac_ext <<_ACEOF
43518 /* end confdefs.h. */
43519 $ac_includes_default
43521 #include <$ac_header>
43523 rm -f conftest.$ac_objext
43524 if { (ac_try="$ac_compile"
43525 case "(($ac_try" in
43526 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43527 *) ac_try_echo
=$ac_try;;
43529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43530 (eval "$ac_compile") 2>conftest.er1
43532 grep -v '^ *+' conftest.er1
>conftest.err
43534 cat conftest.err
>&5
43535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43536 (exit $ac_status); } && {
43537 test -z "$ac_c_werror_flag" ||
43538 test ! -s conftest.err
43539 } && test -s conftest.
$ac_objext; then
43540 eval "$as_ac_Header=yes"
43542 echo "$as_me: failed program was:" >&5
43543 sed 's/^/| /' conftest.
$ac_ext >&5
43545 eval "$as_ac_Header=no"
43548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43550 ac_res
=`eval echo '${'$as_ac_Header'}'`
43551 { echo "$as_me:$LINENO: result: $ac_res" >&5
43552 echo "${ECHO_T}$ac_res" >&6; }
43553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43554 cat >>confdefs.h
<<_ACEOF
43555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43562 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43563 cat >>confdefs.h
<<\_ACEOF
43564 #define wxUSE_EPOLL_DISPATCHER 1
43568 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43569 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43578 for ac_func
in gettimeofday ftime
43580 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43581 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43583 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43584 echo $ECHO_N "(cached) $ECHO_C" >&6
43586 cat >conftest.
$ac_ext <<_ACEOF
43589 cat confdefs.h
>>conftest.
$ac_ext
43590 cat >>conftest.
$ac_ext <<_ACEOF
43591 /* end confdefs.h. */
43592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43594 #define $ac_func innocuous_$ac_func
43596 /* System header to define __stub macros and hopefully few prototypes,
43597 which can conflict with char $ac_func (); below.
43598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43599 <limits.h> exists even on freestanding compilers. */
43602 # include <limits.h>
43604 # include <assert.h>
43609 /* Override any GCC internal prototype to avoid an error.
43610 Use char because int might match the return type of a GCC
43611 builtin and then its argument prototype would still apply. */
43616 /* The GNU C library defines this for functions which it implements
43617 to always fail with ENOSYS. Some functions are actually named
43618 something starting with __ and the normal name is an alias. */
43619 #if defined __stub_$ac_func || defined __stub___$ac_func
43626 return $ac_func ();
43631 rm -f conftest.
$ac_objext conftest
$ac_exeext
43632 if { (ac_try
="$ac_link"
43633 case "(($ac_try" in
43634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43635 *) ac_try_echo=$ac_try;;
43637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43638 (eval "$ac_link") 2>conftest.er1
43640 grep -v '^ *+' conftest.er1 >conftest.err
43642 cat conftest.err >&5
43643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43644 (exit $ac_status); } && {
43645 test -z "$ac_c_werror_flag" ||
43646 test ! -s conftest.err
43647 } && test -s conftest$ac_exeext &&
43648 $as_test_x conftest$ac_exeext; then
43649 eval "$as_ac_var=yes"
43651 echo "$as_me: failed program was:" >&5
43652 sed 's/^/| /' conftest.$ac_ext >&5
43654 eval "$as_ac_var=no"
43657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43658 conftest$ac_exeext conftest.$ac_ext
43660 ac_res=`eval echo '${'$as_ac_var'}'`
43661 { echo "$as_me:$LINENO: result: $ac_res" >&5
43662 echo "${ECHO_T}$ac_res" >&6; }
43663 if test `eval echo '${'$as_ac_var'}'` = yes; then
43664 cat >>confdefs.h <<_ACEOF
43665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43672 if test "$ac_cv_func_gettimeofday" = "yes"; then
43673 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43674 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43675 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43676 echo $ECHO_N "(cached) $ECHO_C" >&6
43679 cat >conftest.$ac_ext <<_ACEOF
43682 cat confdefs.h >>conftest.$ac_ext
43683 cat >>conftest.$ac_ext <<_ACEOF
43684 /* end confdefs.h. */
43686 #include <sys/time.h>
43687 #include <unistd.h>
43694 gettimeofday(&tv, NULL);
43700 rm -f conftest.$ac_objext
43701 if { (ac_try="$ac_compile"
43702 case "(($ac_try" in
43703 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43704 *) ac_try_echo
=$ac_try;;
43706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43707 (eval "$ac_compile") 2>conftest.er1
43709 grep -v '^ *+' conftest.er1
>conftest.err
43711 cat conftest.err
>&5
43712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43713 (exit $ac_status); } && {
43714 test -z "$ac_c_werror_flag" ||
43715 test ! -s conftest.err
43716 } && test -s conftest.
$ac_objext; then
43717 wx_cv_func_gettimeofday_has_2_args
=yes
43719 echo "$as_me: failed program was:" >&5
43720 sed 's/^/| /' conftest.
$ac_ext >&5
43722 cat >conftest.
$ac_ext <<_ACEOF
43725 cat confdefs.h
>>conftest.
$ac_ext
43726 cat >>conftest.
$ac_ext <<_ACEOF
43727 /* end confdefs.h. */
43729 #include <sys/time.h>
43730 #include <unistd.h>
43743 rm -f conftest.
$ac_objext
43744 if { (ac_try
="$ac_compile"
43745 case "(($ac_try" in
43746 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43747 *) ac_try_echo=$ac_try;;
43749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43750 (eval "$ac_compile") 2>conftest.er1
43752 grep -v '^ *+' conftest.er1 >conftest.err
43754 cat conftest.err >&5
43755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43756 (exit $ac_status); } && {
43757 test -z "$ac_c_werror_flag" ||
43758 test ! -s conftest.err
43759 } && test -s conftest.$ac_objext; then
43760 wx_cv_func_gettimeofday_has_2_args=no
43762 echo "$as_me: failed program was:" >&5
43763 sed 's/^/| /' conftest.$ac_ext >&5
43766 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43767 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43768 wx_cv_func_gettimeofday_has_2_args=unknown
43773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43780 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43781 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43783 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43784 cat >>confdefs.h <<\_ACEOF
43785 #define WX_GETTIMEOFDAY_NO_TZ 1
43791 if test "$wxUSE_DATETIME" = "yes"; then
43792 { echo "$as_me:$LINENO: checking for strptime" >&5
43793 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43794 if test "${ac_cv_func_strptime+set}" = set; then
43795 echo $ECHO_N "(cached) $ECHO_C" >&6
43797 cat >conftest.$ac_ext <<_ACEOF
43800 cat confdefs.h >>conftest.$ac_ext
43801 cat >>conftest.$ac_ext <<_ACEOF
43802 /* end confdefs.h. */
43803 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43805 #define strptime innocuous_strptime
43807 /* System header to define __stub macros and hopefully few prototypes,
43808 which can conflict with char strptime (); below.
43809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43810 <limits.h> exists even on freestanding compilers. */
43813 # include <limits.h>
43815 # include <assert.h>
43820 /* Override any GCC internal prototype to avoid an error.
43821 Use char because int might match the return type of a GCC
43822 builtin and then its argument prototype would still apply. */
43827 /* The GNU C library defines this for functions which it implements
43828 to always fail with ENOSYS. Some functions are actually named
43829 something starting with __ and the normal name is an alias. */
43830 #if defined __stub_strptime || defined __stub___strptime
43837 return strptime ();
43842 rm -f conftest.$ac_objext conftest$ac_exeext
43843 if { (ac_try="$ac_link"
43844 case "(($ac_try" in
43845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43846 *) ac_try_echo
=$ac_try;;
43848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43849 (eval "$ac_link") 2>conftest.er1
43851 grep -v '^ *+' conftest.er1
>conftest.err
43853 cat conftest.err
>&5
43854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43855 (exit $ac_status); } && {
43856 test -z "$ac_c_werror_flag" ||
43857 test ! -s conftest.err
43858 } && test -s conftest
$ac_exeext &&
43859 $as_test_x conftest
$ac_exeext; then
43860 ac_cv_func_strptime
=yes
43862 echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.
$ac_ext >&5
43865 ac_cv_func_strptime
=no
43868 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43869 conftest
$ac_exeext conftest.
$ac_ext
43871 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43872 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43874 if test "$ac_cv_func_strptime" = "yes"; then
43875 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43876 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43877 if test "${wx_cv_func_strptime_decl+set}" = set; then
43878 echo $ECHO_N "(cached) $ECHO_C" >&6
43882 ac_cpp
='$CXXCPP $CPPFLAGS'
43883 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43884 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43885 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43887 cat >conftest.
$ac_ext <<_ACEOF
43890 cat confdefs.h
>>conftest.
$ac_ext
43891 cat >>conftest.
$ac_ext <<_ACEOF
43892 /* end confdefs.h. */
43901 strptime("foo", "bar", &t);
43907 rm -f conftest.
$ac_objext
43908 if { (ac_try
="$ac_compile"
43909 case "(($ac_try" in
43910 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43911 *) ac_try_echo=$ac_try;;
43913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43914 (eval "$ac_compile") 2>conftest.er1
43916 grep -v '^ *+' conftest.er1 >conftest.err
43918 cat conftest.err >&5
43919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43920 (exit $ac_status); } && {
43921 test -z "$ac_cxx_werror_flag" ||
43922 test ! -s conftest.err
43923 } && test -s conftest.$ac_objext; then
43924 wx_cv_func_strptime_decl=yes
43926 echo "$as_me: failed program was:" >&5
43927 sed 's/^/| /' conftest.$ac_ext >&5
43929 wx_cv_func_strptime_decl=no
43933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43935 ac_cpp='$CPP $CPPFLAGS'
43936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43943 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43944 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43946 if test "$wx_cv_func_strptime_decl" = "yes"; then
43947 cat >>confdefs.h <<\_ACEOF
43948 #define HAVE_STRPTIME_DECL 1
43952 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43954 if test "$ac_cv_func_strptime" = "yes"; then
43955 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43956 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43957 if test "${wx_cv_func_strptime_ok+set}" = set; then
43958 echo $ECHO_N "(cached) $ECHO_C" >&6
43960 if test "$cross_compiling" = yes; then
43961 wx_cv_func_strptime_ok=no
43964 cat >conftest.$ac_ext <<_ACEOF
43966 #include <stdlib.h>
43968 #include "confdefs.h"
43975 return !!strptime("", "%x", &t);
43979 rm -f conftest$ac_exeext
43980 if { (ac_try="$ac_link"
43981 case "(($ac_try" in
43982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43983 *) ac_try_echo
=$ac_try;;
43985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43986 (eval "$ac_link") 2>&5
43988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43989 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43990 { (case "(($ac_try" in
43991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43992 *) ac_try_echo=$ac_try;;
43994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43995 (eval "$ac_try") 2>&5
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); }; }; then
43999 wx_cv_func_strptime_ok=yes
44001 echo "$as_me: program exited with status $ac_status" >&5
44002 echo "$as_me: failed program was:" >&5
44003 sed 's/^/| /' conftest.$ac_ext >&5
44005 ( exit $ac_status )
44006 wx_cv_func_strptime_ok=no
44008 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44014 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44015 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44017 if test "$wx_cv_func_strptime_ok" = "yes"; then
44018 cat >>confdefs.h <<\_ACEOF
44019 #define HAVE_STRPTIME 1
44025 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44026 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44027 if test "${wx_cv_var_timezone+set}" = set; then
44028 echo $ECHO_N "(cached) $ECHO_C" >&6
44032 ac_cpp='$CXXCPP $CPPFLAGS'
44033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44037 cat >conftest.$ac_ext <<_ACEOF
44040 cat confdefs.h >>conftest.$ac_ext
44041 cat >>conftest.$ac_ext <<_ACEOF
44042 /* end confdefs.h. */
44057 rm -f conftest.$ac_objext
44058 if { (ac_try="$ac_compile"
44059 case "(($ac_try" in
44060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44061 *) ac_try_echo
=$ac_try;;
44063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44064 (eval "$ac_compile") 2>conftest.er1
44066 grep -v '^ *+' conftest.er1
>conftest.err
44068 cat conftest.err
>&5
44069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44070 (exit $ac_status); } && {
44071 test -z "$ac_cxx_werror_flag" ||
44072 test ! -s conftest.err
44073 } && test -s conftest.
$ac_objext; then
44075 wx_cv_var_timezone
=timezone
44078 echo "$as_me: failed program was:" >&5
44079 sed 's/^/| /' conftest.
$ac_ext >&5
44082 cat >conftest.
$ac_ext <<_ACEOF
44085 cat confdefs.h
>>conftest.
$ac_ext
44086 cat >>conftest.
$ac_ext <<_ACEOF
44087 /* end confdefs.h. */
44102 rm -f conftest.
$ac_objext
44103 if { (ac_try
="$ac_compile"
44104 case "(($ac_try" in
44105 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44106 *) ac_try_echo=$ac_try;;
44108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44109 (eval "$ac_compile") 2>conftest.er1
44111 grep -v '^ *+' conftest.er1 >conftest.err
44113 cat conftest.err >&5
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); } && {
44116 test -z "$ac_cxx_werror_flag" ||
44117 test ! -s conftest.err
44118 } && test -s conftest.$ac_objext; then
44120 wx_cv_var_timezone=_timezone
44123 echo "$as_me: failed program was:" >&5
44124 sed 's/^/| /' conftest.$ac_ext >&5
44127 cat >conftest.$ac_ext <<_ACEOF
44130 cat confdefs.h >>conftest.$ac_ext
44131 cat >>conftest.$ac_ext <<_ACEOF
44132 /* end confdefs.h. */
44147 rm -f conftest.$ac_objext
44148 if { (ac_try="$ac_compile"
44149 case "(($ac_try" in
44150 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44151 *) ac_try_echo
=$ac_try;;
44153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44154 (eval "$ac_compile") 2>conftest.er1
44156 grep -v '^ *+' conftest.er1
>conftest.err
44158 cat conftest.err
>&5
44159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44160 (exit $ac_status); } && {
44161 test -z "$ac_cxx_werror_flag" ||
44162 test ! -s conftest.err
44163 } && test -s conftest.
$ac_objext; then
44165 wx_cv_var_timezone
=__timezone
44168 echo "$as_me: failed program was:" >&5
44169 sed 's/^/| /' conftest.
$ac_ext >&5
44172 if test "$USE_DOS" = 0 ; then
44173 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44174 echo "$as_me: WARNING: no timezone variable" >&2;}
44180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44192 ac_cpp
='$CPP $CPPFLAGS'
44193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44200 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44201 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44203 if test "x$wx_cv_var_timezone" != x
; then
44204 cat >>confdefs.h
<<_ACEOF
44205 #define WX_TIMEZONE $wx_cv_var_timezone
44211 for ac_func
in localtime
44213 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44214 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44216 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44217 echo $ECHO_N "(cached) $ECHO_C" >&6
44219 cat >conftest.
$ac_ext <<_ACEOF
44222 cat confdefs.h
>>conftest.
$ac_ext
44223 cat >>conftest.
$ac_ext <<_ACEOF
44224 /* end confdefs.h. */
44225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44227 #define $ac_func innocuous_$ac_func
44229 /* System header to define __stub macros and hopefully few prototypes,
44230 which can conflict with char $ac_func (); below.
44231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44232 <limits.h> exists even on freestanding compilers. */
44235 # include <limits.h>
44237 # include <assert.h>
44242 /* Override any GCC internal prototype to avoid an error.
44243 Use char because int might match the return type of a GCC
44244 builtin and then its argument prototype would still apply. */
44249 /* The GNU C library defines this for functions which it implements
44250 to always fail with ENOSYS. Some functions are actually named
44251 something starting with __ and the normal name is an alias. */
44252 #if defined __stub_$ac_func || defined __stub___$ac_func
44259 return $ac_func ();
44264 rm -f conftest.
$ac_objext conftest
$ac_exeext
44265 if { (ac_try
="$ac_link"
44266 case "(($ac_try" in
44267 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44268 *) ac_try_echo=$ac_try;;
44270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44271 (eval "$ac_link") 2>conftest.er1
44273 grep -v '^ *+' conftest.er1 >conftest.err
44275 cat conftest.err >&5
44276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44277 (exit $ac_status); } && {
44278 test -z "$ac_c_werror_flag" ||
44279 test ! -s conftest.err
44280 } && test -s conftest$ac_exeext &&
44281 $as_test_x conftest$ac_exeext; then
44282 eval "$as_ac_var=yes"
44284 echo "$as_me: failed program was:" >&5
44285 sed 's/^/| /' conftest.$ac_ext >&5
44287 eval "$as_ac_var=no"
44290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44291 conftest$ac_exeext conftest.$ac_ext
44293 ac_res=`eval echo '${'$as_ac_var'}'`
44294 { echo "$as_me:$LINENO: result: $ac_res" >&5
44295 echo "${ECHO_T}$ac_res" >&6; }
44296 if test `eval echo '${'$as_ac_var'}'` = yes; then
44297 cat >>confdefs.h <<_ACEOF
44298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44305 if test "$ac_cv_func_localtime" = "yes"; then
44306 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44307 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44308 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44309 echo $ECHO_N "(cached) $ECHO_C" >&6
44312 cat >conftest.$ac_ext <<_ACEOF
44315 cat confdefs.h >>conftest.$ac_ext
44316 cat >>conftest.$ac_ext <<_ACEOF
44317 /* end confdefs.h. */
44332 rm -f conftest.$ac_objext
44333 if { (ac_try="$ac_compile"
44334 case "(($ac_try" in
44335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44336 *) ac_try_echo
=$ac_try;;
44338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44339 (eval "$ac_compile") 2>conftest.er1
44341 grep -v '^ *+' conftest.er1
>conftest.err
44343 cat conftest.err
>&5
44344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44345 (exit $ac_status); } && {
44346 test -z "$ac_c_werror_flag" ||
44347 test ! -s conftest.err
44348 } && test -s conftest.
$ac_objext; then
44350 wx_cv_struct_tm_has_gmtoff
=yes
44353 echo "$as_me: failed program was:" >&5
44354 sed 's/^/| /' conftest.
$ac_ext >&5
44356 wx_cv_struct_tm_has_gmtoff
=no
44360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44363 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44364 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44367 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44368 cat >>confdefs.h
<<\_ACEOF
44369 #define WX_GMTOFF_IN_TM 1
44374 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44378 if test "$wxUSE_SOCKETS" = "yes"; then
44379 if test "$wxUSE_MGL" = 1; then
44380 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44381 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44386 if test "$wxUSE_SOCKETS" = "yes"; then
44387 if test "$TOOLKIT" != "MSW"; then
44388 { echo "$as_me:$LINENO: checking for socket" >&5
44389 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44390 if test "${ac_cv_func_socket+set}" = set; then
44391 echo $ECHO_N "(cached) $ECHO_C" >&6
44393 cat >conftest.
$ac_ext <<_ACEOF
44396 cat confdefs.h
>>conftest.
$ac_ext
44397 cat >>conftest.
$ac_ext <<_ACEOF
44398 /* end confdefs.h. */
44399 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44401 #define socket innocuous_socket
44403 /* System header to define __stub macros and hopefully few prototypes,
44404 which can conflict with char socket (); below.
44405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44406 <limits.h> exists even on freestanding compilers. */
44409 # include <limits.h>
44411 # include <assert.h>
44416 /* Override any GCC internal prototype to avoid an error.
44417 Use char because int might match the return type of a GCC
44418 builtin and then its argument prototype would still apply. */
44423 /* The GNU C library defines this for functions which it implements
44424 to always fail with ENOSYS. Some functions are actually named
44425 something starting with __ and the normal name is an alias. */
44426 #if defined __stub_socket || defined __stub___socket
44438 rm -f conftest.
$ac_objext conftest
$ac_exeext
44439 if { (ac_try
="$ac_link"
44440 case "(($ac_try" in
44441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44442 *) ac_try_echo=$ac_try;;
44444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44445 (eval "$ac_link") 2>conftest.er1
44447 grep -v '^ *+' conftest.er1 >conftest.err
44449 cat conftest.err >&5
44450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44451 (exit $ac_status); } && {
44452 test -z "$ac_c_werror_flag" ||
44453 test ! -s conftest.err
44454 } && test -s conftest$ac_exeext &&
44455 $as_test_x conftest$ac_exeext; then
44456 ac_cv_func_socket=yes
44458 echo "$as_me: failed program was:" >&5
44459 sed 's/^/| /' conftest.$ac_ext >&5
44461 ac_cv_func_socket=no
44464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44465 conftest$ac_exeext conftest.$ac_ext
44467 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44468 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44469 if test $ac_cv_func_socket = yes; then
44473 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44474 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44475 if test "${ac_cv_lib_socket_socket+set}" = set; then
44476 echo $ECHO_N "(cached) $ECHO_C" >&6
44478 ac_check_lib_save_LIBS=$LIBS
44479 LIBS="-lsocket $LIBS"
44480 cat >conftest.$ac_ext <<_ACEOF
44483 cat confdefs.h >>conftest.$ac_ext
44484 cat >>conftest.$ac_ext <<_ACEOF
44485 /* end confdefs.h. */
44487 /* Override any GCC internal prototype to avoid an error.
44488 Use char because int might match the return type of a GCC
44489 builtin and then its argument prototype would still apply. */
44502 rm -f conftest.$ac_objext conftest$ac_exeext
44503 if { (ac_try="$ac_link"
44504 case "(($ac_try" in
44505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44506 *) ac_try_echo
=$ac_try;;
44508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44509 (eval "$ac_link") 2>conftest.er1
44511 grep -v '^ *+' conftest.er1
>conftest.err
44513 cat conftest.err
>&5
44514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44515 (exit $ac_status); } && {
44516 test -z "$ac_c_werror_flag" ||
44517 test ! -s conftest.err
44518 } && test -s conftest
$ac_exeext &&
44519 $as_test_x conftest
$ac_exeext; then
44520 ac_cv_lib_socket_socket
=yes
44522 echo "$as_me: failed program was:" >&5
44523 sed 's/^/| /' conftest.
$ac_ext >&5
44525 ac_cv_lib_socket_socket
=no
44528 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44529 conftest
$ac_exeext conftest.
$ac_ext
44530 LIBS
=$ac_check_lib_save_LIBS
44532 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44533 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44534 if test $ac_cv_lib_socket_socket = yes; then
44535 if test "$INET_LINK" != " -lsocket"; then
44536 INET_LINK
="$INET_LINK -lsocket"
44540 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44541 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44554 if test "$wxUSE_SOCKETS" = "yes" ; then
44555 if test "$TOOLKIT" != "MSW"; then
44556 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44557 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44558 if test "${wx_cv_type_getsockname3+set}" = set; then
44559 echo $ECHO_N "(cached) $ECHO_C" >&6
44563 ac_cpp
='$CXXCPP $CPPFLAGS'
44564 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44565 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44566 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44568 cat >conftest.
$ac_ext <<_ACEOF
44571 cat confdefs.h
>>conftest.
$ac_ext
44572 cat >>conftest.
$ac_ext <<_ACEOF
44573 /* end confdefs.h. */
44575 #include <sys/types.h>
44576 #include <sys/socket.h>
44583 getsockname(0, 0, &len);
44589 rm -f conftest.
$ac_objext
44590 if { (ac_try
="$ac_compile"
44591 case "(($ac_try" in
44592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44593 *) ac_try_echo=$ac_try;;
44595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44596 (eval "$ac_compile") 2>conftest.er1
44598 grep -v '^ *+' conftest.er1 >conftest.err
44600 cat conftest.err >&5
44601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44602 (exit $ac_status); } && {
44603 test -z "$ac_cxx_werror_flag" ||
44604 test ! -s conftest.err
44605 } && test -s conftest.$ac_objext; then
44606 wx_cv_type_getsockname3=socklen_t
44608 echo "$as_me: failed program was:" >&5
44609 sed 's/^/| /' conftest.$ac_ext >&5
44612 CFLAGS_OLD="$CFLAGS"
44613 if test "$GCC" = yes ; then
44614 CFLAGS="-Werror $CFLAGS"
44617 cat >conftest.$ac_ext <<_ACEOF
44620 cat confdefs.h >>conftest.$ac_ext
44621 cat >>conftest.$ac_ext <<_ACEOF
44622 /* end confdefs.h. */
44624 #include <sys/types.h>
44625 #include <sys/socket.h>
44632 getsockname(0, 0, &len);
44638 rm -f conftest.$ac_objext
44639 if { (ac_try="$ac_compile"
44640 case "(($ac_try" in
44641 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44642 *) ac_try_echo
=$ac_try;;
44644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44645 (eval "$ac_compile") 2>conftest.er1
44647 grep -v '^ *+' conftest.er1
>conftest.err
44649 cat conftest.err
>&5
44650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44651 (exit $ac_status); } && {
44652 test -z "$ac_cxx_werror_flag" ||
44653 test ! -s conftest.err
44654 } && test -s conftest.
$ac_objext; then
44655 wx_cv_type_getsockname3
=size_t
44657 echo "$as_me: failed program was:" >&5
44658 sed 's/^/| /' conftest.
$ac_ext >&5
44660 cat >conftest.
$ac_ext <<_ACEOF
44663 cat confdefs.h
>>conftest.
$ac_ext
44664 cat >>conftest.
$ac_ext <<_ACEOF
44665 /* end confdefs.h. */
44667 #include <sys/types.h>
44668 #include <sys/socket.h>
44675 getsockname(0, 0, &len);
44681 rm -f conftest.
$ac_objext
44682 if { (ac_try
="$ac_compile"
44683 case "(($ac_try" in
44684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44685 *) ac_try_echo=$ac_try;;
44687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44688 (eval "$ac_compile") 2>conftest.er1
44690 grep -v '^ *+' conftest.er1 >conftest.err
44692 cat conftest.err >&5
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); } && {
44695 test -z "$ac_cxx_werror_flag" ||
44696 test ! -s conftest.err
44697 } && test -s conftest.$ac_objext; then
44698 wx_cv_type_getsockname3=int
44700 echo "$as_me: failed program was:" >&5
44701 sed 's/^/| /' conftest.$ac_ext >&5
44703 wx_cv_type_getsockname3=unknown
44707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44713 CFLAGS="$CFLAGS_OLD"
44718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44720 ac_cpp='$CPP $CPPFLAGS'
44721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44727 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44728 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44730 if test "$wx_cv_type_getsockname3" = "unknown"; then
44732 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44733 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44735 cat >>confdefs.h <<_ACEOF
44736 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44740 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44741 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44742 if test "${wx_cv_type_getsockopt5+set}" = set; then
44743 echo $ECHO_N "(cached) $ECHO_C" >&6
44747 ac_cpp='$CXXCPP $CPPFLAGS'
44748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44752 cat >conftest.$ac_ext <<_ACEOF
44755 cat confdefs.h >>conftest.$ac_ext
44756 cat >>conftest.$ac_ext <<_ACEOF
44757 /* end confdefs.h. */
44759 #include <sys/types.h>
44760 #include <sys/socket.h>
44767 getsockopt(0, 0, 0, 0, &len);
44773 rm -f conftest.$ac_objext
44774 if { (ac_try="$ac_compile"
44775 case "(($ac_try" in
44776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44777 *) ac_try_echo
=$ac_try;;
44779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44780 (eval "$ac_compile") 2>conftest.er1
44782 grep -v '^ *+' conftest.er1
>conftest.err
44784 cat conftest.err
>&5
44785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44786 (exit $ac_status); } && {
44787 test -z "$ac_cxx_werror_flag" ||
44788 test ! -s conftest.err
44789 } && test -s conftest.
$ac_objext; then
44790 wx_cv_type_getsockopt5
=socklen_t
44792 echo "$as_me: failed program was:" >&5
44793 sed 's/^/| /' conftest.
$ac_ext >&5
44796 cat >conftest.
$ac_ext <<_ACEOF
44799 cat confdefs.h
>>conftest.
$ac_ext
44800 cat >>conftest.
$ac_ext <<_ACEOF
44801 /* end confdefs.h. */
44803 #include <sys/types.h>
44804 #include <sys/socket.h>
44811 getsockopt(0, 0, 0, 0, &len);
44817 rm -f conftest.
$ac_objext
44818 if { (ac_try
="$ac_compile"
44819 case "(($ac_try" in
44820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44821 *) ac_try_echo=$ac_try;;
44823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44824 (eval "$ac_compile") 2>conftest.er1
44826 grep -v '^ *+' conftest.er1 >conftest.err
44828 cat conftest.err >&5
44829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44830 (exit $ac_status); } && {
44831 test -z "$ac_cxx_werror_flag" ||
44832 test ! -s conftest.err
44833 } && test -s conftest.$ac_objext; then
44834 wx_cv_type_getsockopt5=size_t
44836 echo "$as_me: failed program was:" >&5
44837 sed 's/^/| /' conftest.$ac_ext >&5
44839 cat >conftest.$ac_ext <<_ACEOF
44842 cat confdefs.h >>conftest.$ac_ext
44843 cat >>conftest.$ac_ext <<_ACEOF
44844 /* end confdefs.h. */
44846 #include <sys/types.h>
44847 #include <sys/socket.h>
44854 getsockopt(0, 0, 0, 0, &len);
44860 rm -f conftest.$ac_objext
44861 if { (ac_try="$ac_compile"
44862 case "(($ac_try" in
44863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44864 *) ac_try_echo
=$ac_try;;
44866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44867 (eval "$ac_compile") 2>conftest.er1
44869 grep -v '^ *+' conftest.er1
>conftest.err
44871 cat conftest.err
>&5
44872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44873 (exit $ac_status); } && {
44874 test -z "$ac_cxx_werror_flag" ||
44875 test ! -s conftest.err
44876 } && test -s conftest.
$ac_objext; then
44877 wx_cv_type_getsockopt5
=int
44879 echo "$as_me: failed program was:" >&5
44880 sed 's/^/| /' conftest.
$ac_ext >&5
44882 wx_cv_type_getsockopt5
=unknown
44886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44897 ac_cpp
='$CPP $CPPFLAGS'
44898 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44899 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44900 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44904 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44905 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44907 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44909 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44910 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44912 cat >>confdefs.h
<<_ACEOF
44913 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44920 if test "$wxUSE_SOCKETS" = "yes" ; then
44921 if test "$wxUSE_IPV6" = "yes"; then
44922 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44923 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44924 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44925 echo $ECHO_N "(cached) $ECHO_C" >&6
44928 cat >conftest.
$ac_ext <<_ACEOF
44931 cat confdefs.h
>>conftest.
$ac_ext
44932 cat >>conftest.
$ac_ext <<_ACEOF
44933 /* end confdefs.h. */
44935 #include <sys/types.h>
44936 #include <sys/socket.h>
44937 #include <netinet/in.h>
44943 struct sockaddr_in6 sa6;
44949 rm -f conftest.
$ac_objext
44950 if { (ac_try
="$ac_compile"
44951 case "(($ac_try" in
44952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44953 *) ac_try_echo=$ac_try;;
44955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44956 (eval "$ac_compile") 2>conftest.er1
44958 grep -v '^ *+' conftest.er1 >conftest.err
44960 cat conftest.err >&5
44961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44962 (exit $ac_status); } && {
44963 test -z "$ac_c_werror_flag" ||
44964 test ! -s conftest.err
44965 } && test -s conftest.$ac_objext; then
44966 wx_cv_type_sockaddr_in6=yes
44968 echo "$as_me: failed program was:" >&5
44969 sed 's/^/| /' conftest.$ac_ext >&5
44971 wx_cv_type_sockaddr_in6=no
44975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44979 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44980 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44982 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44983 cat >>confdefs.h <<\_ACEOF
44984 #define wxUSE_IPV6 1
44988 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44989 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_SOCKETS 1
44997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45000 if test "$wxUSE_PROTOCOL" = "yes"; then
45001 if test "$wxUSE_SOCKETS" != "yes"; then
45002 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45003 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45008 if test "$wxUSE_PROTOCOL" = "yes"; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_PROTOCOL 1
45014 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45015 cat >>confdefs.h <<\_ACEOF
45016 #define wxUSE_PROTOCOL_HTTP 1
45020 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45021 cat >>confdefs.h <<\_ACEOF
45022 #define wxUSE_PROTOCOL_FTP 1
45026 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45027 cat >>confdefs.h <<\_ACEOF
45028 #define wxUSE_PROTOCOL_FILE 1
45033 if test "$wxUSE_FS_INET" = "yes"; then
45034 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45035 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45040 if test "$wxUSE_URL" = "yes"; then
45041 if test "$wxUSE_PROTOCOL" != "yes"; then
45042 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45043 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45046 if test "$wxUSE_URL" = "yes"; then
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_URL 1
45054 if test "$wxUSE_VARIANT" = "yes"; then
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_VARIANT 1
45061 if test "$wxUSE_FS_INET" = "yes"; then
45062 cat >>confdefs.h <<\_ACEOF
45063 #define wxUSE_FS_INET 1
45069 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45072 if test "$TOOLKIT" = "MSW"; then
45075 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45076 if test "$USE_DARWIN" = 1; then
45077 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45078 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45080 ac_cpp='$CXXCPP $CPPFLAGS'
45081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45085 cat >conftest.$ac_ext <<_ACEOF
45088 cat confdefs.h >>conftest.$ac_ext
45089 cat >>conftest.$ac_ext <<_ACEOF
45090 /* end confdefs.h. */
45091 #include <IOKit/hid/IOHIDLib.h>
45095 IOHIDQueueInterface *qi = NULL;
45096 IOHIDCallbackFunction cb = NULL;
45097 qi->setEventCallout(NULL, cb, NULL, NULL);
45102 rm -f conftest.$ac_objext
45103 if { (ac_try="$ac_compile"
45104 case "(($ac_try" in
45105 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45106 *) ac_try_echo
=$ac_try;;
45108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45109 (eval "$ac_compile") 2>conftest.er1
45111 grep -v '^ *+' conftest.er1
>conftest.err
45113 cat conftest.err
>&5
45114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45115 (exit $ac_status); } && {
45116 test -z "$ac_cxx_werror_flag" ||
45117 test ! -s conftest.err
45118 } && test -s conftest.
$ac_objext; then
45122 echo "$as_me: failed program was:" >&5
45123 sed 's/^/| /' conftest.
$ac_ext >&5
45128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45130 ac_cpp
='$CPP $CPPFLAGS'
45131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45135 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45136 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45140 if test "$wxUSE_MGL" != 1; then
45142 for ac_header
in linux
/joystick.h
45144 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45145 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45147 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45148 echo $ECHO_N "(cached) $ECHO_C" >&6
45150 cat >conftest.
$ac_ext <<_ACEOF
45153 cat confdefs.h
>>conftest.
$ac_ext
45154 cat >>conftest.
$ac_ext <<_ACEOF
45155 /* end confdefs.h. */
45156 $ac_includes_default
45158 #include <$ac_header>
45160 rm -f conftest.
$ac_objext
45161 if { (ac_try
="$ac_compile"
45162 case "(($ac_try" in
45163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45164 *) ac_try_echo=$ac_try;;
45166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45167 (eval "$ac_compile") 2>conftest.er1
45169 grep -v '^ *+' conftest.er1 >conftest.err
45171 cat conftest.err >&5
45172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45173 (exit $ac_status); } && {
45174 test -z "$ac_c_werror_flag" ||
45175 test ! -s conftest.err
45176 } && test -s conftest.$ac_objext; then
45177 eval "$as_ac_Header=yes"
45179 echo "$as_me: failed program was:" >&5
45180 sed 's/^/| /' conftest.$ac_ext >&5
45182 eval "$as_ac_Header=no"
45185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45187 ac_res=`eval echo '${'$as_ac_Header'}'`
45188 { echo "$as_me:$LINENO: result: $ac_res" >&5
45189 echo "${ECHO_T}$ac_res" >&6; }
45190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45191 cat >>confdefs.h <<_ACEOF
45192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45202 if test "$wxUSE_JOYSTICK" = "yes"; then
45203 cat >>confdefs.h <<\_ACEOF
45204 #define wxUSE_JOYSTICK 1
45207 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45209 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45210 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45216 if test "$wxUSE_FONTENUM" = "yes" ; then
45217 cat >>confdefs.h <<\_ACEOF
45218 #define wxUSE_FONTENUM 1
45223 if test "$wxUSE_FONTMAP" = "yes" ; then
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_FONTMAP 1
45230 if test "$wxUSE_UNICODE" = "yes" ; then
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_UNICODE 1
45236 if test "$USE_WIN32" != 1; then
45237 wxUSE_UNICODE_MSLU=no
45240 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45241 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45242 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45243 if test "${ac_cv_lib_unicows_main+set}" = set; then
45244 echo $ECHO_N "(cached) $ECHO_C" >&6
45246 ac_check_lib_save_LIBS=$LIBS
45247 LIBS="-lunicows $LIBS"
45248 cat >conftest.$ac_ext <<_ACEOF
45251 cat confdefs.h >>conftest.$ac_ext
45252 cat >>conftest.$ac_ext <<_ACEOF
45253 /* end confdefs.h. */
45264 rm -f conftest.$ac_objext conftest$ac_exeext
45265 if { (ac_try="$ac_link"
45266 case "(($ac_try" in
45267 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45268 *) ac_try_echo
=$ac_try;;
45270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45271 (eval "$ac_link") 2>conftest.er1
45273 grep -v '^ *+' conftest.er1
>conftest.err
45275 cat conftest.err
>&5
45276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45277 (exit $ac_status); } && {
45278 test -z "$ac_c_werror_flag" ||
45279 test ! -s conftest.err
45280 } && test -s conftest
$ac_exeext &&
45281 $as_test_x conftest
$ac_exeext; then
45282 ac_cv_lib_unicows_main
=yes
45284 echo "$as_me: failed program was:" >&5
45285 sed 's/^/| /' conftest.
$ac_ext >&5
45287 ac_cv_lib_unicows_main
=no
45290 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45291 conftest
$ac_exeext conftest.
$ac_ext
45292 LIBS
=$ac_check_lib_save_LIBS
45294 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45295 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45296 if test $ac_cv_lib_unicows_main = yes; then
45298 cat >>confdefs.h
<<\_ACEOF
45299 #define wxUSE_UNICODE_MSLU 1
45305 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45306 Applications will only run on Windows NT/2000/XP!" >&5
45307 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45308 Applications will only run on Windows NT/2000/XP!" >&2;}
45309 wxUSE_UNICODE_MSLU
=no
45316 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45317 cat >>confdefs.h
<<\_ACEOF
45318 #define wxUSE_UNICODE_UTF8 1
45322 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45323 cat >>confdefs.h
<<\_ACEOF
45324 #define wxUSE_UTF8_LOCALE_ONLY 1
45331 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45332 cat >>confdefs.h
<<\_ACEOF
45333 #define wxUSE_CONSTRAINTS 1
45336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45339 if test "$wxUSE_MDI" = "yes"; then
45340 cat >>confdefs.h
<<\_ACEOF
45341 #define wxUSE_MDI 1
45345 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45346 cat >>confdefs.h
<<\_ACEOF
45347 #define wxUSE_MDI_ARCHITECTURE 1
45350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45354 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45355 cat >>confdefs.h
<<\_ACEOF
45356 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45362 if test "$wxUSE_HELP" = "yes"; then
45363 cat >>confdefs.h
<<\_ACEOF
45364 #define wxUSE_HELP 1
45367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45369 if test "$wxUSE_MSW" = 1; then
45370 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45371 cat >>confdefs.h
<<\_ACEOF
45372 #define wxUSE_MS_HTML_HELP 1
45378 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45379 if test "$wxUSE_HTML" = "yes"; then
45380 cat >>confdefs.h
<<\_ACEOF
45381 #define wxUSE_WXHTML_HELP 1
45385 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45386 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45387 wxUSE_WXHTML_HELP
=no
45392 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45393 cat >>confdefs.h
<<\_ACEOF
45394 #define wxUSE_PRINTING_ARCHITECTURE 1
45397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45400 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45401 cat >>confdefs.h
<<\_ACEOF
45402 #define wxUSE_POSTSCRIPT 1
45407 cat >>confdefs.h
<<\_ACEOF
45408 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45412 if test "$wxUSE_SVG" = "yes"; then
45413 cat >>confdefs.h
<<\_ACEOF
45414 #define wxUSE_SVG 1
45420 if test "$wxUSE_METAFILE" = "yes"; then
45421 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45422 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45423 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45429 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45430 -o "$wxUSE_CLIPBOARD" = "yes" \
45431 -o "$wxUSE_OLE" = "yes" \
45432 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45433 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45434 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45435 if test "${ac_cv_header_ole2_h+set}" = set; then
45436 echo $ECHO_N "(cached) $ECHO_C" >&6
45438 cat >conftest.
$ac_ext <<_ACEOF
45441 cat confdefs.h
>>conftest.
$ac_ext
45442 cat >>conftest.
$ac_ext <<_ACEOF
45443 /* end confdefs.h. */
45448 rm -f conftest.
$ac_objext
45449 if { (ac_try
="$ac_compile"
45450 case "(($ac_try" in
45451 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45452 *) ac_try_echo=$ac_try;;
45454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45455 (eval "$ac_compile") 2>conftest.er1
45457 grep -v '^ *+' conftest.er1 >conftest.err
45459 cat conftest.err >&5
45460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45461 (exit $ac_status); } && {
45462 test -z "$ac_c_werror_flag" ||
45463 test ! -s conftest.err
45464 } && test -s conftest.$ac_objext; then
45465 ac_cv_header_ole2_h=yes
45467 echo "$as_me: failed program was:" >&5
45468 sed 's/^/| /' conftest.$ac_ext >&5
45470 ac_cv_header_ole2_h=no
45473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45475 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45476 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45480 if test "$ac_cv_header_ole2_h" = "yes" ; then
45481 if test "$GCC" = yes ; then
45482 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45483 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45484 cat >conftest.$ac_ext <<_ACEOF
45487 cat confdefs.h >>conftest.$ac_ext
45488 cat >>conftest.$ac_ext <<_ACEOF
45489 /* end confdefs.h. */
45490 #include <windows.h>
45500 rm -f conftest.$ac_objext
45501 if { (ac_try="$ac_compile"
45502 case "(($ac_try" in
45503 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45504 *) ac_try_echo
=$ac_try;;
45506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45507 (eval "$ac_compile") 2>conftest.er1
45509 grep -v '^ *+' conftest.er1
>conftest.err
45511 cat conftest.err
>&5
45512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45513 (exit $ac_status); } && {
45514 test -z "$ac_c_werror_flag" ||
45515 test ! -s conftest.err
45516 } && test -s conftest.
$ac_objext; then
45517 { echo "$as_me:$LINENO: result: no" >&5
45518 echo "${ECHO_T}no" >&6; }
45520 echo "$as_me: failed program was:" >&5
45521 sed 's/^/| /' conftest.
$ac_ext >&5
45523 { echo "$as_me:$LINENO: result: yes" >&5
45524 echo "${ECHO_T}yes" >&6; }
45525 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45529 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45530 if test "$wxUSE_OLE" = "yes" ; then
45531 cat >>confdefs.h
<<\_ACEOF
45532 #define wxUSE_OLE 1
45535 cat >>confdefs.h
<<\_ACEOF
45536 #define wxUSE_OLE_AUTOMATION 1
45539 cat >>confdefs.h
<<\_ACEOF
45540 #define wxUSE_ACTIVEX 1
45543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45547 if test "$wxUSE_DATAOBJ" = "yes" ; then
45548 cat >>confdefs.h
<<\_ACEOF
45549 #define wxUSE_DATAOBJ 1
45554 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45555 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45558 wxUSE_DRAG_AND_DROP
=no
45563 if test "$wxUSE_METAFILE" = "yes"; then
45564 cat >>confdefs.h
<<\_ACEOF
45565 #define wxUSE_METAFILE 1
45569 cat >>confdefs.h
<<\_ACEOF
45570 #define wxUSE_ENH_METAFILE 1
45576 if test "$wxUSE_IPC" = "yes"; then
45577 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45578 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45579 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45583 if test "$wxUSE_IPC" = "yes"; then
45584 cat >>confdefs.h
<<\_ACEOF
45585 #define wxUSE_IPC 1
45588 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45592 if test "$wxUSE_DATAOBJ" = "yes"; then
45593 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45594 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45595 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45598 cat >>confdefs.h
<<\_ACEOF
45599 #define wxUSE_DATAOBJ 1
45604 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45605 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45607 wxUSE_DRAG_AND_DROP
=no
45610 if test "$wxUSE_CLIPBOARD" = "yes"; then
45611 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45612 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45613 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45617 if test "$wxUSE_CLIPBOARD" = "yes"; then
45618 cat >>confdefs.h
<<\_ACEOF
45619 #define wxUSE_CLIPBOARD 1
45625 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45626 if test "$wxUSE_GTK" = 1; then
45627 if test "$WXGTK12" != 1; then
45628 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45629 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45630 wxUSE_DRAG_AND_DROP
=no
45634 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45635 "$wxUSE_DFB" = 1; then
45636 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45637 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45638 wxUSE_DRAG_AND_DROP
=no
45641 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45642 cat >>confdefs.h
<<\_ACEOF
45643 #define wxUSE_DRAG_AND_DROP 1
45650 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45654 if test "$wxUSE_CLIPBOARD" = "yes"; then
45655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
45658 if test "$wxUSE_SPLINES" = "yes" ; then
45659 cat >>confdefs.h
<<\_ACEOF
45660 #define wxUSE_SPLINES 1
45665 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45666 cat >>confdefs.h
<<\_ACEOF
45667 #define wxUSE_MOUSEWHEEL 1
45674 if test "$wxUSE_CONTROLS" = "yes"; then
45678 if test "$wxUSE_ACCEL" = "yes"; then
45679 cat >>confdefs.h
<<\_ACEOF
45680 #define wxUSE_ACCEL 1
45686 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45687 cat >>confdefs.h
<<\_ACEOF
45688 #define wxUSE_ANIMATIONCTRL 1
45692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45695 if test "$wxUSE_BUTTON" = "yes"; then
45696 cat >>confdefs.h
<<\_ACEOF
45697 #define wxUSE_BUTTON 1
45703 if test "$wxUSE_BMPBUTTON" = "yes"; then
45704 cat >>confdefs.h
<<\_ACEOF
45705 #define wxUSE_BMPBUTTON 1
45711 if test "$wxUSE_CALCTRL" = "yes"; then
45712 cat >>confdefs.h
<<\_ACEOF
45713 #define wxUSE_CALENDARCTRL 1
45717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45720 if test "$wxUSE_CARET" = "yes"; then
45721 cat >>confdefs.h
<<\_ACEOF
45722 #define wxUSE_CARET 1
45726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45729 if test "$wxUSE_COLLPANE" = "yes"; then
45730 cat >>confdefs.h
<<\_ACEOF
45731 #define wxUSE_COLLPANE 1
45735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45738 if test "$wxUSE_COMBOBOX" = "yes"; then
45739 cat >>confdefs.h
<<\_ACEOF
45740 #define wxUSE_COMBOBOX 1
45746 if test "$wxUSE_COMBOCTRL" = "yes"; then
45747 cat >>confdefs.h
<<\_ACEOF
45748 #define wxUSE_COMBOCTRL 1
45754 if test "$wxUSE_CHOICE" = "yes"; then
45755 cat >>confdefs.h
<<\_ACEOF
45756 #define wxUSE_CHOICE 1
45762 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45763 cat >>confdefs.h
<<\_ACEOF
45764 #define wxUSE_CHOICEBOOK 1
45770 if test "$wxUSE_CHECKBOX" = "yes"; then
45771 cat >>confdefs.h
<<\_ACEOF
45772 #define wxUSE_CHECKBOX 1
45778 if test "$wxUSE_CHECKLST" = "yes"; then
45779 cat >>confdefs.h
<<\_ACEOF
45780 #define wxUSE_CHECKLISTBOX 1
45786 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45787 cat >>confdefs.h
<<\_ACEOF
45788 #define wxUSE_COLOURPICKERCTRL 1
45794 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45795 cat >>confdefs.h
<<\_ACEOF
45796 #define wxUSE_DATEPICKCTRL 1
45802 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45803 cat >>confdefs.h
<<\_ACEOF
45804 #define wxUSE_DIRPICKERCTRL 1
45810 if test "$wxUSE_FILECTRL" = "yes"; then
45811 cat >>confdefs.h
<<\_ACEOF
45812 #define wxUSE_FILECTRL 1
45818 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45819 cat >>confdefs.h
<<\_ACEOF
45820 #define wxUSE_FILEPICKERCTRL 1
45826 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45827 cat >>confdefs.h
<<\_ACEOF
45828 #define wxUSE_FONTPICKERCTRL 1
45834 if test "$wxUSE_DISPLAY" = "yes"; then
45835 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45836 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45837 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45840 cat >>confdefs.h
<<\_ACEOF
45841 #define wxUSE_DISPLAY 1
45844 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45848 if test "$wxUSE_DETECT_SM" = "yes"; then
45849 cat >>confdefs.h
<<\_ACEOF
45850 #define wxUSE_DETECT_SM 1
45855 if test "$wxUSE_GAUGE" = "yes"; then
45856 cat >>confdefs.h
<<\_ACEOF
45857 #define wxUSE_GAUGE 1
45863 if test "$wxUSE_GRID" = "yes"; then
45864 cat >>confdefs.h
<<\_ACEOF
45865 #define wxUSE_GRID 1
45869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45872 if test "$wxUSE_HEADERCTRL" = "yes"; then
45873 cat >>confdefs.h
<<\_ACEOF
45874 #define wxUSE_HEADERCTRL 1
45880 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45881 cat >>confdefs.h
<<\_ACEOF
45882 #define wxUSE_HYPERLINKCTRL 1
45888 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45889 cat >>confdefs.h
<<\_ACEOF
45890 #define wxUSE_BITMAPCOMBOBOX 1
45896 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45897 cat >>confdefs.h
<<\_ACEOF
45898 #define wxUSE_DATAVIEWCTRL 1
45902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45905 if test "$wxUSE_IMAGLIST" = "yes"; then
45906 cat >>confdefs.h
<<\_ACEOF
45907 #define wxUSE_IMAGLIST 1
45912 if test "$wxUSE_LISTBOOK" = "yes"; then
45913 cat >>confdefs.h
<<\_ACEOF
45914 #define wxUSE_LISTBOOK 1
45920 if test "$wxUSE_LISTBOX" = "yes"; then
45921 cat >>confdefs.h
<<\_ACEOF
45922 #define wxUSE_LISTBOX 1
45928 if test "$wxUSE_LISTCTRL" = "yes"; then
45929 if test "$wxUSE_IMAGLIST" = "yes"; then
45930 cat >>confdefs.h
<<\_ACEOF
45931 #define wxUSE_LISTCTRL 1
45935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45937 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45938 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45942 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45943 cat >>confdefs.h
<<\_ACEOF
45944 #define wxUSE_EDITABLELISTBOX 1
45948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45951 if test "$wxUSE_NOTEBOOK" = "yes"; then
45952 cat >>confdefs.h
<<\_ACEOF
45953 #define wxUSE_NOTEBOOK 1
45957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45960 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45961 cat >>confdefs.h
<<\_ACEOF
45962 #define wxUSE_NOTIFICATION_MESSAGE 1
45967 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45968 cat >>confdefs.h
<<\_ACEOF
45969 #define wxUSE_ODCOMBOBOX 1
45973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45976 if test "$wxUSE_RADIOBOX" = "yes"; then
45977 cat >>confdefs.h
<<\_ACEOF
45978 #define wxUSE_RADIOBOX 1
45984 if test "$wxUSE_RADIOBTN" = "yes"; then
45985 cat >>confdefs.h
<<\_ACEOF
45986 #define wxUSE_RADIOBTN 1
45992 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45993 cat >>confdefs.h
<<\_ACEOF
45994 #define wxUSE_REARRANGECTRL 1
45999 if test "$wxUSE_SASH" = "yes"; then
46000 cat >>confdefs.h
<<\_ACEOF
46001 #define wxUSE_SASH 1
46004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46007 if test "$wxUSE_SCROLLBAR" = "yes"; then
46008 cat >>confdefs.h
<<\_ACEOF
46009 #define wxUSE_SCROLLBAR 1
46013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
46016 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46017 cat >>confdefs.h
<<\_ACEOF
46018 #define wxUSE_SEARCHCTRL 1
46024 if test "$wxUSE_SLIDER" = "yes"; then
46025 cat >>confdefs.h
<<\_ACEOF
46026 #define wxUSE_SLIDER 1
46032 if test "$wxUSE_SPINBTN" = "yes"; then
46033 cat >>confdefs.h
<<\_ACEOF
46034 #define wxUSE_SPINBTN 1
46040 if test "$wxUSE_SPINCTRL" = "yes"; then
46041 cat >>confdefs.h
<<\_ACEOF
46042 #define wxUSE_SPINCTRL 1
46048 if test "$wxUSE_SPLITTER" = "yes"; then
46049 cat >>confdefs.h
<<\_ACEOF
46050 #define wxUSE_SPLITTER 1
46053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46056 if test "$wxUSE_STATBMP" = "yes"; then
46057 cat >>confdefs.h
<<\_ACEOF
46058 #define wxUSE_STATBMP 1
46064 if test "$wxUSE_STATBOX" = "yes"; then
46065 cat >>confdefs.h
<<\_ACEOF
46066 #define wxUSE_STATBOX 1
46072 if test "$wxUSE_STATTEXT" = "yes"; then
46073 cat >>confdefs.h
<<\_ACEOF
46074 #define wxUSE_STATTEXT 1
46080 if test "$wxUSE_STATLINE" = "yes"; then
46081 cat >>confdefs.h
<<\_ACEOF
46082 #define wxUSE_STATLINE 1
46088 if test "$wxUSE_STATUSBAR" = "yes"; then
46089 cat >>confdefs.h
<<\_ACEOF
46090 #define wxUSE_NATIVE_STATUSBAR 1
46093 cat >>confdefs.h
<<\_ACEOF
46094 #define wxUSE_STATUSBAR 1
46099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46102 if test "$wxUSE_TEXTCTRL" = "yes"; then
46103 cat >>confdefs.h
<<\_ACEOF
46104 #define wxUSE_TEXTCTRL 1
46108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46110 cat >>confdefs.h
<<\_ACEOF
46111 #define wxUSE_RICHEDIT 1
46114 cat >>confdefs.h
<<\_ACEOF
46115 #define wxUSE_RICHEDIT2 1
46120 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46121 if test "$wxUSE_COCOA" = 1 ; then
46122 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46123 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46127 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46128 cat >>confdefs.h
<<\_ACEOF
46129 #define wxUSE_TOGGLEBTN 1
46136 if test "$wxUSE_TOOLBAR" = "yes"; then
46137 cat >>confdefs.h
<<\_ACEOF
46138 #define wxUSE_TOOLBAR 1
46143 if test "$wxUSE_UNIVERSAL" = "yes"; then
46144 wxUSE_TOOLBAR_NATIVE
="no"
46146 wxUSE_TOOLBAR_NATIVE
="yes"
46147 cat >>confdefs.h
<<\_ACEOF
46148 #define wxUSE_TOOLBAR_NATIVE 1
46153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46156 if test "$wxUSE_TOOLTIPS" = "yes"; then
46157 if test "$wxUSE_MOTIF" = 1; then
46158 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46159 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46161 if test "$wxUSE_UNIVERSAL" = "yes"; then
46162 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46163 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46165 cat >>confdefs.h
<<\_ACEOF
46166 #define wxUSE_TOOLTIPS 1
46173 if test "$wxUSE_TREEBOOK" = "yes"; then
46174 cat >>confdefs.h
<<\_ACEOF
46175 #define wxUSE_TREEBOOK 1
46181 if test "$wxUSE_TOOLBOOK" = "yes"; then
46182 cat >>confdefs.h
<<\_ACEOF
46183 #define wxUSE_TOOLBOOK 1
46189 if test "$wxUSE_TREECTRL" = "yes"; then
46190 if test "$wxUSE_IMAGLIST" = "yes"; then
46191 cat >>confdefs.h
<<\_ACEOF
46192 #define wxUSE_TREECTRL 1
46196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46198 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46199 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46203 if test "$wxUSE_POPUPWIN" = "yes"; then
46204 if test "$wxUSE_COCOA" = 1 ; then
46205 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46206 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46208 if test "$wxUSE_PM" = 1; then
46209 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46210 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46212 cat >>confdefs.h
<<\_ACEOF
46213 #define wxUSE_POPUPWIN 1
46216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46223 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46224 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46225 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46226 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46228 cat >>confdefs.h
<<\_ACEOF
46229 #define wxUSE_DIALUP_MANAGER 1
46232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46236 if test "$wxUSE_TIPWINDOW" = "yes"; then
46237 if test "$wxUSE_PM" = 1; then
46238 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46239 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46241 cat >>confdefs.h
<<\_ACEOF
46242 #define wxUSE_TIPWINDOW 1
46248 if test "$USES_CONTROLS" = 1; then
46249 cat >>confdefs.h
<<\_ACEOF
46250 #define wxUSE_CONTROLS 1
46256 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46257 cat >>confdefs.h
<<\_ACEOF
46258 #define wxUSE_ACCESSIBILITY 1
46261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46264 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46265 cat >>confdefs.h
<<\_ACEOF
46266 #define wxUSE_DRAGIMAGE 1
46269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46272 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46273 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46274 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46275 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46277 cat >>confdefs.h
<<\_ACEOF
46278 #define wxUSE_EXCEPTIONS 1
46281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46286 if test "$wxUSE_HTML" = "yes"; then
46287 cat >>confdefs.h
<<\_ACEOF
46288 #define wxUSE_HTML 1
46292 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46294 if test "$wxUSE_WEBKIT" = "yes"; then
46295 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46296 old_CPPFLAGS
="$CPPFLAGS"
46297 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46298 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46299 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46300 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46301 echo $ECHO_N "(cached) $ECHO_C" >&6
46303 cat >conftest.
$ac_ext <<_ACEOF
46306 cat confdefs.h
>>conftest.
$ac_ext
46307 cat >>conftest.
$ac_ext <<_ACEOF
46308 /* end confdefs.h. */
46310 #include <Carbon/Carbon.h>
46311 #include <WebKit/WebKit.h>
46314 #include <WebKit/HIWebView.h>
46316 rm -f conftest.
$ac_objext
46317 if { (ac_try
="$ac_compile"
46318 case "(($ac_try" in
46319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46320 *) ac_try_echo=$ac_try;;
46322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46323 (eval "$ac_compile") 2>conftest.er1
46325 grep -v '^ *+' conftest.er1 >conftest.err
46327 cat conftest.err >&5
46328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46329 (exit $ac_status); } && {
46330 test -z "$ac_c_werror_flag" ||
46331 test ! -s conftest.err
46332 } && test -s conftest.$ac_objext; then
46333 ac_cv_header_WebKit_HIWebView_h=yes
46335 echo "$as_me: failed program was:" >&5
46336 sed 's/^/| /' conftest.$ac_ext >&5
46338 ac_cv_header_WebKit_HIWebView_h=no
46341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46343 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46344 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46345 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46347 cat >>confdefs.h <<\_ACEOF
46348 #define wxUSE_WEBKIT 1
46351 WEBKIT_LINK="-framework WebKit"
46355 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46356 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46362 CPPFLAGS="$old_CPPFLAGS"
46363 elif test "$wxUSE_COCOA" = 1; then
46364 cat >>confdefs.h <<\_ACEOF
46365 #define wxUSE_WEBKIT 1
46371 if test "$wxUSE_WEBKIT" = "yes"; then
46372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46377 if test "$wxUSE_XRC" = "yes"; then
46378 if test "$wxUSE_XML" != "yes"; then
46379 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46380 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46383 cat >>confdefs.h <<\_ACEOF
46384 #define wxUSE_XRC 1
46388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46393 if test "$wxUSE_AUI" = "yes"; then
46394 cat >>confdefs.h <<\_ACEOF
46395 #define wxUSE_AUI 1
46399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46403 if test "$wxUSE_PROPGRID" = "yes"; then
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_PROPGRID 1
46409 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46413 if test "$wxUSE_STC" = "yes"; then
46414 cat >>confdefs.h <<\_ACEOF
46415 #define wxUSE_STC 1
46419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46422 if test "$wxUSE_MENUS" = "yes"; then
46423 cat >>confdefs.h <<\_ACEOF
46424 #define wxUSE_MENUS 1
46427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46430 if test "$wxUSE_METAFILE" = "yes"; then
46431 cat >>confdefs.h <<\_ACEOF
46432 #define wxUSE_METAFILE 1
46437 if test "$wxUSE_MIMETYPE" = "yes"; then
46438 cat >>confdefs.h <<\_ACEOF
46439 #define wxUSE_MIMETYPE 1
46444 if test "$wxUSE_MINIFRAME" = "yes"; then
46445 cat >>confdefs.h <<\_ACEOF
46446 #define wxUSE_MINIFRAME 1
46451 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46452 cat >>confdefs.h <<\_ACEOF
46453 #define wxUSE_SYSTEM_OPTIONS 1
46458 if test "$wxUSE_TASKBARICON" = "yes"; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_TASKBARICON 1
46463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46467 if test "$wxUSE_VALIDATORS" = "yes"; then
46468 cat >>confdefs.h <<\_ACEOF
46469 #define wxUSE_VALIDATORS 1
46472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46475 if test "$wxUSE_PALETTE" = "yes" ; then
46476 if test "$wxUSE_DFB" = 1; then
46477 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46478 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46481 cat >>confdefs.h <<\_ACEOF
46482 #define wxUSE_PALETTE 1
46488 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46489 LIBS=" -lunicows $LIBS"
46493 if test "$wxUSE_RICHTEXT" = "yes"; then
46494 cat >>confdefs.h <<\_ACEOF
46495 #define wxUSE_RICHTEXT 1
46499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46503 if test "$wxUSE_IMAGE" = "yes" ; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_IMAGE 1
46509 if test "$wxUSE_GIF" = "yes" ; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define wxUSE_GIF 1
46516 if test "$wxUSE_PCX" = "yes" ; then
46517 cat >>confdefs.h <<\_ACEOF
46518 #define wxUSE_PCX 1
46523 if test "$wxUSE_TGA" = "yes" ; then
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_TGA 1
46530 if test "$wxUSE_IFF" = "yes" ; then
46531 cat >>confdefs.h <<\_ACEOF
46532 #define wxUSE_IFF 1
46537 if test "$wxUSE_PNM" = "yes" ; then
46538 cat >>confdefs.h <<\_ACEOF
46539 #define wxUSE_PNM 1
46544 if test "$wxUSE_XPM" = "yes" ; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_XPM 1
46551 if test "$wxUSE_ICO_CUR" = "yes" ; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_ICO_CUR 1
46560 if test "$wxUSE_ABOUTDLG" = "yes"; then
46561 cat >>confdefs.h <<\_ACEOF
46562 #define wxUSE_ABOUTDLG 1
46567 if test "$wxUSE_CHOICEDLG" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_CHOICEDLG 1
46574 if test "$wxUSE_COLOURDLG" = "yes"; then
46575 cat >>confdefs.h <<\_ACEOF
46576 #define wxUSE_COLOURDLG 1
46581 if test "$wxUSE_FILEDLG" = "yes"; then
46582 cat >>confdefs.h <<\_ACEOF
46583 #define wxUSE_FILEDLG 1
46588 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46589 cat >>confdefs.h <<\_ACEOF
46590 #define wxUSE_FINDREPLDLG 1
46595 if test "$wxUSE_FONTDLG" = "yes"; then
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_FONTDLG 1
46602 if test "$wxUSE_DIRDLG" = "yes"; then
46603 if test "$wxUSE_TREECTRL" != "yes"; then
46604 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46605 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46607 cat >>confdefs.h <<\_ACEOF
46608 #define wxUSE_DIRDLG 1
46614 if test "$wxUSE_MSGDLG" = "yes"; then
46615 cat >>confdefs.h <<\_ACEOF
46616 #define wxUSE_MSGDLG 1
46621 if test "$wxUSE_NUMBERDLG" = "yes"; then
46622 cat >>confdefs.h <<\_ACEOF
46623 #define wxUSE_NUMBERDLG 1
46628 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46629 cat >>confdefs.h <<\_ACEOF
46630 #define wxUSE_PROGRESSDLG 1
46635 if test "$wxUSE_SPLASH" = "yes"; then
46636 cat >>confdefs.h <<\_ACEOF
46637 #define wxUSE_SPLASH 1
46640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46643 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46644 cat >>confdefs.h <<\_ACEOF
46645 #define wxUSE_STARTUP_TIPS 1
46650 if test "$wxUSE_TEXTDLG" = "yes"; then
46651 cat >>confdefs.h <<\_ACEOF
46652 #define wxUSE_TEXTDLG 1
46657 if test "$wxUSE_WIZARDDLG" = "yes"; then
46658 cat >>confdefs.h <<\_ACEOF
46659 #define wxUSE_WIZARDDLG 1
46662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46666 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46667 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46668 cat >>confdefs.h <<\_ACEOF
46669 #define wxUSE_OWNER_DRAWN 1
46676 if test "$wxUSE_MSW" = 1 ; then
46678 if test "$wxUSE_DC_CACHEING" = "yes"; then
46679 cat >>confdefs.h <<\_ACEOF
46680 #define wxUSE_DC_CACHEING 1
46685 if test "$wxUSE_DIB" = "yes"; then
46686 cat >>confdefs.h <<\_ACEOF
46687 #define wxUSE_WXDIB 1
46692 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46693 cat >>confdefs.h <<\_ACEOF
46694 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46699 if test "$wxUSE_UXTHEME" = "yes"; then
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_UXTHEME 1
46708 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46709 cat >>confdefs.h <<\_ACEOF
46710 #define wxUSE_AUTOID_MANAGEMENT 1
46715 if test "$USE_WIN32" = 1 ; then
46716 if test "$wxUSE_INICONF" = "yes"; then
46717 cat >>confdefs.h <<\_ACEOF
46718 #define wxUSE_INICONF 1
46723 if test "$wxUSE_REGKEY" = "yes"; then
46724 cat >>confdefs.h <<\_ACEOF
46725 #define wxUSE_REGKEY 1
46732 if test "$wxUSE_MAC" = 1; then
46733 wxUSE_GRAPHICS_CONTEXT="yes"
46736 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46737 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46738 cat >>confdefs.h <<\_ACEOF
46739 #define wxUSE_GRAPHICS_CONTEXT 1
46742 elif test "$wxUSE_GTK" != 1; then
46743 cat >>confdefs.h <<\_ACEOF
46744 #define wxUSE_GRAPHICS_CONTEXT 1
46750 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46751 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46753 if test -n "$PKG_CONFIG"; then
46754 if test -n "$CAIRO_CFLAGS"; then
46755 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46757 if test -n "$PKG_CONFIG" && \
46758 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46759 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46762 (exit $ac_status); }; then
46763 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46771 if test -n "$PKG_CONFIG"; then
46772 if test -n "$CAIRO_LIBS"; then
46773 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46775 if test -n "$PKG_CONFIG" && \
46776 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46777 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46780 (exit $ac_status); }; then
46781 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46792 if test $pkg_failed = yes; then
46794 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46795 _pkg_short_errors_supported=yes
46797 _pkg_short_errors_supported=no
46799 if test $_pkg_short_errors_supported = yes; then
46800 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46802 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46804 # Put the nasty error message in config.log where it belongs
46805 echo "$CAIRO_PKG_ERRORS" >&5
46807 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46808 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46810 elif test $pkg_failed = untried; then
46811 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46812 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46815 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46816 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46817 { echo "$as_me:$LINENO: result: yes" >&5
46818 echo "${ECHO_T}yes" >&6; }
46819 cat >>confdefs.h <<\_ACEOF
46820 #define wxUSE_GRAPHICS_CONTEXT 1
46830 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46833 if test "$wxUSE_GTK" = 1; then
46834 wxUSE_GSTREAMER="no"
46836 GST_VERSION_MAJOR=0
46837 GST_VERSION_MINOR=10
46838 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46840 if test "$wxUSE_GSTREAMER8" = "no"; then
46843 { echo "$as_me:$LINENO: checking for GST" >&5
46844 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46846 if test -n "$PKG_CONFIG"; then
46847 if test -n "$GST_CFLAGS"; then
46848 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46850 if test -n "$PKG_CONFIG" && \
46851 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46852 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46855 (exit $ac_status); }; then
46856 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46864 if test -n "$PKG_CONFIG"; then
46865 if test -n "$GST_LIBS"; then
46866 pkg_cv_GST_LIBS="$GST_LIBS"
46868 if test -n "$PKG_CONFIG" && \
46869 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46870 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46873 (exit $ac_status); }; then
46874 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46885 if test $pkg_failed = yes; then
46887 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46888 _pkg_short_errors_supported=yes
46890 _pkg_short_errors_supported=no
46892 if test $_pkg_short_errors_supported = yes; then
46893 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46895 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46897 # Put the nasty error message in config.log where it belongs
46898 echo "$GST_PKG_ERRORS" >&5
46901 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46902 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46903 GST_VERSION_MINOR=8
46906 elif test $pkg_failed = untried; then
46908 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46909 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46910 GST_VERSION_MINOR=8
46914 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46915 GST_LIBS=$pkg_cv_GST_LIBS
46916 { echo "$as_me:$LINENO: result: yes" >&5
46917 echo "${ECHO_T}yes" >&6; }
46919 wxUSE_GSTREAMER="yes"
46920 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46924 GST_VERSION_MINOR=8
46927 if test $GST_VERSION_MINOR = "8"; then
46928 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46931 { echo "$as_me:$LINENO: checking for GST" >&5
46932 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46934 if test -n "$PKG_CONFIG"; then
46935 if test -n "$GST_CFLAGS"; then
46936 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46938 if test -n "$PKG_CONFIG" && \
46939 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46940 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46943 (exit $ac_status); }; then
46944 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46952 if test -n "$PKG_CONFIG"; then
46953 if test -n "$GST_LIBS"; then
46954 pkg_cv_GST_LIBS="$GST_LIBS"
46956 if test -n "$PKG_CONFIG" && \
46957 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46958 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46961 (exit $ac_status); }; then
46962 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46973 if test $pkg_failed = yes; then
46975 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46976 _pkg_short_errors_supported=yes
46978 _pkg_short_errors_supported=no
46980 if test $_pkg_short_errors_supported = yes; then
46981 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46983 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46985 # Put the nasty error message in config.log where it belongs
46986 echo "$GST_PKG_ERRORS" >&5
46989 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46990 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46992 elif test $pkg_failed = untried; then
46994 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46995 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46998 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46999 GST_LIBS=$pkg_cv_GST_LIBS
47000 { echo "$as_me:$LINENO: result: yes" >&5
47001 echo "${ECHO_T}yes" >&6; }
47002 wxUSE_GSTREAMER="yes"
47007 if test "$wxUSE_GSTREAMER" = "yes"; then
47008 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47009 EXTRALIBS_MEDIA="$GST_LIBS"
47011 cat >>confdefs.h <<\_ACEOF
47012 #define wxUSE_GSTREAMER 1
47020 if test $USE_MEDIA = 1; then
47021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47022 cat >>confdefs.h <<\_ACEOF
47023 #define wxUSE_MEDIACTRL 1
47027 if test "$wxUSE_MEDIACTRL" = "yes"; then
47028 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47029 echo "$as_me: error: GStreamer not available" >&2;}
47030 { (exit 1); exit 1; }; }
47032 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47033 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47039 if test "$cross_compiling" = "yes"; then
47042 OSINFO=`uname
-s -r -m`
47043 OSINFO="\"$OSINFO\""
47046 cat >>confdefs.h <<_ACEOF
47047 #define WXWIN_OS_DESCRIPTION $OSINFO
47052 if test "x$prefix" != "xNONE"; then
47055 wxPREFIX=$ac_default_prefix
47058 cat >>confdefs.h <<_ACEOF
47059 #define wxINSTALL_PREFIX "$wxPREFIX"
47065 STD_BASE_LIBS="base"
47067 BUILT_WX_LIBS="base"
47068 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47070 if test "$wxUSE_SOCKETS" = "yes" ; then
47071 STD_BASE_LIBS="net $STD_BASE_LIBS"
47072 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47074 if test "$wxUSE_XML" = "yes" ; then
47075 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47076 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47079 if test "$wxUSE_GUI" = "yes"; then
47080 STD_GUI_LIBS="adv core"
47081 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47083 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47084 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47085 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47087 if test "$wxUSE_HTML" = "yes" ; then
47088 STD_GUI_LIBS="html $STD_GUI_LIBS"
47089 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47091 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47092 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47094 if test "$wxUSE_OPENGL" = "yes" ; then
47095 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47097 if test "$wxUSE_AUI" = "yes" ; then
47098 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47100 if test "$wxUSE_PROPGRID" = "yes" ; then
47101 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47103 if test "$wxUSE_RICHTEXT" = "yes" ; then
47104 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47106 if test "$wxUSE_STC" = "yes" ; then
47107 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47109 if test "$wxUSE_XRC" = "yes" ; then
47110 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47111 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47122 if test "$wxUSE_MAC" = 1 ; then
47123 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47124 if test "$USE_DARWIN" = 1; then
47125 LDFLAGS="$LDFLAGS -framework QuickTime"
47128 if test "$USE_DARWIN" = 1; then
47129 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47132 if test "$wxUSE_COCOA" = 1 ; then
47133 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47134 if test "$wxUSE_MEDIACTRL" = "yes"; then
47135 LDFLAGS="$LDFLAGS -framework QuickTime"
47138 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47139 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47142 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47144 if test "$wxUSE_GUI" = "yes"; then
47147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47148 erase event exec font image minimal mobile \
47149 mobile/wxedit mobile/styles render \
47150 shaped svg taborder vscroll widgets"
47152 if test "$wxUSE_MONOLITHIC" != "yes"; then
47153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47155 if test "$TOOLKIT" = "MSW"; then
47156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47157 if test "$wxUSE_UNIVERSAL" != "yes"; then
47158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47161 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47165 SAMPLES_SUBDIRS="console"
47166 if test "$wxUSE_SOCKETS" = "yes" ; then
47167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47169 if test "$wxUSE_IPC" = "yes" ; then
47170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47175 if test "x$INTELCC" = "xyes" ; then
47176 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47177 elif test "$GCC" = yes ; then
47178 CWARNINGS="-Wall -Wundef"
47181 if test "x$INTELCXX" = "xyes" ; then
47182 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47183 elif test "$GXX" = yes ; then
47184 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47185 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47186 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47187 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47188 echo $ECHO_N "(cached) $ECHO_C" >&6
47190 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47193 ac_cpp='$CXXCPP $CPPFLAGS'
47194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47198 ac_save_CXXFLAGS="$CXXFLAGS"
47199 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47200 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47201 cat >conftest.$ac_ext <<_ACEOF
47204 cat confdefs.h >>conftest.$ac_ext
47205 cat >>conftest.$ac_ext <<_ACEOF
47206 /* end confdefs.h. */
47216 rm -f conftest.$ac_objext
47217 if { (ac_try="$ac_compile"
47218 case "(($ac_try" in
47219 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47220 *) ac_try_echo
=$ac_try;;
47222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47223 (eval "$ac_compile") 2>conftest.er1
47225 grep -v '^ *+' conftest.er1
>conftest.err
47227 cat conftest.err
>&5
47228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47229 (exit $ac_status); } && {
47230 test -z "$ac_cxx_werror_flag" ||
47231 test ! -s conftest.err
47232 } && test -s conftest.
$ac_objext; then
47233 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47235 echo "$as_me: failed program was:" >&5
47236 sed 's/^/| /' conftest.
$ac_ext >&5
47241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47243 CXXFLAGS
="$ac_save_CXXFLAGS"
47245 ac_cpp
='$CPP $CPPFLAGS'
47246 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47247 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47248 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47252 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47253 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47254 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47258 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47259 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47260 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47263 (exit $ac_status); }
47264 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47265 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47268 (exit $ac_status); }
47269 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47277 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47278 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47281 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47282 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47283 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47286 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47287 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47288 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47289 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47290 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47292 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47295 if test "x$MWCC" = "xyes"; then
47297 CC
="$CC -cwd source -I-"
47298 CXX
="$CXX -cwd source -I-"
47303 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47304 EXTRALIBS_XML
="$EXPAT_LINK"
47305 EXTRALIBS_HTML
="$MSPACK_LINK"
47306 EXTRALIBS_MEDIA
="$GST_LIBS"
47307 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47308 if test "$wxUSE_GUI" = "yes"; then
47309 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47311 if test "$wxUSE_OPENGL" = "yes"; then
47312 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47315 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47317 WXCONFIG_LIBS
="$LIBS"
47319 if test "$wxUSE_REGEX" = "builtin" ; then
47320 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47322 if test "$wxUSE_EXPAT" = "builtin" ; then
47323 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47325 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47326 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47328 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47329 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47331 if test "$wxUSE_LIBPNG" = "builtin" ; then
47332 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47334 if test "$wxUSE_ZLIB" = "builtin" ; then
47335 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47338 for i
in $wxconfig_3rdparty ; do
47339 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47343 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47346 case "$wxUNIV_THEMES" in
47348 cat >>confdefs.h
<<\_ACEOF
47349 #define wxUSE_ALL_THEMES 1
47355 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47356 cat >>confdefs.h
<<_ACEOF
47357 #define wxUSE_THEME_$t 1
47373 if test $wxUSE_MONOLITHIC = "yes" ; then
47379 if test $wxUSE_PLUGINS = "yes" ; then
47385 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47391 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47424 TOOLKIT_LOWERCASE
=xxx
47425 if test "$TOOLKIT" = "MAC"; then
47426 TOOLKIT_LOWERCASE
=osx_carbon
47428 if test "$TOOLKIT" = "OSX_CARBON"; then
47429 TOOLKIT_LOWERCASE
=osx_carbon
47431 if test "$TOOLKIT" = "OSX_COCOA"; then
47432 TOOLKIT_LOWERCASE
=osx_cocoa
47434 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47435 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47448 TOOLKIT_DESC
="GTK+"
47449 if test "$WXGTK2" = 1; then
47450 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47451 if test "$wxUSE_GTKPRINT" = "yes" ; then
47452 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47454 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47455 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47457 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47458 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47460 if test "$wxUSE_LIBHILDON" = "yes"; then
47461 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47464 if test "$TOOLKIT_EXTRA" != ""; then
47465 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47471 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47475 TOOLKIT_DESC
="base only"
47479 if test "$wxUSE_WINE" = "yes"; then
47480 BAKEFILE_FORCE_PLATFORM
=win32
47483 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47485 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47486 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47487 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47488 echo $ECHO_N "(cached) $ECHO_C" >&6
47491 echo '#include <stdio.h>
47492 const wchar_t test_var[] = L"awidetest";' > conftest.h
47494 echo '#include "conftest.h"
47497 printf("%ls", test_var);
47501 wx_cv_gcc_pch_bug
="pch not supported"
47503 if $CXX conftest.h
>/dev
/null
2>&1
47507 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47509 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47510 grep awidetest
>/dev
/null
47512 wx_cv_gcc_pch_bug
=no
47514 wx_cv_gcc_pch_bug
=yes
47519 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47522 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47523 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47525 if test "$wx_cv_gcc_pch_bug" = yes; then
47536 if test "x$BAKEFILE_HOST" = "x"; then
47537 if test "x${host}" = "x" ; then
47538 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47539 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47540 { (exit 1); exit 1; }; }
47543 BAKEFILE_HOST
="${host}"
47546 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47548 if test -n "$ac_tool_prefix"; then
47549 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47550 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47553 if test "${ac_cv_prog_RANLIB+set}" = set; then
47554 echo $ECHO_N "(cached) $ECHO_C" >&6
47556 if test -n "$RANLIB"; then
47557 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47560 for as_dir
in $PATH
47563 test -z "$as_dir" && as_dir
=.
47564 for ac_exec_ext
in '' $ac_executable_extensions; do
47565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47566 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47576 RANLIB
=$ac_cv_prog_RANLIB
47577 if test -n "$RANLIB"; then
47578 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47579 echo "${ECHO_T}$RANLIB" >&6; }
47581 { echo "$as_me:$LINENO: result: no" >&5
47582 echo "${ECHO_T}no" >&6; }
47587 if test -z "$ac_cv_prog_RANLIB"; then
47588 ac_ct_RANLIB
=$RANLIB
47589 # Extract the first word of "ranlib", so it can be a program name with args.
47590 set dummy ranlib
; ac_word
=$2
47591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47593 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47594 echo $ECHO_N "(cached) $ECHO_C" >&6
47596 if test -n "$ac_ct_RANLIB"; then
47597 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47600 for as_dir
in $PATH
47603 test -z "$as_dir" && as_dir
=.
47604 for ac_exec_ext
in '' $ac_executable_extensions; do
47605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47606 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47616 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47617 if test -n "$ac_ct_RANLIB"; then
47618 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47619 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47621 { echo "$as_me:$LINENO: result: no" >&5
47622 echo "${ECHO_T}no" >&6; }
47625 if test "x$ac_ct_RANLIB" = x
; then
47628 case $cross_compiling:$ac_tool_warned in
47630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47631 whose name does not start with the host triplet. If you think this
47632 configuration is useful to you, please write to autoconf@gnu.org." >&5
47633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47634 whose name does not start with the host triplet. If you think this
47635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47636 ac_tool_warned
=yes ;;
47638 RANLIB
=$ac_ct_RANLIB
47641 RANLIB
="$ac_cv_prog_RANLIB"
47644 # Find a good install program. We prefer a C program (faster),
47645 # so one script is as good as another. But avoid the broken or
47646 # incompatible versions:
47647 # SysV /etc/install, /usr/sbin/install
47648 # SunOS /usr/etc/install
47649 # IRIX /sbin/install
47651 # AmigaOS /C/install, which installs bootblocks on floppy discs
47652 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47653 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47654 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47655 # OS/2's system install, which has a completely different semantic
47656 # ./install, which can be erroneously created by make from ./install.sh.
47657 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47658 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47659 if test -z "$INSTALL"; then
47660 if test "${ac_cv_path_install+set}" = set; then
47661 echo $ECHO_N "(cached) $ECHO_C" >&6
47663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47664 for as_dir
in $PATH
47667 test -z "$as_dir" && as_dir
=.
47668 # Account for people who put trailing slashes in PATH elements.
47670 .
/ | .
// | /cC
/* | \
47671 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47672 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47675 # OSF1 and SCO ODT 3.0 have their own names for install.
47676 # Don't use installbsd from OSF since it installs stuff as root
47678 for ac_prog
in ginstall scoinst
install; do
47679 for ac_exec_ext
in '' $ac_executable_extensions; do
47680 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47681 if test $ac_prog = install &&
47682 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47683 # AIX install. It has an incompatible calling convention.
47685 elif test $ac_prog = install &&
47686 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47687 # program-specific install script used by HP pwplus--don't use.
47690 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47703 if test "${ac_cv_path_install+set}" = set; then
47704 INSTALL
=$ac_cv_path_install
47706 # As a last resort, use the slow shell script. Don't cache a
47707 # value for INSTALL within a source directory, because that will
47708 # break other packages using the cache if that directory is
47709 # removed, or if the value is a relative name.
47710 INSTALL
=$ac_install_sh
47713 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47714 echo "${ECHO_T}$INSTALL" >&6; }
47716 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47717 # It thinks the first close brace ends the variable substitution.
47718 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47720 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47722 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47724 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47725 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47727 if test "$LN_S" = "ln -s"; then
47728 { echo "$as_me:$LINENO: result: yes" >&5
47729 echo "${ECHO_T}yes" >&6; }
47731 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47732 echo "${ECHO_T}no, using $LN_S" >&6; }
47736 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47737 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47738 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47739 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47740 echo $ECHO_N "(cached) $ECHO_C" >&6
47742 cat >conftest.
make <<\_ACEOF
47745 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47747 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47748 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47749 *@@@
%%%=?
*=@@@
%%%*)
47750 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47752 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47754 rm -f conftest.
make
47756 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47757 { echo "$as_me:$LINENO: result: yes" >&5
47758 echo "${ECHO_T}yes" >&6; }
47761 { echo "$as_me:$LINENO: result: no" >&5
47762 echo "${ECHO_T}no" >&6; }
47763 SET_MAKE
="MAKE=${MAKE-make}"
47768 if test "x$SUNCXX" = "xyes"; then
47770 AROPTIONS
="-xar -o"
47772 elif test "x$SGICC" = "xyes"; then
47777 if test -n "$ac_tool_prefix"; then
47778 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47779 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47782 if test "${ac_cv_prog_AR+set}" = set; then
47783 echo $ECHO_N "(cached) $ECHO_C" >&6
47785 if test -n "$AR"; then
47786 ac_cv_prog_AR
="$AR" # Let the user override the test.
47788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47789 for as_dir
in $PATH
47792 test -z "$as_dir" && as_dir
=.
47793 for ac_exec_ext
in '' $ac_executable_extensions; do
47794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47795 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47806 if test -n "$AR"; then
47807 { echo "$as_me:$LINENO: result: $AR" >&5
47808 echo "${ECHO_T}$AR" >&6; }
47810 { echo "$as_me:$LINENO: result: no" >&5
47811 echo "${ECHO_T}no" >&6; }
47816 if test -z "$ac_cv_prog_AR"; then
47818 # Extract the first word of "ar", so it can be a program name with args.
47819 set dummy
ar; ac_word
=$2
47820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47822 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47823 echo $ECHO_N "(cached) $ECHO_C" >&6
47825 if test -n "$ac_ct_AR"; then
47826 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47829 for as_dir
in $PATH
47832 test -z "$as_dir" && as_dir
=.
47833 for ac_exec_ext
in '' $ac_executable_extensions; do
47834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47835 ac_cv_prog_ac_ct_AR
="ar"
47836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47845 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47846 if test -n "$ac_ct_AR"; then
47847 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47848 echo "${ECHO_T}$ac_ct_AR" >&6; }
47850 { echo "$as_me:$LINENO: result: no" >&5
47851 echo "${ECHO_T}no" >&6; }
47854 if test "x$ac_ct_AR" = x
; then
47857 case $cross_compiling:$ac_tool_warned in
47859 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47860 whose name does not start with the host triplet. If you think this
47861 configuration is useful to you, please write to autoconf@gnu.org." >&5
47862 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47863 whose name does not start with the host triplet. If you think this
47864 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47865 ac_tool_warned
=yes ;;
47870 AR
="$ac_cv_prog_AR"
47877 if test -n "$ac_tool_prefix"; then
47878 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47879 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47882 if test "${ac_cv_prog_STRIP+set}" = set; then
47883 echo $ECHO_N "(cached) $ECHO_C" >&6
47885 if test -n "$STRIP"; then
47886 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47889 for as_dir
in $PATH
47892 test -z "$as_dir" && as_dir
=.
47893 for ac_exec_ext
in '' $ac_executable_extensions; do
47894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47895 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47905 STRIP
=$ac_cv_prog_STRIP
47906 if test -n "$STRIP"; then
47907 { echo "$as_me:$LINENO: result: $STRIP" >&5
47908 echo "${ECHO_T}$STRIP" >&6; }
47910 { echo "$as_me:$LINENO: result: no" >&5
47911 echo "${ECHO_T}no" >&6; }
47916 if test -z "$ac_cv_prog_STRIP"; then
47918 # Extract the first word of "strip", so it can be a program name with args.
47919 set dummy strip
; ac_word
=$2
47920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47922 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47923 echo $ECHO_N "(cached) $ECHO_C" >&6
47925 if test -n "$ac_ct_STRIP"; then
47926 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47929 for as_dir
in $PATH
47932 test -z "$as_dir" && as_dir
=.
47933 for ac_exec_ext
in '' $ac_executable_extensions; do
47934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47935 ac_cv_prog_ac_ct_STRIP
="strip"
47936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47945 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47946 if test -n "$ac_ct_STRIP"; then
47947 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47948 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47950 { echo "$as_me:$LINENO: result: no" >&5
47951 echo "${ECHO_T}no" >&6; }
47954 if test "x$ac_ct_STRIP" = x
; then
47957 case $cross_compiling:$ac_tool_warned in
47959 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47960 whose name does not start with the host triplet. If you think this
47961 configuration is useful to you, please write to autoconf@gnu.org." >&5
47962 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47963 whose name does not start with the host triplet. If you think this
47964 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47965 ac_tool_warned
=yes ;;
47970 STRIP
="$ac_cv_prog_STRIP"
47973 if test -n "$ac_tool_prefix"; then
47974 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47975 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47978 if test "${ac_cv_prog_NM+set}" = set; then
47979 echo $ECHO_N "(cached) $ECHO_C" >&6
47981 if test -n "$NM"; then
47982 ac_cv_prog_NM
="$NM" # Let the user override the test.
47984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47985 for as_dir
in $PATH
47988 test -z "$as_dir" && as_dir
=.
47989 for ac_exec_ext
in '' $ac_executable_extensions; do
47990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47991 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48002 if test -n "$NM"; then
48003 { echo "$as_me:$LINENO: result: $NM" >&5
48004 echo "${ECHO_T}$NM" >&6; }
48006 { echo "$as_me:$LINENO: result: no" >&5
48007 echo "${ECHO_T}no" >&6; }
48012 if test -z "$ac_cv_prog_NM"; then
48014 # Extract the first word of "nm", so it can be a program name with args.
48015 set dummy nm
; ac_word
=$2
48016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48018 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48019 echo $ECHO_N "(cached) $ECHO_C" >&6
48021 if test -n "$ac_ct_NM"; then
48022 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48025 for as_dir
in $PATH
48028 test -z "$as_dir" && as_dir
=.
48029 for ac_exec_ext
in '' $ac_executable_extensions; do
48030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48031 ac_cv_prog_ac_ct_NM
="nm"
48032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48041 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48042 if test -n "$ac_ct_NM"; then
48043 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48044 echo "${ECHO_T}$ac_ct_NM" >&6; }
48046 { echo "$as_me:$LINENO: result: no" >&5
48047 echo "${ECHO_T}no" >&6; }
48050 if test "x$ac_ct_NM" = x
; then
48053 case $cross_compiling:$ac_tool_warned in
48055 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48056 whose name does not start with the host triplet. If you think this
48057 configuration is useful to you, please write to autoconf@gnu.org." >&5
48058 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48059 whose name does not start with the host triplet. If you think this
48060 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48061 ac_tool_warned
=yes ;;
48066 NM
="$ac_cv_prog_NM"
48070 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48071 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48072 INSTALL_TEST_DIR
=acbftest$$
48073 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
48074 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
48075 rmdir $INSTALL_TEST_DIR
48076 INSTALL_DIR
='$(INSTALL) -d'
48077 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48078 echo "${ECHO_T}$INSTALL -d" >&6; }
48080 INSTALL_DIR
="mkdir -p"
48081 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48082 echo "${ECHO_T}mkdir -p" >&6; }
48087 case ${BAKEFILE_HOST} in
48088 *-*-cygwin* | *-*-mingw32* )
48089 LDFLAGS_GUI
="-mwindows"
48095 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48096 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48097 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48098 echo $ECHO_N "(cached) $ECHO_C" >&6
48101 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48102 egrep -s GNU
> /dev
/null
); then
48103 bakefile_cv_prog_makeisgnu
="yes"
48105 bakefile_cv_prog_makeisgnu
="no"
48109 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48110 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48112 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48129 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48130 case "${BAKEFILE_HOST}" in
48137 *-pc-os2_emx | *-pc-os2-emx )
48147 powerpc
-apple-macos* )
48156 case "$BAKEFILE_FORCE_PLATFORM" in
48191 # Check whether --enable-omf was given.
48192 if test "${enable_omf+set}" = set; then
48193 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48197 case "${BAKEFILE_HOST}" in
48199 if test "x$GCC" = "xyes"; then
48200 CFLAGS
="$CFLAGS -fno-common"
48201 CXXFLAGS
="$CXXFLAGS -fno-common"
48203 if test "x$XLCC" = "xyes"; then
48204 CFLAGS
="$CFLAGS -qnocommon"
48205 CXXFLAGS
="$CXXFLAGS -qnocommon"
48209 *-pc-os2_emx | *-pc-os2-emx )
48210 if test "x$bk_os2_use_omf" = "xyes" ; then
48213 LDFLAGS
="-Zomf $LDFLAGS"
48214 CFLAGS
="-Zomf $CFLAGS"
48215 CXXFLAGS
="-Zomf $CXXFLAGS"
48223 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48229 SO_SUFFIX_MODULE
="so"
48234 DLLPREFIX_MODULE
=""
48238 case "${BAKEFILE_HOST}" in
48243 SO_SUFFIX_MODULE
="sl"
48247 SO_SUFFIX_MODULE
="a"
48251 SO_SUFFIX_MODULE
="dll"
48252 DLLIMP_SUFFIX
="dll.a"
48259 SO_SUFFIX_MODULE
="dll"
48260 DLLIMP_SUFFIX
="dll.a"
48270 *-pc-os2_emx | *-pc-os2-emx )
48272 SO_SUFFIX_MODULE
="dll"
48273 DLLIMP_SUFFIX
=$OS2_LIBEXT
48277 LIBEXT
=".$OS2_LIBEXT"
48282 SO_SUFFIX_MODULE
="bundle"
48286 if test "x$DLLIMP_SUFFIX" = "x" ; then
48287 DLLIMP_SUFFIX
="$SO_SUFFIX"
48302 if test "x$GCC" = "xyes"; then
48306 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48307 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48310 case "${BAKEFILE_HOST}" in
48312 if test "x$GCC" != "xyes"; then
48313 LDFLAGS
="$LDFLAGS -L/usr/lib"
48315 SHARED_LD_CC
="${CC} -b -o"
48316 SHARED_LD_CXX
="${CXX} -b -o"
48322 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48324 elif test "x$SUNCXX" = "xyes"; then
48325 SHARED_LD_CC
="${CC} -G -o"
48326 SHARED_LD_CXX
="${CXX} -G -o"
48332 if test "x$SUNCXX" = xyes
; then
48333 SHARED_LD_CC
="${CC} -G -o"
48334 SHARED_LD_CXX
="${CXX} -G -o"
48342 cat <<EOF >shared-ld-sh
48344 #-----------------------------------------------------------------------------
48345 #-- Name: distrib/mac/shared-ld-sh
48346 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48347 #-- Author: Gilles Depeyrot
48348 #-- Copyright: (c) 2002 Gilles Depeyrot
48349 #-- Licence: any use permitted
48350 #-----------------------------------------------------------------------------
48355 linking_flag="-dynamiclib"
48356 ldargs="-r -keep_private_externs -nostdlib"
48358 if test "x${D}CXX" = "x"; then
48362 while test ${D}# -gt 0; do
48369 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48370 # collect these options and values
48371 args="${D}{args} ${D}1 ${D}2"
48376 # collect these options and values
48377 ldargs="${D}{ldargs} ${D}1 ${D}2"
48382 # collect these load args
48383 ldargs="${D}{ldargs} ${D}1"
48386 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48387 # collect these options
48388 args="${D}{args} ${D}1"
48391 -dynamiclib|-bundle)
48392 linking_flag="${D}1"
48396 echo "shared-ld: unhandled option '${D}1'"
48400 *.o | *.a | *.dylib)
48401 # collect object files
48402 objects="${D}{objects} ${D}1"
48406 echo "shared-ld: unhandled argument '${D}1'"
48417 # Link one module containing all the others
48419 if test ${D}{verbose} = 1; then
48420 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48422 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48426 # Link the shared library from the single module created, but only if the
48427 # previous command didn't fail:
48429 if test ${D}{status} = 0; then
48430 if test ${D}{verbose} = 1; then
48431 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48433 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48438 # Remove intermediate module
48440 rm -f master.${D}${D}.o
48445 chmod +x shared
-ld-sh
48447 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48448 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48451 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48452 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48453 if test "${bakefile_cv_gcc31+set}" = set; then
48454 echo $ECHO_N "(cached) $ECHO_C" >&6
48457 cat >conftest.
$ac_ext <<_ACEOF
48460 cat confdefs.h
>>conftest.
$ac_ext
48461 cat >>conftest.
$ac_ext <<_ACEOF
48462 /* end confdefs.h. */
48468 #if (__GNUC__ < 3) || \
48469 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48477 rm -f conftest.
$ac_objext
48478 if { (ac_try
="$ac_compile"
48479 case "(($ac_try" in
48480 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48481 *) ac_try_echo=$ac_try;;
48483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48484 (eval "$ac_compile") 2>conftest.er1
48486 grep -v '^ *+' conftest.er1 >conftest.err
48488 cat conftest.err >&5
48489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48490 (exit $ac_status); } && {
48491 test -z "$ac_c_werror_flag" ||
48492 test ! -s conftest.err
48493 } && test -s conftest.$ac_objext; then
48495 bakefile_cv_gcc31=yes
48498 echo "$as_me: failed program was:" >&5
48499 sed 's/^/| /' conftest.$ac_ext >&5
48502 bakefile_cv_gcc31=no
48507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48510 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48511 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48512 if test "$bakefile_cv_gcc31" = "no"; then
48513 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48514 SHARED_LD_CXX="$SHARED_LD_CC"
48516 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48517 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48520 if test "x$GCC" == "xyes"; then
48521 PIC_FLAG="-dynamic -fPIC"
48523 if test "x$XLCC" = "xyes"; then
48524 PIC_FLAG="-dynamic -DPIC"
48529 if test "x$GCC" = "xyes"; then
48532 case "${BAKEFILE_HOST}" in
48534 LD_EXPFULL="-Wl,-bexpfull"
48538 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48539 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48541 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48542 set dummy makeC++SharedLib; ac_word=$2
48543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48545 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48546 echo $ECHO_N "(cached) $ECHO_C" >&6
48548 if test -n "$AIX_CXX_LD"; then
48549 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48552 for as_dir in $PATH
48555 test -z "$as_dir" && as_dir=.
48556 for ac_exec_ext in '' $ac_executable_extensions; do
48557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48558 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48566 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48569 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48570 if test -n "$AIX_CXX_LD"; then
48571 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48572 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48574 { echo "$as_me:$LINENO: result: no" >&5
48575 echo "${ECHO_T}no" >&6; }
48579 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48580 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48585 SHARED_LD_CC="${LD} -nostart -o"
48586 SHARED_LD_CXX="${LD} -nostart -o"
48590 if test "x$GCC" != "xyes"; then
48595 *-*-cygwin* | *-*-mingw32* )
48597 SHARED_LD_CC="\$(CC) -shared -o"
48598 SHARED_LD_CXX="\$(CXX) -shared -o"
48602 *-pc-os2_emx | *-pc-os2-emx )
48603 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48604 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48608 cat <<EOF >dllar.sh
48611 # dllar - a tool to build both a .dll and an .a file
48612 # from a set of object (.o) files for EMX/OS2.
48614 # Written by Andrew Zabolotny, bit@freya.etu.ru
48615 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48617 # This script will accept a set of files on the command line.
48618 # All the public symbols from the .o files will be exported into
48619 # a .DEF file, then linker will be run (through gcc) against them to
48620 # build a shared library consisting of all given .o files. All libraries
48621 # (.a) will be first decompressed into component .o files then act as
48622 # described above. You can optionally give a description (-d "description")
48623 # which will be put into .DLL. To see the list of accepted options (as well
48624 # as command-line format) simply run this program without options. The .DLL
48625 # is built to be imported by name (there is no guarantee that new versions
48626 # of the library you build will have same ordinals for same symbols).
48628 # dllar is free software; you can redistribute it and/or modify
48629 # it under the terms of the GNU General Public License as published by
48630 # the Free Software Foundation; either version 2, or (at your option)
48631 # any later version.
48633 # dllar is distributed in the hope that it will be useful,
48634 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48635 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48636 # GNU General Public License for more details.
48638 # You should have received a copy of the GNU General Public License
48639 # along with dllar; see the file COPYING. If not, write to the Free
48640 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48643 # To successfuly run this program you will need:
48644 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48645 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48647 # (used to build the .dll)
48649 # (used to create .def file from .o files)
48651 # (used to create .a file from .def file)
48652 # - GNU text utilites (cat, sort, uniq)
48653 # used to process emxexp output
48654 # - GNU file utilities (mv, rm)
48656 # - lxlite (optional, see flag below)
48657 # (used for general .dll cleanup)
48664 # basnam, variant of basename, which does _not_ remove the path, _iff_
48665 # second argument (suffix to remove) is given
48669 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48672 echo ${D}1 | sed 's/'${D}2'${D}//'
48675 echo "error in basnam ${D}*"
48681 # Cleanup temporary files and output
48684 for i in ${D}inputFiles ; do
48687 rm -rf \`basnam
${D}i
!\
`
48694 # Kill result in case of failure as there is just to many stupid make/nmake
48695 # things out there which doesn't do this.
48696 if [ ${D}# -eq 0 ]; then
48697 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48701 # Print usage and exit script with rc=1.
48703 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48704 echo ' [-name-mangler-script script.sh]'
48705 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48706 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48707 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48708 echo ' [*.o] [*.a]'
48709 echo '*> "output_file" should have no extension.'
48710 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48711 echo ' The import library name is derived from this and is set to "name".a,'
48712 echo ' unless overridden by -import'
48713 echo '*> "importlib_name" should have no extension.'
48714 echo ' If it has the .o, or .a extension, it is automatically removed.'
48715 echo ' This name is used as the import library name and may be longer and'
48716 echo ' more descriptive than the DLL name which has to follow the old '
48717 echo ' 8.3 convention of FAT.'
48718 echo '*> "script.sh may be given to override the output_file name by a'
48719 echo ' different name. It is mainly useful if the regular make process'
48720 echo ' of some package does not take into account OS/2 restriction of'
48721 echo ' DLL name lengths. It takes the importlib name as input and is'
48722 echo ' supposed to procude a shorter name as output. The script should'
48723 echo ' expect to get importlib_name without extension and should produce'
48724 echo ' a (max.) 8 letter name without extension.'
48725 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48726 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48727 echo ' These flags will be put at the start of GCC command line.'
48728 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48729 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48730 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48731 echo ' If the last character of a symbol is "*", all symbols beginning'
48732 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48733 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48734 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48735 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48736 echo ' C runtime DLLs.'
48737 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48738 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48739 echo ' unchanged to GCC at the end of command line.'
48740 echo '*> If you create a DLL from a library and you do not specify -o,'
48741 echo ' the basename for DLL and import library will be set to library name,'
48742 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48743 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48744 echo ' library will be renamed into gcc_s.a.'
48747 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48748 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48753 # Execute a command.
48754 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48755 # @Uses Whatever CleanUp() uses.
48761 if [ ${D}rcCmd -ne 0 ]; then
48762 echo "command failed, exit code="${D}rcCmd
48777 CFLAGS="-s -Zcrtdll"
48779 EXPORT_BY_ORDINALS=0
48784 case ${D}curDirS in
48788 curDirS=${D}{curDirS}"/"
48791 # Parse commandline
48794 while [ ${D}1 ]; do
48797 EXPORT_BY_ORDINALS=1;
48807 -name-mangler-script)
48828 exclude_symbols=${D}{exclude_symbols}${D}1" "
48832 library_flags=${D}{library_flags}${D}1" "
48851 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48854 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48855 if [ ${D}omfLinking -eq 1 ]; then
48856 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48858 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48863 if [ ${D}libsToLink -ne 0 ]; then
48864 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48866 for file in ${D}1 ; do
48867 if [ -f ${D}file ]; then
48868 inputFiles="${D}{inputFiles} ${D}file"
48872 if [ ${D}found -eq 0 ]; then
48873 echo "ERROR: No file(s) found: "${D}1
48880 done # iterate cmdline words
48883 if [ -z "${D}inputFiles" ]; then
48884 echo "dllar: no input files"
48888 # Now extract all .o files from .a files
48890 for file in ${D}inputFiles ; do
48901 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48906 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48908 if [ ${D}? -ne 0 ]; then
48909 echo "Failed to create subdirectory ./${D}dirname"
48913 # Append '!' to indicate archive
48914 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48915 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48918 for subfile in ${D}dirname/*.o* ; do
48919 if [ -f ${D}subfile ]; then
48921 if [ -s ${D}subfile ]; then
48922 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48923 newInputFiles="${D}newInputFiles ${D}subfile"
48927 if [ ${D}found -eq 0 ]; then
48928 echo "WARNING: there are no files in archive \\'${D}file\\'"
48932 newInputFiles="${D}{newInputFiles} ${D}file"
48936 inputFiles="${D}newInputFiles"
48938 # Output filename(s).
48940 if [ -z ${D}outFile ]; then
48942 set outFile ${D}inputFiles; outFile=${D}2
48945 # If it is an archive, remove the '!' and the '_%' suffixes
48946 case ${D}outFile in
48948 outFile=\`basnam
${D}outFile _
%!\
`
48953 case ${D}outFile in
48955 outFile=\`basnam
${D}outFile .dll\
`
48958 outFile=\`basnam
${D}outFile .DLL\
`
48961 outFile=\`basnam
${D}outFile .o\
`
48964 outFile=\`basnam
${D}outFile .obj\
`
48967 outFile=\`basnam
${D}outFile .a\
`
48970 outFile=\`basnam
${D}outFile .lib\
`
48975 case ${D}outimpFile in
48977 outimpFile=\`basnam
${D}outimpFile .a\
`
48980 outimpFile=\`basnam
${D}outimpFile .lib\
`
48985 if [ -z ${D}outimpFile ]; then
48986 outimpFile=${D}outFile
48988 defFile="${D}{outFile}.def"
48989 arcFile="${D}{outimpFile}.a"
48990 arcFile2="${D}{outimpFile}.lib"
48992 #create ${D}dllFile as something matching 8.3 restrictions,
48993 if [ -z ${D}renameScript ] ; then
48994 dllFile="${D}outFile"
48996 dllFile=\`${D}renameScript
${D}outimpFile\
`
48999 if [ ${D}do_backup -ne 0 ] ; then
49000 if [ -f ${D}arcFile ] ; then
49001 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49003 if [ -f ${D}arcFile2 ] ; then
49004 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49008 # Extract public symbols from all the object files.
49009 tmpdefFile=${D}{defFile}_%
49010 rm -f ${D}tmpdefFile
49011 for file in ${D}inputFiles ; do
49016 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49021 # Create the def file.
49023 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
49024 dllFile="${D}{dllFile}.dll"
49025 if [ ! -z ${D}description ]; then
49026 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49028 echo "EXPORTS" >> ${D}defFile
49030 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49031 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49033 # Checks if the export is ok or not.
49034 for word in ${D}exclude_symbols; do
49035 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49036 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49040 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49041 sed "=" < ${D}tmpdefFile | \\
49045 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49047 ' > ${D}{tmpdefFile}%
49048 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49050 rm -f ${D}{tmpdefFile}%
49052 cat ${D}tmpdefFile >> ${D}defFile
49053 rm -f ${D}tmpdefFile
49055 # Do linking, create implib, and apply lxlite.
49057 for file in ${D}inputFiles ; do
49062 gccCmdl="${D}gccCmdl ${D}file"
49066 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49067 touch "${D}{outFile}.dll"
49069 doCommand "emximp -o ${D}arcFile ${D}defFile"
49070 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49072 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49075 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49077 doCommand "emxomf -s -l ${D}arcFile"
49087 powerpc-apple-macos* | \
49088 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49098 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49099 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49100 { (exit 1); exit 1; }; }
49103 if test "x$PIC_FLAG" != "x" ; then
49104 PIC_FLAG="$PIC_FLAG -DPIC"
49107 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49108 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49110 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49111 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49130 case "${BAKEFILE_HOST}" in
49131 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49132 *-*-k*bsd*-gnu | *-*-mirbsd* )
49133 if test "x$SUNCXX" = "xyes"; then
49136 SONAME_FLAG="-Wl,-soname,"
49171 # Check whether --enable-dependency-tracking was given.
49172 if test "${enable_dependency_tracking+set}" = set; then
49173 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49177 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49178 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49181 if test "x$bk_use_trackdeps" = "xno" ; then
49183 { echo "$as_me:$LINENO: result: disabled" >&5
49184 echo "${ECHO_T}disabled" >&6; }
49188 if test "x$GCC" = "xyes"; then
49190 case "${BAKEFILE_HOST}" in
49192 DEPSFLAG="-no-cpp-precomp -MMD"
49198 { echo "$as_me:$LINENO: result: gcc" >&5
49199 echo "${ECHO_T}gcc" >&6; }
49200 elif test "x$MWCC" = "xyes"; then
49203 { echo "$as_me:$LINENO: result: mwcc" >&5
49204 echo "${ECHO_T}mwcc" >&6; }
49205 elif test "x$SUNCC" = "xyes"; then
49208 { echo "$as_me:$LINENO: result: Sun cc" >&5
49209 echo "${ECHO_T}Sun cc" >&6; }
49210 elif test "x$SGICC" = "xyes"; then
49213 { echo "$as_me:$LINENO: result: SGI cc" >&5
49214 echo "${ECHO_T}SGI cc" >&6; }
49215 elif test "x$HPCC" = "xyes"; then
49218 { echo "$as_me:$LINENO: result: HP cc" >&5
49219 echo "${ECHO_T}HP cc" >&6; }
49220 elif test "x$COMPAQCC" = "xyes"; then
49223 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49224 echo "${ECHO_T}Compaq cc" >&6; }
49227 { echo "$as_me:$LINENO: result: none" >&5
49228 echo "${ECHO_T}none" >&6; }
49231 if test $DEPS_TRACKING = 1 ; then
49237 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49238 # script. It is used to track C/C++ files dependencies in portable way.
49240 # Permission is given to use this file in any way.
49242 DEPSMODE=${DEPSMODE}
49243 DEPSFLAG="${DEPSFLAG}"
49246 if test ${D}DEPSMODE = gcc ; then
49247 ${D}* ${D}{DEPSFLAG}
49250 # determine location of created files:
49251 while test ${D}# -gt 0; do
49265 objfilebase=\`basename ${D}objfile\
`
49266 builddir=\`dirname ${D}objfile\
`
49267 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49268 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49269 depsdir=${D}builddir/${D}DEPSDIRBASE
49270 mkdir -p ${D}depsdir
49272 # if the compiler failed, we're done:
49273 if test ${D}{status} != 0 ; then
49278 # move created file to the location we want it in:
49279 if test -f ${D}depfile ; then
49280 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49283 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49284 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49285 if test ! -f ${D}depfile ; then
49286 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49287 depfile="${D}objfile.d"
49289 if test -f ${D}depfile ; then
49290 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49296 elif test ${D}DEPSMODE = mwcc ; then
49297 ${D}* || exit ${D}?
49298 # Run mwcc again with -MM and redirect into the dep file we want
49299 # NOTE: We can't use shift here because we need ${D}* to be valid
49301 for arg in ${D}* ; do
49302 if test "${D}prevarg" = "-o"; then
49316 objfilebase=\`basename ${D}objfile\
`
49317 builddir=\`dirname ${D}objfile\
`
49318 depsdir=${D}builddir/${D}DEPSDIRBASE
49319 mkdir -p ${D}depsdir
49321 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49324 elif test ${D}DEPSMODE = unixcc; then
49325 ${D}* || exit ${D}?
49326 # Run compiler again with deps flag and redirect into the dep file.
49327 # It doesn't work if the '-o FILE' option is used, but without it the
49328 # dependency file will contain the wrong name for the object. So it is
49329 # removed from the command line, and the dep file is fixed with sed.
49331 while test ${D}# -gt 0; do
49338 eval arg${D}#=\\${D}1
49339 cmd="${D}cmd \\${D}arg${D}#"
49345 objfilebase=\`basename ${D}objfile\
`
49346 builddir=\`dirname ${D}objfile\
`
49347 depsdir=${D}builddir/${D}DEPSDIRBASE
49348 mkdir -p ${D}depsdir
49350 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49360 BK_DEPS="`pwd`/bk-deps"
49368 case ${BAKEFILE_HOST} in
49369 *-*-cygwin* | *-*-mingw32* )
49370 if test -n "$ac_tool_prefix"; then
49371 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49372 set dummy ${ac_tool_prefix}windres; ac_word=$2
49373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49375 if test "${ac_cv_prog_WINDRES+set}" = set; then
49376 echo $ECHO_N "(cached) $ECHO_C" >&6
49378 if test -n "$WINDRES"; then
49379 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49382 for as_dir in $PATH
49385 test -z "$as_dir" && as_dir=.
49386 for ac_exec_ext in '' $ac_executable_extensions; do
49387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49388 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49398 WINDRES=$ac_cv_prog_WINDRES
49399 if test -n "$WINDRES"; then
49400 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49401 echo "${ECHO_T}$WINDRES" >&6; }
49403 { echo "$as_me:$LINENO: result: no" >&5
49404 echo "${ECHO_T}no" >&6; }
49409 if test -z "$ac_cv_prog_WINDRES"; then
49410 ac_ct_WINDRES=$WINDRES
49411 # Extract the first word of "windres", so it can be a program name with args.
49412 set dummy windres; ac_word=$2
49413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49415 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49416 echo $ECHO_N "(cached) $ECHO_C" >&6
49418 if test -n "$ac_ct_WINDRES"; then
49419 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49422 for as_dir in $PATH
49425 test -z "$as_dir" && as_dir=.
49426 for ac_exec_ext in '' $ac_executable_extensions; do
49427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49428 ac_cv_prog_ac_ct_WINDRES="windres"
49429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49438 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49439 if test -n "$ac_ct_WINDRES"; then
49440 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49441 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49443 { echo "$as_me:$LINENO: result: no" >&5
49444 echo "${ECHO_T}no" >&6; }
49447 if test "x$ac_ct_WINDRES" = x; then
49450 case $cross_compiling:$ac_tool_warned in
49452 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49453 whose name does not start with the host triplet. If you think this
49454 configuration is useful to you, please write to autoconf@gnu.org." >&5
49455 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49456 whose name does not start with the host triplet. If you think this
49457 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49458 ac_tool_warned=yes ;;
49460 WINDRES=$ac_ct_WINDRES
49463 WINDRES="$ac_cv_prog_WINDRES"
49468 *-*-darwin* | powerpc-apple-macos* )
49469 # Extract the first word of "Rez", so it can be a program name with args.
49470 set dummy Rez; ac_word=$2
49471 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49473 if test "${ac_cv_prog_REZ+set}" = set; then
49474 echo $ECHO_N "(cached) $ECHO_C" >&6
49476 if test -n "$REZ"; then
49477 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49480 for as_dir in $PATH
49483 test -z "$as_dir" && as_dir=.
49484 for ac_exec_ext in '' $ac_executable_extensions; do
49485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49486 ac_cv_prog_REZ="Rez"
49487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49494 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49497 REZ=$ac_cv_prog_REZ
49498 if test -n "$REZ"; then
49499 { echo "$as_me:$LINENO: result: $REZ" >&5
49500 echo "${ECHO_T}$REZ" >&6; }
49502 { echo "$as_me:$LINENO: result: no" >&5
49503 echo "${ECHO_T}no" >&6; }
49507 # Extract the first word of "SetFile", so it can be a program name with args.
49508 set dummy SetFile; ac_word=$2
49509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49511 if test "${ac_cv_prog_SETFILE+set}" = set; then
49512 echo $ECHO_N "(cached) $ECHO_C" >&6
49514 if test -n "$SETFILE"; then
49515 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49518 for as_dir in $PATH
49521 test -z "$as_dir" && as_dir=.
49522 for ac_exec_ext in '' $ac_executable_extensions; do
49523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49524 ac_cv_prog_SETFILE="SetFile"
49525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49532 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49535 SETFILE=$ac_cv_prog_SETFILE
49536 if test -n "$SETFILE"; then
49537 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49538 echo "${ECHO_T}$SETFILE" >&6; }
49540 { echo "$as_me:$LINENO: result: no" >&5
49541 echo "${ECHO_T}no" >&6; }
49556 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49559 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49563 # Check whether --enable-precomp-headers was given.
49564 if test "${enable_precomp_headers+set}" = set; then
49565 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49574 case ${BAKEFILE_HOST} in
49580 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49581 if test "x$GCC" = "xyes"; then
49582 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49583 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49584 cat >conftest.$ac_ext <<_ACEOF
49587 cat confdefs.h >>conftest.$ac_ext
49588 cat >>conftest.$ac_ext <<_ACEOF
49589 /* end confdefs.h. */
49595 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49596 There is no PCH support
49599 There is no PCH support
49601 #if (__GNUC__ == 3) && \
49602 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49603 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49604 ( defined(__INTEL_COMPILER) )
49605 There is no PCH support
49612 rm -f conftest.$ac_objext
49613 if { (ac_try="$ac_compile"
49614 case "(($ac_try" in
49615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49616 *) ac_try_echo
=$ac_try;;
49618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49619 (eval "$ac_compile") 2>conftest.er1
49621 grep -v '^ *+' conftest.er1
>conftest.err
49623 cat conftest.err
>&5
49624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49625 (exit $ac_status); } && {
49626 test -z "$ac_c_werror_flag" ||
49627 test ! -s conftest.err
49628 } && test -s conftest.
$ac_objext; then
49630 { echo "$as_me:$LINENO: result: yes" >&5
49631 echo "${ECHO_T}yes" >&6; }
49635 echo "$as_me: failed program was:" >&5
49636 sed 's/^/| /' conftest.
$ac_ext >&5
49639 if test "$INTELCXX8" = "yes"; then
49640 { echo "$as_me:$LINENO: result: yes" >&5
49641 echo "${ECHO_T}yes" >&6; }
49643 if test "$INTELCXX10" = "yes"; then
49644 ICC_PCH_CREATE_SWITCH
="-pch-create"
49645 ICC_PCH_USE_SWITCH
="-pch-use"
49647 ICC_PCH_CREATE_SWITCH
="-create-pch"
49648 ICC_PCH_USE_SWITCH
="-use-pch"
49651 { echo "$as_me:$LINENO: result: no" >&5
49652 echo "${ECHO_T}no" >&6; }
49657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49658 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49662 cat <<EOF >bk-make-pch
49665 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49666 # script. It is used to generated precompiled headers.
49668 # Permission is given to use this file in any way.
49675 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49680 while test ${D}{#} -gt 0; do
49684 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49685 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49686 headerfile="${D}{incdir}/${D}{header}"
49689 -use-pch|-use_pch|-pch-use )
49694 if test ${D}add_to_cmdline = 1 ; then
49695 compiler="${D}{compiler} ${D}{1}"
49700 if test "x${D}{headerfile}" = "x" ; then
49701 echo "error: can't find header ${D}{header} in include paths" >&2
49703 if test -f ${D}{outfile} ; then
49704 rm -f ${D}{outfile}
49706 mkdir -p \`dirname ${D}{outfile}\`
49708 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49709 mkdir -p ${D}{builddir}/.deps
49710 if test "x${GCC_PCH}" = "x1" ; then
49711 # can do this because gcc is >= 3.4:
49712 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49713 elif test "x${ICC_PCH}" = "x1" ; then
49714 filename=pch_gen-${D}${D}
49715 file=${D}{filename}.c
49716 dfile=${D}{filename}.d
49717 cat > ${D}file <<EOT
49718 #include "${D}header"
49720 # using -MF icc complains about differing command lines in creation/use
49721 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49722 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49723 rm -f ${D}file ${D}dfile ${D}{filename}.o
49729 chmod +x bk
-make-pch
49730 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49741 COND_BUILD_DEBUG
="#"
49742 if test "x$BUILD" = "xdebug" ; then
49743 COND_BUILD_DEBUG
=""
49746 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49747 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49748 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49751 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49752 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49753 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49756 COND_BUILD_DEBUG_UNICODE_0
="#"
49757 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49758 COND_BUILD_DEBUG_UNICODE_0
=""
49761 COND_BUILD_DEBUG_UNICODE_1
="#"
49762 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49763 COND_BUILD_DEBUG_UNICODE_1
=""
49766 COND_BUILD_RELEASE
="#"
49767 if test "x$BUILD" = "xrelease" ; then
49768 COND_BUILD_RELEASE
=""
49771 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49772 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49773 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49776 COND_BUILD_RELEASE_UNICODE_0
="#"
49777 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49778 COND_BUILD_RELEASE_UNICODE_0
=""
49781 COND_BUILD_RELEASE_UNICODE_1
="#"
49782 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49783 COND_BUILD_RELEASE_UNICODE_1
=""
49786 COND_BUILD_debug
="#"
49787 if test "x$BUILD" = "xdebug" ; then
49788 COND_BUILD_debug
=""
49791 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49792 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49793 COND_BUILD_debug_DEBUG_FLAG_default
=""
49796 COND_BUILD_debug_DEBUG_INFO_default
="#"
49797 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49798 COND_BUILD_debug_DEBUG_INFO_default
=""
49801 COND_BUILD_debug_UNICODE_0
="#"
49802 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49803 COND_BUILD_debug_UNICODE_0
=""
49806 COND_BUILD_debug_UNICODE_1
="#"
49807 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49808 COND_BUILD_debug_UNICODE_1
=""
49811 COND_BUILD_release
="#"
49812 if test "x$BUILD" = "xrelease" ; then
49813 COND_BUILD_release
=""
49816 COND_BUILD_release_DEBUG_INFO_default
="#"
49817 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49818 COND_BUILD_release_DEBUG_INFO_default
=""
49821 COND_BUILD_release_UNICODE_0
="#"
49822 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49823 COND_BUILD_release_UNICODE_0
=""
49826 COND_BUILD_release_UNICODE_1
="#"
49827 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49828 COND_BUILD_release_UNICODE_1
=""
49831 COND_DEBUG_FLAG_1
="#"
49832 if test "x$DEBUG_FLAG" = "x1" ; then
49833 COND_DEBUG_FLAG_1
=""
49836 COND_DEBUG_INFO_0
="#"
49837 if test "x$DEBUG_INFO" = "x0" ; then
49838 COND_DEBUG_INFO_0
=""
49841 COND_DEBUG_INFO_1
="#"
49842 if test "x$DEBUG_INFO" = "x1" ; then
49843 COND_DEBUG_INFO_1
=""
49846 COND_DEPS_TRACKING_0
="#"
49847 if test "x$DEPS_TRACKING" = "x0" ; then
49848 COND_DEPS_TRACKING_0
=""
49851 COND_DEPS_TRACKING_1
="#"
49852 if test "x$DEPS_TRACKING" = "x1" ; then
49853 COND_DEPS_TRACKING_1
=""
49857 if test "x$GCC_PCH" = "x1" ; then
49862 if test "x$ICC_PCH" = "x1" ; then
49866 COND_MONOLITHIC_0
="#"
49867 if test "x$MONOLITHIC" = "x0" ; then
49868 COND_MONOLITHIC_0
=""
49871 COND_MONOLITHIC_0_SHARED_0
="#"
49872 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49873 COND_MONOLITHIC_0_SHARED_0
=""
49876 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49877 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49878 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49881 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49882 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49883 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49886 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49887 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49888 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49891 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49892 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49893 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49896 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49897 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49898 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49901 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49902 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49903 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49906 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49907 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49908 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49911 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49912 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49913 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49916 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49917 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49918 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49921 COND_MONOLITHIC_0_SHARED_1
="#"
49922 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49923 COND_MONOLITHIC_0_SHARED_1
=""
49926 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49927 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49928 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49931 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49932 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49933 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49936 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49937 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49938 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49941 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49942 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49943 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49946 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49947 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49948 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49951 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49952 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49953 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49956 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49957 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49958 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49961 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49962 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49963 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49966 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49967 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49968 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49971 COND_MONOLITHIC_0_USE_AUI_1
="#"
49972 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49973 COND_MONOLITHIC_0_USE_AUI_1
=""
49976 COND_MONOLITHIC_0_USE_GUI_1
="#"
49977 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49978 COND_MONOLITHIC_0_USE_GUI_1
=""
49981 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49982 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49983 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49986 COND_MONOLITHIC_0_USE_HTML_1
="#"
49987 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49988 COND_MONOLITHIC_0_USE_HTML_1
=""
49991 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49992 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49993 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49996 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
49997 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49998 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
50001 COND_MONOLITHIC_0_USE_QA_1
="#"
50002 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50003 COND_MONOLITHIC_0_USE_QA_1
=""
50006 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
50007 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50008 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
50011 COND_MONOLITHIC_0_USE_STC_1
="#"
50012 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50013 COND_MONOLITHIC_0_USE_STC_1
=""
50016 COND_MONOLITHIC_0_USE_XRC_1
="#"
50017 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50018 COND_MONOLITHIC_0_USE_XRC_1
=""
50021 COND_MONOLITHIC_1
="#"
50022 if test "x$MONOLITHIC" = "x1" ; then
50023 COND_MONOLITHIC_1
=""
50026 COND_MONOLITHIC_1_SHARED_0
="#"
50027 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50028 COND_MONOLITHIC_1_SHARED_0
=""
50031 COND_MONOLITHIC_1_SHARED_1
="#"
50032 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50033 COND_MONOLITHIC_1_SHARED_1
=""
50036 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50037 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50038 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50041 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50042 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50043 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50046 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50047 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50048 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50051 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50052 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50053 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50056 COND_PLATFORM_MACOSX_1
="#"
50057 if test "x$PLATFORM_MACOSX" = "x1" ; then
50058 COND_PLATFORM_MACOSX_1
=""
50061 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
50062 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50063 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
50066 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50067 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50068 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50071 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50072 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50073 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50076 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50077 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50078 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50081 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50082 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50083 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50086 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50087 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50088 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50091 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
50092 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50093 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
50096 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50097 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50098 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50101 COND_PLATFORM_MACOS_1
="#"
50102 if test "x$PLATFORM_MACOS" = "x1" ; then
50103 COND_PLATFORM_MACOS_1
=""
50106 COND_PLATFORM_MAC_0
="#"
50107 if test "x$PLATFORM_MAC" = "x0" ; then
50108 COND_PLATFORM_MAC_0
=""
50111 COND_PLATFORM_MAC_1
="#"
50112 if test "x$PLATFORM_MAC" = "x1" ; then
50113 COND_PLATFORM_MAC_1
=""
50116 COND_PLATFORM_MSDOS_0
="#"
50117 if test "x$PLATFORM_MSDOS" = "x0" ; then
50118 COND_PLATFORM_MSDOS_0
=""
50121 COND_PLATFORM_MSDOS_1
="#"
50122 if test "x$PLATFORM_MSDOS" = "x1" ; then
50123 COND_PLATFORM_MSDOS_1
=""
50126 COND_PLATFORM_OS2_1
="#"
50127 if test "x$PLATFORM_OS2" = "x1" ; then
50128 COND_PLATFORM_OS2_1
=""
50131 COND_PLATFORM_UNIX_0
="#"
50132 if test "x$PLATFORM_UNIX" = "x0" ; then
50133 COND_PLATFORM_UNIX_0
=""
50136 COND_PLATFORM_UNIX_1
="#"
50137 if test "x$PLATFORM_UNIX" = "x1" ; then
50138 COND_PLATFORM_UNIX_1
=""
50141 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50142 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50143 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50146 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50147 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50148 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50151 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50152 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50153 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50156 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50157 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50158 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50161 COND_PLATFORM_WIN32_0
="#"
50162 if test "x$PLATFORM_WIN32" = "x0" ; then
50163 COND_PLATFORM_WIN32_0
=""
50166 COND_PLATFORM_WIN32_1
="#"
50167 if test "x$PLATFORM_WIN32" = "x1" ; then
50168 COND_PLATFORM_WIN32_1
=""
50172 if test "x$SHARED" = "x0" ; then
50176 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50177 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50178 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50181 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50182 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50183 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50186 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50187 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50188 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50191 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50192 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50193 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50196 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50197 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50198 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50201 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50202 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50203 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50206 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50207 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50208 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50211 COND_SHARED_0_USE_STC_1
="#"
50212 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50213 COND_SHARED_0_USE_STC_1
=""
50216 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50217 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50218 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50221 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50222 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50223 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50226 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50227 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50228 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50232 if test "x$SHARED" = "x1" ; then
50236 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50237 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50238 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50242 if test "x$TOOLKIT" = "x" ; then
50246 COND_TOOLKIT_COCOA
="#"
50247 if test "x$TOOLKIT" = "xCOCOA" ; then
50248 COND_TOOLKIT_COCOA
=""
50251 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50252 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50253 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50256 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50257 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50258 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50261 COND_TOOLKIT_DFB
="#"
50262 if test "x$TOOLKIT" = "xDFB" ; then
50263 COND_TOOLKIT_DFB
=""
50266 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50267 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50268 COND_TOOLKIT_DFB_USE_GUI_1
=""
50271 COND_TOOLKIT_GTK
="#"
50272 if test "x$TOOLKIT" = "xGTK" ; then
50273 COND_TOOLKIT_GTK
=""
50276 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50277 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50278 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50281 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50282 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50283 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50286 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50287 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50288 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50291 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50292 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50293 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50296 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50297 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50298 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50301 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50302 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50303 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50306 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50307 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50308 COND_TOOLKIT_GTK_USE_GUI_1
=""
50311 COND_TOOLKIT_MAC
="#"
50312 if test "x$TOOLKIT" = "xMAC" ; then
50313 COND_TOOLKIT_MAC
=""
50316 COND_TOOLKIT_MGL
="#"
50317 if test "x$TOOLKIT" = "xMGL" ; then
50318 COND_TOOLKIT_MGL
=""
50321 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50322 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50323 COND_TOOLKIT_MGL_USE_GUI_1
=""
50326 COND_TOOLKIT_MOTIF
="#"
50327 if test "x$TOOLKIT" = "xMOTIF" ; then
50328 COND_TOOLKIT_MOTIF
=""
50331 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50332 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50333 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50336 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50337 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50338 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50341 COND_TOOLKIT_MSW
="#"
50342 if test "x$TOOLKIT" = "xMSW" ; then
50343 COND_TOOLKIT_MSW
=""
50346 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50347 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50348 COND_TOOLKIT_MSW_USE_GUI_1
=""
50351 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50352 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50353 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50356 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50357 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50358 COND_TOOLKIT_MSW_WXUNIV_0
=""
50361 COND_TOOLKIT_OSX_CARBON
="#"
50362 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50363 COND_TOOLKIT_OSX_CARBON
=""
50366 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50367 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50368 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50371 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50372 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50373 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50376 COND_TOOLKIT_OSX_COCOA
="#"
50377 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50378 COND_TOOLKIT_OSX_COCOA
=""
50381 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50382 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50383 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50386 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50387 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50388 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50391 COND_TOOLKIT_OSX_IPHONE
="#"
50392 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50393 COND_TOOLKIT_OSX_IPHONE
=""
50396 COND_TOOLKIT_PM
="#"
50397 if test "x$TOOLKIT" = "xPM" ; then
50401 COND_TOOLKIT_PM_USE_GUI_1
="#"
50402 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50403 COND_TOOLKIT_PM_USE_GUI_1
=""
50406 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50407 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50408 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50411 COND_TOOLKIT_WINCE
="#"
50412 if test "x$TOOLKIT" = "xWINCE" ; then
50413 COND_TOOLKIT_WINCE
=""
50416 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50417 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50418 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50421 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50422 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50423 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50426 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50427 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50428 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50431 COND_TOOLKIT_X11
="#"
50432 if test "x$TOOLKIT" = "xX11" ; then
50433 COND_TOOLKIT_X11
=""
50436 COND_TOOLKIT_X11_USE_GUI_1
="#"
50437 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50438 COND_TOOLKIT_X11_USE_GUI_1
=""
50442 if test "x$UNICODE" = "x1" ; then
50446 COND_USE_EXCEPTIONS_0
="#"
50447 if test "x$USE_EXCEPTIONS" = "x0" ; then
50448 COND_USE_EXCEPTIONS_0
=""
50451 COND_USE_EXCEPTIONS_1
="#"
50452 if test "x$USE_EXCEPTIONS" = "x1" ; then
50453 COND_USE_EXCEPTIONS_1
=""
50457 if test "x$USE_GUI" = "x0" ; then
50462 if test "x$USE_GUI" = "x1" ; then
50466 COND_USE_GUI_1_USE_OPENGL_1
="#"
50467 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50468 COND_USE_GUI_1_USE_OPENGL_1
=""
50471 COND_USE_GUI_1_WXUNIV_0
="#"
50472 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50473 COND_USE_GUI_1_WXUNIV_0
=""
50476 COND_USE_GUI_1_WXUNIV_1
="#"
50477 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50478 COND_USE_GUI_1_WXUNIV_1
=""
50481 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50482 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50483 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50486 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50487 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50488 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50491 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50492 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50493 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50496 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50497 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50498 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50501 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50502 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50503 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50506 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50507 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50508 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50511 COND_USE_OPENGL_1
="#"
50512 if test "x$USE_OPENGL" = "x1" ; then
50513 COND_USE_OPENGL_1
=""
50517 if test "x$USE_PCH" = "x1" ; then
50521 COND_USE_PLUGINS_0
="#"
50522 if test "x$USE_PLUGINS" = "x0" ; then
50523 COND_USE_PLUGINS_0
=""
50526 COND_USE_RTTI_0
="#"
50527 if test "x$USE_RTTI" = "x0" ; then
50531 COND_USE_RTTI_1
="#"
50532 if test "x$USE_RTTI" = "x1" ; then
50536 COND_USE_SOSYMLINKS_1
="#"
50537 if test "x$USE_SOSYMLINKS" = "x1" ; then
50538 COND_USE_SOSYMLINKS_1
=""
50541 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50542 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50543 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50546 COND_USE_SOVERLINUX_1
="#"
50547 if test "x$USE_SOVERLINUX" = "x1" ; then
50548 COND_USE_SOVERLINUX_1
=""
50551 COND_USE_SOVERSION_0
="#"
50552 if test "x$USE_SOVERSION" = "x0" ; then
50553 COND_USE_SOVERSION_0
=""
50556 COND_USE_SOVERSOLARIS_1
="#"
50557 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50558 COND_USE_SOVERSOLARIS_1
=""
50562 if test "x$USE_STC" = "x1" ; then
50566 COND_USE_THREADS_0
="#"
50567 if test "x$USE_THREADS" = "x0" ; then
50568 COND_USE_THREADS_0
=""
50571 COND_USE_THREADS_1
="#"
50572 if test "x$USE_THREADS" = "x1" ; then
50573 COND_USE_THREADS_1
=""
50577 if test "x$USE_XRC" = "x1" ; then
50581 COND_WINDOWS_IMPLIB_1
="#"
50582 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50583 COND_WINDOWS_IMPLIB_1
=""
50586 COND_WITH_PLUGIN_SDL_1
="#"
50587 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50588 COND_WITH_PLUGIN_SDL_1
=""
50592 if test "x$WXUNIV" = "x0" ; then
50597 if test "x$WXUNIV" = "x1" ; then
50601 COND_WXUSE_EXPAT_BUILTIN
="#"
50602 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50603 COND_WXUSE_EXPAT_BUILTIN
=""
50606 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50607 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50608 COND_WXUSE_LIBJPEG_BUILTIN
=""
50611 COND_WXUSE_LIBPNG_BUILTIN
="#"
50612 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50613 COND_WXUSE_LIBPNG_BUILTIN
=""
50616 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50617 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50618 COND_WXUSE_LIBTIFF_BUILTIN
=""
50621 COND_WXUSE_REGEX_BUILTIN
="#"
50622 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50623 COND_WXUSE_REGEX_BUILTIN
=""
50626 COND_WXUSE_ZLIB_BUILTIN
="#"
50627 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50628 COND_WXUSE_ZLIB_BUILTIN
=""
50631 COND_wxUSE_EXPAT_builtin
="#"
50632 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50633 COND_wxUSE_EXPAT_builtin
=""
50636 COND_wxUSE_LIBJPEG_builtin
="#"
50637 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50638 COND_wxUSE_LIBJPEG_builtin
=""
50641 COND_wxUSE_LIBPNG_builtin
="#"
50642 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50643 COND_wxUSE_LIBPNG_builtin
=""
50646 COND_wxUSE_LIBTIFF_builtin
="#"
50647 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50648 COND_wxUSE_LIBTIFF_builtin
=""
50651 COND_wxUSE_REGEX_builtin
="#"
50652 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50653 COND_wxUSE_REGEX_builtin
=""
50656 COND_wxUSE_ZLIB_builtin
="#"
50657 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50658 COND_wxUSE_ZLIB_builtin
=""
50663 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50664 { { 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
50665 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;}
50666 { (exit 1); exit 1; }; }
50669 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50670 { { 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
50671 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;}
50672 { (exit 1); exit 1; }; }
50679 ?
:* ) # Drive letter, considered as absolute.
50682 INSTALL
=`pwd`/${INSTALL} ;;
50685 if test "$wxUSE_GUI" = "yes"; then
50687 if test "$wxUSE_MSW" = 1 ; then
50688 if test "x$WINDRES" = "x"; then
50689 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50690 echo "$as_me: error: Required windres program not found" >&2;}
50691 { (exit 1); exit 1; }; }
50697 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50698 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50699 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50701 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50703 # Extract the first word of "DeRez", so it can be a program name with args.
50704 set dummy DeRez
; ac_word
=$2
50705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50707 if test "${ac_cv_prog_DEREZ+set}" = set; then
50708 echo $ECHO_N "(cached) $ECHO_C" >&6
50710 if test -n "$DEREZ"; then
50711 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50714 for as_dir
in $PATH
50717 test -z "$as_dir" && as_dir
=.
50718 for ac_exec_ext
in '' $ac_executable_extensions; do
50719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50720 ac_cv_prog_DEREZ
="DeRez"
50721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50728 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50731 DEREZ
=$ac_cv_prog_DEREZ
50732 if test -n "$DEREZ"; then
50733 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50734 echo "${ECHO_T}$DEREZ" >&6; }
50736 { echo "$as_me:$LINENO: result: no" >&5
50737 echo "${ECHO_T}no" >&6; }
50742 MACSETFILE
="\$(SETFILE)"
50744 if test "$wxUSE_OSX_CARBON" = 1; then
50745 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50747 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50749 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50750 RESCOMP
="cat /dev/null \| $REZ"
50751 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50757 if test "$wxUSE_PM" = 1; then
50759 WXCONFIG_RESFLAGS
="-ep"
50761 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50763 POSTLINK_COMMAND
="@true"
50770 if test $GCC_PCH = 1
50772 if test "$wx_cv_gcc_pch_bug" = yes; then
50773 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50774 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50775 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50776 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50777 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50778 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50781 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50782 # the headers that benefit from precompilation are mostly C++ headers.
50783 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50784 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50785 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50789 if test "$wxUSE_MAC" = 1 ; then
50790 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50791 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50797 if test "$wxUSE_SHARED" = "yes"; then
50799 *-pc-os2_emx | *-pc-os2-emx )
50800 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50801 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50802 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50803 cp -p ${srcdir}/src
/os
2/dllar.sh .
50807 if test "$wxUSE_OMF" = "yes"; then
50809 *-pc-os2_emx | *-pc-os2-emx )
50810 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50811 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50812 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50817 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50822 if test "$GCC" = yes; then
50823 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50824 LIBS
=`echo $LIBS | sed 's/-mt//'`
50825 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50830 if test "x$SUNCXX" = xyes
; then
50831 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50832 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50833 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50838 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50839 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50840 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50841 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50843 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50904 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50905 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50906 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50907 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50908 echo $ECHO_N "(cached) $ECHO_C" >&6
50910 cat >conftest.
make <<\_ACEOF
50913 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50915 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50916 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50917 *@@@
%%%=?
*=@@@
%%%*)
50918 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50920 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50922 rm -f conftest.
make
50924 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50925 { echo "$as_me:$LINENO: result: yes" >&5
50926 echo "${ECHO_T}yes" >&6; }
50929 { echo "$as_me:$LINENO: result: no" >&5
50930 echo "${ECHO_T}no" >&6; }
50931 SET_MAKE
="MAKE=${MAKE-make}"
50936 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50939 if test "$USE_WIN32" = 1; then
50940 ac_config_commands
="$ac_config_commands
50946 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50949 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50952 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50955 if test "$wx_cv_version_script" = "yes"; then
50956 ac_config_files
="$ac_config_files version-script"
50959 ac_config_files
="$ac_config_files Makefile"
50962 ac_config_commands
="$ac_config_commands wx-config"
50966 if test "$wxWITH_SUBDIRS" != "no"; then
50967 if test "$wxUSE_GUI" = "yes"; then
50968 SUBDIRS
="samples demos utils"
50970 SUBDIRS
="samples utils"
50975 # Check whether --with-cppunit-prefix was given.
50976 if test "${with_cppunit_prefix+set}" = set; then
50977 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50979 cppunit_config_prefix
=""
50983 # Check whether --with-cppunit-exec-prefix was given.
50984 if test "${with_cppunit_exec_prefix+set}" = set; then
50985 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50987 cppunit_config_exec_prefix
=""
50991 if test x
$cppunit_config_exec_prefix != x
; then
50992 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50993 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50994 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50997 if test x
$cppunit_config_prefix != x
; then
50998 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50999 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51000 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
51004 # Extract the first word of "cppunit-config", so it can be a program name with args.
51005 set dummy cppunit
-config; ac_word
=$2
51006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51008 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51009 echo $ECHO_N "(cached) $ECHO_C" >&6
51011 case $CPPUNIT_CONFIG in
51013 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51017 for as_dir
in $PATH
51020 test -z "$as_dir" && as_dir
=.
51021 for ac_exec_ext
in '' $ac_executable_extensions; do
51022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51023 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
51024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51031 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
51035 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
51036 if test -n "$CPPUNIT_CONFIG"; then
51037 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51038 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51040 { echo "$as_me:$LINENO: result: no" >&5
51041 echo "${ECHO_T}no" >&6; }
51045 cppunit_version_min
=1.8.0
51047 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51048 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51050 if test "$CPPUNIT_CONFIG" = "no" ; then
51051 { echo "$as_me:$LINENO: result: no" >&5
51052 echo "${ECHO_T}no" >&6; }
51055 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
51056 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
51057 cppunit_version
=`$CPPUNIT_CONFIG --version`
51059 cppunit_major_version
=`echo $cppunit_version | \
51060 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51061 cppunit_minor_version
=`echo $cppunit_version | \
51062 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51063 cppunit_micro_version
=`echo $cppunit_version | \
51064 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51066 cppunit_major_min
=`echo $cppunit_version_min | \
51067 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51068 cppunit_minor_min
=`echo $cppunit_version_min | \
51069 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51070 cppunit_micro_min
=`echo $cppunit_version_min | \
51071 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51073 cppunit_version_proper
=`expr \
51074 $cppunit_major_version \> $cppunit_major_min \| \
51075 $cppunit_major_version \= $cppunit_major_min \& \
51076 $cppunit_minor_version \> $cppunit_minor_min \| \
51077 $cppunit_major_version \= $cppunit_major_min \& \
51078 $cppunit_minor_version \= $cppunit_minor_min \& \
51079 $cppunit_micro_version \>= $cppunit_micro_min `
51081 if test "$cppunit_version_proper" = "1" ; then
51082 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51083 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51085 { echo "$as_me:$LINENO: result: no" >&5
51086 echo "${ECHO_T}no" >&6; }
51091 if test "x$no_cppunit" = x
; then
51092 SUBDIRS
="$SUBDIRS tests"
51103 for subdir
in $SUBDIRS; do
51104 if test -d ${srcdir}/${subdir} ; then
51105 if test "$wxUSE_GUI" = "yes"; then
51106 if test ${subdir} = "samples"; then
51107 makefiles
="samples/Makefile.in $makefiles"
51108 for sample
in $SAMPLES_SUBDIRS; do
51109 if test -d $srcdir/samples
/$sample; then
51110 makefiles
="samples/$sample/Makefile.in $makefiles"
51114 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
51115 eval "disabled=\$$disabled_var"
51116 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51117 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51120 if test ${subdir} = "samples"; then
51121 makefiles
="samples/Makefile.in $makefiles"
51122 for sample
in `echo $SAMPLES_SUBDIRS`; do
51123 if test -d $srcdir/samples
/$sample; then
51124 makefiles
="samples/$sample/Makefile.in $makefiles"
51127 elif test ${subdir} = "utils"; then
51129 for util
in ifacecheck
; do
51130 if test -d $srcdir/utils
/$util ; then
51131 makefiles
="utils/$util/src/Makefile.in \
51136 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51140 for mkin
in $makefiles ; do
51141 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51142 ac_config_files
="$ac_config_files $mk"
51148 cat >confcache
<<\_ACEOF
51149 # This file is a shell script that caches the results of configure
51150 # tests run on this system so they can be shared between configure
51151 # scripts and configure runs, see configure's option --config-cache.
51152 # It is not useful on other systems. If it contains results you don't
51153 # want to keep, you may remove or edit it.
51155 # config.status only pays attention to the cache file if you give it
51156 # the --recheck option to rerun configure.
51158 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51159 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51160 # following values.
51164 # The following way of writing the cache mishandles newlines in values,
51165 # but we know of no workaround that is simple, portable, and efficient.
51166 # So, we kill variables containing newlines.
51167 # Ultrix sh set writes to stderr and can't be redirected directly,
51168 # and sets the high bit in the cache file unless we assign to the vars.
51170 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51171 eval ac_val
=\$
$ac_var
51175 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51176 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51179 _
| IFS
| as_nl
) ;; #(
51180 *) $as_unset $ac_var ;;
51186 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51187 *${as_nl}ac_space
=\
*)
51188 # `set' does not quote correctly, so add quotes (double-quote
51189 # substitution turns \\\\ into \\, and sed turns \\ into \).
51192 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51195 # `set' quotes correctly as required by POSIX, so do not add quotes.
51196 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51205 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51207 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51209 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51210 if test -w "$cache_file"; then
51211 test "x$cache_file" != "x/dev/null" &&
51212 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51213 echo "$as_me: updating cache $cache_file" >&6;}
51214 cat confcache
>$cache_file
51216 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51217 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51222 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51223 # Let make expand exec_prefix.
51224 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51226 DEFS
=-DHAVE_CONFIG_H
51230 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51231 # 1. Remove the extension, and $U if already installed.
51232 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51233 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51234 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51235 # will be set to the directory where LIBOBJS objects are built.
51236 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51237 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51239 LIBOBJS
=$ac_libobjs
51241 LTLIBOBJS
=$ac_ltlibobjs
51245 : ${CONFIG_STATUS=./config.status}
51246 ac_clean_files_save
=$ac_clean_files
51247 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51248 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51249 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51250 cat >$CONFIG_STATUS <<_ACEOF
51252 # Generated by $as_me.
51253 # Run this file to recreate the current configuration.
51254 # Compiler output produced by configure, useful for debugging
51255 # configure, is in config.log if it exists.
51258 ac_cs_recheck=false
51260 SHELL=\${CONFIG_SHELL-$SHELL}
51263 cat >>$CONFIG_STATUS <<\_ACEOF
51264 ## --------------------- ##
51265 ## M4sh Initialization. ##
51266 ## --------------------- ##
51268 # Be more Bourne compatible
51269 DUALCASE
=1; export DUALCASE
# for MKS sh
51270 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51273 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51274 # is contrary to our usage. Disable this feature.
51275 alias -g '${1+"$@"}'='"$@"'
51276 setopt NO_GLOB_SUBST
51278 case `(set -o) 2>/dev/null` in
51279 *posix
*) set -o posix
;;
51288 # Avoid depending upon Character Ranges.
51289 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51290 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51291 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51292 as_cr_digits
='0123456789'
51293 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51295 # The user is always right.
51296 if test "${PATH_SEPARATOR+set}" != set; then
51297 echo "#! /bin/sh" >conf$$.sh
51298 echo "exit 0" >>conf$$.sh
51300 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51308 # Support unset when possible.
51309 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51317 # We need space, tab and new line, in precisely that order. Quoting is
51318 # there to prevent editors from complaining about space-tab.
51319 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51320 # splitting by setting IFS to empty value.)
51325 # Find who we are. Look in the path if we contain no directory separator.
51327 *[\\/]* ) as_myself
=$0 ;;
51328 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51329 for as_dir
in $PATH
51332 test -z "$as_dir" && as_dir
=.
51333 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51339 # We did not find ourselves, most probably we were run as `sh COMMAND'
51340 # in which case we are not to be found in the path.
51341 if test "x$as_myself" = x
; then
51344 if test ! -f "$as_myself"; then
51345 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51346 { (exit 1); exit 1; }
51349 # Work around bugs in pre-3.0 UWIN ksh.
51350 for as_var
in ENV MAIL MAILPATH
51351 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51359 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51360 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51361 LC_TELEPHONE LC_TIME
51363 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51364 eval $as_var=C
; export $as_var
51366 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51370 # Required to use basename.
51371 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51372 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51378 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51379 as_basename
=basename
51385 # Name of the executable.
51386 as_me
=`$as_basename -- "$0" ||
51387 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51388 X"$0" : 'X\(//\)$' \| \
51389 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51391 sed '/^.*\/\([^/][^/]*\)\/*$/{
51410 as_lineno_1
=$LINENO
51411 as_lineno_2
=$LINENO
51412 test "x$as_lineno_1" != "x$as_lineno_2" &&
51413 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51415 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51416 # uniformly replaced by the line number. The first 'sed' inserts a
51417 # line-number line after each line using $LINENO; the second 'sed'
51418 # does the real work. The second script uses 'N' to pair each
51419 # line-number line with the line containing $LINENO, and appends
51420 # trailing '-' during substitution so that $LINENO is not a special
51421 # case at line end.
51422 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51423 # scripts with optimization help from Paolo Bonzini. Blame Lee
51424 # E. McMahon (1931-1989) for sed's syntax. :-)
51436 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51439 ' >$as_me.lineno
&&
51440 chmod +x
"$as_me.lineno" ||
51441 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51442 { (exit 1); exit 1; }; }
51444 # Don't try to exec as it changes $[0], causing all sort of problems
51445 # (the dirname of $[0] is not the place where we might find the
51446 # original and so on. Autoconf is especially sensitive to this).
51447 .
"./$as_me.lineno"
51448 # Exit status is that of the last command.
51453 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51459 ECHO_C
= ECHO_N
= ECHO_T
=
51460 case `echo -n x` in
51462 case `echo 'x\c'` in
51463 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51470 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51471 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51477 rm -f conf$$ conf$$.exe conf$$.
file
51478 if test -d conf$$.dir
; then
51479 rm -f conf$$.dir
/conf$$.
file
51485 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51487 # ... but there are two gotchas:
51488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51490 # In both cases, we have to default to `cp -p'.
51491 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51493 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51498 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51499 rmdir conf$$.dir
2>/dev
/null
51501 if mkdir -p .
2>/dev
/null
; then
51504 test -d .
/-p && rmdir .
/-p
51508 if test -x / >/dev
/null
2>&1; then
51509 as_test_x
='test -x'
51511 if ls -dL / >/dev
/null
2>&1; then
51518 if test -d "$1"; then
51524 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51525 ???[sx]*):;;*)false;;esac;fi
51529 as_executable_p
=$as_test_x
51531 # Sed expression to map a string onto a valid CPP name.
51532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51534 # Sed expression to map a string onto a valid variable name.
51535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51540 # Save the log message, to keep $[0] and so on meaningful, and to
51541 # report actual input values of CONFIG_FILES etc. instead of their
51542 # values after options handling.
51544 This file was extended by wxWidgets $as_me 2.9.0, which was
51545 generated by GNU Autoconf 2.61. Invocation command line was
51547 CONFIG_FILES = $CONFIG_FILES
51548 CONFIG_HEADERS = $CONFIG_HEADERS
51549 CONFIG_LINKS = $CONFIG_LINKS
51550 CONFIG_COMMANDS = $CONFIG_COMMANDS
51553 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51558 cat >>$CONFIG_STATUS <<_ACEOF
51559 # Files that config.status was made for.
51560 config_files="$ac_config_files"
51561 config_headers="$ac_config_headers"
51562 config_commands="$ac_config_commands"
51566 cat >>$CONFIG_STATUS <<\_ACEOF
51568 \`$as_me' instantiates files from templates according to the
51569 current configuration.
51571 Usage: $0 [OPTIONS] [FILE]...
51573 -h, --help print this help, then exit
51574 -V, --version print version number and configuration settings, then exit
51575 -q, --quiet do not print progress messages
51576 -d, --debug don't remove temporary files
51577 --recheck update $as_me by reconfiguring in the same conditions
51578 --file=FILE[:TEMPLATE]
51579 instantiate the configuration file FILE
51580 --header=FILE[:TEMPLATE]
51581 instantiate the configuration header FILE
51583 Configuration files:
51586 Configuration headers:
51589 Configuration commands:
51592 Report bugs to <bug-autoconf@gnu.org>."
51595 cat >>$CONFIG_STATUS <<_ACEOF
51597 wxWidgets config.status 2.9.0
51598 configured by $0, generated by GNU Autoconf 2.61,
51599 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51601 Copyright (C) 2006 Free Software Foundation, Inc.
51602 This config.status script is free software; the Free Software Foundation
51603 gives unlimited permission to copy, distribute and modify it."
51610 cat >>$CONFIG_STATUS <<\_ACEOF
51611 # If no file are specified by the user, then we need to provide default
51612 # value. By we need to know if files were specified by the user.
51618 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51619 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51630 # Handling of the options.
51631 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51633 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51634 echo "$ac_cs_version"; exit ;;
51635 --debug | --debu | --deb | --de | --d | -d )
51637 --file | --fil | --fi | --f )
51639 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51640 ac_need_defaults
=false
;;
51641 --header | --heade | --head | --hea )
51643 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51644 ac_need_defaults
=false
;;
51646 # Conflict between --help and --header
51647 { echo "$as_me: error: ambiguous option: $1
51648 Try \`$0 --help' for more information." >&2
51649 { (exit 1); exit 1; }; };;
51650 --help | --hel | -h )
51651 echo "$ac_cs_usage"; exit ;;
51652 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51653 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51656 # This is an error.
51657 -*) { echo "$as_me: error: unrecognized option: $1
51658 Try \`$0 --help' for more information." >&2
51659 { (exit 1); exit 1; }; } ;;
51661 *) ac_config_targets
="$ac_config_targets $1"
51662 ac_need_defaults
=false
;;
51668 ac_configure_extra_args
=
51670 if $ac_cs_silent; then
51672 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51676 cat >>$CONFIG_STATUS <<_ACEOF
51677 if \$ac_cs_recheck; then
51678 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51679 CONFIG_SHELL=$SHELL
51680 export CONFIG_SHELL
51681 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51685 cat >>$CONFIG_STATUS <<\_ACEOF
51689 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51690 ## Running $as_me. ##
51696 cat >>$CONFIG_STATUS <<_ACEOF
51702 infile="$srcdir/include/wx/msw/genrcdefs.h"
51703 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51706 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51707 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51708 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51714 cat >>$CONFIG_STATUS <<\_ACEOF
51716 # Handling of arguments.
51717 for ac_config_target
in $ac_config_targets
51719 case $ac_config_target in
51720 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51721 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51722 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51723 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51724 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51725 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51726 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51727 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51728 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51730 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51731 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51732 { (exit 1); exit 1; }; };;
51737 # If the user did not use the arguments to specify the items to instantiate,
51738 # then the envvar interface is used. Set only those that are not.
51739 # We use the long form for the default assignment because of an extremely
51740 # bizarre bug on SunOS 4.1.3.
51741 if $ac_need_defaults; then
51742 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51743 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51744 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51747 # Have a temporary directory for convenience. Make it in the build tree
51748 # simply because there is no reason against having it here, and in addition,
51749 # creating and moving files from /tmp can sometimes cause problems.
51750 # Hook for its removal unless debugging.
51751 # Note that there is a small window in which the directory will not be cleaned:
51752 # after its creation but before its name has been assigned to `$tmp'.
51756 trap 'exit_status=$?
51757 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51759 trap '{ (exit 1); exit 1; }' 1 2 13 15
51761 # Create a (secure) tmp directory for tmp files.
51764 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51765 test -n "$tmp" && test -d "$tmp"
51768 tmp
=.
/conf$$
-$RANDOM
51769 (umask 077 && mkdir "$tmp")
51772 echo "$me: cannot create a temporary directory in ." >&2
51773 { (exit 1); exit 1; }
51777 # Set up the sed scripts for CONFIG_FILES section.
51780 # No need to generate the scripts if there are no CONFIG_FILES.
51781 # This happens for instance when ./config.status config.h
51782 if test -n "$CONFIG_FILES"; then
51789 for ac_last_try
in false false false false false
:; do
51790 cat >conf$
$subs.
sed <<_ACEOF
51791 SHELL!$SHELL$ac_delim
51792 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51793 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51794 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51795 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51796 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51797 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51798 exec_prefix!$exec_prefix$ac_delim
51799 prefix!$prefix$ac_delim
51800 program_transform_name!$program_transform_name$ac_delim
51801 bindir!$bindir$ac_delim
51802 sbindir!$sbindir$ac_delim
51803 libexecdir!$libexecdir$ac_delim
51804 datarootdir!$datarootdir$ac_delim
51805 datadir!$datadir$ac_delim
51806 sysconfdir!$sysconfdir$ac_delim
51807 sharedstatedir!$sharedstatedir$ac_delim
51808 localstatedir!$localstatedir$ac_delim
51809 includedir!$includedir$ac_delim
51810 oldincludedir!$oldincludedir$ac_delim
51811 docdir!$docdir$ac_delim
51812 infodir!$infodir$ac_delim
51813 htmldir!$htmldir$ac_delim
51814 dvidir!$dvidir$ac_delim
51815 pdfdir!$pdfdir$ac_delim
51816 psdir!$psdir$ac_delim
51817 libdir!$libdir$ac_delim
51818 localedir!$localedir$ac_delim
51819 mandir!$mandir$ac_delim
51820 DEFS!$DEFS$ac_delim
51821 ECHO_C!$ECHO_C$ac_delim
51822 ECHO_N!$ECHO_N$ac_delim
51823 ECHO_T!$ECHO_T$ac_delim
51824 LIBS!$LIBS$ac_delim
51825 build_alias!$build_alias$ac_delim
51826 host_alias!$host_alias$ac_delim
51827 target_alias!$target_alias$ac_delim
51828 build!$build$ac_delim
51829 build_cpu!$build_cpu$ac_delim
51830 build_vendor!$build_vendor$ac_delim
51831 build_os!$build_os$ac_delim
51832 host!$host$ac_delim
51833 host_cpu!$host_cpu$ac_delim
51834 host_vendor!$host_vendor$ac_delim
51835 host_os!$host_os$ac_delim
51836 wx_top_builddir!$wx_top_builddir$ac_delim
51838 CFLAGS!$CFLAGS$ac_delim
51839 LDFLAGS!$LDFLAGS$ac_delim
51840 CPPFLAGS!$CPPFLAGS$ac_delim
51841 ac_ct_CC!$ac_ct_CC$ac_delim
51842 EXEEXT!$EXEEXT$ac_delim
51843 OBJEXT!$OBJEXT$ac_delim
51845 GREP!$GREP$ac_delim
51846 EGREP!$EGREP$ac_delim
51848 CXXFLAGS!$CXXFLAGS$ac_delim
51849 ac_ct_CXX!$ac_ct_CXX$ac_delim
51851 subdirs!$subdirs$ac_delim
51852 PKG_CONFIG!$PKG_CONFIG$ac_delim
51853 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51854 GTK_LIBS!$GTK_LIBS$ac_delim
51855 GTK_CONFIG!$GTK_CONFIG$ac_delim
51856 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51857 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51858 XMKMF!$XMKMF$ac_delim
51859 X_CFLAGS!$X_CFLAGS$ac_delim
51860 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51861 X_LIBS!$X_LIBS$ac_delim
51862 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51863 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51864 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51865 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51866 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51867 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51868 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51869 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51870 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51871 LIBICONV!$LIBICONV$ac_delim
51872 GXX_VERSION!$GXX_VERSION$ac_delim
51873 SDL_CONFIG!$SDL_CONFIG$ac_delim
51874 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51875 SDL_LIBS!$SDL_LIBS$ac_delim
51876 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51877 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51878 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51879 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51880 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51881 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51882 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51883 HILDON_LIBS!$HILDON_LIBS$ac_delim
51884 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51885 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51886 GST_CFLAGS!$GST_CFLAGS$ac_delim
51887 GST_LIBS!$GST_LIBS$ac_delim
51890 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51892 elif $ac_last_try; then
51893 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51894 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51895 { (exit 1); exit 1; }; }
51897 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51901 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51902 if test -n "$ac_eof"; then
51903 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51904 ac_eof
=`expr $ac_eof + 1`
51907 cat >>$CONFIG_STATUS <<_ACEOF
51908 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51909 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51912 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51913 s/^/s,@/; s/!/@,|#_!!_#|/
51916 s/'"$ac_delim"'$/,g/; t
51918 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51919 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51920 rm -f conf$
$subs.
sed
51921 cat >>$CONFIG_STATUS <<_ACEOF
51927 for ac_last_try
in false false false false false
:; do
51928 cat >conf$
$subs.
sed <<_ACEOF
51929 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51930 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51931 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51932 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51933 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51934 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51935 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51936 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51937 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51938 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51939 VENDOR!$VENDOR$ac_delim
51940 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51941 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51942 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51943 WXUNIV!$WXUNIV$ac_delim
51944 MONOLITHIC!$MONOLITHIC$ac_delim
51945 USE_PLUGINS!$USE_PLUGINS$ac_delim
51946 CXXWARNINGS!$CXXWARNINGS$ac_delim
51947 EXTRALIBS!$EXTRALIBS$ac_delim
51948 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51949 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51950 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51951 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51952 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51953 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51954 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51955 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51956 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51957 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51958 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51959 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51960 UNICODE!$UNICODE$ac_delim
51961 BUILD!$BUILD$ac_delim
51962 DEBUG_INFO!$DEBUG_INFO$ac_delim
51963 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51964 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51965 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51966 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51967 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51968 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51969 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51970 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51971 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51972 RANLIB!$RANLIB$ac_delim
51973 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51974 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51975 INSTALL_DATA!$INSTALL_DATA$ac_delim
51976 LN_S!$LN_S$ac_delim
51977 SET_MAKE!$SET_MAKE$ac_delim
51978 MAKE_SET!$MAKE_SET$ac_delim
51979 AROPTIONS!$AROPTIONS$ac_delim
51980 STRIP!$STRIP$ac_delim
51982 INSTALL_DIR!$INSTALL_DIR$ac_delim
51983 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51984 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51985 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51986 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51987 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51988 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51989 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51990 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51991 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51992 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51993 SO_SUFFIX!$SO_SUFFIX$ac_delim
51994 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51995 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51996 LIBPREFIX!$LIBPREFIX$ac_delim
51997 LIBEXT!$LIBEXT$ac_delim
51998 DLLPREFIX!$DLLPREFIX$ac_delim
51999 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52000 dlldir!$dlldir$ac_delim
52001 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52002 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52003 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52004 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52005 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52006 PIC_FLAG!$PIC_FLAG$ac_delim
52007 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52008 USE_SOVERSION!$USE_SOVERSION$ac_delim
52009 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52010 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52011 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52012 USE_MACVERSION!$USE_MACVERSION$ac_delim
52013 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52014 SONAME_FLAG!$SONAME_FLAG$ac_delim
52015 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52016 BK_DEPS!$BK_DEPS$ac_delim
52017 WINDRES!$WINDRES$ac_delim
52019 SETFILE!$SETFILE$ac_delim
52020 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52021 GCC_PCH!$GCC_PCH$ac_delim
52022 ICC_PCH!$ICC_PCH$ac_delim
52023 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52024 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52025 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52028 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52030 elif $ac_last_try; then
52031 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52032 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52033 { (exit 1); exit 1; }; }
52035 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52039 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52040 if test -n "$ac_eof"; then
52041 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52042 ac_eof
=`expr $ac_eof + 1`
52045 cat >>$CONFIG_STATUS <<_ACEOF
52046 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52047 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52050 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52051 s/^/s,@/; s/!/@,|#_!!_#|/
52054 s/'"$ac_delim"'$/,g/; t
52056 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52057 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52058 rm -f conf$
$subs.
sed
52059 cat >>$CONFIG_STATUS <<_ACEOF
52065 for ac_last_try
in false false false false false
:; do
52066 cat >conf$
$subs.
sed <<_ACEOF
52067 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52068 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52069 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52070 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52071 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52072 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52073 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52074 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52075 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52076 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52077 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52078 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52079 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52080 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52081 COND_BUILD_release!$COND_BUILD_release$ac_delim
52082 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52083 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52084 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52085 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52086 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52087 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52088 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52089 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52090 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52091 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52092 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52093 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52094 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52095 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52096 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52097 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52098 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52099 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52100 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52101 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52102 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52103 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52104 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52105 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52106 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52107 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52108 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52109 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52110 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52111 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52112 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52113 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52114 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52115 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52116 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52117 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52118 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52119 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52120 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52121 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52122 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52123 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52124 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52125 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52126 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52127 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52128 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52129 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52130 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52131 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52132 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52133 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
52134 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52135 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
52136 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52137 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52138 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52139 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52140 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52141 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52142 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52143 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52144 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52145 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52146 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52147 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52148 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52149 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52150 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52151 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52152 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52153 COND_SHARED_0!$COND_SHARED_0$ac_delim
52154 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52155 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52156 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52157 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52158 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52159 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52160 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52161 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52162 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52163 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52166 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52168 elif $ac_last_try; then
52169 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52170 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52171 { (exit 1); exit 1; }; }
52173 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52177 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52178 if test -n "$ac_eof"; then
52179 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52180 ac_eof
=`expr $ac_eof + 1`
52183 cat >>$CONFIG_STATUS <<_ACEOF
52184 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52185 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52188 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52189 s/^/s,@/; s/!/@,|#_!!_#|/
52192 s/'"$ac_delim"'$/,g/; t
52194 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52195 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52196 rm -f conf$
$subs.
sed
52197 cat >>$CONFIG_STATUS <<_ACEOF
52203 for ac_last_try
in false false false false false
:; do
52204 cat >conf$
$subs.
sed <<_ACEOF
52205 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52206 COND_SHARED_1!$COND_SHARED_1$ac_delim
52207 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52208 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52209 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52210 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52211 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52212 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52213 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52214 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52216 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52217 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52218 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52219 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52220 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52221 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52222 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52223 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52224 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52225 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52226 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52227 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52228 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52229 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52230 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52231 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52232 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52233 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52234 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52235 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52236 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52237 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52238 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52239 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52240 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52241 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52242 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52243 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52244 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52245 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52246 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52247 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52248 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52249 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52250 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52251 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52252 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52253 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52254 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52255 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52256 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52257 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52258 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52259 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52260 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52261 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52262 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52263 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52264 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52265 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52266 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52267 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52268 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52269 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52270 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52271 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52272 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52273 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52274 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52275 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52276 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52277 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52278 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52279 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52280 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52281 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52282 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52283 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52284 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52285 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52286 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52287 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52288 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52289 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52290 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52291 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52292 DEREZ!$DEREZ$ac_delim
52293 SHARED!$SHARED$ac_delim
52294 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52295 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52296 USE_GUI!$USE_GUI$ac_delim
52297 AFMINSTALL!$AFMINSTALL$ac_delim
52298 WIN32INSTALL!$WIN32INSTALL$ac_delim
52299 TOOLKIT!$TOOLKIT$ac_delim
52300 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52301 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52304 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52306 elif $ac_last_try; then
52307 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52308 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52309 { (exit 1); exit 1; }; }
52311 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52315 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52316 if test -n "$ac_eof"; then
52317 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52318 ac_eof
=`expr $ac_eof + 1`
52321 cat >>$CONFIG_STATUS <<_ACEOF
52322 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52326 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52327 s/^/s,@/; s/!/@,|#_!!_#|/
52330 s/'"$ac_delim"'$/,g/; t
52332 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52333 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52334 rm -f conf$
$subs.
sed
52335 cat >>$CONFIG_STATUS <<_ACEOF
52341 for ac_last_try
in false false false false false
:; do
52342 cat >conf$
$subs.
sed <<_ACEOF
52343 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52344 cross_compiling!$cross_compiling$ac_delim
52345 WIDGET_SET!$WIDGET_SET$ac_delim
52346 WX_RELEASE!$WX_RELEASE$ac_delim
52347 WX_VERSION!$WX_VERSION$ac_delim
52348 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52349 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52350 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52351 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52352 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52353 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52354 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52355 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52356 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52357 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52358 GUIDIST!$GUIDIST$ac_delim
52359 DISTDIR!$DISTDIR$ac_delim
52360 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52361 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52362 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52363 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52364 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52365 RESCOMP!$RESCOMP$ac_delim
52366 RESFLAGS!$RESFLAGS$ac_delim
52367 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52368 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52369 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52370 LIBWXMACRES!$LIBWXMACRES$ac_delim
52371 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52372 MACSETFILE!$MACSETFILE$ac_delim
52374 DLLTOOL!$DLLTOOL$ac_delim
52375 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52376 LIBOBJS!$LIBOBJS$ac_delim
52377 LTLIBOBJS!$LTLIBOBJS$ac_delim
52380 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
52382 elif $ac_last_try; then
52383 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52384 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52385 { (exit 1); exit 1; }; }
52387 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52391 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52392 if test -n "$ac_eof"; then
52393 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52394 ac_eof
=`expr $ac_eof + 1`
52397 cat >>$CONFIG_STATUS <<_ACEOF
52398 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52399 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52402 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52403 s/^/s,@/; s/!/@,|#_!!_#|/
52406 s/'"$ac_delim"'$/,g/; t
52408 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52409 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52410 rm -f conf$
$subs.
sed
52411 cat >>$CONFIG_STATUS <<_ACEOF
52418 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52419 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52420 # trailing colons and then remove the whole line if VPATH becomes empty
52421 # (actually we leave an empty line to preserve line numbers).
52422 if test "x$srcdir" = x.
; then
52423 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52424 s/:*\$(srcdir):*/:/
52425 s/:*\${srcdir}:*/:/
52427 s/^\([^=]*=[ ]*\):*/\1/
52433 cat >>$CONFIG_STATUS <<\_ACEOF
52434 fi # test -n "$CONFIG_FILES"
52437 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52440 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52442 case $ac_mode$ac_tag in
52444 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52445 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52446 { (exit 1); exit 1; }; };;
52447 :[FH
]-) ac_tag
=-:-;;
52448 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52465 -) ac_f
="$tmp/stdin";;
52466 *) # Look for the file first in the build tree, then in the source tree
52467 # (if the path is not absolute). The absolute path cannot be DOS-style,
52468 # because $ac_f cannot contain `:'.
52472 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52474 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52475 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52476 { (exit 1); exit 1; }; };;
52478 ac_file_inputs
="$ac_file_inputs $ac_f"
52481 # Let's still pretend it is `configure' which instantiates (i.e., don't
52482 # use $as_me), people would be surprised to read:
52483 # /* config.h. Generated by config.status. */
52484 configure_input
="Generated from "`IFS=:
52485 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52486 if test x
"$ac_file" != x
-; then
52487 configure_input
="$ac_file. $configure_input"
52488 { echo "$as_me:$LINENO: creating $ac_file" >&5
52489 echo "$as_me: creating $ac_file" >&6;}
52493 *:-:* | *:-) cat >"$tmp/stdin";;
52498 ac_dir
=`$as_dirname -- "$ac_file" ||
52499 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52500 X"$ac_file" : 'X\(//\)[^/]' \| \
52501 X"$ac_file" : 'X\(//\)$' \| \
52502 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52508 /^X\(\/\/\)[^/].*/{
52523 -*) as_dir
=.
/$as_dir;;
52525 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52529 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52530 *) as_qdir
=$as_dir;;
52532 as_dirs
="'$as_qdir' $as_dirs"
52533 as_dir
=`$as_dirname -- "$as_dir" ||
52534 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52535 X"$as_dir" : 'X\(//\)[^/]' \| \
52536 X"$as_dir" : 'X\(//\)$' \| \
52537 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52543 /^X\(\/\/\)[^/].*/{
52556 test -d "$as_dir" && break
52558 test -z "$as_dirs" || eval "mkdir $as_dirs"
52559 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52560 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52561 { (exit 1); exit 1; }; }; }
52565 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52567 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52568 # A ".." for each directory in $ac_dir_suffix.
52569 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52570 case $ac_top_builddir_sub in
52571 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52572 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52575 ac_abs_top_builddir
=$ac_pwd
52576 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52577 # for backward compatibility:
52578 ac_top_builddir
=$ac_top_build_prefix
52581 .
) # We are building in place.
52583 ac_top_srcdir
=$ac_top_builddir_sub
52584 ac_abs_top_srcdir
=$ac_pwd ;;
52585 [\\/]* | ?
:[\\/]* ) # Absolute name.
52586 ac_srcdir
=$srcdir$ac_dir_suffix;
52587 ac_top_srcdir
=$srcdir
52588 ac_abs_top_srcdir
=$srcdir ;;
52589 *) # Relative name.
52590 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52591 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52592 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52594 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52604 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52605 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52609 cat >>$CONFIG_STATUS <<\_ACEOF
52610 # If the template does not know about datarootdir, expand it.
52611 # FIXME: This hack should be removed a few years after 2.60.
52612 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52614 case `sed -n '/datarootdir/ {
52623 ' $ac_file_inputs` in
52624 *datarootdir
*) ac_datarootdir_seen
=yes;;
52625 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52626 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52627 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52629 cat >>$CONFIG_STATUS <<_ACEOF
52630 ac_datarootdir_hack='
52631 s&@datadir@&$datadir&g
52632 s&@docdir@&$docdir&g
52633 s&@infodir@&$infodir&g
52634 s&@localedir@&$localedir&g
52635 s&@mandir@&$mandir&g
52636 s&\\\${datarootdir}&$datarootdir&g' ;;
52640 # Neutralize VPATH when `$srcdir' = `.'.
52641 # Shell code in configure.ac might set extrasub.
52642 # FIXME: do we really want to maintain this feature?
52643 cat >>$CONFIG_STATUS <<_ACEOF
52647 cat >>$CONFIG_STATUS <<\_ACEOF
52649 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52650 s
&@configure_input@
&$configure_input&;t t
52651 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52652 s
&@srcdir@
&$ac_srcdir&;t t
52653 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52654 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52655 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52656 s
&@builddir@
&$ac_builddir&;t t
52657 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52658 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52659 s
&@INSTALL@
&$ac_INSTALL&;t t
52660 $ac_datarootdir_hack
52661 " $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
52663 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52664 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52665 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52666 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52667 which seems to be undefined. Please make sure it is defined." >&5
52668 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52669 which seems to be undefined. Please make sure it is defined." >&2;}
52673 -) cat "$tmp/out"; rm -f "$tmp/out";;
52674 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52683 # Transform confdefs.h into a sed script `conftest.defines', that
52684 # substitutes the proper values into config.h.in to produce config.h.
52685 rm -f conftest.defines conftest.
tail
52686 # First, append a space to every undef/define line, to ease matching.
52687 echo 's/$/ /' >conftest.defines
52688 # Then, protect against being on the right side of a sed subst, or in
52689 # an unquoted here document, in config.status. If some macros were
52690 # called several times there might be several #defines for the same
52691 # symbol, which is useless. But do not sort them, since the last
52692 # AC_DEFINE must be honored.
52693 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52694 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52695 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52696 # PARAMS is the parameter list in the macro definition--in most cases, it's
52697 # just an empty string.
52698 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52699 ac_dB
='\\)[ (].*,\\1define\\2'
52707 s/^[ ]*#[ ]*define[ ][ ]*//
52712 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52713 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52714 ' >>conftest.defines
52716 # Remove the space that was appended to ease matching.
52717 # Then replace #undef with comments. This is necessary, for
52718 # example, in the case of _POSIX_SOURCE, which is predefined and required
52719 # on some systems where configure will not decide to define it.
52720 # (The regexp can be short, since the line contains either #define or #undef.)
52722 s,^[ #]*u.*,/* & */,' >>conftest.defines
52724 # Break up conftest.defines:
52725 ac_max_sed_lines
=50
52727 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52728 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52729 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52731 ac_in
='$ac_file_inputs'
52732 ac_out
='"$tmp/out1"'
52733 ac_nxt
='"$tmp/out2"'
52737 # Write a here document:
52738 cat >>$CONFIG_STATUS <<_ACEOF
52739 # First, check the format of the line:
52740 cat >"\$tmp/defines.sed" <<\\CEOF
52741 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52742 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52746 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52748 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52749 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52750 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52751 grep . conftest.
tail >/dev
/null
|| break
52752 rm -f conftest.defines
52753 mv conftest.
tail conftest.defines
52755 rm -f conftest.defines conftest.
tail
52757 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52758 cat >>$CONFIG_STATUS <<\_ACEOF
52759 if test x
"$ac_file" != x
-; then
52760 echo "/* $configure_input */" >"$tmp/config.h"
52761 cat "$ac_result" >>"$tmp/config.h"
52762 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52763 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52764 echo "$as_me: $ac_file is unchanged" >&6;}
52767 mv "$tmp/config.h" $ac_file
52770 echo "/* $configure_input */"
52776 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52777 echo "$as_me: executing $ac_file commands" >&6;}
52782 case $ac_file$ac_mode in
52784 mkdir -p $outdir &&
52785 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52787 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52788 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52789 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52790 "wx-config":C
) rm -f wx
-config
52791 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52798 { (exit 0); exit 0; }
52800 chmod +x
$CONFIG_STATUS
52801 ac_clean_files
=$ac_clean_files_save
52804 # configure is writing to config.log, and then calls config.status.
52805 # config.status does its own redirection, appending to config.log.
52806 # Unfortunately, on DOS this fails, as config.log is still kept open
52807 # by configure, so config.status won't be able to write to it; its
52808 # output is simply discarded. So we exec the FD to /dev/null,
52809 # effectively closing config.log, so it can be properly (re)opened and
52810 # appended to by config.status. When coming back to configure, we
52811 # need to make the FD available again.
52812 if test "$no_create" != yes; then
52814 ac_config_status_args
=
52815 test "$silent" = yes &&
52816 ac_config_status_args
="$ac_config_status_args --quiet"
52818 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52820 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52821 # would make configure fail if this is the last instruction.
52822 $ac_cs_success || { (exit 1); exit 1; }
52826 # CONFIG_SUBDIRS section.
52828 if test "$no_recursion" != yes; then
52830 # Remove --cache-file and --srcdir arguments so they do not pile up.
52831 ac_sub_configure_args
=
52833 eval "set x $ac_configure_args"
52837 if test -n "$ac_prev"; then
52842 -cache-file | --cache-file | --cache-fil | --cache-fi \
52843 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52844 ac_prev
=cache_file
;;
52845 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52846 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52849 --config-cache | -C)
52851 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52853 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52855 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52857 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52861 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52863 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52867 # Always prepend --prefix to ensure using the same prefix
52868 # in subdir configurations.
52869 ac_arg
="--prefix=$prefix"
52871 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52873 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52876 if test "$silent" = yes; then
52877 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52881 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52883 # Do not complain, so a configure script can configure whichever
52884 # parts of a large source tree are present.
52885 test -d "$srcdir/$ac_dir" || continue
52887 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52888 echo "$as_me:$LINENO: $ac_msg" >&5
52892 -*) as_dir
=.
/$as_dir;;
52894 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52898 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52899 *) as_qdir
=$as_dir;;
52901 as_dirs
="'$as_qdir' $as_dirs"
52902 as_dir
=`$as_dirname -- "$as_dir" ||
52903 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52904 X"$as_dir" : 'X\(//\)[^/]' \| \
52905 X"$as_dir" : 'X\(//\)$' \| \
52906 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52912 /^X\(\/\/\)[^/].*/{
52925 test -d "$as_dir" && break
52927 test -z "$as_dirs" || eval "mkdir $as_dirs"
52928 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52929 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52930 { (exit 1); exit 1; }; }; }
52934 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52936 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52937 # A ".." for each directory in $ac_dir_suffix.
52938 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52939 case $ac_top_builddir_sub in
52940 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52941 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52944 ac_abs_top_builddir
=$ac_pwd
52945 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52946 # for backward compatibility:
52947 ac_top_builddir
=$ac_top_build_prefix
52950 .
) # We are building in place.
52952 ac_top_srcdir
=$ac_top_builddir_sub
52953 ac_abs_top_srcdir
=$ac_pwd ;;
52954 [\\/]* | ?
:[\\/]* ) # Absolute name.
52955 ac_srcdir
=$srcdir$ac_dir_suffix;
52956 ac_top_srcdir
=$srcdir
52957 ac_abs_top_srcdir
=$srcdir ;;
52958 *) # Relative name.
52959 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52960 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52961 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52963 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52968 # Check for guested configure; otherwise get Cygnus style configure.
52969 if test -f "$ac_srcdir/configure.gnu"; then
52970 ac_sub_configure
=$ac_srcdir/configure.gnu
52971 elif test -f "$ac_srcdir/configure"; then
52972 ac_sub_configure
=$ac_srcdir/configure
52973 elif test -f "$ac_srcdir/configure.in"; then
52974 # This should be Cygnus configure.
52975 ac_sub_configure
=$ac_aux_dir/configure
52977 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52982 # The recursion is here.
52983 if test -n "$ac_sub_configure"; then
52984 # Make the cache file name correct relative to the subdirectory.
52985 case $cache_file in
52986 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52987 *) # Relative name.
52988 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52991 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52992 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52993 # The eval makes quoting arguments work.
52994 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52995 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52996 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52997 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52998 { (exit 1); exit 1; }; }
53007 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53009 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53010 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53012 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53013 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53014 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53015 if test "$wxUSE_UNICODE" = "yes"; then
53016 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53017 echo " (using UTF-8)"
53019 echo " (using wchar_t)"
53025 echo " What level of wxWidgets compatibility should be enabled?"
53026 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53027 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53029 echo " Which libraries should wxWidgets use?"
53030 echo " STL ${wxUSE_STL}"
53031 echo " jpeg ${wxUSE_LIBJPEG-none}"
53032 echo " png ${wxUSE_LIBPNG-none}"
53033 echo " regex ${wxUSE_REGEX}"
53034 echo " tiff ${wxUSE_LIBTIFF-none}"
53035 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53036 echo " xpm ${wxUSE_LIBXPM-none}"
53038 echo " zlib ${wxUSE_ZLIB}"
53039 echo " expat ${wxUSE_EXPAT}"
53040 echo " libmspack ${wxUSE_LIBMSPACK}"
53041 echo " sdl ${wxUSE_LIBSDL}"