2 # From configure.in Id: configure.in 58155 2009-01-16 19:03:26Z VZ .
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; }
3218 if test "$wxUSE_ALL_FEATURES" = "no"; then
3219 DEFAULT_wxUSE_MEDIACTRL
=no
3223 if test "$wxUSE_GUI" = "yes"; then
3228 if test -z "$defaultval"; then
3229 if test x
"$enablestring" = xdisable
; then
3236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3237 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3238 # Check whether --enable-universal was given.
3239 if test "${enable_universal+set}" = set; then
3240 enableval
=$enable_universal;
3241 if test "$enableval" = yes; then
3242 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3244 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3249 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3254 eval "$wx_cv_use_universal"
3256 if test x"$enablestring" = xdisable; then
3257 if test $wxUSE_UNIVERSAL = yes; then
3263 result=$wxUSE_UNIVERSAL
3266 { echo "$as_me:$LINENO: result: $result" >&5
3267 echo "${ECHO_T}$result" >&6; }
3269 if test "$wxUSE_UNIVERSAL" = "yes"; then
3271 # Check whether --with-themes was given.
3272 if test "${with_themes+set}" = set; then
3273 withval=$with_themes; wxUNIV_THEMES="$withval"
3279 # Check whether --with-gtk was given.
3280 if test "${with_gtk+set}" = set; then
3281 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3285 # Check whether --with-motif was given.
3286 if test "${with_motif+set}" = set; then
3287 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3291 # Check whether --with-osx_carbon was given.
3292 if test "${with_osx_carbon+set}" = set; then
3293 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3297 # Check whether --with-osx_cocoa was given.
3298 if test "${with_osx_cocoa+set}" = set; then
3299 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3303 # Check whether --with-mac was given.
3304 if test "${with_mac+set}" = set; then
3305 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3309 # Check whether --with-cocoa was given.
3310 if test "${with_cocoa+set}" = set; then
3311 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3315 # Check whether --with-wine was given.
3316 if test "${with_wine+set}" = set; then
3317 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3321 # Check whether --with-msw was given.
3322 if test "${with_msw+set}" = set; then
3323 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3327 # Check whether --with-pm was given.
3328 if test "${with_pm+set}" = set; then
3329 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3333 # Check whether --with-mgl was given.
3334 if test "${with_mgl+set}" = set; then
3335 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3339 # Check whether --with-directfb was given.
3340 if test "${with_directfb+set}" = set; then
3341 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3345 # Check whether --with-microwin was given.
3346 if test "${with_microwin+set}" = set; then
3347 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3351 # Check whether --with-x11 was given.
3352 if test "${with_x11+set}" = set; then
3353 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3359 if test -z "$defaultval"; then
3360 if test x"$enablestring" = xdisable; then
3367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3368 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3369 # Check whether --enable-nanox was given.
3370 if test "${enable_nanox+set}" = set; then
3371 enableval=$enable_nanox;
3372 if test "$enableval" = yes; then
3373 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3375 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3380 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3385 eval "$wx_cv_use_nanox"
3387 if test x"$enablestring" = xdisable; then
3388 if test $wxUSE_NANOX = yes; then
3397 { echo "$as_me:$LINENO: result
: $result" >&5
3398 echo "${ECHO_T}$result" >&6; }
3401 # Check whether --enable-gtk2 was given.
3402 if test "${enable_gtk2+set}" = set; then
3403 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3409 if test -z "$defaultval"; then
3410 if test x"$enablestring" = xdisable; then
3417 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3418 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3419 # Check whether --enable-gpe was given.
3420 if test "${enable_gpe+set}" = set; then
3421 enableval=$enable_gpe;
3422 if test "$enableval" = yes; then
3423 wx_cv_use_gpe='wxUSE_GPE=yes'
3425 wx_cv_use_gpe='wxUSE_GPE=no'
3430 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3435 eval "$wx_cv_use_gpe"
3437 if test x
"$enablestring" = xdisable
; then
3438 if test $wxUSE_GPE = yes; then
3447 { echo "$as_me:$LINENO: result: $result" >&5
3448 echo "${ECHO_T}$result" >&6; }
3452 { echo "$as_me:$LINENO: checking for toolkit" >&5
3453 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3457 # In Wine, we need to default to MSW, not GTK or MOTIF
3458 if test "$wxUSE_WINE" = "yes"; then
3459 DEFAULT_DEFAULT_wxUSE_GTK
=0
3460 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3461 DEFAULT_DEFAULT_wxUSE_MSW
=1
3468 if test "$wxUSE_GUI" = "yes"; then
3470 if test "$USE_BEOS" = 1; then
3471 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3472 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3473 { (exit 1); exit 1; }; }
3476 if test "$TOOLKIT_GIVEN" = 1; then
3477 for toolkit
in $ALL_TOOLKITS; do
3479 eval "value=\$${var}"
3480 if test "x$value" = "xno"; then
3482 elif test "x$value" != "x"; then
3486 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3487 eval "wx${toolkit}_VERSION=$value"
3491 for toolkit
in $ALL_TOOLKITS; do
3492 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3493 eval "wxUSE_$toolkit=\$${var}"
3497 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3498 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3499 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3502 *-pc-os2_emx | *-pc-os2-emx )
3503 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3506 case "$NUM_TOOLKITS" in
3510 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3511 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3512 { (exit 1); exit 1; }; }
3515 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3516 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3517 { (exit 1); exit 1; }; }
3520 # to be removed when --disable-gtk2 isn't needed
3521 if test "x$wxUSE_GTK2" = "xyes"; then
3523 elif test "x$wxUSE_GTK2" = "xno"; then
3527 for toolkit
in $ALL_TOOLKITS; do
3529 eval "value=\$${var}"
3530 if test "$value" = 1; then
3531 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3532 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3533 echo "${ECHO_T}$toolkit_echo" >&6; }
3537 if test "x$host_alias" != "x"; then
3538 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3539 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3541 { echo "$as_me:$LINENO: result: base only" >&5
3542 echo "${ECHO_T}base only" >&6; }
3547 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3553 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3554 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3556 # Check whether --with-libpng was given.
3557 if test "${with_libpng+set}" = set; then
3558 withval
=$with_libpng;
3559 if test "$withval" = yes; then
3560 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3561 elif test "$withval" = no
; then
3562 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3563 elif test "$withval" = sys
; then
3564 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3565 elif test "$withval" = builtin; then
3566 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3568 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3569 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3570 { (exit 1); exit 1; }; }
3575 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3580 eval "$wx_cv_use_libpng"
3582 if test "$wxUSE_LIBPNG" = yes; then
3583 { echo "$as_me:$LINENO: result: yes" >&5
3584 echo "${ECHO_T}yes" >&6; }
3585 elif test "$wxUSE_LIBPNG" = no; then
3586 { echo "$as_me:$LINENO: result: no" >&5
3587 echo "${ECHO_T}no" >&6; }
3588 elif test "$wxUSE_LIBPNG" = sys; then
3589 { echo "$as_me:$LINENO: result: system version" >&5
3590 echo "${ECHO_T}system version" >&6; }
3591 elif test "$wxUSE_LIBPNG" = builtin; then
3592 { echo "$as_me:$LINENO: result: builtin version" >&5
3593 echo "${ECHO_T}builtin version" >&6; }
3595 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3596 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3597 { (exit 1); exit 1; }; }
3601 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3602 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3604 # Check whether --with-libjpeg was given.
3605 if test "${with_libjpeg+set}" = set; then
3606 withval=$with_libjpeg;
3607 if test "$withval" = yes; then
3608 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3609 elif test "$withval" = no; then
3610 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3611 elif test "$withval" = sys; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3613 elif test "$withval" = builtin; then
3614 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3616 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3617 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3618 { (exit 1); exit 1; }; }
3623 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3628 eval "$wx_cv_use_libjpeg"
3630 if test "$wxUSE_LIBJPEG" = yes; then
3631 { echo "$as_me:$LINENO: result
: yes" >&5
3632 echo "${ECHO_T}yes" >&6; }
3633 elif test "$wxUSE_LIBJPEG" = no; then
3634 { echo "$as_me:$LINENO: result
: no
" >&5
3635 echo "${ECHO_T}no
" >&6; }
3636 elif test "$wxUSE_LIBJPEG" = sys; then
3637 { echo "$as_me:$LINENO: result
: system version
" >&5
3638 echo "${ECHO_T}system version
" >&6; }
3639 elif test "$wxUSE_LIBJPEG" = builtin; then
3640 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3641 echo "${ECHO_T}builtin version
" >&6; }
3643 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3644 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3645 { (exit 1); exit 1; }; }
3649 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3650 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3652 # Check whether --with-libtiff was given.
3653 if test "${with_libtiff+set}" = set; then
3654 withval=$with_libtiff;
3655 if test "$withval" = yes; then
3656 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3657 elif test "$withval" = no; then
3658 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3659 elif test "$withval" = sys; then
3660 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3661 elif test "$withval" = builtin; then
3662 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3664 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3665 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3666 { (exit 1); exit 1; }; }
3671 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3676 eval "$wx_cv_use_libtiff"
3678 if test "$wxUSE_LIBTIFF" = yes; then
3679 { echo "$as_me:$LINENO: result: yes" >&5
3680 echo "${ECHO_T}yes" >&6; }
3681 elif test "$wxUSE_LIBTIFF" = no
; then
3682 { echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6; }
3684 elif test "$wxUSE_LIBTIFF" = sys
; then
3685 { echo "$as_me:$LINENO: result: system version" >&5
3686 echo "${ECHO_T}system version" >&6; }
3687 elif test "$wxUSE_LIBTIFF" = builtin; then
3688 { echo "$as_me:$LINENO: result: builtin version" >&5
3689 echo "${ECHO_T}builtin version" >&6; }
3691 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3692 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3693 { (exit 1); exit 1; }; }
3697 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3698 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3700 # Check whether --with-libxpm was given.
3701 if test "${with_libxpm+set}" = set; then
3702 withval
=$with_libxpm;
3703 if test "$withval" = yes; then
3704 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3705 elif test "$withval" = no
; then
3706 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3707 elif test "$withval" = sys
; then
3708 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3709 elif test "$withval" = builtin; then
3710 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3712 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3713 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3719 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3724 eval "$wx_cv_use_libxpm"
3726 if test "$wxUSE_LIBXPM" = yes; then
3727 { echo "$as_me:$LINENO: result: yes" >&5
3728 echo "${ECHO_T}yes" >&6; }
3729 elif test "$wxUSE_LIBXPM" = no; then
3730 { echo "$as_me:$LINENO: result: no" >&5
3731 echo "${ECHO_T}no" >&6; }
3732 elif test "$wxUSE_LIBXPM" = sys; then
3733 { echo "$as_me:$LINENO: result: system version" >&5
3734 echo "${ECHO_T}system version" >&6; }
3735 elif test "$wxUSE_LIBXPM" = builtin; then
3736 { echo "$as_me:$LINENO: result: builtin version" >&5
3737 echo "${ECHO_T}builtin version" >&6; }
3739 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3740 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3741 { (exit 1); exit 1; }; }
3746 defaultval=$wxUSE_ALL_FEATURES
3747 if test -z "$defaultval"; then
3748 if test x"$withstring" = xwithout; then
3754 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3755 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3757 # Check whether --with-libiconv was given.
3758 if test "${with_libiconv+set}" = set; then
3759 withval=$with_libiconv;
3760 if test "$withval" = yes; then
3761 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3763 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3768 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3773 eval "$wx_cv_use_libiconv"
3775 if test x"$withstring" = xwithout; then
3776 if test $wxUSE_LIBICONV = yes; then
3782 result=$wxUSE_LIBICONV
3785 { echo "$as_me:$LINENO: result
: $result" >&5
3786 echo "${ECHO_T}$result" >&6; }
3790 defaultval=$wxUSE_ALL_FEATURES
3791 if test -z "$defaultval"; then
3792 if test x"$withstring" = xwithout; then
3798 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3799 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3801 # Check whether --with-libmspack was given.
3802 if test "${with_libmspack+set}" = set; then
3803 withval=$with_libmspack;
3804 if test "$withval" = yes; then
3805 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3807 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3812 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3817 eval "$wx_cv_use_libmspack"
3819 if test x
"$withstring" = xwithout
; then
3820 if test $wxUSE_LIBMSPACK = yes; then
3826 result
=$wxUSE_LIBMSPACK
3829 { echo "$as_me:$LINENO: result: $result" >&5
3830 echo "${ECHO_T}$result" >&6; }
3834 defaultval
=$wxUSE_ALL_FEATURES
3835 if test -z "$defaultval"; then
3836 if test x
"$withstring" = xwithout
; then
3842 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3843 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3845 # Check whether --with-gtkprint was given.
3846 if test "${with_gtkprint+set}" = set; then
3847 withval
=$with_gtkprint;
3848 if test "$withval" = yes; then
3849 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3851 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3856 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3861 eval "$wx_cv_use_gtkprint"
3863 if test x"$withstring" = xwithout; then
3864 if test $wxUSE_GTKPRINT = yes; then
3870 result=$wxUSE_GTKPRINT
3873 { echo "$as_me:$LINENO: result: $result" >&5
3874 echo "${ECHO_T}$result" >&6; }
3878 defaultval=$wxUSE_ALL_FEATURES
3879 if test -z "$defaultval"; then
3880 if test x"$withstring" = xwithout; then
3886 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3887 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3889 # Check whether --with-gnomeprint was given.
3890 if test "${with_gnomeprint+set}" = set; then
3891 withval=$with_gnomeprint;
3892 if test "$withval" = yes; then
3893 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3900 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3905 eval "$wx_cv_use_gnomeprint"
3907 if test x"$withstring" = xwithout; then
3908 if test $wxUSE_LIBGNOMEPRINT = yes; then
3914 result=$wxUSE_LIBGNOMEPRINT
3917 { echo "$as_me:$LINENO: result
: $result" >&5
3918 echo "${ECHO_T}$result" >&6; }
3922 defaultval=$wxUSE_ALL_FEATURES
3923 if test -z "$defaultval"; then
3924 if test x"$withstring" = xwithout; then
3930 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3931 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3933 # Check whether --with-gnomevfs was given.
3934 if test "${with_gnomevfs+set}" = set; then
3935 withval=$with_gnomevfs;
3936 if test "$withval" = yes; then
3937 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3939 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3944 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3949 eval "$wx_cv_use_gnomevfs"
3951 if test x
"$withstring" = xwithout
; then
3952 if test $wxUSE_LIBGNOMEVFS = yes; then
3958 result
=$wxUSE_LIBGNOMEVFS
3961 { echo "$as_me:$LINENO: result: $result" >&5
3962 echo "${ECHO_T}$result" >&6; }
3966 defaultval
=$wxUSE_ALL_FEATURES
3967 if test -z "$defaultval"; then
3968 if test x
"$withstring" = xwithout
; then
3974 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3975 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3977 # Check whether --with-hildon was given.
3978 if test "${with_hildon+set}" = set; then
3979 withval
=$with_hildon;
3980 if test "$withval" = yes; then
3981 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3983 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
3988 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3993 eval "$wx_cv_use_hildon"
3995 if test x"$withstring" = xwithout; then
3996 if test $wxUSE_LIBHILDON = yes; then
4002 result=$wxUSE_LIBHILDON
4005 { echo "$as_me:$LINENO: result: $result" >&5
4006 echo "${ECHO_T}$result" >&6; }
4010 defaultval=$wxUSE_ALL_FEATURES
4011 if test -z "$defaultval"; then
4012 if test x"$withstring" = xwithout; then
4018 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4019 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4021 # Check whether --with-opengl was given.
4022 if test "${with_opengl+set}" = set; then
4023 withval=$with_opengl;
4024 if test "$withval" = yes; then
4025 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4027 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4032 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4037 eval "$wx_cv_use_opengl"
4039 if test x"$withstring" = xwithout; then
4040 if test $wxUSE_OPENGL = yes; then
4046 result=$wxUSE_OPENGL
4049 { echo "$as_me:$LINENO: result
: $result" >&5
4050 echo "${ECHO_T}$result" >&6; }
4057 defaultval=$wxUSE_ALL_FEATURES
4058 if test -z "$defaultval"; then
4059 if test x"$withstring" = xwithout; then
4065 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4066 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4068 # Check whether --with-dmalloc was given.
4069 if test "${with_dmalloc+set}" = set; then
4070 withval=$with_dmalloc;
4071 if test "$withval" = yes; then
4072 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4074 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4079 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4084 eval "$wx_cv_use_dmalloc"
4086 if test x
"$withstring" = xwithout
; then
4087 if test $wxUSE_DMALLOC = yes; then
4093 result
=$wxUSE_DMALLOC
4096 { echo "$as_me:$LINENO: result: $result" >&5
4097 echo "${ECHO_T}$result" >&6; }
4101 defaultval
=$wxUSE_ALL_FEATURES
4102 if test -z "$defaultval"; then
4103 if test x
"$withstring" = xwithout
; then
4109 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4110 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4112 # Check whether --with-sdl was given.
4113 if test "${with_sdl+set}" = set; then
4115 if test "$withval" = yes; then
4116 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4118 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4123 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4128 eval "$wx_cv_use_sdl"
4130 if test x"$withstring" = xwithout; then
4131 if test $wxUSE_LIBSDL = yes; then
4137 result=$wxUSE_LIBSDL
4140 { echo "$as_me:$LINENO: result: $result" >&5
4141 echo "${ECHO_T}$result" >&6; }
4144 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4145 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4147 # Check whether --with-regex was given.
4148 if test "${with_regex+set}" = set; then
4149 withval=$with_regex;
4150 if test "$withval" = yes; then
4151 wx_cv_use_regex='wxUSE_REGEX
=yes'
4152 elif test "$withval" = no; then
4153 wx_cv_use_regex='wxUSE_REGEX
=no
'
4154 elif test "$withval" = sys; then
4155 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4156 elif test "$withval" = builtin; then
4157 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4159 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4160 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4161 { (exit 1); exit 1; }; }
4166 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4171 eval "$wx_cv_use_regex"
4173 if test "$wxUSE_REGEX" = yes; then
4174 { echo "$as_me:$LINENO: result
: yes" >&5
4175 echo "${ECHO_T}yes" >&6; }
4176 elif test "$wxUSE_REGEX" = no; then
4177 { echo "$as_me:$LINENO: result
: no
" >&5
4178 echo "${ECHO_T}no
" >&6; }
4179 elif test "$wxUSE_REGEX" = sys; then
4180 { echo "$as_me:$LINENO: result
: system version
" >&5
4181 echo "${ECHO_T}system version
" >&6; }
4182 elif test "$wxUSE_REGEX" = builtin; then
4183 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4184 echo "${ECHO_T}builtin version
" >&6; }
4186 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4187 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4188 { (exit 1); exit 1; }; }
4192 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4193 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4195 # Check whether --with-zlib was given.
4196 if test "${with_zlib+set}" = set; then
4198 if test "$withval" = yes; then
4199 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4200 elif test "$withval" = no; then
4201 wx_cv_use_zlib='wxUSE_ZLIB=no'
4202 elif test "$withval" = sys; then
4203 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4204 elif test "$withval" = builtin; then
4205 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4207 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4208 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4209 { (exit 1); exit 1; }; }
4214 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4219 eval "$wx_cv_use_zlib"
4221 if test "$wxUSE_ZLIB" = yes; then
4222 { echo "$as_me:$LINENO: result: yes" >&5
4223 echo "${ECHO_T}yes" >&6; }
4224 elif test "$wxUSE_ZLIB" = no
; then
4225 { echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6; }
4227 elif test "$wxUSE_ZLIB" = sys
; then
4228 { echo "$as_me:$LINENO: result: system version" >&5
4229 echo "${ECHO_T}system version" >&6; }
4230 elif test "$wxUSE_ZLIB" = builtin; then
4231 { echo "$as_me:$LINENO: result: builtin version" >&5
4232 echo "${ECHO_T}builtin version" >&6; }
4234 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4235 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4236 { (exit 1); exit 1; }; }
4240 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4241 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4243 # Check whether --with-expat was given.
4244 if test "${with_expat+set}" = set; then
4245 withval
=$with_expat;
4246 if test "$withval" = yes; then
4247 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4248 elif test "$withval" = no
; then
4249 wx_cv_use_expat
='wxUSE_EXPAT=no'
4250 elif test "$withval" = sys
; then
4251 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4252 elif test "$withval" = builtin; then
4253 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4255 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4256 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4257 { (exit 1); exit 1; }; }
4262 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4267 eval "$wx_cv_use_expat"
4269 if test "$wxUSE_EXPAT" = yes; then
4270 { echo "$as_me:$LINENO: result: yes" >&5
4271 echo "${ECHO_T}yes" >&6; }
4272 elif test "$wxUSE_EXPAT" = no; then
4273 { echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6; }
4275 elif test "$wxUSE_EXPAT" = sys; then
4276 { echo "$as_me:$LINENO: result: system version" >&5
4277 echo "${ECHO_T}system version" >&6; }
4278 elif test "$wxUSE_EXPAT" = builtin; then
4279 { echo "$as_me:$LINENO: result: builtin version" >&5
4280 echo "${ECHO_T}builtin version" >&6; }
4282 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4283 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4284 { (exit 1); exit 1; }; }
4288 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4289 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4291 # Check whether --with-macosx-sdk was given.
4292 if test "${with_macosx_sdk+set}" = set; then
4293 withval=$with_macosx_sdk;
4294 wxUSE_MACOSX_SDK=$withval
4295 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4299 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4300 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4302 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4303 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4305 # Check whether --with-macosx-version-min was given.
4306 if test "${with_macosx_version_min+set}" = set; then
4307 withval=$with_macosx_version_min;
4308 wxUSE_MACOSX_VERSION_MIN=$withval
4309 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4313 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4314 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4318 enablestring=disable
4320 if test -z "$defaultval"; then
4321 if test x"$enablestring" = xdisable; then
4328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4329 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4330 # Check whether --enable-shared was given.
4331 if test "${enable_shared+set}" = set; then
4332 enableval=$enable_shared;
4333 if test "$enableval" = yes; then
4334 wx_cv_use_shared='wxUSE_SHARED
=yes'
4336 wx_cv_use_shared='wxUSE_SHARED
=no
'
4341 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4346 eval "$wx_cv_use_shared"
4348 if test x"$enablestring" = xdisable; then
4349 if test $wxUSE_SHARED = yes; then
4355 result=$wxUSE_SHARED
4358 { echo "$as_me:$LINENO: result
: $result" >&5
4359 echo "${ECHO_T}$result" >&6; }
4364 if test -z "$defaultval"; then
4365 if test x"$enablestring" = xdisable; then
4372 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4373 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4374 # Check whether --enable-debug was given.
4375 if test "${enable_debug+set}" = set; then
4376 enableval=$enable_debug;
4377 if test "$enableval" = yes; then
4378 wx_cv_use_debug='wxUSE_DEBUG=yes'
4380 wx_cv_use_debug='wxUSE_DEBUG=no'
4385 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4390 eval "$wx_cv_use_debug"
4392 if test x
"$enablestring" = xdisable
; then
4393 if test $wxUSE_DEBUG = yes; then
4402 { echo "$as_me:$LINENO: result: $result" >&5
4403 echo "${ECHO_T}$result" >&6; }
4408 if test -z "$defaultval"; then
4409 if test x
"$enablestring" = xdisable
; then
4416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4417 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4418 # Check whether --enable-stl was given.
4419 if test "${enable_stl+set}" = set; then
4420 enableval
=$enable_stl;
4421 if test "$enableval" = yes; then
4422 wx_cv_use_stl
='wxUSE_STL=yes'
4424 wx_cv_use_stl
='wxUSE_STL=no'
4429 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4434 eval "$wx_cv_use_stl"
4436 if test x"$enablestring" = xdisable; then
4437 if test $wxUSE_STL = yes; then
4446 { echo "$as_me:$LINENO: result: $result" >&5
4447 echo "${ECHO_T}$result" >&6; }
4452 if test -z "$defaultval"; then
4453 if test x"$enablestring" = xdisable; then
4460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4461 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4462 # Check whether --enable-std_iostreams was given.
4463 if test "${enable_std_iostreams+set}" = set; then
4464 enableval=$enable_std_iostreams;
4465 if test "$enableval" = yes; then
4466 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4468 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4473 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4478 eval "$wx_cv_use_std_iostreams"
4480 if test x"$enablestring" = xdisable; then
4481 if test $wxUSE_STD_IOSTREAM = yes; then
4487 result=$wxUSE_STD_IOSTREAM
4490 { echo "$as_me:$LINENO: result
: $result" >&5
4491 echo "${ECHO_T}$result" >&6; }
4496 if test -z "$defaultval"; then
4497 if test x"$enablestring" = xdisable; then
4504 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4505 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4506 # Check whether --enable-std_string was given.
4507 if test "${enable_std_string+set}" = set; then
4508 enableval=$enable_std_string;
4509 if test "$enableval" = yes; then
4510 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4512 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4517 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4522 eval "$wx_cv_use_std_string"
4524 if test x
"$enablestring" = xdisable
; then
4525 if test $wxUSE_STD_STRING = yes; then
4531 result
=$wxUSE_STD_STRING
4534 { echo "$as_me:$LINENO: result: $result" >&5
4535 echo "${ECHO_T}$result" >&6; }
4538 enablestring
=disable
4540 if test -z "$defaultval"; then
4541 if test x
"$enablestring" = xdisable
; then
4548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4550 # Check whether --enable-unicode was given.
4551 if test "${enable_unicode+set}" = set; then
4552 enableval
=$enable_unicode;
4553 if test "$enableval" = yes; then
4554 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4556 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4561 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4566 eval "$wx_cv_use_unicode"
4568 if test x"$enablestring" = xdisable; then
4569 if test $wxUSE_UNICODE = yes; then
4575 result=$wxUSE_UNICODE
4578 { echo "$as_me:$LINENO: result: $result" >&5
4579 echo "${ECHO_T}$result" >&6; }
4584 if test -z "$defaultval"; then
4585 if test x"$enablestring" = xdisable; then
4592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4593 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4594 # Check whether --enable-mslu was given.
4595 if test "${enable_mslu+set}" = set; then
4596 enableval=$enable_mslu;
4597 if test "$enableval" = yes; then
4598 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4600 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4605 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4610 eval "$wx_cv_use_mslu"
4612 if test x"$enablestring" = xdisable; then
4613 if test $wxUSE_UNICODE_MSLU = yes; then
4619 result=$wxUSE_UNICODE_MSLU
4622 { echo "$as_me:$LINENO: result
: $result" >&5
4623 echo "${ECHO_T}$result" >&6; }
4627 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4628 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4629 # Check whether --enable-utf8 was given.
4630 if test "${enable_utf8+set}" = set; then
4631 enableval=$enable_utf8;
4632 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4636 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4641 eval "$wx_cv_use_utf8"
4643 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4644 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4649 if test -z "$defaultval"; then
4650 if test x"$enablestring" = xdisable; then
4657 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4658 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4659 # Check whether --enable-utf8only was given.
4660 if test "${enable_utf8only+set}" = set; then
4661 enableval=$enable_utf8only;
4662 if test "$enableval" = yes; then
4663 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4665 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4670 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4675 eval "$wx_cv_use_utf8only"
4677 if test x
"$enablestring" = xdisable
; then
4678 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4684 result
=$wxUSE_UNICODE_UTF8_LOCALE
4687 { echo "$as_me:$LINENO: result: $result" >&5
4688 echo "${ECHO_T}$result" >&6; }
4693 if test -z "$defaultval"; then
4694 if test x
"$enablestring" = xdisable
; then
4701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4703 # Check whether --enable-extended_rtti was given.
4704 if test "${enable_extended_rtti+set}" = set; then
4705 enableval
=$enable_extended_rtti;
4706 if test "$enableval" = yes; then
4707 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4709 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4714 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4719 eval "$wx_cv_use_extended_rtti"
4721 if test x"$enablestring" = xdisable; then
4722 if test $wxUSE_EXTENDED_RTTI = yes; then
4728 result=$wxUSE_EXTENDED_RTTI
4731 { echo "$as_me:$LINENO: result: $result" >&5
4732 echo "${ECHO_T}$result" >&6; }
4734 if test "$USE_OS2" = 1; then
4735 DEFAULT_wxUSE_OMF=no
4739 if test -z "$defaultval"; then
4740 if test x"$enablestring" = xdisable; then
4747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4749 # Check whether --enable-omf was given.
4750 if test "${enable_omf+set}" = set; then
4751 enableval=$enable_omf;
4752 if test "$enableval" = yes; then
4753 wx_cv_use_omf='wxUSE_OMF
=yes'
4755 wx_cv_use_omf='wxUSE_OMF
=no
'
4760 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4765 eval "$wx_cv_use_omf"
4767 if test x"$enablestring" = xdisable; then
4768 if test $wxUSE_OMF = yes; then
4777 { echo "$as_me:$LINENO: result
: $result" >&5
4778 echo "${ECHO_T}$result" >&6; }
4782 if test "$wxUSE_DEBUG" = "yes"; then
4783 DEFAULT_wxUSE_DEBUG_FLAG=yes
4784 DEFAULT_wxUSE_DEBUG_INFO=yes
4786 elif test "$wxUSE_DEBUG" = "no
"; then
4787 DEFAULT_wxUSE_DEBUG_FLAG=no
4788 DEFAULT_wxUSE_DEBUG_INFO=no
4795 if test -z "$defaultval"; then
4796 if test x"$enablestring" = xdisable; then
4803 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4804 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4805 # Check whether --enable-debug_flag was given.
4806 if test "${enable_debug_flag+set}" = set; then
4807 enableval=$enable_debug_flag;
4808 if test "$enableval" = yes; then
4809 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4811 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4816 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4821 eval "$wx_cv_use_debug_flag"
4823 if test x
"$enablestring" = xdisable
; then
4824 if test $wxUSE_DEBUG_FLAG = yes; then
4830 result
=$wxUSE_DEBUG_FLAG
4833 { echo "$as_me:$LINENO: result: $result" >&5
4834 echo "${ECHO_T}$result" >&6; }
4839 if test -z "$defaultval"; then
4840 if test x
"$enablestring" = xdisable
; then
4847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4848 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4849 # Check whether --enable-debug_info was given.
4850 if test "${enable_debug_info+set}" = set; then
4851 enableval
=$enable_debug_info;
4852 if test "$enableval" = yes; then
4853 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4855 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4860 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4865 eval "$wx_cv_use_debug_info"
4867 if test x"$enablestring" = xdisable; then
4868 if test $wxUSE_DEBUG_INFO = yes; then
4874 result=$wxUSE_DEBUG_INFO
4877 { echo "$as_me:$LINENO: result: $result" >&5
4878 echo "${ECHO_T}$result" >&6; }
4881 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4886 if test "$wxUSE_DEBUG" = "yes"; then
4887 DEFAULT_wxUSE_OPTIMISE=no
4891 enablestring=disable
4893 if test -z "$defaultval"; then
4894 if test x"$enablestring" = xdisable; then
4901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4903 # Check whether --enable-optimise was given.
4904 if test "${enable_optimise+set}" = set; then
4905 enableval=$enable_optimise;
4906 if test "$enableval" = yes; then
4907 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4909 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4914 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4919 eval "$wx_cv_use_optimise"
4921 if test x"$enablestring" = xdisable; then
4922 if test $wxUSE_OPTIMISE = yes; then
4928 result=$wxUSE_OPTIMISE
4931 { echo "$as_me:$LINENO: result
: $result" >&5
4932 echo "${ECHO_T}$result" >&6; }
4938 if test -z "$defaultval"; then
4939 if test x"$enablestring" = xdisable; then
4946 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4947 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4948 # Check whether --enable-debug_gdb was given.
4949 if test "${enable_debug_gdb+set}" = set; then
4950 enableval=$enable_debug_gdb;
4951 if test "$enableval" = yes; then
4952 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4954 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4959 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4964 eval "$wx_cv_use_debug_gdb"
4966 if test x
"$enablestring" = xdisable
; then
4967 if test $wxUSE_DEBUG_GDB = yes; then
4973 result
=$wxUSE_DEBUG_GDB
4976 { echo "$as_me:$LINENO: result: $result" >&5
4977 echo "${ECHO_T}$result" >&6; }
4982 if test -z "$defaultval"; then
4983 if test x
"$enablestring" = xdisable
; then
4990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4992 # Check whether --enable-debug_cntxt was given.
4993 if test "${enable_debug_cntxt+set}" = set; then
4994 enableval
=$enable_debug_cntxt;
4995 if test "$enableval" = yes; then
4996 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4998 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5003 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5008 eval "$wx_cv_use_debug_cntxt"
5010 if test x"$enablestring" = xdisable; then
5011 if test $wxUSE_DEBUG_CONTEXT = yes; then
5017 result=$wxUSE_DEBUG_CONTEXT
5020 { echo "$as_me:$LINENO: result: $result" >&5
5021 echo "${ECHO_T}$result" >&6; }
5026 if test -z "$defaultval"; then
5027 if test x"$enablestring" = xdisable; then
5034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5035 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5036 # Check whether --enable-mem_tracing was given.
5037 if test "${enable_mem_tracing+set}" = set; then
5038 enableval=$enable_mem_tracing;
5039 if test "$enableval" = yes; then
5040 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5042 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5047 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5052 eval "$wx_cv_use_mem_tracing"
5054 if test x"$enablestring" = xdisable; then
5055 if test $wxUSE_MEM_TRACING = yes; then
5061 result=$wxUSE_MEM_TRACING
5064 { echo "$as_me:$LINENO: result
: $result" >&5
5065 echo "${ECHO_T}$result" >&6; }
5070 if test -z "$defaultval"; then
5071 if test x"$enablestring" = xdisable; then
5078 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5079 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5080 # Check whether --enable-profile was given.
5081 if test "${enable_profile+set}" = set; then
5082 enableval=$enable_profile;
5083 if test "$enableval" = yes; then
5084 wx_cv_use_profile='wxUSE_PROFILE=yes'
5086 wx_cv_use_profile='wxUSE_PROFILE=no'
5091 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5096 eval "$wx_cv_use_profile"
5098 if test x
"$enablestring" = xdisable
; then
5099 if test $wxUSE_PROFILE = yes; then
5105 result
=$wxUSE_PROFILE
5108 { echo "$as_me:$LINENO: result: $result" >&5
5109 echo "${ECHO_T}$result" >&6; }
5114 if test -z "$defaultval"; then
5115 if test x
"$enablestring" = xdisable
; then
5122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5123 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5124 # Check whether --enable-no_rtti was given.
5125 if test "${enable_no_rtti+set}" = set; then
5126 enableval
=$enable_no_rtti;
5127 if test "$enableval" = yes; then
5128 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5130 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5135 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5140 eval "$wx_cv_use_no_rtti"
5142 if test x"$enablestring" = xdisable; then
5143 if test $wxUSE_NO_RTTI = yes; then
5149 result=$wxUSE_NO_RTTI
5152 { echo "$as_me:$LINENO: result: $result" >&5
5153 echo "${ECHO_T}$result" >&6; }
5158 if test -z "$defaultval"; then
5159 if test x"$enablestring" = xdisable; then
5166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5167 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5168 # Check whether --enable-no_exceptions was given.
5169 if test "${enable_no_exceptions+set}" = set; then
5170 enableval=$enable_no_exceptions;
5171 if test "$enableval" = yes; then
5172 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5174 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5179 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5184 eval "$wx_cv_use_no_exceptions"
5186 if test x"$enablestring" = xdisable; then
5187 if test $wxUSE_NO_EXCEPTIONS = yes; then
5193 result=$wxUSE_NO_EXCEPTIONS
5196 { echo "$as_me:$LINENO: result
: $result" >&5
5197 echo "${ECHO_T}$result" >&6; }
5202 if test -z "$defaultval"; then
5203 if test x"$enablestring" = xdisable; then
5210 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5211 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5212 # Check whether --enable-permissive was given.
5213 if test "${enable_permissive+set}" = set; then
5214 enableval=$enable_permissive;
5215 if test "$enableval" = yes; then
5216 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5218 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5223 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5228 eval "$wx_cv_use_permissive"
5230 if test x
"$enablestring" = xdisable
; then
5231 if test $wxUSE_PERMISSIVE = yes; then
5237 result
=$wxUSE_PERMISSIVE
5240 { echo "$as_me:$LINENO: result: $result" >&5
5241 echo "${ECHO_T}$result" >&6; }
5246 if test -z "$defaultval"; then
5247 if test x
"$enablestring" = xdisable
; then
5254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5255 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5256 # Check whether --enable-no_deps was given.
5257 if test "${enable_no_deps+set}" = set; then
5258 enableval
=$enable_no_deps;
5259 if test "$enableval" = yes; then
5260 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5262 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5267 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5272 eval "$wx_cv_use_no_deps"
5274 if test x"$enablestring" = xdisable; then
5275 if test $wxUSE_NO_DEPS = yes; then
5281 result=$wxUSE_NO_DEPS
5284 { echo "$as_me:$LINENO: result: $result" >&5
5285 echo "${ECHO_T}$result" >&6; }
5288 enablestring=disable
5290 if test -z "$defaultval"; then
5291 if test x"$enablestring" = xdisable; then
5298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5300 # Check whether --enable-vararg_macros was given.
5301 if test "${enable_vararg_macros+set}" = set; then
5302 enableval=$enable_vararg_macros;
5303 if test "$enableval" = yes; then
5304 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5306 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5311 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5316 eval "$wx_cv_use_vararg_macros"
5318 if test x"$enablestring" = xdisable; then
5319 if test $wxUSE_VARARG_MACROS = yes; then
5325 result=$wxUSE_VARARG_MACROS
5328 { echo "$as_me:$LINENO: result
: $result" >&5
5329 echo "${ECHO_T}$result" >&6; }
5333 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5334 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5335 # Check whether --enable-universal_binary was given.
5336 if test "${enable_universal_binary+set}" = set; then
5337 enableval=$enable_universal_binary;
5338 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5342 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5347 eval "$wx_cv_use_universal_binary"
5349 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5350 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5356 if test -z "$defaultval"; then
5357 if test x"$enablestring" = xdisable; then
5364 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5365 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5366 # Check whether --enable-compat26 was given.
5367 if test "${enable_compat26+set}" = set; then
5368 enableval=$enable_compat26;
5369 if test "$enableval" = yes; then
5370 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5372 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5377 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5382 eval "$wx_cv_use_compat26"
5384 if test x
"$enablestring" = xdisable
; then
5385 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5391 result
=$WXWIN_COMPATIBILITY_2_6
5394 { echo "$as_me:$LINENO: result: $result" >&5
5395 echo "${ECHO_T}$result" >&6; }
5398 enablestring
=disable
5400 if test -z "$defaultval"; then
5401 if test x
"$enablestring" = xdisable
; then
5408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5410 # Check whether --enable-compat28 was given.
5411 if test "${enable_compat28+set}" = set; then
5412 enableval
=$enable_compat28;
5413 if test "$enableval" = yes; then
5414 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5416 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5421 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5426 eval "$wx_cv_use_compat28"
5428 if test x"$enablestring" = xdisable; then
5429 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5435 result=$WXWIN_COMPATIBILITY_2_8
5438 { echo "$as_me:$LINENO: result: $result" >&5
5439 echo "${ECHO_T}$result" >&6; }
5442 cat >>confdefs.h <<\_ACEOF
5443 #define wxEVENTS_COMPATIBILITY_2_8 0
5448 enablestring=disable
5450 if test -z "$defaultval"; then
5451 if test x"$enablestring" = xdisable; then
5458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5460 # Check whether --enable-rpath was given.
5461 if test "${enable_rpath+set}" = set; then
5462 enableval=$enable_rpath;
5463 if test "$enableval" = yes; then
5464 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5466 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5471 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5476 eval "$wx_cv_use_rpath"
5478 if test x"$enablestring" = xdisable; then
5479 if test $wxUSE_RPATH = yes; then
5488 { echo "$as_me:$LINENO: result
: $result" >&5
5489 echo "${ECHO_T}$result" >&6; }
5495 if test -z "$defaultval"; then
5496 if test x"$enablestring" = xdisable; then
5503 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5504 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5505 # Check whether --enable-objc_uniquifying was given.
5506 if test "${enable_objc_uniquifying+set}" = set; then
5507 enableval=$enable_objc_uniquifying;
5508 if test "$enableval" = yes; then
5509 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5511 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5516 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5521 eval "$wx_cv_use_objc_uniquifying"
5523 if test x
"$enablestring" = xdisable
; then
5524 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5530 result
=$wxUSE_OBJC_UNIQUIFYING
5533 { echo "$as_me:$LINENO: result: $result" >&5
5534 echo "${ECHO_T}$result" >&6; }
5538 enablestring
=disable
5540 if test -z "$defaultval"; then
5541 if test x
"$enablestring" = xdisable
; then
5548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5549 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5550 # Check whether --enable-visibility was given.
5551 if test "${enable_visibility+set}" = set; then
5552 enableval
=$enable_visibility;
5553 if test "$enableval" = yes; then
5554 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5556 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5561 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5566 eval "$wx_cv_use_visibility"
5568 if test x"$enablestring" = xdisable; then
5569 if test $wxUSE_VISIBILITY = yes; then
5575 result=$wxUSE_VISIBILITY
5578 { echo "$as_me:$LINENO: result: $result" >&5
5579 echo "${ECHO_T}$result" >&6; }
5585 defaultval=$wxUSE_ALL_FEATURES
5586 if test -z "$defaultval"; then
5587 if test x"$enablestring" = xdisable; then
5594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5595 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5596 # Check whether --enable-intl was given.
5597 if test "${enable_intl+set}" = set; then
5598 enableval=$enable_intl;
5599 if test "$enableval" = yes; then
5600 wx_cv_use_intl='wxUSE_INTL
=yes'
5602 wx_cv_use_intl='wxUSE_INTL
=no
'
5607 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5612 eval "$wx_cv_use_intl"
5614 if test x"$enablestring" = xdisable; then
5615 if test $wxUSE_INTL = yes; then
5624 { echo "$as_me:$LINENO: result
: $result" >&5
5625 echo "${ECHO_T}$result" >&6; }
5629 defaultval=$wxUSE_ALL_FEATURES
5630 if test -z "$defaultval"; then
5631 if test x"$enablestring" = xdisable; then
5638 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5639 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5640 # Check whether --enable-xlocale was given.
5641 if test "${enable_xlocale+set}" = set; then
5642 enableval=$enable_xlocale;
5643 if test "$enableval" = yes; then
5644 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5646 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5651 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5656 eval "$wx_cv_use_xlocale"
5658 if test x
"$enablestring" = xdisable
; then
5659 if test $wxUSE_XLOCALE = yes; then
5665 result
=$wxUSE_XLOCALE
5668 { echo "$as_me:$LINENO: result: $result" >&5
5669 echo "${ECHO_T}$result" >&6; }
5673 defaultval
=$wxUSE_ALL_FEATURES
5674 if test -z "$defaultval"; then
5675 if test x
"$enablestring" = xdisable
; then
5682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5683 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5684 # Check whether --enable-config was given.
5685 if test "${enable_config+set}" = set; then
5686 enableval
=$enable_config;
5687 if test "$enableval" = yes; then
5688 wx_cv_use_config
='wxUSE_CONFIG=yes'
5690 wx_cv_use_config
='wxUSE_CONFIG=no'
5695 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5700 eval "$wx_cv_use_config"
5702 if test x"$enablestring" = xdisable; then
5703 if test $wxUSE_CONFIG = yes; then
5709 result=$wxUSE_CONFIG
5712 { echo "$as_me:$LINENO: result: $result" >&5
5713 echo "${ECHO_T}$result" >&6; }
5718 defaultval=$wxUSE_ALL_FEATURES
5719 if test -z "$defaultval"; then
5720 if test x"$enablestring" = xdisable; then
5727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5728 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5729 # Check whether --enable-protocols was given.
5730 if test "${enable_protocols+set}" = set; then
5731 enableval=$enable_protocols;
5732 if test "$enableval" = yes; then
5733 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5735 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5740 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5745 eval "$wx_cv_use_protocols"
5747 if test x"$enablestring" = xdisable; then
5748 if test $wxUSE_PROTOCOL = yes; then
5754 result=$wxUSE_PROTOCOL
5757 { echo "$as_me:$LINENO: result
: $result" >&5
5758 echo "${ECHO_T}$result" >&6; }
5762 defaultval=$wxUSE_ALL_FEATURES
5763 if test -z "$defaultval"; then
5764 if test x"$enablestring" = xdisable; then
5771 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5772 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5773 # Check whether --enable-ftp was given.
5774 if test "${enable_ftp+set}" = set; then
5775 enableval=$enable_ftp;
5776 if test "$enableval" = yes; then
5777 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5779 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5784 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5789 eval "$wx_cv_use_ftp"
5791 if test x
"$enablestring" = xdisable
; then
5792 if test $wxUSE_PROTOCOL_FTP = yes; then
5798 result
=$wxUSE_PROTOCOL_FTP
5801 { echo "$as_me:$LINENO: result: $result" >&5
5802 echo "${ECHO_T}$result" >&6; }
5806 defaultval
=$wxUSE_ALL_FEATURES
5807 if test -z "$defaultval"; then
5808 if test x
"$enablestring" = xdisable
; then
5815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5817 # Check whether --enable-http was given.
5818 if test "${enable_http+set}" = set; then
5819 enableval
=$enable_http;
5820 if test "$enableval" = yes; then
5821 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5823 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5828 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5833 eval "$wx_cv_use_http"
5835 if test x"$enablestring" = xdisable; then
5836 if test $wxUSE_PROTOCOL_HTTP = yes; then
5842 result=$wxUSE_PROTOCOL_HTTP
5845 { echo "$as_me:$LINENO: result: $result" >&5
5846 echo "${ECHO_T}$result" >&6; }
5850 defaultval=$wxUSE_ALL_FEATURES
5851 if test -z "$defaultval"; then
5852 if test x"$enablestring" = xdisable; then
5859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5861 # Check whether --enable-fileproto was given.
5862 if test "${enable_fileproto+set}" = set; then
5863 enableval=$enable_fileproto;
5864 if test "$enableval" = yes; then
5865 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5867 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5872 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5877 eval "$wx_cv_use_fileproto"
5879 if test x"$enablestring" = xdisable; then
5880 if test $wxUSE_PROTOCOL_FILE = yes; then
5886 result=$wxUSE_PROTOCOL_FILE
5889 { echo "$as_me:$LINENO: result
: $result" >&5
5890 echo "${ECHO_T}$result" >&6; }
5894 defaultval=$wxUSE_ALL_FEATURES
5895 if test -z "$defaultval"; then
5896 if test x"$enablestring" = xdisable; then
5903 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5904 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5905 # Check whether --enable-sockets was given.
5906 if test "${enable_sockets+set}" = set; then
5907 enableval=$enable_sockets;
5908 if test "$enableval" = yes; then
5909 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5911 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5916 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5921 eval "$wx_cv_use_sockets"
5923 if test x
"$enablestring" = xdisable
; then
5924 if test $wxUSE_SOCKETS = yes; then
5930 result
=$wxUSE_SOCKETS
5933 { echo "$as_me:$LINENO: result: $result" >&5
5934 echo "${ECHO_T}$result" >&6; }
5938 defaultval
=$wxUSE_ALL_FEATURES
5939 if test -z "$defaultval"; then
5940 if test x
"$enablestring" = xdisable
; then
5947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5949 # Check whether --enable-ipv6 was given.
5950 if test "${enable_ipv6+set}" = set; then
5951 enableval
=$enable_ipv6;
5952 if test "$enableval" = yes; then
5953 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5955 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5960 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5965 eval "$wx_cv_use_ipv6"
5967 if test x"$enablestring" = xdisable; then
5968 if test $wxUSE_IPV6 = yes; then
5977 { echo "$as_me:$LINENO: result: $result" >&5
5978 echo "${ECHO_T}$result" >&6; }
5982 defaultval=$wxUSE_ALL_FEATURES
5983 if test -z "$defaultval"; then
5984 if test x"$enablestring" = xdisable; then
5991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5993 # Check whether --enable-ole was given.
5994 if test "${enable_ole+set}" = set; then
5995 enableval=$enable_ole;
5996 if test "$enableval" = yes; then
5997 wx_cv_use_ole='wxUSE_OLE
=yes'
5999 wx_cv_use_ole='wxUSE_OLE
=no
'
6004 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6009 eval "$wx_cv_use_ole"
6011 if test x"$enablestring" = xdisable; then
6012 if test $wxUSE_OLE = yes; then
6021 { echo "$as_me:$LINENO: result
: $result" >&5
6022 echo "${ECHO_T}$result" >&6; }
6026 defaultval=$wxUSE_ALL_FEATURES
6027 if test -z "$defaultval"; then
6028 if test x"$enablestring" = xdisable; then
6035 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6036 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6037 # Check whether --enable-dataobj was given.
6038 if test "${enable_dataobj+set}" = set; then
6039 enableval=$enable_dataobj;
6040 if test "$enableval" = yes; then
6041 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6043 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6048 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6053 eval "$wx_cv_use_dataobj"
6055 if test x
"$enablestring" = xdisable
; then
6056 if test $wxUSE_DATAOBJ = yes; then
6062 result
=$wxUSE_DATAOBJ
6065 { echo "$as_me:$LINENO: result: $result" >&5
6066 echo "${ECHO_T}$result" >&6; }
6071 defaultval
=$wxUSE_ALL_FEATURES
6072 if test -z "$defaultval"; then
6073 if test x
"$enablestring" = xdisable
; then
6080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6081 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6082 # Check whether --enable-ipc was given.
6083 if test "${enable_ipc+set}" = set; then
6084 enableval
=$enable_ipc;
6085 if test "$enableval" = yes; then
6086 wx_cv_use_ipc
='wxUSE_IPC=yes'
6088 wx_cv_use_ipc
='wxUSE_IPC=no'
6093 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6098 eval "$wx_cv_use_ipc"
6100 if test x"$enablestring" = xdisable; then
6101 if test $wxUSE_IPC = yes; then
6110 { echo "$as_me:$LINENO: result: $result" >&5
6111 echo "${ECHO_T}$result" >&6; }
6116 defaultval=$wxUSE_ALL_FEATURES
6117 if test -z "$defaultval"; then
6118 if test x"$enablestring" = xdisable; then
6125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6126 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6127 # Check whether --enable-baseevtloop was given.
6128 if test "${enable_baseevtloop+set}" = set; then
6129 enableval=$enable_baseevtloop;
6130 if test "$enableval" = yes; then
6131 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6133 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6138 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6143 eval "$wx_cv_use_baseevtloop"
6145 if test x"$enablestring" = xdisable; then
6146 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6152 result=$wxUSE_CONSOLE_EVENTLOOP
6155 { echo "$as_me:$LINENO: result
: $result" >&5
6156 echo "${ECHO_T}$result" >&6; }
6160 defaultval=$wxUSE_ALL_FEATURES
6161 if test -z "$defaultval"; then
6162 if test x"$enablestring" = xdisable; then
6169 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6170 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6171 # Check whether --enable-epollloop was given.
6172 if test "${enable_epollloop+set}" = set; then
6173 enableval=$enable_epollloop;
6174 if test "$enableval" = yes; then
6175 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6177 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6182 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6187 eval "$wx_cv_use_epollloop"
6189 if test x
"$enablestring" = xdisable
; then
6190 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6196 result
=$wxUSE_EPOLL_DISPATCHER
6199 { echo "$as_me:$LINENO: result: $result" >&5
6200 echo "${ECHO_T}$result" >&6; }
6204 defaultval
=$wxUSE_ALL_FEATURES
6205 if test -z "$defaultval"; then
6206 if test x
"$enablestring" = xdisable
; then
6213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6214 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6215 # Check whether --enable-selectloop was given.
6216 if test "${enable_selectloop+set}" = set; then
6217 enableval
=$enable_selectloop;
6218 if test "$enableval" = yes; then
6219 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6221 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6226 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6231 eval "$wx_cv_use_selectloop"
6233 if test x"$enablestring" = xdisable; then
6234 if test $wxUSE_SELECT_DISPATCHER = yes; then
6240 result=$wxUSE_SELECT_DISPATCHER
6243 { echo "$as_me:$LINENO: result: $result" >&5
6244 echo "${ECHO_T}$result" >&6; }
6249 defaultval=$wxUSE_ALL_FEATURES
6250 if test -z "$defaultval"; then
6251 if test x"$enablestring" = xdisable; then
6258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6260 # Check whether --enable-apple_ieee was given.
6261 if test "${enable_apple_ieee+set}" = set; then
6262 enableval=$enable_apple_ieee;
6263 if test "$enableval" = yes; then
6264 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6266 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6271 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6276 eval "$wx_cv_use_apple_ieee"
6278 if test x"$enablestring" = xdisable; then
6279 if test $wxUSE_APPLE_IEEE = yes; then
6285 result=$wxUSE_APPLE_IEEE
6288 { echo "$as_me:$LINENO: result
: $result" >&5
6289 echo "${ECHO_T}$result" >&6; }
6293 defaultval=$wxUSE_ALL_FEATURES
6294 if test -z "$defaultval"; then
6295 if test x"$enablestring" = xdisable; then
6302 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6303 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6304 # Check whether --enable-arcstream was given.
6305 if test "${enable_arcstream+set}" = set; then
6306 enableval=$enable_arcstream;
6307 if test "$enableval" = yes; then
6308 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6310 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6315 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6320 eval "$wx_cv_use_arcstream"
6322 if test x
"$enablestring" = xdisable
; then
6323 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6329 result
=$wxUSE_ARCHIVE_STREAMS
6332 { echo "$as_me:$LINENO: result: $result" >&5
6333 echo "${ECHO_T}$result" >&6; }
6337 defaultval
=$wxUSE_ALL_FEATURES
6338 if test -z "$defaultval"; then
6339 if test x
"$enablestring" = xdisable
; then
6346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6347 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6348 # Check whether --enable-base64 was given.
6349 if test "${enable_base64+set}" = set; then
6350 enableval
=$enable_base64;
6351 if test "$enableval" = yes; then
6352 wx_cv_use_base64
='wxUSE_BASE64=yes'
6354 wx_cv_use_base64
='wxUSE_BASE64=no'
6359 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6364 eval "$wx_cv_use_base64"
6366 if test x"$enablestring" = xdisable; then
6367 if test $wxUSE_BASE64 = yes; then
6373 result=$wxUSE_BASE64
6376 { echo "$as_me:$LINENO: result: $result" >&5
6377 echo "${ECHO_T}$result" >&6; }
6381 defaultval=$wxUSE_ALL_FEATURES
6382 if test -z "$defaultval"; then
6383 if test x"$enablestring" = xdisable; then
6390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6392 # Check whether --enable-backtrace was given.
6393 if test "${enable_backtrace+set}" = set; then
6394 enableval=$enable_backtrace;
6395 if test "$enableval" = yes; then
6396 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6398 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6403 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6408 eval "$wx_cv_use_backtrace"
6410 if test x"$enablestring" = xdisable; then
6411 if test $wxUSE_STACKWALKER = yes; then
6417 result=$wxUSE_STACKWALKER
6420 { echo "$as_me:$LINENO: result
: $result" >&5
6421 echo "${ECHO_T}$result" >&6; }
6425 defaultval=$wxUSE_ALL_FEATURES
6426 if test -z "$defaultval"; then
6427 if test x"$enablestring" = xdisable; then
6434 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6435 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6436 # Check whether --enable-catch_segvs was given.
6437 if test "${enable_catch_segvs+set}" = set; then
6438 enableval=$enable_catch_segvs;
6439 if test "$enableval" = yes; then
6440 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6442 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6447 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6452 eval "$wx_cv_use_catch_segvs"
6454 if test x
"$enablestring" = xdisable
; then
6455 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6461 result
=$wxUSE_ON_FATAL_EXCEPTION
6464 { echo "$as_me:$LINENO: result: $result" >&5
6465 echo "${ECHO_T}$result" >&6; }
6469 defaultval
=$wxUSE_ALL_FEATURES
6470 if test -z "$defaultval"; then
6471 if test x
"$enablestring" = xdisable
; then
6478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6479 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6480 # Check whether --enable-cmdline was given.
6481 if test "${enable_cmdline+set}" = set; then
6482 enableval
=$enable_cmdline;
6483 if test "$enableval" = yes; then
6484 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6486 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6491 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6496 eval "$wx_cv_use_cmdline"
6498 if test x"$enablestring" = xdisable; then
6499 if test $wxUSE_CMDLINE_PARSER = yes; then
6505 result=$wxUSE_CMDLINE_PARSER
6508 { echo "$as_me:$LINENO: result: $result" >&5
6509 echo "${ECHO_T}$result" >&6; }
6513 defaultval=$wxUSE_ALL_FEATURES
6514 if test -z "$defaultval"; then
6515 if test x"$enablestring" = xdisable; then
6522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6523 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6524 # Check whether --enable-datetime was given.
6525 if test "${enable_datetime+set}" = set; then
6526 enableval=$enable_datetime;
6527 if test "$enableval" = yes; then
6528 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6530 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6535 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6540 eval "$wx_cv_use_datetime"
6542 if test x"$enablestring" = xdisable; then
6543 if test $wxUSE_DATETIME = yes; then
6549 result=$wxUSE_DATETIME
6552 { echo "$as_me:$LINENO: result
: $result" >&5
6553 echo "${ECHO_T}$result" >&6; }
6557 defaultval=$wxUSE_ALL_FEATURES
6558 if test -z "$defaultval"; then
6559 if test x"$enablestring" = xdisable; then
6566 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6567 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6568 # Check whether --enable-debugreport was given.
6569 if test "${enable_debugreport+set}" = set; then
6570 enableval=$enable_debugreport;
6571 if test "$enableval" = yes; then
6572 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6574 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6579 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6584 eval "$wx_cv_use_debugreport"
6586 if test x
"$enablestring" = xdisable
; then
6587 if test $wxUSE_DEBUGREPORT = yes; then
6593 result
=$wxUSE_DEBUGREPORT
6596 { echo "$as_me:$LINENO: result: $result" >&5
6597 echo "${ECHO_T}$result" >&6; }
6601 defaultval
=$wxUSE_ALL_FEATURES
6602 if test -z "$defaultval"; then
6603 if test x
"$enablestring" = xdisable
; then
6610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6611 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6612 # Check whether --enable-dialupman was given.
6613 if test "${enable_dialupman+set}" = set; then
6614 enableval
=$enable_dialupman;
6615 if test "$enableval" = yes; then
6616 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6618 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6623 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6628 eval "$wx_cv_use_dialupman"
6630 if test x"$enablestring" = xdisable; then
6631 if test $wxUSE_DIALUP_MANAGER = yes; then
6637 result=$wxUSE_DIALUP_MANAGER
6640 { echo "$as_me:$LINENO: result: $result" >&5
6641 echo "${ECHO_T}$result" >&6; }
6645 defaultval=$wxUSE_ALL_FEATURES
6646 if test -z "$defaultval"; then
6647 if test x"$enablestring" = xdisable; then
6654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6655 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6656 # Check whether --enable-dynlib was given.
6657 if test "${enable_dynlib+set}" = set; then
6658 enableval=$enable_dynlib;
6659 if test "$enableval" = yes; then
6660 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6662 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6667 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6672 eval "$wx_cv_use_dynlib"
6674 if test x"$enablestring" = xdisable; then
6675 if test $wxUSE_DYNLIB_CLASS = yes; then
6681 result=$wxUSE_DYNLIB_CLASS
6684 { echo "$as_me:$LINENO: result
: $result" >&5
6685 echo "${ECHO_T}$result" >&6; }
6689 defaultval=$wxUSE_ALL_FEATURES
6690 if test -z "$defaultval"; then
6691 if test x"$enablestring" = xdisable; then
6698 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6699 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6700 # Check whether --enable-dynamicloader was given.
6701 if test "${enable_dynamicloader+set}" = set; then
6702 enableval=$enable_dynamicloader;
6703 if test "$enableval" = yes; then
6704 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6706 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6711 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6716 eval "$wx_cv_use_dynamicloader"
6718 if test x
"$enablestring" = xdisable
; then
6719 if test $wxUSE_DYNAMIC_LOADER = yes; then
6725 result
=$wxUSE_DYNAMIC_LOADER
6728 { echo "$as_me:$LINENO: result: $result" >&5
6729 echo "${ECHO_T}$result" >&6; }
6733 defaultval
=$wxUSE_ALL_FEATURES
6734 if test -z "$defaultval"; then
6735 if test x
"$enablestring" = xdisable
; then
6742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6743 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6744 # Check whether --enable-exceptions was given.
6745 if test "${enable_exceptions+set}" = set; then
6746 enableval
=$enable_exceptions;
6747 if test "$enableval" = yes; then
6748 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6750 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6755 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6760 eval "$wx_cv_use_exceptions"
6762 if test x"$enablestring" = xdisable; then
6763 if test $wxUSE_EXCEPTIONS = yes; then
6769 result=$wxUSE_EXCEPTIONS
6772 { echo "$as_me:$LINENO: result: $result" >&5
6773 echo "${ECHO_T}$result" >&6; }
6777 defaultval=$wxUSE_ALL_FEATURES
6778 if test -z "$defaultval"; then
6779 if test x"$enablestring" = xdisable; then
6786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6787 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6788 # Check whether --enable-ffile was given.
6789 if test "${enable_ffile+set}" = set; then
6790 enableval=$enable_ffile;
6791 if test "$enableval" = yes; then
6792 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6794 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6799 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6804 eval "$wx_cv_use_ffile"
6806 if test x"$enablestring" = xdisable; then
6807 if test $wxUSE_FFILE = yes; then
6816 { echo "$as_me:$LINENO: result
: $result" >&5
6817 echo "${ECHO_T}$result" >&6; }
6821 defaultval=$wxUSE_ALL_FEATURES
6822 if test -z "$defaultval"; then
6823 if test x"$enablestring" = xdisable; then
6830 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6831 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6832 # Check whether --enable-file was given.
6833 if test "${enable_file+set}" = set; then
6834 enableval=$enable_file;
6835 if test "$enableval" = yes; then
6836 wx_cv_use_file='wxUSE_FILE=yes'
6838 wx_cv_use_file='wxUSE_FILE=no'
6843 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6848 eval "$wx_cv_use_file"
6850 if test x
"$enablestring" = xdisable
; then
6851 if test $wxUSE_FILE = yes; then
6860 { echo "$as_me:$LINENO: result: $result" >&5
6861 echo "${ECHO_T}$result" >&6; }
6865 defaultval
=$wxUSE_ALL_FEATURES
6866 if test -z "$defaultval"; then
6867 if test x
"$enablestring" = xdisable
; then
6874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6875 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6876 # Check whether --enable-filesystem was given.
6877 if test "${enable_filesystem+set}" = set; then
6878 enableval
=$enable_filesystem;
6879 if test "$enableval" = yes; then
6880 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6882 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6887 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6892 eval "$wx_cv_use_filesystem"
6894 if test x"$enablestring" = xdisable; then
6895 if test $wxUSE_FILESYSTEM = yes; then
6901 result=$wxUSE_FILESYSTEM
6904 { echo "$as_me:$LINENO: result: $result" >&5
6905 echo "${ECHO_T}$result" >&6; }
6909 defaultval=$wxUSE_ALL_FEATURES
6910 if test -z "$defaultval"; then
6911 if test x"$enablestring" = xdisable; then
6918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6920 # Check whether --enable-fontenum was given.
6921 if test "${enable_fontenum+set}" = set; then
6922 enableval=$enable_fontenum;
6923 if test "$enableval" = yes; then
6924 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6926 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6931 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6936 eval "$wx_cv_use_fontenum"
6938 if test x"$enablestring" = xdisable; then
6939 if test $wxUSE_FONTENUM = yes; then
6945 result=$wxUSE_FONTENUM
6948 { echo "$as_me:$LINENO: result
: $result" >&5
6949 echo "${ECHO_T}$result" >&6; }
6953 defaultval=$wxUSE_ALL_FEATURES
6954 if test -z "$defaultval"; then
6955 if test x"$enablestring" = xdisable; then
6962 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
6963 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
6964 # Check whether --enable-fontmap was given.
6965 if test "${enable_fontmap+set}" = set; then
6966 enableval=$enable_fontmap;
6967 if test "$enableval" = yes; then
6968 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6970 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6975 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6980 eval "$wx_cv_use_fontmap"
6982 if test x
"$enablestring" = xdisable
; then
6983 if test $wxUSE_FONTMAP = yes; then
6989 result
=$wxUSE_FONTMAP
6992 { echo "$as_me:$LINENO: result: $result" >&5
6993 echo "${ECHO_T}$result" >&6; }
6997 defaultval
=$wxUSE_ALL_FEATURES
6998 if test -z "$defaultval"; then
6999 if test x
"$enablestring" = xdisable
; then
7006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7007 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7008 # Check whether --enable-fs_archive was given.
7009 if test "${enable_fs_archive+set}" = set; then
7010 enableval
=$enable_fs_archive;
7011 if test "$enableval" = yes; then
7012 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7014 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7019 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7024 eval "$wx_cv_use_fs_archive"
7026 if test x"$enablestring" = xdisable; then
7027 if test $wxUSE_FS_ARCHIVE = yes; then
7033 result=$wxUSE_FS_ARCHIVE
7036 { echo "$as_me:$LINENO: result: $result" >&5
7037 echo "${ECHO_T}$result" >&6; }
7041 defaultval=$wxUSE_ALL_FEATURES
7042 if test -z "$defaultval"; then
7043 if test x"$enablestring" = xdisable; then
7050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7052 # Check whether --enable-fs_inet was given.
7053 if test "${enable_fs_inet+set}" = set; then
7054 enableval=$enable_fs_inet;
7055 if test "$enableval" = yes; then
7056 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7058 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7063 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7068 eval "$wx_cv_use_fs_inet"
7070 if test x"$enablestring" = xdisable; then
7071 if test $wxUSE_FS_INET = yes; then
7077 result=$wxUSE_FS_INET
7080 { echo "$as_me:$LINENO: result
: $result" >&5
7081 echo "${ECHO_T}$result" >&6; }
7085 defaultval=$wxUSE_ALL_FEATURES
7086 if test -z "$defaultval"; then
7087 if test x"$enablestring" = xdisable; then
7094 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7095 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7096 # Check whether --enable-fs_zip was given.
7097 if test "${enable_fs_zip+set}" = set; then
7098 enableval=$enable_fs_zip;
7099 if test "$enableval" = yes; then
7100 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7102 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7107 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7112 eval "$wx_cv_use_fs_zip"
7114 if test x
"$enablestring" = xdisable
; then
7115 if test $wxUSE_FS_ZIP = yes; then
7121 result
=$wxUSE_FS_ZIP
7124 { echo "$as_me:$LINENO: result: $result" >&5
7125 echo "${ECHO_T}$result" >&6; }
7129 defaultval
=$wxUSE_ALL_FEATURES
7130 if test -z "$defaultval"; then
7131 if test x
"$enablestring" = xdisable
; then
7138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7140 # Check whether --enable-geometry was given.
7141 if test "${enable_geometry+set}" = set; then
7142 enableval
=$enable_geometry;
7143 if test "$enableval" = yes; then
7144 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7146 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7151 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7156 eval "$wx_cv_use_geometry"
7158 if test x"$enablestring" = xdisable; then
7159 if test $wxUSE_GEOMETRY = yes; then
7165 result=$wxUSE_GEOMETRY
7168 { echo "$as_me:$LINENO: result: $result" >&5
7169 echo "${ECHO_T}$result" >&6; }
7173 defaultval=$wxUSE_ALL_FEATURES
7174 if test -z "$defaultval"; then
7175 if test x"$enablestring" = xdisable; then
7182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7183 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7184 # Check whether --enable-log was given.
7185 if test "${enable_log+set}" = set; then
7186 enableval=$enable_log;
7187 if test "$enableval" = yes; then
7188 wx_cv_use_log='wxUSE_LOG
=yes'
7190 wx_cv_use_log='wxUSE_LOG
=no
'
7195 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7200 eval "$wx_cv_use_log"
7202 if test x"$enablestring" = xdisable; then
7203 if test $wxUSE_LOG = yes; then
7212 { echo "$as_me:$LINENO: result
: $result" >&5
7213 echo "${ECHO_T}$result" >&6; }
7217 defaultval=$wxUSE_ALL_FEATURES
7218 if test -z "$defaultval"; then
7219 if test x"$enablestring" = xdisable; then
7226 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7227 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7228 # Check whether --enable-longlong was given.
7229 if test "${enable_longlong+set}" = set; then
7230 enableval=$enable_longlong;
7231 if test "$enableval" = yes; then
7232 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7234 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7239 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7244 eval "$wx_cv_use_longlong"
7246 if test x
"$enablestring" = xdisable
; then
7247 if test $wxUSE_LONGLONG = yes; then
7253 result
=$wxUSE_LONGLONG
7256 { echo "$as_me:$LINENO: result: $result" >&5
7257 echo "${ECHO_T}$result" >&6; }
7261 defaultval
=$wxUSE_ALL_FEATURES
7262 if test -z "$defaultval"; then
7263 if test x
"$enablestring" = xdisable
; then
7270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7271 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7272 # Check whether --enable-mimetype was given.
7273 if test "${enable_mimetype+set}" = set; then
7274 enableval
=$enable_mimetype;
7275 if test "$enableval" = yes; then
7276 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7278 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7283 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7288 eval "$wx_cv_use_mimetype"
7290 if test x"$enablestring" = xdisable; then
7291 if test $wxUSE_MIMETYPE = yes; then
7297 result=$wxUSE_MIMETYPE
7300 { echo "$as_me:$LINENO: result: $result" >&5
7301 echo "${ECHO_T}$result" >&6; }
7305 defaultval=$wxUSE_ALL_FEATURES
7306 if test -z "$defaultval"; then
7307 if test x"$enablestring" = xdisable; then
7314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7315 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7316 # Check whether --enable-printfposparam was given.
7317 if test "${enable_printfposparam+set}" = set; then
7318 enableval=$enable_printfposparam;
7319 if test "$enableval" = yes; then
7320 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7322 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7327 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7332 eval "$wx_cv_use_printfposparam"
7334 if test x"$enablestring" = xdisable; then
7335 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7341 result=$wxUSE_PRINTF_POS_PARAMS
7344 { echo "$as_me:$LINENO: result
: $result" >&5
7345 echo "${ECHO_T}$result" >&6; }
7349 defaultval=$wxUSE_ALL_FEATURES
7350 if test -z "$defaultval"; then
7351 if test x"$enablestring" = xdisable; then
7358 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7359 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7360 # Check whether --enable-snglinst was given.
7361 if test "${enable_snglinst+set}" = set; then
7362 enableval=$enable_snglinst;
7363 if test "$enableval" = yes; then
7364 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7366 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7371 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7376 eval "$wx_cv_use_snglinst"
7378 if test x
"$enablestring" = xdisable
; then
7379 if test $wxUSE_SNGLINST_CHECKER = yes; then
7385 result
=$wxUSE_SNGLINST_CHECKER
7388 { echo "$as_me:$LINENO: result: $result" >&5
7389 echo "${ECHO_T}$result" >&6; }
7393 defaultval
=$wxUSE_ALL_FEATURES
7394 if test -z "$defaultval"; then
7395 if test x
"$enablestring" = xdisable
; then
7402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7404 # Check whether --enable-sound was given.
7405 if test "${enable_sound+set}" = set; then
7406 enableval
=$enable_sound;
7407 if test "$enableval" = yes; then
7408 wx_cv_use_sound
='wxUSE_SOUND=yes'
7410 wx_cv_use_sound
='wxUSE_SOUND=no'
7415 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7420 eval "$wx_cv_use_sound"
7422 if test x"$enablestring" = xdisable; then
7423 if test $wxUSE_SOUND = yes; then
7432 { echo "$as_me:$LINENO: result: $result" >&5
7433 echo "${ECHO_T}$result" >&6; }
7437 defaultval=$wxUSE_ALL_FEATURES
7438 if test -z "$defaultval"; then
7439 if test x"$enablestring" = xdisable; then
7446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7447 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7448 # Check whether --enable-stdpaths was given.
7449 if test "${enable_stdpaths+set}" = set; then
7450 enableval=$enable_stdpaths;
7451 if test "$enableval" = yes; then
7452 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7454 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7459 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7464 eval "$wx_cv_use_stdpaths"
7466 if test x"$enablestring" = xdisable; then
7467 if test $wxUSE_STDPATHS = yes; then
7473 result=$wxUSE_STDPATHS
7476 { echo "$as_me:$LINENO: result
: $result" >&5
7477 echo "${ECHO_T}$result" >&6; }
7481 defaultval=$wxUSE_ALL_FEATURES
7482 if test -z "$defaultval"; then
7483 if test x"$enablestring" = xdisable; then
7490 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7491 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7492 # Check whether --enable-stopwatch was given.
7493 if test "${enable_stopwatch+set}" = set; then
7494 enableval=$enable_stopwatch;
7495 if test "$enableval" = yes; then
7496 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7498 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7503 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7508 eval "$wx_cv_use_stopwatch"
7510 if test x
"$enablestring" = xdisable
; then
7511 if test $wxUSE_STOPWATCH = yes; then
7517 result
=$wxUSE_STOPWATCH
7520 { echo "$as_me:$LINENO: result: $result" >&5
7521 echo "${ECHO_T}$result" >&6; }
7525 defaultval
=$wxUSE_ALL_FEATURES
7526 if test -z "$defaultval"; then
7527 if test x
"$enablestring" = xdisable
; then
7534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7535 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7536 # Check whether --enable-streams was given.
7537 if test "${enable_streams+set}" = set; then
7538 enableval
=$enable_streams;
7539 if test "$enableval" = yes; then
7540 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7542 wx_cv_use_streams
='wxUSE_STREAMS=no'
7547 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7552 eval "$wx_cv_use_streams"
7554 if test x"$enablestring" = xdisable; then
7555 if test $wxUSE_STREAMS = yes; then
7561 result=$wxUSE_STREAMS
7564 { echo "$as_me:$LINENO: result: $result" >&5
7565 echo "${ECHO_T}$result" >&6; }
7569 defaultval=$wxUSE_ALL_FEATURES
7570 if test -z "$defaultval"; then
7571 if test x"$enablestring" = xdisable; then
7578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7579 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7580 # Check whether --enable-system_options was given.
7581 if test "${enable_system_options+set}" = set; then
7582 enableval=$enable_system_options;
7583 if test "$enableval" = yes; then
7584 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7586 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7591 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7596 eval "$wx_cv_use_system_options"
7598 if test x"$enablestring" = xdisable; then
7599 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7605 result=$wxUSE_SYSTEM_OPTIONS
7608 { echo "$as_me:$LINENO: result
: $result" >&5
7609 echo "${ECHO_T}$result" >&6; }
7613 defaultval=$wxUSE_ALL_FEATURES
7614 if test -z "$defaultval"; then
7615 if test x"$enablestring" = xdisable; then
7622 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7623 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7624 # Check whether --enable-tarstream was given.
7625 if test "${enable_tarstream+set}" = set; then
7626 enableval=$enable_tarstream;
7627 if test "$enableval" = yes; then
7628 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7630 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7635 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7640 eval "$wx_cv_use_tarstream"
7642 if test x
"$enablestring" = xdisable
; then
7643 if test $wxUSE_TARSTREAM = yes; then
7649 result
=$wxUSE_TARSTREAM
7652 { echo "$as_me:$LINENO: result: $result" >&5
7653 echo "${ECHO_T}$result" >&6; }
7657 defaultval
=$wxUSE_ALL_FEATURES
7658 if test -z "$defaultval"; then
7659 if test x
"$enablestring" = xdisable
; then
7666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7668 # Check whether --enable-textbuf was given.
7669 if test "${enable_textbuf+set}" = set; then
7670 enableval
=$enable_textbuf;
7671 if test "$enableval" = yes; then
7672 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7674 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7679 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7684 eval "$wx_cv_use_textbuf"
7686 if test x"$enablestring" = xdisable; then
7687 if test $wxUSE_TEXTBUFFER = yes; then
7693 result=$wxUSE_TEXTBUFFER
7696 { echo "$as_me:$LINENO: result: $result" >&5
7697 echo "${ECHO_T}$result" >&6; }
7701 defaultval=$wxUSE_ALL_FEATURES
7702 if test -z "$defaultval"; then
7703 if test x"$enablestring" = xdisable; then
7710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7712 # Check whether --enable-textfile was given.
7713 if test "${enable_textfile+set}" = set; then
7714 enableval=$enable_textfile;
7715 if test "$enableval" = yes; then
7716 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7718 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7723 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7728 eval "$wx_cv_use_textfile"
7730 if test x"$enablestring" = xdisable; then
7731 if test $wxUSE_TEXTFILE = yes; then
7737 result=$wxUSE_TEXTFILE
7740 { echo "$as_me:$LINENO: result
: $result" >&5
7741 echo "${ECHO_T}$result" >&6; }
7745 defaultval=$wxUSE_ALL_FEATURES
7746 if test -z "$defaultval"; then
7747 if test x"$enablestring" = xdisable; then
7754 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7755 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7756 # Check whether --enable-timer was given.
7757 if test "${enable_timer+set}" = set; then
7758 enableval=$enable_timer;
7759 if test "$enableval" = yes; then
7760 wx_cv_use_timer='wxUSE_TIMER=yes'
7762 wx_cv_use_timer='wxUSE_TIMER=no'
7767 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7772 eval "$wx_cv_use_timer"
7774 if test x
"$enablestring" = xdisable
; then
7775 if test $wxUSE_TIMER = yes; then
7784 { echo "$as_me:$LINENO: result: $result" >&5
7785 echo "${ECHO_T}$result" >&6; }
7789 defaultval
=$wxUSE_ALL_FEATURES
7790 if test -z "$defaultval"; then
7791 if test x
"$enablestring" = xdisable
; then
7798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7799 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7800 # Check whether --enable-variant was given.
7801 if test "${enable_variant+set}" = set; then
7802 enableval
=$enable_variant;
7803 if test "$enableval" = yes; then
7804 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7806 wx_cv_use_variant
='wxUSE_VARIANT=no'
7811 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7816 eval "$wx_cv_use_variant"
7818 if test x"$enablestring" = xdisable; then
7819 if test $wxUSE_VARIANT = yes; then
7825 result=$wxUSE_VARIANT
7828 { echo "$as_me:$LINENO: result: $result" >&5
7829 echo "${ECHO_T}$result" >&6; }
7833 defaultval=$wxUSE_ALL_FEATURES
7834 if test -z "$defaultval"; then
7835 if test x"$enablestring" = xdisable; then
7842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7843 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7844 # Check whether --enable-zipstream was given.
7845 if test "${enable_zipstream+set}" = set; then
7846 enableval=$enable_zipstream;
7847 if test "$enableval" = yes; then
7848 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7850 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7855 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7860 eval "$wx_cv_use_zipstream"
7862 if test x"$enablestring" = xdisable; then
7863 if test $wxUSE_ZIPSTREAM = yes; then
7869 result=$wxUSE_ZIPSTREAM
7872 { echo "$as_me:$LINENO: result
: $result" >&5
7873 echo "${ECHO_T}$result" >&6; }
7878 defaultval=$wxUSE_ALL_FEATURES
7879 if test -z "$defaultval"; then
7880 if test x"$enablestring" = xdisable; then
7887 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7888 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7889 # Check whether --enable-url was given.
7890 if test "${enable_url+set}" = set; then
7891 enableval=$enable_url;
7892 if test "$enableval" = yes; then
7893 wx_cv_use_url='wxUSE_URL=yes'
7895 wx_cv_use_url='wxUSE_URL=no'
7900 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7905 eval "$wx_cv_use_url"
7907 if test x
"$enablestring" = xdisable
; then
7908 if test $wxUSE_URL = yes; then
7917 { echo "$as_me:$LINENO: result: $result" >&5
7918 echo "${ECHO_T}$result" >&6; }
7922 defaultval
=$wxUSE_ALL_FEATURES
7923 if test -z "$defaultval"; then
7924 if test x
"$enablestring" = xdisable
; then
7931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7933 # Check whether --enable-protocol was given.
7934 if test "${enable_protocol+set}" = set; then
7935 enableval
=$enable_protocol;
7936 if test "$enableval" = yes; then
7937 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7939 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7944 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7949 eval "$wx_cv_use_protocol"
7951 if test x"$enablestring" = xdisable; then
7952 if test $wxUSE_PROTOCOL = yes; then
7958 result=$wxUSE_PROTOCOL
7961 { echo "$as_me:$LINENO: result: $result" >&5
7962 echo "${ECHO_T}$result" >&6; }
7966 defaultval=$wxUSE_ALL_FEATURES
7967 if test -z "$defaultval"; then
7968 if test x"$enablestring" = xdisable; then
7975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7976 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7977 # Check whether --enable-protocol_http was given.
7978 if test "${enable_protocol_http+set}" = set; then
7979 enableval=$enable_protocol_http;
7980 if test "$enableval" = yes; then
7981 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7983 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7988 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7993 eval "$wx_cv_use_protocol_http"
7995 if test x"$enablestring" = xdisable; then
7996 if test $wxUSE_PROTOCOL_HTTP = yes; then
8002 result=$wxUSE_PROTOCOL_HTTP
8005 { echo "$as_me:$LINENO: result
: $result" >&5
8006 echo "${ECHO_T}$result" >&6; }
8010 defaultval=$wxUSE_ALL_FEATURES
8011 if test -z "$defaultval"; then
8012 if test x"$enablestring" = xdisable; then
8019 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8020 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8021 # Check whether --enable-protocol_ftp was given.
8022 if test "${enable_protocol_ftp+set}" = set; then
8023 enableval=$enable_protocol_ftp;
8024 if test "$enableval" = yes; then
8025 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8027 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8032 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8037 eval "$wx_cv_use_protocol_ftp"
8039 if test x
"$enablestring" = xdisable
; then
8040 if test $wxUSE_PROTOCOL_FTP = yes; then
8046 result
=$wxUSE_PROTOCOL_FTP
8049 { echo "$as_me:$LINENO: result: $result" >&5
8050 echo "${ECHO_T}$result" >&6; }
8054 defaultval
=$wxUSE_ALL_FEATURES
8055 if test -z "$defaultval"; then
8056 if test x
"$enablestring" = xdisable
; then
8063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8064 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8065 # Check whether --enable-protocol_file was given.
8066 if test "${enable_protocol_file+set}" = set; then
8067 enableval
=$enable_protocol_file;
8068 if test "$enableval" = yes; then
8069 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8071 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8076 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8081 eval "$wx_cv_use_protocol_file"
8083 if test x"$enablestring" = xdisable; then
8084 if test $wxUSE_PROTOCOL_FILE = yes; then
8090 result=$wxUSE_PROTOCOL_FILE
8093 { echo "$as_me:$LINENO: result: $result" >&5
8094 echo "${ECHO_T}$result" >&6; }
8099 defaultval=$wxUSE_ALL_FEATURES
8100 if test -z "$defaultval"; then
8101 if test x"$enablestring" = xdisable; then
8108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8109 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8110 # Check whether --enable-threads was given.
8111 if test "${enable_threads+set}" = set; then
8112 enableval=$enable_threads;
8113 if test "$enableval" = yes; then
8114 wx_cv_use_threads='wxUSE_THREADS
=yes'
8116 wx_cv_use_threads='wxUSE_THREADS
=no
'
8121 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8126 eval "$wx_cv_use_threads"
8128 if test x"$enablestring" = xdisable; then
8129 if test $wxUSE_THREADS = yes; then
8135 result=$wxUSE_THREADS
8138 { echo "$as_me:$LINENO: result
: $result" >&5
8139 echo "${ECHO_T}$result" >&6; }
8145 if test -z "$defaultval"; then
8146 if test x"$enablestring" = xdisable; then
8153 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8154 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8155 # Check whether --enable-iniconf was given.
8156 if test "${enable_iniconf+set}" = set; then
8157 enableval=$enable_iniconf;
8158 if test "$enableval" = yes; then
8159 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8161 wx_cv_use_iniconf='wxUSE_INICONF=no'
8166 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8171 eval "$wx_cv_use_iniconf"
8173 if test x
"$enablestring" = xdisable
; then
8174 if test $wxUSE_INICONF = yes; then
8180 result
=$wxUSE_INICONF
8183 { echo "$as_me:$LINENO: result: $result" >&5
8184 echo "${ECHO_T}$result" >&6; }
8188 defaultval
=$wxUSE_ALL_FEATURES
8189 if test -z "$defaultval"; then
8190 if test x
"$enablestring" = xdisable
; then
8197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8198 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8199 # Check whether --enable-regkey was given.
8200 if test "${enable_regkey+set}" = set; then
8201 enableval
=$enable_regkey;
8202 if test "$enableval" = yes; then
8203 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8205 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8210 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8215 eval "$wx_cv_use_regkey"
8217 if test x"$enablestring" = xdisable; then
8218 if test $wxUSE_REGKEY = yes; then
8224 result=$wxUSE_REGKEY
8227 { echo "$as_me:$LINENO: result: $result" >&5
8228 echo "${ECHO_T}$result" >&6; }
8231 if test "$wxUSE_GUI" = "yes"; then
8236 defaultval=$wxUSE_ALL_FEATURES
8237 if test -z "$defaultval"; then
8238 if test x"$enablestring" = xdisable; then
8245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8247 # Check whether --enable-docview was given.
8248 if test "${enable_docview+set}" = set; then
8249 enableval=$enable_docview;
8250 if test "$enableval" = yes; then
8251 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8253 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8258 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8263 eval "$wx_cv_use_docview"
8265 if test x"$enablestring" = xdisable; then
8266 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8272 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8275 { echo "$as_me:$LINENO: result
: $result" >&5
8276 echo "${ECHO_T}$result" >&6; }
8280 defaultval=$wxUSE_ALL_FEATURES
8281 if test -z "$defaultval"; then
8282 if test x"$enablestring" = xdisable; then
8289 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8290 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8291 # Check whether --enable-help was given.
8292 if test "${enable_help+set}" = set; then
8293 enableval=$enable_help;
8294 if test "$enableval" = yes; then
8295 wx_cv_use_help='wxUSE_HELP=yes'
8297 wx_cv_use_help='wxUSE_HELP=no'
8302 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8307 eval "$wx_cv_use_help"
8309 if test x
"$enablestring" = xdisable
; then
8310 if test $wxUSE_HELP = yes; then
8319 { echo "$as_me:$LINENO: result: $result" >&5
8320 echo "${ECHO_T}$result" >&6; }
8324 defaultval
=$wxUSE_ALL_FEATURES
8325 if test -z "$defaultval"; then
8326 if test x
"$enablestring" = xdisable
; then
8333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8334 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8335 # Check whether --enable-mshtmlhelp was given.
8336 if test "${enable_mshtmlhelp+set}" = set; then
8337 enableval
=$enable_mshtmlhelp;
8338 if test "$enableval" = yes; then
8339 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8341 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8346 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8351 eval "$wx_cv_use_mshtmlhelp"
8353 if test x"$enablestring" = xdisable; then
8354 if test $wxUSE_MS_HTML_HELP = yes; then
8360 result=$wxUSE_MS_HTML_HELP
8363 { echo "$as_me:$LINENO: result: $result" >&5
8364 echo "${ECHO_T}$result" >&6; }
8368 defaultval=$wxUSE_ALL_FEATURES
8369 if test -z "$defaultval"; then
8370 if test x"$enablestring" = xdisable; then
8377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8378 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8379 # Check whether --enable-html was given.
8380 if test "${enable_html+set}" = set; then
8381 enableval=$enable_html;
8382 if test "$enableval" = yes; then
8383 wx_cv_use_html='wxUSE_HTML
=yes'
8385 wx_cv_use_html='wxUSE_HTML
=no
'
8390 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8395 eval "$wx_cv_use_html"
8397 if test x"$enablestring" = xdisable; then
8398 if test $wxUSE_HTML = yes; then
8407 { echo "$as_me:$LINENO: result
: $result" >&5
8408 echo "${ECHO_T}$result" >&6; }
8412 defaultval=$wxUSE_ALL_FEATURES
8413 if test -z "$defaultval"; then
8414 if test x"$enablestring" = xdisable; then
8421 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8422 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8423 # Check whether --enable-htmlhelp was given.
8424 if test "${enable_htmlhelp+set}" = set; then
8425 enableval=$enable_htmlhelp;
8426 if test "$enableval" = yes; then
8427 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8429 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8434 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8439 eval "$wx_cv_use_htmlhelp"
8441 if test x
"$enablestring" = xdisable
; then
8442 if test $wxUSE_WXHTML_HELP = yes; then
8448 result
=$wxUSE_WXHTML_HELP
8451 { echo "$as_me:$LINENO: result: $result" >&5
8452 echo "${ECHO_T}$result" >&6; }
8456 defaultval
=$wxUSE_ALL_FEATURES
8457 if test -z "$defaultval"; then
8458 if test x
"$enablestring" = xdisable
; then
8465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8466 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8467 # Check whether --enable-xrc was given.
8468 if test "${enable_xrc+set}" = set; then
8469 enableval
=$enable_xrc;
8470 if test "$enableval" = yes; then
8471 wx_cv_use_xrc
='wxUSE_XRC=yes'
8473 wx_cv_use_xrc
='wxUSE_XRC=no'
8478 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8483 eval "$wx_cv_use_xrc"
8485 if test x"$enablestring" = xdisable; then
8486 if test $wxUSE_XRC = yes; then
8495 { echo "$as_me:$LINENO: result: $result" >&5
8496 echo "${ECHO_T}$result" >&6; }
8500 defaultval=$wxUSE_ALL_FEATURES
8501 if test -z "$defaultval"; then
8502 if test x"$enablestring" = xdisable; then
8509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8511 # Check whether --enable-aui was given.
8512 if test "${enable_aui+set}" = set; then
8513 enableval=$enable_aui;
8514 if test "$enableval" = yes; then
8515 wx_cv_use_aui='wxUSE_AUI
=yes'
8517 wx_cv_use_aui='wxUSE_AUI
=no
'
8522 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8527 eval "$wx_cv_use_aui"
8529 if test x"$enablestring" = xdisable; then
8530 if test $wxUSE_AUI = yes; then
8539 { echo "$as_me:$LINENO: result
: $result" >&5
8540 echo "${ECHO_T}$result" >&6; }
8544 defaultval=$wxUSE_ALL_FEATURES
8545 if test -z "$defaultval"; then
8546 if test x"$enablestring" = xdisable; then
8553 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8554 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8555 # Check whether --enable-propgrid was given.
8556 if test "${enable_propgrid+set}" = set; then
8557 enableval=$enable_propgrid;
8558 if test "$enableval" = yes; then
8559 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8561 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8566 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8571 eval "$wx_cv_use_propgrid"
8573 if test x
"$enablestring" = xdisable
; then
8574 if test $wxUSE_PROPGRID = yes; then
8580 result
=$wxUSE_PROPGRID
8583 { echo "$as_me:$LINENO: result: $result" >&5
8584 echo "${ECHO_T}$result" >&6; }
8588 defaultval
=$wxUSE_ALL_FEATURES
8589 if test -z "$defaultval"; then
8590 if test x
"$enablestring" = xdisable
; then
8597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8598 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8599 # Check whether --enable-stc was given.
8600 if test "${enable_stc+set}" = set; then
8601 enableval
=$enable_stc;
8602 if test "$enableval" = yes; then
8603 wx_cv_use_stc
='wxUSE_STC=yes'
8605 wx_cv_use_stc
='wxUSE_STC=no'
8610 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8615 eval "$wx_cv_use_stc"
8617 if test x"$enablestring" = xdisable; then
8618 if test $wxUSE_STC = yes; then
8627 { echo "$as_me:$LINENO: result: $result" >&5
8628 echo "${ECHO_T}$result" >&6; }
8632 defaultval=$wxUSE_ALL_FEATURES
8633 if test -z "$defaultval"; then
8634 if test x"$enablestring" = xdisable; then
8641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8642 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8643 # Check whether --enable-constraints was given.
8644 if test "${enable_constraints+set}" = set; then
8645 enableval=$enable_constraints;
8646 if test "$enableval" = yes; then
8647 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8649 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8654 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8659 eval "$wx_cv_use_constraints"
8661 if test x"$enablestring" = xdisable; then
8662 if test $wxUSE_CONSTRAINTS = yes; then
8668 result=$wxUSE_CONSTRAINTS
8671 { echo "$as_me:$LINENO: result
: $result" >&5
8672 echo "${ECHO_T}$result" >&6; }
8676 defaultval=$wxUSE_ALL_FEATURES
8677 if test -z "$defaultval"; then
8678 if test x"$enablestring" = xdisable; then
8685 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8686 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8687 # Check whether --enable-loggui was given.
8688 if test "${enable_loggui+set}" = set; then
8689 enableval=$enable_loggui;
8690 if test "$enableval" = yes; then
8691 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8693 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8698 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8703 eval "$wx_cv_use_loggui"
8705 if test x
"$enablestring" = xdisable
; then
8706 if test $wxUSE_LOGGUI = yes; then
8712 result
=$wxUSE_LOGGUI
8715 { echo "$as_me:$LINENO: result: $result" >&5
8716 echo "${ECHO_T}$result" >&6; }
8720 defaultval
=$wxUSE_ALL_FEATURES
8721 if test -z "$defaultval"; then
8722 if test x
"$enablestring" = xdisable
; then
8729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8730 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8731 # Check whether --enable-logwin was given.
8732 if test "${enable_logwin+set}" = set; then
8733 enableval
=$enable_logwin;
8734 if test "$enableval" = yes; then
8735 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8737 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8742 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8747 eval "$wx_cv_use_logwin"
8749 if test x"$enablestring" = xdisable; then
8750 if test $wxUSE_LOGWINDOW = yes; then
8756 result=$wxUSE_LOGWINDOW
8759 { echo "$as_me:$LINENO: result: $result" >&5
8760 echo "${ECHO_T}$result" >&6; }
8764 defaultval=$wxUSE_ALL_FEATURES
8765 if test -z "$defaultval"; then
8766 if test x"$enablestring" = xdisable; then
8773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8775 # Check whether --enable-logdialog was given.
8776 if test "${enable_logdialog+set}" = set; then
8777 enableval=$enable_logdialog;
8778 if test "$enableval" = yes; then
8779 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8781 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8786 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8791 eval "$wx_cv_use_logdialog"
8793 if test x"$enablestring" = xdisable; then
8794 if test $wxUSE_LOGDIALOG = yes; then
8800 result=$wxUSE_LOGDIALOG
8803 { echo "$as_me:$LINENO: result
: $result" >&5
8804 echo "${ECHO_T}$result" >&6; }
8808 defaultval=$wxUSE_ALL_FEATURES
8809 if test -z "$defaultval"; then
8810 if test x"$enablestring" = xdisable; then
8817 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8818 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8819 # Check whether --enable-mdi was given.
8820 if test "${enable_mdi+set}" = set; then
8821 enableval=$enable_mdi;
8822 if test "$enableval" = yes; then
8823 wx_cv_use_mdi='wxUSE_MDI=yes'
8825 wx_cv_use_mdi='wxUSE_MDI=no'
8830 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8835 eval "$wx_cv_use_mdi"
8837 if test x
"$enablestring" = xdisable
; then
8838 if test $wxUSE_MDI = yes; then
8847 { echo "$as_me:$LINENO: result: $result" >&5
8848 echo "${ECHO_T}$result" >&6; }
8852 defaultval
=$wxUSE_ALL_FEATURES
8853 if test -z "$defaultval"; then
8854 if test x
"$enablestring" = xdisable
; then
8861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8863 # Check whether --enable-mdidoc was given.
8864 if test "${enable_mdidoc+set}" = set; then
8865 enableval
=$enable_mdidoc;
8866 if test "$enableval" = yes; then
8867 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8869 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8874 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8879 eval "$wx_cv_use_mdidoc"
8881 if test x"$enablestring" = xdisable; then
8882 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8888 result=$wxUSE_MDI_ARCHITECTURE
8891 { echo "$as_me:$LINENO: result: $result" >&5
8892 echo "${ECHO_T}$result" >&6; }
8896 defaultval=$wxUSE_ALL_FEATURES
8897 if test -z "$defaultval"; then
8898 if test x"$enablestring" = xdisable; then
8905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8906 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8907 # Check whether --enable-mediactrl was given.
8908 if test "${enable_mediactrl+set}" = set; then
8909 enableval=$enable_mediactrl;
8910 if test "$enableval" = yes; then
8911 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
8913 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
8918 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8923 eval "$wx_cv_use_mediactrl"
8925 if test x"$enablestring" = xdisable; then
8926 if test $wxUSE_MEDIACTRL = yes; then
8932 result=$wxUSE_MEDIACTRL
8935 { echo "$as_me:$LINENO: result
: $result" >&5
8936 echo "${ECHO_T}$result" >&6; }
8940 defaultval=$wxUSE_ALL_FEATURES
8941 if test -z "$defaultval"; then
8942 if test x"$enablestring" = xdisable; then
8949 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
8950 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
8951 # Check whether --enable-gstreamer8 was given.
8952 if test "${enable_gstreamer8+set}" = set; then
8953 enableval=$enable_gstreamer8;
8954 if test "$enableval" = yes; then
8955 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8957 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8962 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8967 eval "$wx_cv_use_gstreamer8"
8969 if test x
"$enablestring" = xdisable
; then
8970 if test $wxUSE_GSTREAMER8 = yes; then
8976 result
=$wxUSE_GSTREAMER8
8979 { echo "$as_me:$LINENO: result: $result" >&5
8980 echo "${ECHO_T}$result" >&6; }
8984 defaultval
=$wxUSE_ALL_FEATURES
8985 if test -z "$defaultval"; then
8986 if test x
"$enablestring" = xdisable
; then
8993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8994 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8995 # Check whether --enable-webkit was given.
8996 if test "${enable_webkit+set}" = set; then
8997 enableval
=$enable_webkit;
8998 if test "$enableval" = yes; then
8999 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9001 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9006 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9011 eval "$wx_cv_use_webkit"
9013 if test x"$enablestring" = xdisable; then
9014 if test $wxUSE_WEBKIT = yes; then
9020 result=$wxUSE_WEBKIT
9023 { echo "$as_me:$LINENO: result: $result" >&5
9024 echo "${ECHO_T}$result" >&6; }
9028 defaultval=$wxUSE_ALL_FEATURES
9029 if test -z "$defaultval"; then
9030 if test x"$enablestring" = xdisable; then
9037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9038 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9039 # Check whether --enable-richtext was given.
9040 if test "${enable_richtext+set}" = set; then
9041 enableval=$enable_richtext;
9042 if test "$enableval" = yes; then
9043 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9045 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9050 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9055 eval "$wx_cv_use_richtext"
9057 if test x"$enablestring" = xdisable; then
9058 if test $wxUSE_RICHTEXT = yes; then
9064 result=$wxUSE_RICHTEXT
9067 { echo "$as_me:$LINENO: result
: $result" >&5
9068 echo "${ECHO_T}$result" >&6; }
9072 defaultval=$wxUSE_ALL_FEATURES
9073 if test -z "$defaultval"; then
9074 if test x"$enablestring" = xdisable; then
9081 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9082 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9083 # Check whether --enable-graphics_ctx was given.
9084 if test "${enable_graphics_ctx+set}" = set; then
9085 enableval=$enable_graphics_ctx;
9086 if test "$enableval" = yes; then
9087 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9089 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9094 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9099 eval "$wx_cv_use_graphics_ctx"
9101 if test x
"$enablestring" = xdisable
; then
9102 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9108 result
=$wxUSE_GRAPHICS_CONTEXT
9111 { echo "$as_me:$LINENO: result: $result" >&5
9112 echo "${ECHO_T}$result" >&6; }
9116 defaultval
=$wxUSE_ALL_FEATURES
9117 if test -z "$defaultval"; then
9118 if test x
"$enablestring" = xdisable
; then
9125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9126 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9127 # Check whether --enable-postscript was given.
9128 if test "${enable_postscript+set}" = set; then
9129 enableval
=$enable_postscript;
9130 if test "$enableval" = yes; then
9131 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9133 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9138 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9143 eval "$wx_cv_use_postscript"
9145 if test x"$enablestring" = xdisable; then
9146 if test $wxUSE_POSTSCRIPT = yes; then
9152 result=$wxUSE_POSTSCRIPT
9155 { echo "$as_me:$LINENO: result: $result" >&5
9156 echo "${ECHO_T}$result" >&6; }
9160 defaultval=$wxUSE_ALL_FEATURES
9161 if test -z "$defaultval"; then
9162 if test x"$enablestring" = xdisable; then
9169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9170 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9171 # Check whether --enable-printarch was given.
9172 if test "${enable_printarch+set}" = set; then
9173 enableval=$enable_printarch;
9174 if test "$enableval" = yes; then
9175 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9177 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9182 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9187 eval "$wx_cv_use_printarch"
9189 if test x"$enablestring" = xdisable; then
9190 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9196 result=$wxUSE_PRINTING_ARCHITECTURE
9199 { echo "$as_me:$LINENO: result
: $result" >&5
9200 echo "${ECHO_T}$result" >&6; }
9204 defaultval=$wxUSE_ALL_FEATURES
9205 if test -z "$defaultval"; then
9206 if test x"$enablestring" = xdisable; then
9213 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9214 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9215 # Check whether --enable-svg was given.
9216 if test "${enable_svg+set}" = set; then
9217 enableval=$enable_svg;
9218 if test "$enableval" = yes; then
9219 wx_cv_use_svg='wxUSE_SVG=yes'
9221 wx_cv_use_svg='wxUSE_SVG=no'
9226 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9231 eval "$wx_cv_use_svg"
9233 if test x
"$enablestring" = xdisable
; then
9234 if test $wxUSE_SVG = yes; then
9243 { echo "$as_me:$LINENO: result: $result" >&5
9244 echo "${ECHO_T}$result" >&6; }
9250 defaultval
=$wxUSE_ALL_FEATURES
9251 if test -z "$defaultval"; then
9252 if test x
"$enablestring" = xdisable
; then
9259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9260 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9261 # Check whether --enable-clipboard was given.
9262 if test "${enable_clipboard+set}" = set; then
9263 enableval
=$enable_clipboard;
9264 if test "$enableval" = yes; then
9265 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9267 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9272 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9277 eval "$wx_cv_use_clipboard"
9279 if test x"$enablestring" = xdisable; then
9280 if test $wxUSE_CLIPBOARD = yes; then
9286 result=$wxUSE_CLIPBOARD
9289 { echo "$as_me:$LINENO: result: $result" >&5
9290 echo "${ECHO_T}$result" >&6; }
9294 defaultval=$wxUSE_ALL_FEATURES
9295 if test -z "$defaultval"; then
9296 if test x"$enablestring" = xdisable; then
9303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9304 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9305 # Check whether --enable-dnd was given.
9306 if test "${enable_dnd+set}" = set; then
9307 enableval=$enable_dnd;
9308 if test "$enableval" = yes; then
9309 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9311 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9316 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9321 eval "$wx_cv_use_dnd"
9323 if test x"$enablestring" = xdisable; then
9324 if test $wxUSE_DRAG_AND_DROP = yes; then
9330 result=$wxUSE_DRAG_AND_DROP
9333 { echo "$as_me:$LINENO: result
: $result" >&5
9334 echo "${ECHO_T}$result" >&6; }
9338 defaultval=$wxUSE_ALL_FEATURES
9339 if test -z "$defaultval"; then
9340 if test x"$enablestring" = xdisable; then
9347 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9348 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9349 # Check whether --enable-metafile was given.
9350 if test "${enable_metafile+set}" = set; then
9351 enableval=$enable_metafile;
9352 if test "$enableval" = yes; then
9353 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9355 wx_cv_use_metafile='wxUSE_METAFILE=no'
9360 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9365 eval "$wx_cv_use_metafile"
9367 if test x
"$enablestring" = xdisable
; then
9368 if test $wxUSE_METAFILE = yes; then
9374 result
=$wxUSE_METAFILE
9377 { echo "$as_me:$LINENO: result: $result" >&5
9378 echo "${ECHO_T}$result" >&6; }
9382 DEFAULT_wxUSE_CONTROLS
=none
9384 enablestring
=disable
9386 if test -z "$defaultval"; then
9387 if test x
"$enablestring" = xdisable
; then
9394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9395 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9396 # Check whether --enable-controls was given.
9397 if test "${enable_controls+set}" = set; then
9398 enableval
=$enable_controls;
9399 if test "$enableval" = yes; then
9400 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9402 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9407 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9412 eval "$wx_cv_use_controls"
9414 if test x"$enablestring" = xdisable; then
9415 if test $wxUSE_CONTROLS = yes; then
9421 result=$wxUSE_CONTROLS
9424 { echo "$as_me:$LINENO: result: $result" >&5
9425 echo "${ECHO_T}$result" >&6; }
9428 if test "$wxUSE_CONTROLS" = "no"; then
9429 DEFAULT_wxUSE_ACCEL=no
9430 DEFAULT_wxUSE_ANIMATIONCTRL=no
9431 DEFAULT_wxUSE_BMPBUTTON=no
9432 DEFAULT_wxUSE_BUTTON=no
9433 DEFAULT_wxUSE_CALCTRL=no
9434 DEFAULT_wxUSE_CARET=no
9435 DEFAULT_wxUSE_CHECKBOX=no
9436 DEFAULT_wxUSE_CHECKLISTBOX=no
9437 DEFAULT_wxUSE_CHOICE=no
9438 DEFAULT_wxUSE_CHOICEBOOK=no
9439 DEFAULT_wxUSE_COLLPANE=no
9440 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9441 DEFAULT_wxUSE_COMBOBOX=no
9442 DEFAULT_wxUSE_COMBOBOX=no
9443 DEFAULT_wxUSE_DATAVIEWCTRL=no
9444 DEFAULT_wxUSE_DATEPICKCTRL=no
9445 DEFAULT_wxUSE_DETECT_SM=no
9446 DEFAULT_wxUSE_DIRPICKERCTRL=no
9447 DEFAULT_wxUSE_DISPLAY=no
9448 DEFAULT_wxUSE_FILECTRL=no
9449 DEFAULT_wxUSE_FILEPICKERCTRL=no
9450 DEFAULT_wxUSE_FONTPICKERCTRL=no
9451 DEFAULT_wxUSE_GAUGE=no
9452 DEFAULT_wxUSE_GRID=no
9453 DEFAULT_wxUSE_HEADERCTRL=no
9454 DEFAULT_wxUSE_HYPERLINKCTRL=no
9455 DEFAULT_wxUSE_IMAGLIST=no
9456 DEFAULT_wxUSE_LISTBOOK=no
9457 DEFAULT_wxUSE_LISTBOX=no
9458 DEFAULT_wxUSE_LISTCTRL=no
9459 DEFAULT_wxUSE_NOTEBOOK=no
9460 DEFAULT_wxUSE_POPUPWIN=no
9461 DEFAULT_wxUSE_RADIOBOX=no
9462 DEFAULT_wxUSE_RADIOBTN=no
9463 DEFAULT_wxUSE_REARRANGECTRL=no
9464 DEFAULT_wxUSE_SASH=no
9465 DEFAULT_wxUSE_SCROLLBAR=no
9466 DEFAULT_wxUSE_SEARCHCTRL=no
9467 DEFAULT_wxUSE_SLIDER=no
9468 DEFAULT_wxUSE_SPINBTN=no
9469 DEFAULT_wxUSE_SPINCTRL=no
9470 DEFAULT_wxUSE_SPLITTER=no
9471 DEFAULT_wxUSE_STATBMP=no
9472 DEFAULT_wxUSE_STATBOX=no
9473 DEFAULT_wxUSE_STATLINE=no
9474 DEFAULT_wxUSE_STATUSBAR=no
9475 DEFAULT_wxUSE_TIPWINDOW=no
9476 DEFAULT_wxUSE_TOGGLEBTN=no
9477 DEFAULT_wxUSE_TOOLBAR=no
9478 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9479 DEFAULT_wxUSE_TOOLBOOK=no
9480 DEFAULT_wxUSE_TOOLTIPS=no
9481 DEFAULT_wxUSE_TREEBOOK=no
9482 DEFAULT_wxUSE_TREECTRL=no
9487 defaultval=$wxUSE_ALL_FEATURES
9488 if test -z "$defaultval"; then
9489 if test x"$enablestring" = xdisable; then
9496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9497 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9498 # Check whether --enable-accel was given.
9499 if test "${enable_accel+set}" = set; then
9500 enableval=$enable_accel;
9501 if test "$enableval" = yes; then
9502 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9504 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9509 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9514 eval "$wx_cv_use_accel"
9516 if test x"$enablestring" = xdisable; then
9517 if test $wxUSE_ACCEL = yes; then
9526 { echo "$as_me:$LINENO: result
: $result" >&5
9527 echo "${ECHO_T}$result" >&6; }
9531 defaultval=$wxUSE_ALL_FEATURES
9532 if test -z "$defaultval"; then
9533 if test x"$enablestring" = xdisable; then
9540 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9541 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9542 # Check whether --enable-animatectrl was given.
9543 if test "${enable_animatectrl+set}" = set; then
9544 enableval=$enable_animatectrl;
9545 if test "$enableval" = yes; then
9546 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9548 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9553 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9558 eval "$wx_cv_use_animatectrl"
9560 if test x
"$enablestring" = xdisable
; then
9561 if test $wxUSE_ANIMATIONCTRL = yes; then
9567 result
=$wxUSE_ANIMATIONCTRL
9570 { echo "$as_me:$LINENO: result: $result" >&5
9571 echo "${ECHO_T}$result" >&6; }
9575 defaultval
=$wxUSE_ALL_FEATURES
9576 if test -z "$defaultval"; then
9577 if test x
"$enablestring" = xdisable
; then
9584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9585 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9586 # Check whether --enable-bmpbutton was given.
9587 if test "${enable_bmpbutton+set}" = set; then
9588 enableval
=$enable_bmpbutton;
9589 if test "$enableval" = yes; then
9590 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9592 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9597 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9602 eval "$wx_cv_use_bmpbutton"
9604 if test x"$enablestring" = xdisable; then
9605 if test $wxUSE_BMPBUTTON = yes; then
9611 result=$wxUSE_BMPBUTTON
9614 { echo "$as_me:$LINENO: result: $result" >&5
9615 echo "${ECHO_T}$result" >&6; }
9619 defaultval=$wxUSE_ALL_FEATURES
9620 if test -z "$defaultval"; then
9621 if test x"$enablestring" = xdisable; then
9628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9629 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9630 # Check whether --enable-bmpcombobox was given.
9631 if test "${enable_bmpcombobox+set}" = set; then
9632 enableval=$enable_bmpcombobox;
9633 if test "$enableval" = yes; then
9634 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9636 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9641 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9646 eval "$wx_cv_use_bmpcombobox"
9648 if test x"$enablestring" = xdisable; then
9649 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9655 result=$wxUSE_BITMAPCOMBOBOX
9658 { echo "$as_me:$LINENO: result
: $result" >&5
9659 echo "${ECHO_T}$result" >&6; }
9663 defaultval=$wxUSE_ALL_FEATURES
9664 if test -z "$defaultval"; then
9665 if test x"$enablestring" = xdisable; then
9672 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
9673 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9674 # Check whether --enable-button was given.
9675 if test "${enable_button+set}" = set; then
9676 enableval=$enable_button;
9677 if test "$enableval" = yes; then
9678 wx_cv_use_button='wxUSE_BUTTON=yes'
9680 wx_cv_use_button='wxUSE_BUTTON=no'
9685 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9690 eval "$wx_cv_use_button"
9692 if test x
"$enablestring" = xdisable
; then
9693 if test $wxUSE_BUTTON = yes; then
9699 result
=$wxUSE_BUTTON
9702 { echo "$as_me:$LINENO: result: $result" >&5
9703 echo "${ECHO_T}$result" >&6; }
9707 defaultval
=$wxUSE_ALL_FEATURES
9708 if test -z "$defaultval"; then
9709 if test x
"$enablestring" = xdisable
; then
9716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9718 # Check whether --enable-calendar was given.
9719 if test "${enable_calendar+set}" = set; then
9720 enableval
=$enable_calendar;
9721 if test "$enableval" = yes; then
9722 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9724 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9729 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9734 eval "$wx_cv_use_calendar"
9736 if test x"$enablestring" = xdisable; then
9737 if test $wxUSE_CALCTRL = yes; then
9743 result=$wxUSE_CALCTRL
9746 { echo "$as_me:$LINENO: result: $result" >&5
9747 echo "${ECHO_T}$result" >&6; }
9751 defaultval=$wxUSE_ALL_FEATURES
9752 if test -z "$defaultval"; then
9753 if test x"$enablestring" = xdisable; then
9760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9761 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9762 # Check whether --enable-caret was given.
9763 if test "${enable_caret+set}" = set; then
9764 enableval=$enable_caret;
9765 if test "$enableval" = yes; then
9766 wx_cv_use_caret='wxUSE_CARET
=yes'
9768 wx_cv_use_caret='wxUSE_CARET
=no
'
9773 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9778 eval "$wx_cv_use_caret"
9780 if test x"$enablestring" = xdisable; then
9781 if test $wxUSE_CARET = yes; then
9790 { echo "$as_me:$LINENO: result
: $result" >&5
9791 echo "${ECHO_T}$result" >&6; }
9795 defaultval=$wxUSE_ALL_FEATURES
9796 if test -z "$defaultval"; then
9797 if test x"$enablestring" = xdisable; then
9804 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9805 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9806 # Check whether --enable-checkbox was given.
9807 if test "${enable_checkbox+set}" = set; then
9808 enableval=$enable_checkbox;
9809 if test "$enableval" = yes; then
9810 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9812 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9817 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9822 eval "$wx_cv_use_checkbox"
9824 if test x
"$enablestring" = xdisable
; then
9825 if test $wxUSE_CHECKBOX = yes; then
9831 result
=$wxUSE_CHECKBOX
9834 { echo "$as_me:$LINENO: result: $result" >&5
9835 echo "${ECHO_T}$result" >&6; }
9839 defaultval
=$wxUSE_ALL_FEATURES
9840 if test -z "$defaultval"; then
9841 if test x
"$enablestring" = xdisable
; then
9848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9849 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9850 # Check whether --enable-checklst was given.
9851 if test "${enable_checklst+set}" = set; then
9852 enableval
=$enable_checklst;
9853 if test "$enableval" = yes; then
9854 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9856 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9861 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9866 eval "$wx_cv_use_checklst"
9868 if test x"$enablestring" = xdisable; then
9869 if test $wxUSE_CHECKLST = yes; then
9875 result=$wxUSE_CHECKLST
9878 { echo "$as_me:$LINENO: result: $result" >&5
9879 echo "${ECHO_T}$result" >&6; }
9883 defaultval=$wxUSE_ALL_FEATURES
9884 if test -z "$defaultval"; then
9885 if test x"$enablestring" = xdisable; then
9892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9893 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9894 # Check whether --enable-choice was given.
9895 if test "${enable_choice+set}" = set; then
9896 enableval=$enable_choice;
9897 if test "$enableval" = yes; then
9898 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9900 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9905 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9910 eval "$wx_cv_use_choice"
9912 if test x"$enablestring" = xdisable; then
9913 if test $wxUSE_CHOICE = yes; then
9919 result=$wxUSE_CHOICE
9922 { echo "$as_me:$LINENO: result
: $result" >&5
9923 echo "${ECHO_T}$result" >&6; }
9927 defaultval=$wxUSE_ALL_FEATURES
9928 if test -z "$defaultval"; then
9929 if test x"$enablestring" = xdisable; then
9936 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
9937 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
9938 # Check whether --enable-choicebook was given.
9939 if test "${enable_choicebook+set}" = set; then
9940 enableval=$enable_choicebook;
9941 if test "$enableval" = yes; then
9942 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9944 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9949 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9954 eval "$wx_cv_use_choicebook"
9956 if test x
"$enablestring" = xdisable
; then
9957 if test $wxUSE_CHOICEBOOK = yes; then
9963 result
=$wxUSE_CHOICEBOOK
9966 { echo "$as_me:$LINENO: result: $result" >&5
9967 echo "${ECHO_T}$result" >&6; }
9971 defaultval
=$wxUSE_ALL_FEATURES
9972 if test -z "$defaultval"; then
9973 if test x
"$enablestring" = xdisable
; then
9980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9981 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9982 # Check whether --enable-collpane was given.
9983 if test "${enable_collpane+set}" = set; then
9984 enableval
=$enable_collpane;
9985 if test "$enableval" = yes; then
9986 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
9988 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
9993 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9998 eval "$wx_cv_use_collpane"
10000 if test x"$enablestring" = xdisable; then
10001 if test $wxUSE_COLLPANE = yes; then
10007 result=$wxUSE_COLLPANE
10010 { echo "$as_me:$LINENO: result: $result" >&5
10011 echo "${ECHO_T}$result" >&6; }
10015 defaultval=$wxUSE_ALL_FEATURES
10016 if test -z "$defaultval"; then
10017 if test x"$enablestring" = xdisable; then
10024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10026 # Check whether --enable-colourpicker was given.
10027 if test "${enable_colourpicker+set}" = set; then
10028 enableval=$enable_colourpicker;
10029 if test "$enableval" = yes; then
10030 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10032 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10037 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10042 eval "$wx_cv_use_colourpicker"
10044 if test x"$enablestring" = xdisable; then
10045 if test $wxUSE_COLOURPICKERCTRL = yes; then
10051 result=$wxUSE_COLOURPICKERCTRL
10054 { echo "$as_me:$LINENO: result
: $result" >&5
10055 echo "${ECHO_T}$result" >&6; }
10059 defaultval=$wxUSE_ALL_FEATURES
10060 if test -z "$defaultval"; then
10061 if test x"$enablestring" = xdisable; then
10068 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10069 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10070 # Check whether --enable-combobox was given.
10071 if test "${enable_combobox+set}" = set; then
10072 enableval=$enable_combobox;
10073 if test "$enableval" = yes; then
10074 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10076 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10081 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10086 eval "$wx_cv_use_combobox"
10088 if test x
"$enablestring" = xdisable
; then
10089 if test $wxUSE_COMBOBOX = yes; then
10095 result
=$wxUSE_COMBOBOX
10098 { echo "$as_me:$LINENO: result: $result" >&5
10099 echo "${ECHO_T}$result" >&6; }
10103 defaultval
=$wxUSE_ALL_FEATURES
10104 if test -z "$defaultval"; then
10105 if test x
"$enablestring" = xdisable
; then
10112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10113 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10114 # Check whether --enable-comboctrl was given.
10115 if test "${enable_comboctrl+set}" = set; then
10116 enableval
=$enable_comboctrl;
10117 if test "$enableval" = yes; then
10118 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10120 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10125 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10130 eval "$wx_cv_use_comboctrl"
10132 if test x"$enablestring" = xdisable; then
10133 if test $wxUSE_COMBOCTRL = yes; then
10139 result=$wxUSE_COMBOCTRL
10142 { echo "$as_me:$LINENO: result: $result" >&5
10143 echo "${ECHO_T}$result" >&6; }
10147 defaultval=$wxUSE_ALL_FEATURES
10148 if test -z "$defaultval"; then
10149 if test x"$enablestring" = xdisable; then
10156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10157 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10158 # Check whether --enable-dataviewctrl was given.
10159 if test "${enable_dataviewctrl+set}" = set; then
10160 enableval=$enable_dataviewctrl;
10161 if test "$enableval" = yes; then
10162 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10164 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10169 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10174 eval "$wx_cv_use_dataviewctrl"
10176 if test x"$enablestring" = xdisable; then
10177 if test $wxUSE_DATAVIEWCTRL = yes; then
10183 result=$wxUSE_DATAVIEWCTRL
10186 { echo "$as_me:$LINENO: result
: $result" >&5
10187 echo "${ECHO_T}$result" >&6; }
10191 defaultval=$wxUSE_ALL_FEATURES
10192 if test -z "$defaultval"; then
10193 if test x"$enablestring" = xdisable; then
10200 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
10201 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10202 # Check whether --enable-datepick was given.
10203 if test "${enable_datepick+set}" = set; then
10204 enableval=$enable_datepick;
10205 if test "$enableval" = yes; then
10206 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10208 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10213 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10218 eval "$wx_cv_use_datepick"
10220 if test x
"$enablestring" = xdisable
; then
10221 if test $wxUSE_DATEPICKCTRL = yes; then
10227 result
=$wxUSE_DATEPICKCTRL
10230 { echo "$as_me:$LINENO: result: $result" >&5
10231 echo "${ECHO_T}$result" >&6; }
10235 defaultval
=$wxUSE_ALL_FEATURES
10236 if test -z "$defaultval"; then
10237 if test x
"$enablestring" = xdisable
; then
10244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10245 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10246 # Check whether --enable-detect_sm was given.
10247 if test "${enable_detect_sm+set}" = set; then
10248 enableval
=$enable_detect_sm;
10249 if test "$enableval" = yes; then
10250 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10252 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10257 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10262 eval "$wx_cv_use_detect_sm"
10264 if test x"$enablestring" = xdisable; then
10265 if test $wxUSE_DETECT_SM = yes; then
10271 result=$wxUSE_DETECT_SM
10274 { echo "$as_me:$LINENO: result: $result" >&5
10275 echo "${ECHO_T}$result" >&6; }
10279 defaultval=$wxUSE_ALL_FEATURES
10280 if test -z "$defaultval"; then
10281 if test x"$enablestring" = xdisable; then
10288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10289 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10290 # Check whether --enable-dirpicker was given.
10291 if test "${enable_dirpicker+set}" = set; then
10292 enableval=$enable_dirpicker;
10293 if test "$enableval" = yes; then
10294 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10296 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10301 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10306 eval "$wx_cv_use_dirpicker"
10308 if test x"$enablestring" = xdisable; then
10309 if test $wxUSE_DIRPICKERCTRL = yes; then
10315 result=$wxUSE_DIRPICKERCTRL
10318 { echo "$as_me:$LINENO: result
: $result" >&5
10319 echo "${ECHO_T}$result" >&6; }
10323 defaultval=$wxUSE_ALL_FEATURES
10324 if test -z "$defaultval"; then
10325 if test x"$enablestring" = xdisable; then
10332 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10333 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10334 # Check whether --enable-display was given.
10335 if test "${enable_display+set}" = set; then
10336 enableval=$enable_display;
10337 if test "$enableval" = yes; then
10338 wx_cv_use_display='wxUSE_DISPLAY=yes'
10340 wx_cv_use_display='wxUSE_DISPLAY=no'
10345 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10350 eval "$wx_cv_use_display"
10352 if test x
"$enablestring" = xdisable
; then
10353 if test $wxUSE_DISPLAY = yes; then
10359 result
=$wxUSE_DISPLAY
10362 { echo "$as_me:$LINENO: result: $result" >&5
10363 echo "${ECHO_T}$result" >&6; }
10367 defaultval
=$wxUSE_ALL_FEATURES
10368 if test -z "$defaultval"; then
10369 if test x
"$enablestring" = xdisable
; then
10376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10377 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10378 # Check whether --enable-editablebox was given.
10379 if test "${enable_editablebox+set}" = set; then
10380 enableval
=$enable_editablebox;
10381 if test "$enableval" = yes; then
10382 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10384 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10389 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10394 eval "$wx_cv_use_editablebox"
10396 if test x"$enablestring" = xdisable; then
10397 if test $wxUSE_EDITABLELISTBOX = yes; then
10403 result=$wxUSE_EDITABLELISTBOX
10406 { echo "$as_me:$LINENO: result: $result" >&5
10407 echo "${ECHO_T}$result" >&6; }
10411 defaultval=$wxUSE_ALL_FEATURES
10412 if test -z "$defaultval"; then
10413 if test x"$enablestring" = xdisable; then
10420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10421 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10422 # Check whether --enable-filectrl was given.
10423 if test "${enable_filectrl+set}" = set; then
10424 enableval=$enable_filectrl;
10425 if test "$enableval" = yes; then
10426 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10428 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10433 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10438 eval "$wx_cv_use_filectrl"
10440 if test x"$enablestring" = xdisable; then
10441 if test $wxUSE_FILECTRL = yes; then
10447 result=$wxUSE_FILECTRL
10450 { echo "$as_me:$LINENO: result
: $result" >&5
10451 echo "${ECHO_T}$result" >&6; }
10455 defaultval=$wxUSE_ALL_FEATURES
10456 if test -z "$defaultval"; then
10457 if test x"$enablestring" = xdisable; then
10464 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10465 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10466 # Check whether --enable-filepicker was given.
10467 if test "${enable_filepicker+set}" = set; then
10468 enableval=$enable_filepicker;
10469 if test "$enableval" = yes; then
10470 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10472 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10477 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10482 eval "$wx_cv_use_filepicker"
10484 if test x
"$enablestring" = xdisable
; then
10485 if test $wxUSE_FILEPICKERCTRL = yes; then
10491 result
=$wxUSE_FILEPICKERCTRL
10494 { echo "$as_me:$LINENO: result: $result" >&5
10495 echo "${ECHO_T}$result" >&6; }
10499 defaultval
=$wxUSE_ALL_FEATURES
10500 if test -z "$defaultval"; then
10501 if test x
"$enablestring" = xdisable
; then
10508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10509 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10510 # Check whether --enable-fontpicker was given.
10511 if test "${enable_fontpicker+set}" = set; then
10512 enableval
=$enable_fontpicker;
10513 if test "$enableval" = yes; then
10514 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10516 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10521 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10526 eval "$wx_cv_use_fontpicker"
10528 if test x"$enablestring" = xdisable; then
10529 if test $wxUSE_FONTPICKERCTRL = yes; then
10535 result=$wxUSE_FONTPICKERCTRL
10538 { echo "$as_me:$LINENO: result: $result" >&5
10539 echo "${ECHO_T}$result" >&6; }
10543 defaultval=$wxUSE_ALL_FEATURES
10544 if test -z "$defaultval"; then
10545 if test x"$enablestring" = xdisable; then
10552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10553 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10554 # Check whether --enable-gauge was given.
10555 if test "${enable_gauge+set}" = set; then
10556 enableval=$enable_gauge;
10557 if test "$enableval" = yes; then
10558 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10560 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10565 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10570 eval "$wx_cv_use_gauge"
10572 if test x"$enablestring" = xdisable; then
10573 if test $wxUSE_GAUGE = yes; then
10579 result=$wxUSE_GAUGE
10582 { echo "$as_me:$LINENO: result
: $result" >&5
10583 echo "${ECHO_T}$result" >&6; }
10587 defaultval=$wxUSE_ALL_FEATURES
10588 if test -z "$defaultval"; then
10589 if test x"$enablestring" = xdisable; then
10596 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10597 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10598 # Check whether --enable-grid was given.
10599 if test "${enable_grid+set}" = set; then
10600 enableval=$enable_grid;
10601 if test "$enableval" = yes; then
10602 wx_cv_use_grid='wxUSE_GRID=yes'
10604 wx_cv_use_grid='wxUSE_GRID=no'
10609 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10614 eval "$wx_cv_use_grid"
10616 if test x
"$enablestring" = xdisable
; then
10617 if test $wxUSE_GRID = yes; then
10626 { echo "$as_me:$LINENO: result: $result" >&5
10627 echo "${ECHO_T}$result" >&6; }
10631 defaultval
=$wxUSE_ALL_FEATURES
10632 if test -z "$defaultval"; then
10633 if test x
"$enablestring" = xdisable
; then
10640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10641 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10642 # Check whether --enable-headerctrl was given.
10643 if test "${enable_headerctrl+set}" = set; then
10644 enableval
=$enable_headerctrl;
10645 if test "$enableval" = yes; then
10646 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
10648 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
10653 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10658 eval "$wx_cv_use_headerctrl"
10660 if test x"$enablestring" = xdisable; then
10661 if test $wxUSE_HEADERCTRL = yes; then
10667 result=$wxUSE_HEADERCTRL
10670 { echo "$as_me:$LINENO: result: $result" >&5
10671 echo "${ECHO_T}$result" >&6; }
10675 defaultval=$wxUSE_ALL_FEATURES
10676 if test -z "$defaultval"; then
10677 if test x"$enablestring" = xdisable; then
10684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10685 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10686 # Check whether --enable-hyperlink was given.
10687 if test "${enable_hyperlink+set}" = set; then
10688 enableval=$enable_hyperlink;
10689 if test "$enableval" = yes; then
10690 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10692 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10697 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10702 eval "$wx_cv_use_hyperlink"
10704 if test x"$enablestring" = xdisable; then
10705 if test $wxUSE_HYPERLINKCTRL = yes; then
10711 result=$wxUSE_HYPERLINKCTRL
10714 { echo "$as_me:$LINENO: result
: $result" >&5
10715 echo "${ECHO_T}$result" >&6; }
10719 defaultval=$wxUSE_ALL_FEATURES
10720 if test -z "$defaultval"; then
10721 if test x"$enablestring" = xdisable; then
10728 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
10729 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10730 # Check whether --enable-imaglist was given.
10731 if test "${enable_imaglist+set}" = set; then
10732 enableval=$enable_imaglist;
10733 if test "$enableval" = yes; then
10734 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10736 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10741 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10746 eval "$wx_cv_use_imaglist"
10748 if test x
"$enablestring" = xdisable
; then
10749 if test $wxUSE_IMAGLIST = yes; then
10755 result
=$wxUSE_IMAGLIST
10758 { echo "$as_me:$LINENO: result: $result" >&5
10759 echo "${ECHO_T}$result" >&6; }
10763 defaultval
=$wxUSE_ALL_FEATURES
10764 if test -z "$defaultval"; then
10765 if test x
"$enablestring" = xdisable
; then
10772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10773 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10774 # Check whether --enable-listbook was given.
10775 if test "${enable_listbook+set}" = set; then
10776 enableval
=$enable_listbook;
10777 if test "$enableval" = yes; then
10778 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
10780 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
10785 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10790 eval "$wx_cv_use_listbook"
10792 if test x"$enablestring" = xdisable; then
10793 if test $wxUSE_LISTBOOK = yes; then
10799 result=$wxUSE_LISTBOOK
10802 { echo "$as_me:$LINENO: result: $result" >&5
10803 echo "${ECHO_T}$result" >&6; }
10807 defaultval=$wxUSE_ALL_FEATURES
10808 if test -z "$defaultval"; then
10809 if test x"$enablestring" = xdisable; then
10816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10817 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10818 # Check whether --enable-listbox was given.
10819 if test "${enable_listbox+set}" = set; then
10820 enableval=$enable_listbox;
10821 if test "$enableval" = yes; then
10822 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
10824 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
10829 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10834 eval "$wx_cv_use_listbox"
10836 if test x"$enablestring" = xdisable; then
10837 if test $wxUSE_LISTBOX = yes; then
10843 result=$wxUSE_LISTBOX
10846 { echo "$as_me:$LINENO: result
: $result" >&5
10847 echo "${ECHO_T}$result" >&6; }
10851 defaultval=$wxUSE_ALL_FEATURES
10852 if test -z "$defaultval"; then
10853 if test x"$enablestring" = xdisable; then
10860 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
10861 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
10862 # Check whether --enable-listctrl was given.
10863 if test "${enable_listctrl+set}" = set; then
10864 enableval=$enable_listctrl;
10865 if test "$enableval" = yes; then
10866 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10868 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10873 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10878 eval "$wx_cv_use_listctrl"
10880 if test x
"$enablestring" = xdisable
; then
10881 if test $wxUSE_LISTCTRL = yes; then
10887 result
=$wxUSE_LISTCTRL
10890 { echo "$as_me:$LINENO: result: $result" >&5
10891 echo "${ECHO_T}$result" >&6; }
10895 defaultval
=$wxUSE_ALL_FEATURES
10896 if test -z "$defaultval"; then
10897 if test x
"$enablestring" = xdisable
; then
10904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10905 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10906 # Check whether --enable-notebook was given.
10907 if test "${enable_notebook+set}" = set; then
10908 enableval
=$enable_notebook;
10909 if test "$enableval" = yes; then
10910 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
10912 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
10917 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10922 eval "$wx_cv_use_notebook"
10924 if test x"$enablestring" = xdisable; then
10925 if test $wxUSE_NOTEBOOK = yes; then
10931 result=$wxUSE_NOTEBOOK
10934 { echo "$as_me:$LINENO: result: $result" >&5
10935 echo "${ECHO_T}$result" >&6; }
10939 defaultval=$wxUSE_ALL_FEATURES
10940 if test -z "$defaultval"; then
10941 if test x"$enablestring" = xdisable; then
10948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10949 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10950 # Check whether --enable-notifmsg was given.
10951 if test "${enable_notifmsg+set}" = set; then
10952 enableval=$enable_notifmsg;
10953 if test "$enableval" = yes; then
10954 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
10956 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
10961 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10966 eval "$wx_cv_use_notifmsg"
10968 if test x"$enablestring" = xdisable; then
10969 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10975 result=$wxUSE_NOTIFICATION_MESSAGE
10978 { echo "$as_me:$LINENO: result
: $result" >&5
10979 echo "${ECHO_T}$result" >&6; }
10983 defaultval=$wxUSE_ALL_FEATURES
10984 if test -z "$defaultval"; then
10985 if test x"$enablestring" = xdisable; then
10992 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
10993 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
10994 # Check whether --enable-odcombobox was given.
10995 if test "${enable_odcombobox+set}" = set; then
10996 enableval=$enable_odcombobox;
10997 if test "$enableval" = yes; then
10998 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11000 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11005 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11010 eval "$wx_cv_use_odcombobox"
11012 if test x
"$enablestring" = xdisable
; then
11013 if test $wxUSE_ODCOMBOBOX = yes; then
11019 result
=$wxUSE_ODCOMBOBOX
11022 { echo "$as_me:$LINENO: result: $result" >&5
11023 echo "${ECHO_T}$result" >&6; }
11027 defaultval
=$wxUSE_ALL_FEATURES
11028 if test -z "$defaultval"; then
11029 if test x
"$enablestring" = xdisable
; then
11036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11037 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11038 # Check whether --enable-popupwin was given.
11039 if test "${enable_popupwin+set}" = set; then
11040 enableval
=$enable_popupwin;
11041 if test "$enableval" = yes; then
11042 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11044 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11049 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11054 eval "$wx_cv_use_popupwin"
11056 if test x"$enablestring" = xdisable; then
11057 if test $wxUSE_POPUPWIN = yes; then
11063 result=$wxUSE_POPUPWIN
11066 { echo "$as_me:$LINENO: result: $result" >&5
11067 echo "${ECHO_T}$result" >&6; }
11071 defaultval=$wxUSE_ALL_FEATURES
11072 if test -z "$defaultval"; then
11073 if test x"$enablestring" = xdisable; then
11080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11081 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11082 # Check whether --enable-radiobox was given.
11083 if test "${enable_radiobox+set}" = set; then
11084 enableval=$enable_radiobox;
11085 if test "$enableval" = yes; then
11086 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11088 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11093 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11098 eval "$wx_cv_use_radiobox"
11100 if test x"$enablestring" = xdisable; then
11101 if test $wxUSE_RADIOBOX = yes; then
11107 result=$wxUSE_RADIOBOX
11110 { echo "$as_me:$LINENO: result
: $result" >&5
11111 echo "${ECHO_T}$result" >&6; }
11115 defaultval=$wxUSE_ALL_FEATURES
11116 if test -z "$defaultval"; then
11117 if test x"$enablestring" = xdisable; then
11124 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11125 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11126 # Check whether --enable-radiobtn was given.
11127 if test "${enable_radiobtn+set}" = set; then
11128 enableval=$enable_radiobtn;
11129 if test "$enableval" = yes; then
11130 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11132 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11137 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11142 eval "$wx_cv_use_radiobtn"
11144 if test x
"$enablestring" = xdisable
; then
11145 if test $wxUSE_RADIOBTN = yes; then
11151 result
=$wxUSE_RADIOBTN
11154 { echo "$as_me:$LINENO: result: $result" >&5
11155 echo "${ECHO_T}$result" >&6; }
11159 defaultval
=$wxUSE_ALL_FEATURES
11160 if test -z "$defaultval"; then
11161 if test x
"$enablestring" = xdisable
; then
11168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11169 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11170 # Check whether --enable-rearrangectrl was given.
11171 if test "${enable_rearrangectrl+set}" = set; then
11172 enableval
=$enable_rearrangectrl;
11173 if test "$enableval" = yes; then
11174 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
11176 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
11181 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11186 eval "$wx_cv_use_rearrangectrl"
11188 if test x"$enablestring" = xdisable; then
11189 if test $wxUSE_REARRANGECTRL = yes; then
11195 result=$wxUSE_REARRANGECTRL
11198 { echo "$as_me:$LINENO: result: $result" >&5
11199 echo "${ECHO_T}$result" >&6; }
11203 defaultval=$wxUSE_ALL_FEATURES
11204 if test -z "$defaultval"; then
11205 if test x"$enablestring" = xdisable; then
11212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11213 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11214 # Check whether --enable-sash was given.
11215 if test "${enable_sash+set}" = set; then
11216 enableval=$enable_sash;
11217 if test "$enableval" = yes; then
11218 wx_cv_use_sash='wxUSE_SASH
=yes'
11220 wx_cv_use_sash='wxUSE_SASH
=no
'
11225 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11230 eval "$wx_cv_use_sash"
11232 if test x"$enablestring" = xdisable; then
11233 if test $wxUSE_SASH = yes; then
11242 { echo "$as_me:$LINENO: result
: $result" >&5
11243 echo "${ECHO_T}$result" >&6; }
11247 defaultval=$wxUSE_ALL_FEATURES
11248 if test -z "$defaultval"; then
11249 if test x"$enablestring" = xdisable; then
11256 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11257 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11258 # Check whether --enable-scrollbar was given.
11259 if test "${enable_scrollbar+set}" = set; then
11260 enableval=$enable_scrollbar;
11261 if test "$enableval" = yes; then
11262 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11264 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11269 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11274 eval "$wx_cv_use_scrollbar"
11276 if test x
"$enablestring" = xdisable
; then
11277 if test $wxUSE_SCROLLBAR = yes; then
11283 result
=$wxUSE_SCROLLBAR
11286 { echo "$as_me:$LINENO: result: $result" >&5
11287 echo "${ECHO_T}$result" >&6; }
11291 defaultval
=$wxUSE_ALL_FEATURES
11292 if test -z "$defaultval"; then
11293 if test x
"$enablestring" = xdisable
; then
11300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11301 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11302 # Check whether --enable-searchctrl was given.
11303 if test "${enable_searchctrl+set}" = set; then
11304 enableval
=$enable_searchctrl;
11305 if test "$enableval" = yes; then
11306 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11308 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11313 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11318 eval "$wx_cv_use_searchctrl"
11320 if test x"$enablestring" = xdisable; then
11321 if test $wxUSE_SEARCHCTRL = yes; then
11327 result=$wxUSE_SEARCHCTRL
11330 { echo "$as_me:$LINENO: result: $result" >&5
11331 echo "${ECHO_T}$result" >&6; }
11335 defaultval=$wxUSE_ALL_FEATURES
11336 if test -z "$defaultval"; then
11337 if test x"$enablestring" = xdisable; then
11344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11345 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11346 # Check whether --enable-slider was given.
11347 if test "${enable_slider+set}" = set; then
11348 enableval=$enable_slider;
11349 if test "$enableval" = yes; then
11350 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11352 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11357 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11362 eval "$wx_cv_use_slider"
11364 if test x"$enablestring" = xdisable; then
11365 if test $wxUSE_SLIDER = yes; then
11371 result=$wxUSE_SLIDER
11374 { echo "$as_me:$LINENO: result
: $result" >&5
11375 echo "${ECHO_T}$result" >&6; }
11379 defaultval=$wxUSE_ALL_FEATURES
11380 if test -z "$defaultval"; then
11381 if test x"$enablestring" = xdisable; then
11388 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11389 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11390 # Check whether --enable-spinbtn was given.
11391 if test "${enable_spinbtn+set}" = set; then
11392 enableval=$enable_spinbtn;
11393 if test "$enableval" = yes; then
11394 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11396 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11401 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11406 eval "$wx_cv_use_spinbtn"
11408 if test x
"$enablestring" = xdisable
; then
11409 if test $wxUSE_SPINBTN = yes; then
11415 result
=$wxUSE_SPINBTN
11418 { echo "$as_me:$LINENO: result: $result" >&5
11419 echo "${ECHO_T}$result" >&6; }
11423 defaultval
=$wxUSE_ALL_FEATURES
11424 if test -z "$defaultval"; then
11425 if test x
"$enablestring" = xdisable
; then
11432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11433 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11434 # Check whether --enable-spinctrl was given.
11435 if test "${enable_spinctrl+set}" = set; then
11436 enableval
=$enable_spinctrl;
11437 if test "$enableval" = yes; then
11438 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11440 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11445 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11450 eval "$wx_cv_use_spinctrl"
11452 if test x"$enablestring" = xdisable; then
11453 if test $wxUSE_SPINCTRL = yes; then
11459 result=$wxUSE_SPINCTRL
11462 { echo "$as_me:$LINENO: result: $result" >&5
11463 echo "${ECHO_T}$result" >&6; }
11467 defaultval=$wxUSE_ALL_FEATURES
11468 if test -z "$defaultval"; then
11469 if test x"$enablestring" = xdisable; then
11476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11477 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11478 # Check whether --enable-splitter was given.
11479 if test "${enable_splitter+set}" = set; then
11480 enableval=$enable_splitter;
11481 if test "$enableval" = yes; then
11482 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11484 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11489 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11494 eval "$wx_cv_use_splitter"
11496 if test x"$enablestring" = xdisable; then
11497 if test $wxUSE_SPLITTER = yes; then
11503 result=$wxUSE_SPLITTER
11506 { echo "$as_me:$LINENO: result
: $result" >&5
11507 echo "${ECHO_T}$result" >&6; }
11511 defaultval=$wxUSE_ALL_FEATURES
11512 if test -z "$defaultval"; then
11513 if test x"$enablestring" = xdisable; then
11520 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11521 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11522 # Check whether --enable-statbmp was given.
11523 if test "${enable_statbmp+set}" = set; then
11524 enableval=$enable_statbmp;
11525 if test "$enableval" = yes; then
11526 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11528 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11533 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11538 eval "$wx_cv_use_statbmp"
11540 if test x
"$enablestring" = xdisable
; then
11541 if test $wxUSE_STATBMP = yes; then
11547 result
=$wxUSE_STATBMP
11550 { echo "$as_me:$LINENO: result: $result" >&5
11551 echo "${ECHO_T}$result" >&6; }
11555 defaultval
=$wxUSE_ALL_FEATURES
11556 if test -z "$defaultval"; then
11557 if test x
"$enablestring" = xdisable
; then
11564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11565 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11566 # Check whether --enable-statbox was given.
11567 if test "${enable_statbox+set}" = set; then
11568 enableval
=$enable_statbox;
11569 if test "$enableval" = yes; then
11570 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11572 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11577 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11582 eval "$wx_cv_use_statbox"
11584 if test x"$enablestring" = xdisable; then
11585 if test $wxUSE_STATBOX = yes; then
11591 result=$wxUSE_STATBOX
11594 { echo "$as_me:$LINENO: result: $result" >&5
11595 echo "${ECHO_T}$result" >&6; }
11599 defaultval=$wxUSE_ALL_FEATURES
11600 if test -z "$defaultval"; then
11601 if test x"$enablestring" = xdisable; then
11608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11609 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11610 # Check whether --enable-statline was given.
11611 if test "${enable_statline+set}" = set; then
11612 enableval=$enable_statline;
11613 if test "$enableval" = yes; then
11614 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11616 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11621 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11626 eval "$wx_cv_use_statline"
11628 if test x"$enablestring" = xdisable; then
11629 if test $wxUSE_STATLINE = yes; then
11635 result=$wxUSE_STATLINE
11638 { echo "$as_me:$LINENO: result
: $result" >&5
11639 echo "${ECHO_T}$result" >&6; }
11643 defaultval=$wxUSE_ALL_FEATURES
11644 if test -z "$defaultval"; then
11645 if test x"$enablestring" = xdisable; then
11652 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11653 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11654 # Check whether --enable-stattext was given.
11655 if test "${enable_stattext+set}" = set; then
11656 enableval=$enable_stattext;
11657 if test "$enableval" = yes; then
11658 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11660 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11665 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11670 eval "$wx_cv_use_stattext"
11672 if test x
"$enablestring" = xdisable
; then
11673 if test $wxUSE_STATTEXT = yes; then
11679 result
=$wxUSE_STATTEXT
11682 { echo "$as_me:$LINENO: result: $result" >&5
11683 echo "${ECHO_T}$result" >&6; }
11687 defaultval
=$wxUSE_ALL_FEATURES
11688 if test -z "$defaultval"; then
11689 if test x
"$enablestring" = xdisable
; then
11696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11697 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11698 # Check whether --enable-statusbar was given.
11699 if test "${enable_statusbar+set}" = set; then
11700 enableval
=$enable_statusbar;
11701 if test "$enableval" = yes; then
11702 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11704 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11709 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11714 eval "$wx_cv_use_statusbar"
11716 if test x"$enablestring" = xdisable; then
11717 if test $wxUSE_STATUSBAR = yes; then
11723 result=$wxUSE_STATUSBAR
11726 { echo "$as_me:$LINENO: result: $result" >&5
11727 echo "${ECHO_T}$result" >&6; }
11731 defaultval=$wxUSE_ALL_FEATURES
11732 if test -z "$defaultval"; then
11733 if test x"$enablestring" = xdisable; then
11740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11741 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11742 # Check whether --enable-taskbaricon was given.
11743 if test "${enable_taskbaricon+set}" = set; then
11744 enableval=$enable_taskbaricon;
11745 if test "$enableval" = yes; then
11746 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
11748 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
11753 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11758 eval "$wx_cv_use_taskbaricon"
11760 if test x"$enablestring" = xdisable; then
11761 if test $wxUSE_TASKBARICON = yes; then
11767 result=$wxUSE_TASKBARICON
11770 { echo "$as_me:$LINENO: result
: $result" >&5
11771 echo "${ECHO_T}$result" >&6; }
11775 defaultval=$wxUSE_ALL_FEATURES
11776 if test -z "$defaultval"; then
11777 if test x"$enablestring" = xdisable; then
11784 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
11785 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
11786 # Check whether --enable-tbarnative was given.
11787 if test "${enable_tbarnative+set}" = set; then
11788 enableval=$enable_tbarnative;
11789 if test "$enableval" = yes; then
11790 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11792 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11797 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11802 eval "$wx_cv_use_tbarnative"
11804 if test x
"$enablestring" = xdisable
; then
11805 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11811 result
=$wxUSE_TOOLBAR_NATIVE
11814 { echo "$as_me:$LINENO: result: $result" >&5
11815 echo "${ECHO_T}$result" >&6; }
11819 defaultval
=$wxUSE_ALL_FEATURES
11820 if test -z "$defaultval"; then
11821 if test x
"$enablestring" = xdisable
; then
11828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11829 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11830 # Check whether --enable-textctrl was given.
11831 if test "${enable_textctrl+set}" = set; then
11832 enableval
=$enable_textctrl;
11833 if test "$enableval" = yes; then
11834 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11836 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11841 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11846 eval "$wx_cv_use_textctrl"
11848 if test x"$enablestring" = xdisable; then
11849 if test $wxUSE_TEXTCTRL = yes; then
11855 result=$wxUSE_TEXTCTRL
11858 { echo "$as_me:$LINENO: result: $result" >&5
11859 echo "${ECHO_T}$result" >&6; }
11863 defaultval=$wxUSE_ALL_FEATURES
11864 if test -z "$defaultval"; then
11865 if test x"$enablestring" = xdisable; then
11872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11873 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11874 # Check whether --enable-tipwindow was given.
11875 if test "${enable_tipwindow+set}" = set; then
11876 enableval=$enable_tipwindow;
11877 if test "$enableval" = yes; then
11878 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
11880 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
11885 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11890 eval "$wx_cv_use_tipwindow"
11892 if test x"$enablestring" = xdisable; then
11893 if test $wxUSE_TIPWINDOW = yes; then
11899 result=$wxUSE_TIPWINDOW
11902 { echo "$as_me:$LINENO: result
: $result" >&5
11903 echo "${ECHO_T}$result" >&6; }
11907 defaultval=$wxUSE_ALL_FEATURES
11908 if test -z "$defaultval"; then
11909 if test x"$enablestring" = xdisable; then
11916 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
11917 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
11918 # Check whether --enable-togglebtn was given.
11919 if test "${enable_togglebtn+set}" = set; then
11920 enableval=$enable_togglebtn;
11921 if test "$enableval" = yes; then
11922 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11924 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11929 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11934 eval "$wx_cv_use_togglebtn"
11936 if test x
"$enablestring" = xdisable
; then
11937 if test $wxUSE_TOGGLEBTN = yes; then
11943 result
=$wxUSE_TOGGLEBTN
11946 { echo "$as_me:$LINENO: result: $result" >&5
11947 echo "${ECHO_T}$result" >&6; }
11951 defaultval
=$wxUSE_ALL_FEATURES
11952 if test -z "$defaultval"; then
11953 if test x
"$enablestring" = xdisable
; then
11960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11961 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11962 # Check whether --enable-toolbar was given.
11963 if test "${enable_toolbar+set}" = set; then
11964 enableval
=$enable_toolbar;
11965 if test "$enableval" = yes; then
11966 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
11968 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
11973 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11978 eval "$wx_cv_use_toolbar"
11980 if test x"$enablestring" = xdisable; then
11981 if test $wxUSE_TOOLBAR = yes; then
11987 result=$wxUSE_TOOLBAR
11990 { echo "$as_me:$LINENO: result: $result" >&5
11991 echo "${ECHO_T}$result" >&6; }
11995 defaultval=$wxUSE_ALL_FEATURES
11996 if test -z "$defaultval"; then
11997 if test x"$enablestring" = xdisable; then
12004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12005 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12006 # Check whether --enable-toolbook was given.
12007 if test "${enable_toolbook+set}" = set; then
12008 enableval=$enable_toolbook;
12009 if test "$enableval" = yes; then
12010 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12012 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12017 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12022 eval "$wx_cv_use_toolbook"
12024 if test x"$enablestring" = xdisable; then
12025 if test $wxUSE_TOOLBOOK = yes; then
12031 result=$wxUSE_TOOLBOOK
12034 { echo "$as_me:$LINENO: result
: $result" >&5
12035 echo "${ECHO_T}$result" >&6; }
12039 defaultval=$wxUSE_ALL_FEATURES
12040 if test -z "$defaultval"; then
12041 if test x"$enablestring" = xdisable; then
12048 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12049 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12050 # Check whether --enable-treebook was given.
12051 if test "${enable_treebook+set}" = set; then
12052 enableval=$enable_treebook;
12053 if test "$enableval" = yes; then
12054 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12056 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12061 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12066 eval "$wx_cv_use_treebook"
12068 if test x
"$enablestring" = xdisable
; then
12069 if test $wxUSE_TREEBOOK = yes; then
12075 result
=$wxUSE_TREEBOOK
12078 { echo "$as_me:$LINENO: result: $result" >&5
12079 echo "${ECHO_T}$result" >&6; }
12083 defaultval
=$wxUSE_ALL_FEATURES
12084 if test -z "$defaultval"; then
12085 if test x
"$enablestring" = xdisable
; then
12092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12093 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12094 # Check whether --enable-treectrl was given.
12095 if test "${enable_treectrl+set}" = set; then
12096 enableval
=$enable_treectrl;
12097 if test "$enableval" = yes; then
12098 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12100 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12105 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12110 eval "$wx_cv_use_treectrl"
12112 if test x"$enablestring" = xdisable; then
12113 if test $wxUSE_TREECTRL = yes; then
12119 result=$wxUSE_TREECTRL
12122 { echo "$as_me:$LINENO: result: $result" >&5
12123 echo "${ECHO_T}$result" >&6; }
12129 defaultval=$wxUSE_ALL_FEATURES
12130 if test -z "$defaultval"; then
12131 if test x"$enablestring" = xdisable; then
12138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12139 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12140 # Check whether --enable-commondlg was given.
12141 if test "${enable_commondlg+set}" = set; then
12142 enableval=$enable_commondlg;
12143 if test "$enableval" = yes; then
12144 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12146 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12151 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12156 eval "$wx_cv_use_commondlg"
12158 if test x"$enablestring" = xdisable; then
12159 if test $wxUSE_COMMONDLGS = yes; then
12165 result=$wxUSE_COMMONDLGS
12168 { echo "$as_me:$LINENO: result
: $result" >&5
12169 echo "${ECHO_T}$result" >&6; }
12173 defaultval=$wxUSE_ALL_FEATURES
12174 if test -z "$defaultval"; then
12175 if test x"$enablestring" = xdisable; then
12182 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
12183 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
12184 # Check whether --enable-aboutdlg was given.
12185 if test "${enable_aboutdlg+set}" = set; then
12186 enableval=$enable_aboutdlg;
12187 if test "$enableval" = yes; then
12188 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12190 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12195 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12200 eval "$wx_cv_use_aboutdlg"
12202 if test x
"$enablestring" = xdisable
; then
12203 if test $wxUSE_ABOUTDLG = yes; then
12209 result
=$wxUSE_ABOUTDLG
12212 { echo "$as_me:$LINENO: result: $result" >&5
12213 echo "${ECHO_T}$result" >&6; }
12217 defaultval
=$wxUSE_ALL_FEATURES
12218 if test -z "$defaultval"; then
12219 if test x
"$enablestring" = xdisable
; then
12226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12227 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12228 # Check whether --enable-choicedlg was given.
12229 if test "${enable_choicedlg+set}" = set; then
12230 enableval
=$enable_choicedlg;
12231 if test "$enableval" = yes; then
12232 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
12234 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
12239 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12244 eval "$wx_cv_use_choicedlg"
12246 if test x"$enablestring" = xdisable; then
12247 if test $wxUSE_CHOICEDLG = yes; then
12253 result=$wxUSE_CHOICEDLG
12256 { echo "$as_me:$LINENO: result: $result" >&5
12257 echo "${ECHO_T}$result" >&6; }
12261 defaultval=$wxUSE_ALL_FEATURES
12262 if test -z "$defaultval"; then
12263 if test x"$enablestring" = xdisable; then
12270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12271 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12272 # Check whether --enable-coldlg was given.
12273 if test "${enable_coldlg+set}" = set; then
12274 enableval=$enable_coldlg;
12275 if test "$enableval" = yes; then
12276 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
12278 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
12283 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12288 eval "$wx_cv_use_coldlg"
12290 if test x"$enablestring" = xdisable; then
12291 if test $wxUSE_COLOURDLG = yes; then
12297 result=$wxUSE_COLOURDLG
12300 { echo "$as_me:$LINENO: result
: $result" >&5
12301 echo "${ECHO_T}$result" >&6; }
12305 defaultval=$wxUSE_ALL_FEATURES
12306 if test -z "$defaultval"; then
12307 if test x"$enablestring" = xdisable; then
12314 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
12315 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
12316 # Check whether --enable-filedlg was given.
12317 if test "${enable_filedlg+set}" = set; then
12318 enableval=$enable_filedlg;
12319 if test "$enableval" = yes; then
12320 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12322 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12327 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12332 eval "$wx_cv_use_filedlg"
12334 if test x
"$enablestring" = xdisable
; then
12335 if test $wxUSE_FILEDLG = yes; then
12341 result
=$wxUSE_FILEDLG
12344 { echo "$as_me:$LINENO: result: $result" >&5
12345 echo "${ECHO_T}$result" >&6; }
12349 defaultval
=$wxUSE_ALL_FEATURES
12350 if test -z "$defaultval"; then
12351 if test x
"$enablestring" = xdisable
; then
12358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12359 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12360 # Check whether --enable-finddlg was given.
12361 if test "${enable_finddlg+set}" = set; then
12362 enableval
=$enable_finddlg;
12363 if test "$enableval" = yes; then
12364 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
12366 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
12371 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12376 eval "$wx_cv_use_finddlg"
12378 if test x"$enablestring" = xdisable; then
12379 if test $wxUSE_FINDREPLDLG = yes; then
12385 result=$wxUSE_FINDREPLDLG
12388 { echo "$as_me:$LINENO: result: $result" >&5
12389 echo "${ECHO_T}$result" >&6; }
12393 defaultval=$wxUSE_ALL_FEATURES
12394 if test -z "$defaultval"; then
12395 if test x"$enablestring" = xdisable; then
12402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12403 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12404 # Check whether --enable-fontdlg was given.
12405 if test "${enable_fontdlg+set}" = set; then
12406 enableval=$enable_fontdlg;
12407 if test "$enableval" = yes; then
12408 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
12410 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
12415 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12420 eval "$wx_cv_use_fontdlg"
12422 if test x"$enablestring" = xdisable; then
12423 if test $wxUSE_FONTDLG = yes; then
12429 result=$wxUSE_FONTDLG
12432 { echo "$as_me:$LINENO: result
: $result" >&5
12433 echo "${ECHO_T}$result" >&6; }
12437 defaultval=$wxUSE_ALL_FEATURES
12438 if test -z "$defaultval"; then
12439 if test x"$enablestring" = xdisable; then
12446 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
12447 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
12448 # Check whether --enable-dirdlg was given.
12449 if test "${enable_dirdlg+set}" = set; then
12450 enableval=$enable_dirdlg;
12451 if test "$enableval" = yes; then
12452 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12454 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12459 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12464 eval "$wx_cv_use_dirdlg"
12466 if test x
"$enablestring" = xdisable
; then
12467 if test $wxUSE_DIRDLG = yes; then
12473 result
=$wxUSE_DIRDLG
12476 { echo "$as_me:$LINENO: result: $result" >&5
12477 echo "${ECHO_T}$result" >&6; }
12481 defaultval
=$wxUSE_ALL_FEATURES
12482 if test -z "$defaultval"; then
12483 if test x
"$enablestring" = xdisable
; then
12490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12491 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12492 # Check whether --enable-msgdlg was given.
12493 if test "${enable_msgdlg+set}" = set; then
12494 enableval
=$enable_msgdlg;
12495 if test "$enableval" = yes; then
12496 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
12498 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
12503 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12508 eval "$wx_cv_use_msgdlg"
12510 if test x"$enablestring" = xdisable; then
12511 if test $wxUSE_MSGDLG = yes; then
12517 result=$wxUSE_MSGDLG
12520 { echo "$as_me:$LINENO: result: $result" >&5
12521 echo "${ECHO_T}$result" >&6; }
12525 defaultval=$wxUSE_ALL_FEATURES
12526 if test -z "$defaultval"; then
12527 if test x"$enablestring" = xdisable; then
12534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12535 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12536 # Check whether --enable-numberdlg was given.
12537 if test "${enable_numberdlg+set}" = set; then
12538 enableval=$enable_numberdlg;
12539 if test "$enableval" = yes; then
12540 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
12542 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
12547 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12552 eval "$wx_cv_use_numberdlg"
12554 if test x"$enablestring" = xdisable; then
12555 if test $wxUSE_NUMBERDLG = yes; then
12561 result=$wxUSE_NUMBERDLG
12564 { echo "$as_me:$LINENO: result
: $result" >&5
12565 echo "${ECHO_T}$result" >&6; }
12569 defaultval=$wxUSE_ALL_FEATURES
12570 if test -z "$defaultval"; then
12571 if test x"$enablestring" = xdisable; then
12578 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
12579 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
12580 # Check whether --enable-splash was given.
12581 if test "${enable_splash+set}" = set; then
12582 enableval=$enable_splash;
12583 if test "$enableval" = yes; then
12584 wx_cv_use_splash='wxUSE_SPLASH=yes'
12586 wx_cv_use_splash='wxUSE_SPLASH=no'
12591 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12596 eval "$wx_cv_use_splash"
12598 if test x
"$enablestring" = xdisable
; then
12599 if test $wxUSE_SPLASH = yes; then
12605 result
=$wxUSE_SPLASH
12608 { echo "$as_me:$LINENO: result: $result" >&5
12609 echo "${ECHO_T}$result" >&6; }
12613 defaultval
=$wxUSE_ALL_FEATURES
12614 if test -z "$defaultval"; then
12615 if test x
"$enablestring" = xdisable
; then
12622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12623 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12624 # Check whether --enable-textdlg was given.
12625 if test "${enable_textdlg+set}" = set; then
12626 enableval
=$enable_textdlg;
12627 if test "$enableval" = yes; then
12628 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
12630 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
12635 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12640 eval "$wx_cv_use_textdlg"
12642 if test x"$enablestring" = xdisable; then
12643 if test $wxUSE_TEXTDLG = yes; then
12649 result=$wxUSE_TEXTDLG
12652 { echo "$as_me:$LINENO: result: $result" >&5
12653 echo "${ECHO_T}$result" >&6; }
12657 defaultval=$wxUSE_ALL_FEATURES
12658 if test -z "$defaultval"; then
12659 if test x"$enablestring" = xdisable; then
12666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12667 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12668 # Check whether --enable-tipdlg was given.
12669 if test "${enable_tipdlg+set}" = set; then
12670 enableval=$enable_tipdlg;
12671 if test "$enableval" = yes; then
12672 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
12674 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
12679 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12684 eval "$wx_cv_use_tipdlg"
12686 if test x"$enablestring" = xdisable; then
12687 if test $wxUSE_STARTUP_TIPS = yes; then
12693 result=$wxUSE_STARTUP_TIPS
12696 { echo "$as_me:$LINENO: result
: $result" >&5
12697 echo "${ECHO_T}$result" >&6; }
12701 defaultval=$wxUSE_ALL_FEATURES
12702 if test -z "$defaultval"; then
12703 if test x"$enablestring" = xdisable; then
12710 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
12711 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
12712 # Check whether --enable-progressdlg was given.
12713 if test "${enable_progressdlg+set}" = set; then
12714 enableval=$enable_progressdlg;
12715 if test "$enableval" = yes; then
12716 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12718 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12723 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12728 eval "$wx_cv_use_progressdlg"
12730 if test x
"$enablestring" = xdisable
; then
12731 if test $wxUSE_PROGRESSDLG = yes; then
12737 result
=$wxUSE_PROGRESSDLG
12740 { echo "$as_me:$LINENO: result: $result" >&5
12741 echo "${ECHO_T}$result" >&6; }
12745 defaultval
=$wxUSE_ALL_FEATURES
12746 if test -z "$defaultval"; then
12747 if test x
"$enablestring" = xdisable
; then
12754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12755 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12756 # Check whether --enable-wizarddlg was given.
12757 if test "${enable_wizarddlg+set}" = set; then
12758 enableval
=$enable_wizarddlg;
12759 if test "$enableval" = yes; then
12760 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
12762 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
12767 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12772 eval "$wx_cv_use_wizarddlg"
12774 if test x"$enablestring" = xdisable; then
12775 if test $wxUSE_WIZARDDLG = yes; then
12781 result=$wxUSE_WIZARDDLG
12784 { echo "$as_me:$LINENO: result: $result" >&5
12785 echo "${ECHO_T}$result" >&6; }
12791 defaultval=$wxUSE_ALL_FEATURES
12792 if test -z "$defaultval"; then
12793 if test x"$enablestring" = xdisable; then
12800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12801 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12802 # Check whether --enable-menus was given.
12803 if test "${enable_menus+set}" = set; then
12804 enableval=$enable_menus;
12805 if test "$enableval" = yes; then
12806 wx_cv_use_menus='wxUSE_MENUS
=yes'
12808 wx_cv_use_menus='wxUSE_MENUS
=no
'
12813 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12818 eval "$wx_cv_use_menus"
12820 if test x"$enablestring" = xdisable; then
12821 if test $wxUSE_MENUS = yes; then
12827 result=$wxUSE_MENUS
12830 { echo "$as_me:$LINENO: result
: $result" >&5
12831 echo "${ECHO_T}$result" >&6; }
12835 defaultval=$wxUSE_ALL_FEATURES
12836 if test -z "$defaultval"; then
12837 if test x"$enablestring" = xdisable; then
12844 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
12845 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
12846 # Check whether --enable-miniframe was given.
12847 if test "${enable_miniframe+set}" = set; then
12848 enableval=$enable_miniframe;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12852 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12857 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12862 eval "$wx_cv_use_miniframe"
12864 if test x
"$enablestring" = xdisable
; then
12865 if test $wxUSE_MINIFRAME = yes; then
12871 result
=$wxUSE_MINIFRAME
12874 { echo "$as_me:$LINENO: result: $result" >&5
12875 echo "${ECHO_T}$result" >&6; }
12879 defaultval
=$wxUSE_ALL_FEATURES
12880 if test -z "$defaultval"; then
12881 if test x
"$enablestring" = xdisable
; then
12888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12889 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12890 # Check whether --enable-tooltips was given.
12891 if test "${enable_tooltips+set}" = set; then
12892 enableval
=$enable_tooltips;
12893 if test "$enableval" = yes; then
12894 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
12896 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
12901 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12906 eval "$wx_cv_use_tooltips"
12908 if test x"$enablestring" = xdisable; then
12909 if test $wxUSE_TOOLTIPS = yes; then
12915 result=$wxUSE_TOOLTIPS
12918 { echo "$as_me:$LINENO: result: $result" >&5
12919 echo "${ECHO_T}$result" >&6; }
12923 defaultval=$wxUSE_ALL_FEATURES
12924 if test -z "$defaultval"; then
12925 if test x"$enablestring" = xdisable; then
12932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12933 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12934 # Check whether --enable-splines was given.
12935 if test "${enable_splines+set}" = set; then
12936 enableval=$enable_splines;
12937 if test "$enableval" = yes; then
12938 wx_cv_use_splines='wxUSE_SPLINES
=yes'
12940 wx_cv_use_splines='wxUSE_SPLINES
=no
'
12945 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12950 eval "$wx_cv_use_splines"
12952 if test x"$enablestring" = xdisable; then
12953 if test $wxUSE_SPLINES = yes; then
12959 result=$wxUSE_SPLINES
12962 { echo "$as_me:$LINENO: result
: $result" >&5
12963 echo "${ECHO_T}$result" >&6; }
12967 defaultval=$wxUSE_ALL_FEATURES
12968 if test -z "$defaultval"; then
12969 if test x"$enablestring" = xdisable; then
12976 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
12977 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
12978 # Check whether --enable-mousewheel was given.
12979 if test "${enable_mousewheel+set}" = set; then
12980 enableval=$enable_mousewheel;
12981 if test "$enableval" = yes; then
12982 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12984 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12989 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12994 eval "$wx_cv_use_mousewheel"
12996 if test x
"$enablestring" = xdisable
; then
12997 if test $wxUSE_MOUSEWHEEL = yes; then
13003 result
=$wxUSE_MOUSEWHEEL
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13011 defaultval
=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x
"$enablestring" = xdisable
; then
13020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13022 # Check whether --enable-validators was given.
13023 if test "${enable_validators+set}" = set; then
13024 enableval
=$enable_validators;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
13028 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
13033 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13038 eval "$wx_cv_use_validators"
13040 if test x"$enablestring" = xdisable; then
13041 if test $wxUSE_VALIDATORS = yes; then
13047 result=$wxUSE_VALIDATORS
13050 { echo "$as_me:$LINENO: result: $result" >&5
13051 echo "${ECHO_T}$result" >&6; }
13055 defaultval=$wxUSE_ALL_FEATURES
13056 if test -z "$defaultval"; then
13057 if test x"$enablestring" = xdisable; then
13064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13065 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13066 # Check whether --enable-busyinfo was given.
13067 if test "${enable_busyinfo+set}" = set; then
13068 enableval=$enable_busyinfo;
13069 if test "$enableval" = yes; then
13070 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
13072 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
13077 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13082 eval "$wx_cv_use_busyinfo"
13084 if test x"$enablestring" = xdisable; then
13085 if test $wxUSE_BUSYINFO = yes; then
13091 result=$wxUSE_BUSYINFO
13094 { echo "$as_me:$LINENO: result
: $result" >&5
13095 echo "${ECHO_T}$result" >&6; }
13099 defaultval=$wxUSE_ALL_FEATURES
13100 if test -z "$defaultval"; then
13101 if test x"$enablestring" = xdisable; then
13108 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13109 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
13110 # Check whether --enable-joystick was given.
13111 if test "${enable_joystick+set}" = set; then
13112 enableval=$enable_joystick;
13113 if test "$enableval" = yes; then
13114 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13116 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13121 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13126 eval "$wx_cv_use_joystick"
13128 if test x
"$enablestring" = xdisable
; then
13129 if test $wxUSE_JOYSTICK = yes; then
13135 result
=$wxUSE_JOYSTICK
13138 { echo "$as_me:$LINENO: result: $result" >&5
13139 echo "${ECHO_T}$result" >&6; }
13143 defaultval
=$wxUSE_ALL_FEATURES
13144 if test -z "$defaultval"; then
13145 if test x
"$enablestring" = xdisable
; then
13152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13153 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13154 # Check whether --enable-metafile was given.
13155 if test "${enable_metafile+set}" = set; then
13156 enableval
=$enable_metafile;
13157 if test "$enableval" = yes; then
13158 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13160 wx_cv_use_metafile
='wxUSE_METAFILE=no'
13165 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13170 eval "$wx_cv_use_metafile"
13172 if test x"$enablestring" = xdisable; then
13173 if test $wxUSE_METAFILE = yes; then
13179 result=$wxUSE_METAFILE
13182 { echo "$as_me:$LINENO: result: $result" >&5
13183 echo "${ECHO_T}$result" >&6; }
13187 defaultval=$wxUSE_ALL_FEATURES
13188 if test -z "$defaultval"; then
13189 if test x"$enablestring" = xdisable; then
13196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13197 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13198 # Check whether --enable-dragimage was given.
13199 if test "${enable_dragimage+set}" = set; then
13200 enableval=$enable_dragimage;
13201 if test "$enableval" = yes; then
13202 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
13204 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
13209 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13214 eval "$wx_cv_use_dragimage"
13216 if test x"$enablestring" = xdisable; then
13217 if test $wxUSE_DRAGIMAGE = yes; then
13223 result=$wxUSE_DRAGIMAGE
13226 { echo "$as_me:$LINENO: result
: $result" >&5
13227 echo "${ECHO_T}$result" >&6; }
13231 defaultval=$wxUSE_ALL_FEATURES
13232 if test -z "$defaultval"; then
13233 if test x"$enablestring" = xdisable; then
13240 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
13241 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
13242 # Check whether --enable-accessibility was given.
13243 if test "${enable_accessibility+set}" = set; then
13244 enableval=$enable_accessibility;
13245 if test "$enableval" = yes; then
13246 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13248 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13253 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13258 eval "$wx_cv_use_accessibility"
13260 if test x
"$enablestring" = xdisable
; then
13261 if test $wxUSE_ACCESSIBILITY = yes; then
13267 result
=$wxUSE_ACCESSIBILITY
13270 { echo "$as_me:$LINENO: result: $result" >&5
13271 echo "${ECHO_T}$result" >&6; }
13277 defaultval
=$wxUSE_ALL_FEATURES
13278 if test -z "$defaultval"; then
13279 if test x
"$enablestring" = xdisable
; then
13286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13287 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13288 # Check whether --enable-palette was given.
13289 if test "${enable_palette+set}" = set; then
13290 enableval
=$enable_palette;
13291 if test "$enableval" = yes; then
13292 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13294 wx_cv_use_palette
='wxUSE_PALETTE=no'
13299 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13304 eval "$wx_cv_use_palette"
13306 if test x"$enablestring" = xdisable; then
13307 if test $wxUSE_PALETTE = yes; then
13313 result=$wxUSE_PALETTE
13316 { echo "$as_me:$LINENO: result: $result" >&5
13317 echo "${ECHO_T}$result" >&6; }
13321 defaultval=$wxUSE_ALL_FEATURES
13322 if test -z "$defaultval"; then
13323 if test x"$enablestring" = xdisable; then
13330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13331 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13332 # Check whether --enable-image was given.
13333 if test "${enable_image+set}" = set; then
13334 enableval=$enable_image;
13335 if test "$enableval" = yes; then
13336 wx_cv_use_image='wxUSE_IMAGE
=yes'
13338 wx_cv_use_image='wxUSE_IMAGE
=no
'
13343 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13348 eval "$wx_cv_use_image"
13350 if test x"$enablestring" = xdisable; then
13351 if test $wxUSE_IMAGE = yes; then
13357 result=$wxUSE_IMAGE
13360 { echo "$as_me:$LINENO: result
: $result" >&5
13361 echo "${ECHO_T}$result" >&6; }
13365 defaultval=$wxUSE_ALL_FEATURES
13366 if test -z "$defaultval"; then
13367 if test x"$enablestring" = xdisable; then
13374 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13375 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
13376 # Check whether --enable-gif was given.
13377 if test "${enable_gif+set}" = set; then
13378 enableval=$enable_gif;
13379 if test "$enableval" = yes; then
13380 wx_cv_use_gif='wxUSE_GIF=yes'
13382 wx_cv_use_gif='wxUSE_GIF=no'
13387 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13392 eval "$wx_cv_use_gif"
13394 if test x
"$enablestring" = xdisable
; then
13395 if test $wxUSE_GIF = yes; then
13404 { echo "$as_me:$LINENO: result: $result" >&5
13405 echo "${ECHO_T}$result" >&6; }
13409 defaultval
=$wxUSE_ALL_FEATURES
13410 if test -z "$defaultval"; then
13411 if test x
"$enablestring" = xdisable
; then
13418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13419 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13420 # Check whether --enable-pcx was given.
13421 if test "${enable_pcx+set}" = set; then
13422 enableval
=$enable_pcx;
13423 if test "$enableval" = yes; then
13424 wx_cv_use_pcx
='wxUSE_PCX=yes'
13426 wx_cv_use_pcx
='wxUSE_PCX=no'
13431 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13436 eval "$wx_cv_use_pcx"
13438 if test x"$enablestring" = xdisable; then
13439 if test $wxUSE_PCX = yes; then
13448 { echo "$as_me:$LINENO: result: $result" >&5
13449 echo "${ECHO_T}$result" >&6; }
13453 defaultval=$wxUSE_ALL_FEATURES
13454 if test -z "$defaultval"; then
13455 if test x"$enablestring" = xdisable; then
13462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13463 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13464 # Check whether --enable-tga was given.
13465 if test "${enable_tga+set}" = set; then
13466 enableval=$enable_tga;
13467 if test "$enableval" = yes; then
13468 wx_cv_use_tga='wxUSE_TGA
=yes'
13470 wx_cv_use_tga='wxUSE_TGA
=no
'
13475 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13480 eval "$wx_cv_use_tga"
13482 if test x"$enablestring" = xdisable; then
13483 if test $wxUSE_TGA = yes; then
13492 { echo "$as_me:$LINENO: result
: $result" >&5
13493 echo "${ECHO_T}$result" >&6; }
13497 defaultval=$wxUSE_ALL_FEATURES
13498 if test -z "$defaultval"; then
13499 if test x"$enablestring" = xdisable; then
13506 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13507 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
13508 # Check whether --enable-iff was given.
13509 if test "${enable_iff+set}" = set; then
13510 enableval=$enable_iff;
13511 if test "$enableval" = yes; then
13512 wx_cv_use_iff='wxUSE_IFF=yes'
13514 wx_cv_use_iff='wxUSE_IFF=no'
13519 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13524 eval "$wx_cv_use_iff"
13526 if test x
"$enablestring" = xdisable
; then
13527 if test $wxUSE_IFF = yes; then
13536 { echo "$as_me:$LINENO: result: $result" >&5
13537 echo "${ECHO_T}$result" >&6; }
13541 defaultval
=$wxUSE_ALL_FEATURES
13542 if test -z "$defaultval"; then
13543 if test x
"$enablestring" = xdisable
; then
13550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13551 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13552 # Check whether --enable-pnm was given.
13553 if test "${enable_pnm+set}" = set; then
13554 enableval
=$enable_pnm;
13555 if test "$enableval" = yes; then
13556 wx_cv_use_pnm
='wxUSE_PNM=yes'
13558 wx_cv_use_pnm
='wxUSE_PNM=no'
13563 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13568 eval "$wx_cv_use_pnm"
13570 if test x"$enablestring" = xdisable; then
13571 if test $wxUSE_PNM = yes; then
13580 { echo "$as_me:$LINENO: result: $result" >&5
13581 echo "${ECHO_T}$result" >&6; }
13585 defaultval=$wxUSE_ALL_FEATURES
13586 if test -z "$defaultval"; then
13587 if test x"$enablestring" = xdisable; then
13594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13595 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13596 # Check whether --enable-xpm was given.
13597 if test "${enable_xpm+set}" = set; then
13598 enableval=$enable_xpm;
13599 if test "$enableval" = yes; then
13600 wx_cv_use_xpm='wxUSE_XPM
=yes'
13602 wx_cv_use_xpm='wxUSE_XPM
=no
'
13607 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13612 eval "$wx_cv_use_xpm"
13614 if test x"$enablestring" = xdisable; then
13615 if test $wxUSE_XPM = yes; then
13624 { echo "$as_me:$LINENO: result
: $result" >&5
13625 echo "${ECHO_T}$result" >&6; }
13629 defaultval=$wxUSE_ALL_FEATURES
13630 if test -z "$defaultval"; then
13631 if test x"$enablestring" = xdisable; then
13638 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
13639 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
13640 # Check whether --enable-ico_cur was given.
13641 if test "${enable_ico_cur+set}" = set; then
13642 enableval=$enable_ico_cur;
13643 if test "$enableval" = yes; then
13644 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13646 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13651 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13656 eval "$wx_cv_use_ico_cur"
13658 if test x
"$enablestring" = xdisable
; then
13659 if test $wxUSE_ICO_CUR = yes; then
13665 result
=$wxUSE_ICO_CUR
13668 { echo "$as_me:$LINENO: result: $result" >&5
13669 echo "${ECHO_T}$result" >&6; }
13675 defaultval
=$wxUSE_ALL_FEATURES
13676 if test -z "$defaultval"; then
13677 if test x
"$enablestring" = xdisable
; then
13684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13685 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13686 # Check whether --enable-dccache was given.
13687 if test "${enable_dccache+set}" = set; then
13688 enableval
=$enable_dccache;
13689 if test "$enableval" = yes; then
13690 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
13692 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
13697 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13702 eval "$wx_cv_use_dccache"
13704 if test x"$enablestring" = xdisable; then
13705 if test $wxUSE_DC_CACHEING = yes; then
13711 result=$wxUSE_DC_CACHEING
13714 { echo "$as_me:$LINENO: result: $result" >&5
13715 echo "${ECHO_T}$result" >&6; }
13719 defaultval=$wxUSE_ALL_FEATURES
13720 if test -z "$defaultval"; then
13721 if test x"$enablestring" = xdisable; then
13728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13729 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13730 # Check whether --enable-ps-in-msw was given.
13731 if test "${enable_ps_in_msw+set}" = set; then
13732 enableval=$enable_ps_in_msw;
13733 if test "$enableval" = yes; then
13734 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
13736 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
13741 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13746 eval "$wx_cv_use_ps_in_msw"
13748 if test x"$enablestring" = xdisable; then
13749 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13755 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13758 { echo "$as_me:$LINENO: result
: $result" >&5
13759 echo "${ECHO_T}$result" >&6; }
13763 defaultval=$wxUSE_ALL_FEATURES
13764 if test -z "$defaultval"; then
13765 if test x"$enablestring" = xdisable; then
13772 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
13773 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
13774 # Check whether --enable-ownerdrawn was given.
13775 if test "${enable_ownerdrawn+set}" = set; then
13776 enableval=$enable_ownerdrawn;
13777 if test "$enableval" = yes; then
13778 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13780 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13785 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13790 eval "$wx_cv_use_ownerdrawn"
13792 if test x
"$enablestring" = xdisable
; then
13793 if test $wxUSE_OWNER_DRAWN = yes; then
13799 result
=$wxUSE_OWNER_DRAWN
13802 { echo "$as_me:$LINENO: result: $result" >&5
13803 echo "${ECHO_T}$result" >&6; }
13807 defaultval
=$wxUSE_ALL_FEATURES
13808 if test -z "$defaultval"; then
13809 if test x
"$enablestring" = xdisable
; then
13816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13817 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13818 # Check whether --enable-uxtheme was given.
13819 if test "${enable_uxtheme+set}" = set; then
13820 enableval
=$enable_uxtheme;
13821 if test "$enableval" = yes; then
13822 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
13824 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
13829 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13834 eval "$wx_cv_use_uxtheme"
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_UXTHEME = yes; then
13843 result=$wxUSE_UXTHEME
13846 { echo "$as_me:$LINENO: result: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13862 # Check whether --enable-wxdib was given.
13863 if test "${enable_wxdib+set}" = set; then
13864 enableval=$enable_wxdib;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_wxdib='wxUSE_DIB
=yes'
13868 wx_cv_use_wxdib='wxUSE_DIB
=no
'
13873 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13878 eval "$wx_cv_use_wxdib"
13880 if test x"$enablestring" = xdisable; then
13881 if test $wxUSE_DIB = yes; then
13890 { echo "$as_me:$LINENO: result
: $result" >&5
13891 echo "${ECHO_T}$result" >&6; }
13894 if test "$wxUSE_MSW" != 1; then
13895 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13900 defaultval=$wxUSE_ALL_FEATURES
13901 if test -z "$defaultval"; then
13902 if test x"$enablestring" = xdisable; then
13909 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
13910 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
13911 # Check whether --enable-autoidman was given.
13912 if test "${enable_autoidman+set}" = set; then
13913 enableval=$enable_autoidman;
13914 if test "$enableval" = yes; then
13915 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13917 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13922 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13927 eval "$wx_cv_use_autoidman"
13929 if test x
"$enablestring" = xdisable
; then
13930 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13936 result
=$wxUSE_AUTOID_MANAGEMENT
13939 { echo "$as_me:$LINENO: result: $result" >&5
13940 echo "${ECHO_T}$result" >&6; }
13946 cat >confcache
<<\_ACEOF
13947 # This file is a shell script that caches the results of configure
13948 # tests run on this system so they can be shared between configure
13949 # scripts and configure runs, see configure's option --config-cache.
13950 # It is not useful on other systems. If it contains results you don't
13951 # want to keep, you may remove or edit it.
13953 # config.status only pays attention to the cache file if you give it
13954 # the --recheck option to rerun configure.
13956 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13957 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13958 # following values.
13962 # The following way of writing the cache mishandles newlines in values,
13963 # but we know of no workaround that is simple, portable, and efficient.
13964 # So, we kill variables containing newlines.
13965 # Ultrix sh set writes to stderr and can't be redirected directly,
13966 # and sets the high bit in the cache file unless we assign to the vars.
13968 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13969 eval ac_val
=\$
$ac_var
13973 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13974 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13977 _
| IFS
| as_nl
) ;; #(
13978 *) $as_unset $ac_var ;;
13984 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13985 *${as_nl}ac_space
=\
*)
13986 # `set' does not quote correctly, so add quotes (double-quote
13987 # substitution turns \\\\ into \\, and sed turns \\ into \).
13990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13993 # `set' quotes correctly as required by POSIX, so do not add quotes.
13994 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14003 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14005 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14007 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14008 if test -w "$cache_file"; then
14009 test "x$cache_file" != "x/dev/null" &&
14010 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14011 echo "$as_me: updating cache $cache_file" >&6;}
14012 cat confcache
>$cache_file
14014 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14015 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14025 ac_cpp
='$CPP $CPPFLAGS'
14026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14029 if test -n "$ac_tool_prefix"; then
14030 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14031 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14034 if test "${ac_cv_prog_CC+set}" = set; then
14035 echo $ECHO_N "(cached) $ECHO_C" >&6
14037 if test -n "$CC"; then
14038 ac_cv_prog_CC
="$CC" # Let the user override the test.
14040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14041 for as_dir
in $PATH
14044 test -z "$as_dir" && as_dir
=.
14045 for ac_exec_ext
in '' $ac_executable_extensions; do
14046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14047 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14058 if test -n "$CC"; then
14059 { echo "$as_me:$LINENO: result: $CC" >&5
14060 echo "${ECHO_T}$CC" >&6; }
14062 { echo "$as_me:$LINENO: result: no" >&5
14063 echo "${ECHO_T}no" >&6; }
14068 if test -z "$ac_cv_prog_CC"; then
14070 # Extract the first word of "gcc", so it can be a program name with args.
14071 set dummy gcc
; ac_word
=$2
14072 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14074 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14077 if test -n "$ac_ct_CC"; then
14078 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14081 for as_dir
in $PATH
14084 test -z "$as_dir" && as_dir
=.
14085 for ac_exec_ext
in '' $ac_executable_extensions; do
14086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14087 ac_cv_prog_ac_ct_CC
="gcc"
14088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14097 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14098 if test -n "$ac_ct_CC"; then
14099 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14100 echo "${ECHO_T}$ac_ct_CC" >&6; }
14102 { echo "$as_me:$LINENO: result: no" >&5
14103 echo "${ECHO_T}no" >&6; }
14106 if test "x$ac_ct_CC" = x
; then
14109 case $cross_compiling:$ac_tool_warned in
14111 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14112 whose name does not start with the host triplet. If you think this
14113 configuration is useful to you, please write to autoconf@gnu.org." >&5
14114 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14115 whose name does not start with the host triplet. If you think this
14116 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14117 ac_tool_warned
=yes ;;
14122 CC
="$ac_cv_prog_CC"
14125 if test -z "$CC"; then
14126 if test -n "$ac_tool_prefix"; then
14127 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14128 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14131 if test "${ac_cv_prog_CC+set}" = set; then
14132 echo $ECHO_N "(cached) $ECHO_C" >&6
14134 if test -n "$CC"; then
14135 ac_cv_prog_CC
="$CC" # Let the user override the test.
14137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14138 for as_dir
in $PATH
14141 test -z "$as_dir" && as_dir
=.
14142 for ac_exec_ext
in '' $ac_executable_extensions; do
14143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14144 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14155 if test -n "$CC"; then
14156 { echo "$as_me:$LINENO: result: $CC" >&5
14157 echo "${ECHO_T}$CC" >&6; }
14159 { echo "$as_me:$LINENO: result: no" >&5
14160 echo "${ECHO_T}no" >&6; }
14166 if test -z "$CC"; then
14167 # Extract the first word of "cc", so it can be a program name with args.
14168 set dummy cc
; ac_word
=$2
14169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14171 if test "${ac_cv_prog_CC+set}" = set; then
14172 echo $ECHO_N "(cached) $ECHO_C" >&6
14174 if test -n "$CC"; then
14175 ac_cv_prog_CC
="$CC" # Let the user override the test.
14177 ac_prog_rejected
=no
14178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14179 for as_dir
in $PATH
14182 test -z "$as_dir" && as_dir
=.
14183 for ac_exec_ext
in '' $ac_executable_extensions; do
14184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14185 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14186 ac_prog_rejected
=yes
14190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14197 if test $ac_prog_rejected = yes; then
14198 # We found a bogon in the path, so make sure we never use it.
14199 set dummy
$ac_cv_prog_CC
14201 if test $# != 0; then
14202 # We chose a different compiler from the bogus one.
14203 # However, it has the same basename, so the bogon will be chosen
14204 # first if we set CC to just the basename; use the full file name.
14206 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14212 if test -n "$CC"; then
14213 { echo "$as_me:$LINENO: result: $CC" >&5
14214 echo "${ECHO_T}$CC" >&6; }
14216 { echo "$as_me:$LINENO: result: no" >&5
14217 echo "${ECHO_T}no" >&6; }
14222 if test -z "$CC"; then
14223 if test -n "$ac_tool_prefix"; then
14224 for ac_prog
in cl.exe
14226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14227 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14230 if test "${ac_cv_prog_CC+set}" = set; then
14231 echo $ECHO_N "(cached) $ECHO_C" >&6
14233 if test -n "$CC"; then
14234 ac_cv_prog_CC
="$CC" # Let the user override the test.
14236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14237 for as_dir
in $PATH
14240 test -z "$as_dir" && as_dir
=.
14241 for ac_exec_ext
in '' $ac_executable_extensions; do
14242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14243 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14254 if test -n "$CC"; then
14255 { echo "$as_me:$LINENO: result: $CC" >&5
14256 echo "${ECHO_T}$CC" >&6; }
14258 { echo "$as_me:$LINENO: result: no" >&5
14259 echo "${ECHO_T}no" >&6; }
14263 test -n "$CC" && break
14266 if test -z "$CC"; then
14268 for ac_prog
in cl.exe
14270 # Extract the first word of "$ac_prog", so it can be a program name with args.
14271 set dummy
$ac_prog; ac_word
=$2
14272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14277 if test -n "$ac_ct_CC"; then
14278 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14281 for as_dir
in $PATH
14284 test -z "$as_dir" && as_dir
=.
14285 for ac_exec_ext
in '' $ac_executable_extensions; do
14286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14287 ac_cv_prog_ac_ct_CC
="$ac_prog"
14288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14297 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14298 if test -n "$ac_ct_CC"; then
14299 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14300 echo "${ECHO_T}$ac_ct_CC" >&6; }
14302 { echo "$as_me:$LINENO: result: no" >&5
14303 echo "${ECHO_T}no" >&6; }
14307 test -n "$ac_ct_CC" && break
14310 if test "x$ac_ct_CC" = x
; then
14313 case $cross_compiling:$ac_tool_warned in
14315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14316 whose name does not start with the host triplet. If you think this
14317 configuration is useful to you, please write to autoconf@gnu.org." >&5
14318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14319 whose name does not start with the host triplet. If you think this
14320 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14321 ac_tool_warned
=yes ;;
14330 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14331 See \`config.log' for more details." >&5
14332 echo "$as_me: error: no acceptable C compiler found in \$PATH
14333 See \`config.log' for more details." >&2;}
14334 { (exit 1); exit 1; }; }
14336 # Provide some information about the compiler.
14337 echo "$as_me:$LINENO: checking for C compiler version" >&5
14338 ac_compiler
=`set X $ac_compile; echo $2`
14339 { (ac_try
="$ac_compiler --version >&5"
14340 case "(($ac_try" in
14341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14342 *) ac_try_echo=$ac_try;;
14344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14345 (eval "$ac_compiler --version >&5") 2>&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); }
14349 { (ac_try="$ac_compiler -v >&5"
14350 case "(($ac_try" in
14351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14352 *) ac_try_echo
=$ac_try;;
14354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14355 (eval "$ac_compiler -v >&5") 2>&5
14357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 (exit $ac_status); }
14359 { (ac_try
="$ac_compiler -V >&5"
14360 case "(($ac_try" in
14361 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14362 *) ac_try_echo=$ac_try;;
14364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14365 (eval "$ac_compiler -V >&5") 2>&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }
14370 cat >conftest.$ac_ext <<_ACEOF
14373 cat confdefs.h >>conftest.$ac_ext
14374 cat >>conftest.$ac_ext <<_ACEOF
14375 /* end confdefs.h. */
14385 ac_clean_files_save=$ac_clean_files
14386 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14387 # Try to create an executable without -o first, disregard a.out.
14388 # It will help us diagnose broken compilers, and finding out an intuition
14390 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14391 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14392 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14394 # List of possible output files, starting from the most likely.
14395 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14396 # only as a last resort. b.out is created by i960 compilers.
14397 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14399 # The IRIX 6 linker writes into existing files which may not be
14400 # executable, retaining their permissions. Remove them first so a
14401 # subsequent execution test works.
14403 for ac_file in $ac_files
14406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14407 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14412 if { (ac_try="$ac_link_default"
14413 case "(($ac_try" in
14414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14415 *) ac_try_echo=$ac_try;;
14417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14418 (eval "$ac_link_default") 2>&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); }; then
14422 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14423 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14424 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14425 # so that the user can short-circuit this test for compilers unknown to
14427 for ac_file
in $ac_files ''
14429 test -f "$ac_file" || continue
14431 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14434 # We found the default executable, but exeext='' is most
14438 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14440 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14442 # We set ac_cv_exeext here because the later test for it is not
14443 # safe: cross compilers may not add the suffix if given an `-o'
14444 # argument, so we may need to know it at that point already.
14445 # Even if this section looks crufty: it has the advantage of
14446 # actually working.
14452 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14458 { echo "$as_me:$LINENO: result: $ac_file" >&5
14459 echo "${ECHO_T}$ac_file" >&6; }
14460 if test -z "$ac_file"; then
14461 echo "$as_me: failed program was:" >&5
14462 sed 's/^/| /' conftest.
$ac_ext >&5
14464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14465 See \`config.log' for more details." >&5
14466 echo "$as_me: error: C compiler cannot create executables
14467 See \`config.log' for more details." >&2;}
14468 { (exit 77); exit 77; }; }
14471 ac_exeext
=$ac_cv_exeext
14473 # Check that the compiler produces executables we can run. If not, either
14474 # the compiler is broken, or we cross compile.
14475 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14476 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14477 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14478 # If not cross compiling, check that we can run a simple program.
14479 if test "$cross_compiling" != yes; then
14480 if { ac_try
='./$ac_file'
14481 { (case "(($ac_try" in
14482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14483 *) ac_try_echo=$ac_try;;
14485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14486 (eval "$ac_try") 2>&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); }; }; then
14492 if test "$cross_compiling" = maybe; then
14493 cross_compiling=yes
14495 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14496 If you meant to cross compile, use \`--host'.
14497 See \`config.log' for more details.
" >&5
14498 echo "$as_me: error
: cannot run C compiled programs.
14499 If you meant to cross compile
, use \
`--host'.
14500 See \`config.log
' for more details." >&2;}
14501 { (exit 1); exit 1; }; }
14505 { echo "$as_me:$LINENO: result: yes" >&5
14506 echo "${ECHO_T}yes" >&6; }
14508 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14509 ac_clean_files=$ac_clean_files_save
14510 # Check that the compiler produces executables we can run. If not, either
14511 # the compiler is broken, or we cross compile.
14512 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14513 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14514 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14515 echo "${ECHO_T}$cross_compiling" >&6; }
14517 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14518 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14519 if { (ac_try="$ac_link"
14520 case "(($ac_try" in
14521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14522 *) ac_try_echo=$ac_try;;
14524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14525 (eval "$ac_link") 2>&5
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); }; then
14529 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14530 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14531 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14533 for ac_file
in conftest.exe conftest conftest.
*; do
14534 test -f "$ac_file" || continue
14536 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14537 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14543 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14544 See \`config.log' for more details." >&5
14545 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14546 See \`config.log' for more details." >&2;}
14547 { (exit 1); exit 1; }; }
14550 rm -f conftest
$ac_cv_exeext
14551 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14552 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14554 rm -f conftest.
$ac_ext
14555 EXEEXT
=$ac_cv_exeext
14557 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14558 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14559 if test "${ac_cv_objext+set}" = set; then
14560 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 cat >conftest.
$ac_ext <<_ACEOF
14565 cat confdefs.h
>>conftest.
$ac_ext
14566 cat >>conftest.
$ac_ext <<_ACEOF
14567 /* end confdefs.h. */
14577 rm -f conftest.o conftest.obj
14578 if { (ac_try
="$ac_compile"
14579 case "(($ac_try" in
14580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14581 *) ac_try_echo=$ac_try;;
14583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14584 (eval "$ac_compile") 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; then
14588 for ac_file in conftest.o conftest.obj conftest.*; do
14589 test -f "$ac_file" || continue;
14591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14600 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14601 See \`config.log
' for more details." >&5
14602 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14603 See \`config.log' for more details.
" >&2;}
14604 { (exit 1); exit 1; }; }
14607 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14609 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14610 echo "${ECHO_T}$ac_cv_objext" >&6; }
14611 OBJEXT=$ac_cv_objext
14613 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14614 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14615 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14616 echo $ECHO_N "(cached
) $ECHO_C" >&6
14618 cat >conftest.$ac_ext <<_ACEOF
14621 cat confdefs.h >>conftest.$ac_ext
14622 cat >>conftest.$ac_ext <<_ACEOF
14623 /* end confdefs.h. */
14636 rm -f conftest.$ac_objext
14637 if { (ac_try="$ac_compile"
14638 case "(($ac_try" in
14639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14640 *) ac_try_echo=$ac_try;;
14642 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14643 (eval "$ac_compile") 2>conftest.er1
14645 grep -v '^ *+' conftest.er1 >conftest.err
14647 cat conftest.err >&5
14648 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14649 (exit $ac_status); } && {
14650 test -z "$ac_c_werror_flag" ||
14651 test ! -s conftest.err
14652 } && test -s conftest.$ac_objext; then
14653 ac_compiler_gnu=yes
14655 echo "$as_me: failed program was
:" >&5
14656 sed 's/^/| /' conftest.$ac_ext >&5
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14665 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14666 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14667 GCC=`test $ac_compiler_gnu = yes && echo yes`
14668 ac_test_CFLAGS=${CFLAGS+set}
14669 ac_save_CFLAGS=$CFLAGS
14670 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14671 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14672 if test "${ac_cv_prog_cc_g+set}" = set; then
14673 echo $ECHO_N "(cached
) $ECHO_C" >&6
14675 ac_save_c_werror_flag=$ac_c_werror_flag
14676 ac_c_werror_flag=yes
14679 cat >conftest.$ac_ext <<_ACEOF
14682 cat confdefs.h >>conftest.$ac_ext
14683 cat >>conftest.$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14694 rm -f conftest.$ac_objext
14695 if { (ac_try="$ac_compile"
14696 case "(($ac_try" in
14697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14698 *) ac_try_echo=$ac_try;;
14700 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14701 (eval "$ac_compile") 2>conftest.er1
14703 grep -v '^ *+' conftest.er1 >conftest.err
14705 cat conftest.err >&5
14706 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14707 (exit $ac_status); } && {
14708 test -z "$ac_c_werror_flag" ||
14709 test ! -s conftest.err
14710 } && test -s conftest.$ac_objext; then
14711 ac_cv_prog_cc_g=yes
14713 echo "$as_me: failed program was
:" >&5
14714 sed 's/^/| /' conftest.$ac_ext >&5
14717 cat >conftest.$ac_ext <<_ACEOF
14720 cat confdefs.h >>conftest.$ac_ext
14721 cat >>conftest.$ac_ext <<_ACEOF
14722 /* end confdefs.h. */
14732 rm -f conftest.$ac_objext
14733 if { (ac_try="$ac_compile"
14734 case "(($ac_try" in
14735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14736 *) ac_try_echo=$ac_try;;
14738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14739 (eval "$ac_compile") 2>conftest.er1
14741 grep -v '^ *+' conftest.er1 >conftest.err
14743 cat conftest.err >&5
14744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14745 (exit $ac_status); } && {
14746 test -z "$ac_c_werror_flag" ||
14747 test ! -s conftest.err
14748 } && test -s conftest.$ac_objext; then
14751 echo "$as_me: failed program was
:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14754 ac_c_werror_flag=$ac_save_c_werror_flag
14756 cat >conftest.$ac_ext <<_ACEOF
14759 cat confdefs.h >>conftest.$ac_ext
14760 cat >>conftest.$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14771 rm -f conftest.$ac_objext
14772 if { (ac_try="$ac_compile"
14773 case "(($ac_try" in
14774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14775 *) ac_try_echo=$ac_try;;
14777 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14778 (eval "$ac_compile") 2>conftest.er1
14780 grep -v '^ *+' conftest.er1 >conftest.err
14782 cat conftest.err >&5
14783 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14784 (exit $ac_status); } && {
14785 test -z "$ac_c_werror_flag" ||
14786 test ! -s conftest.err
14787 } && test -s conftest.$ac_objext; then
14788 ac_cv_prog_cc_g=yes
14790 echo "$as_me: failed program was
:" >&5
14791 sed 's/^/| /' conftest.$ac_ext >&5
14796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14803 ac_c_werror_flag=$ac_save_c_werror_flag
14805 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14806 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14807 if test "$ac_test_CFLAGS" = set; then
14808 CFLAGS=$ac_save_CFLAGS
14809 elif test $ac_cv_prog_cc_g = yes; then
14810 if test "$GCC" = yes; then
14816 if test "$GCC" = yes; then
14822 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14823 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14824 if test "${ac_cv_prog_cc_c89+set}" = set; then
14825 echo $ECHO_N "(cached
) $ECHO_C" >&6
14827 ac_cv_prog_cc_c89=no
14829 cat >conftest.$ac_ext <<_ACEOF
14832 cat confdefs.h >>conftest.$ac_ext
14833 cat >>conftest.$ac_ext <<_ACEOF
14834 /* end confdefs.h. */
14835 #include <stdarg.h>
14837 #include <sys/types.h>
14838 #include <sys/stat.h>
14839 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14840 struct buf { int x; };
14841 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14842 static char *e (p, i)
14848 static char *f (char * (*g) (char **, int), char **p, ...)
14853 s = g (p, va_arg (v,int));
14858 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14859 function prototypes and stuff, but not '\xHH' hex character constants.
14860 These don't provoke an error unfortunately, instead are silently treated
14861 as 'x'. The following induces an error, until -std is added to get
14862 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14863 array size at least. It's necessary to write '\x00'==0 to get something
14864 that's true only with -std. */
14865 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14867 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14868 inside strings and character constants. */
14870 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14872 int test (int i, double x);
14873 struct s1 {int (*f) (int a);};
14874 struct s2 {int (*f) (double a);};
14875 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14881 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14886 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14887 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14889 CC="$ac_save_CC $ac_arg"
14890 rm -f conftest.$ac_objext
14891 if { (ac_try="$ac_compile"
14892 case "(($ac_try" in
14893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14894 *) ac_try_echo=$ac_try;;
14896 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14897 (eval "$ac_compile") 2>conftest.er1
14899 grep -v '^ *+' conftest.er1 >conftest.err
14901 cat conftest.err >&5
14902 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14903 (exit $ac_status); } && {
14904 test -z "$ac_c_werror_flag" ||
14905 test ! -s conftest.err
14906 } && test -s conftest.$ac_objext; then
14907 ac_cv_prog_cc_c89=$ac_arg
14909 echo "$as_me: failed program was
:" >&5
14910 sed 's/^/| /' conftest.$ac_ext >&5
14915 rm -f core conftest.err conftest.$ac_objext
14916 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14918 rm -f conftest.$ac_ext
14923 case "x
$ac_cv_prog_cc_c89" in
14925 { echo "$as_me:$LINENO: result
: none needed
" >&5
14926 echo "${ECHO_T}none needed
" >&6; } ;;
14928 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14929 echo "${ECHO_T}unsupported
" >&6; } ;;
14931 CC="$CC $ac_cv_prog_cc_c89"
14932 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14933 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14938 ac_cpp='$CPP $CPPFLAGS'
14939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14947 ac_cpp='$CPP $CPPFLAGS'
14948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14952 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14953 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14954 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14955 echo $ECHO_N "(cached
) $ECHO_C" >&6
14957 cat >conftest.$ac_ext <<_ACEOF
14960 cat confdefs.h >>conftest.$ac_ext
14961 cat >>conftest.$ac_ext <<_ACEOF
14962 /* end confdefs.h. */
14968 #ifndef __INTEL_COMPILER
14976 rm -f conftest.$ac_objext
14977 if { (ac_try="$ac_compile"
14978 case "(($ac_try" in
14979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14980 *) ac_try_echo=$ac_try;;
14982 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14983 (eval "$ac_compile") 2>conftest.er1
14985 grep -v '^ *+' conftest.er1 >conftest.err
14987 cat conftest.err >&5
14988 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14989 (exit $ac_status); } && {
14990 test -z "$ac_c_werror_flag" ||
14991 test ! -s conftest.err
14992 } && test -s conftest.$ac_objext; then
14993 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14995 echo "$as_me: failed program was
:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
14998 bakefile_cv_c_compiler___INTEL_COMPILER=no
15002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15006 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15007 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15008 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15014 ac_cpp='$CPP $CPPFLAGS'
15015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15022 if test "$INTELCC" = "yes"; then
15026 ac_cpp='$CPP $CPPFLAGS'
15027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15031 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15032 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15033 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15034 echo $ECHO_N "(cached
) $ECHO_C" >&6
15036 cat >conftest.$ac_ext <<_ACEOF
15039 cat confdefs.h >>conftest.$ac_ext
15040 cat >>conftest.$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15047 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15055 rm -f conftest.$ac_objext
15056 if { (ac_try="$ac_compile"
15057 case "(($ac_try" in
15058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15059 *) ac_try_echo=$ac_try;;
15061 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15062 (eval "$ac_compile") 2>conftest.er1
15064 grep -v '^ *+' conftest.er1 >conftest.err
15066 cat conftest.err >&5
15067 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15068 (exit $ac_status); } && {
15069 test -z "$ac_c_werror_flag" ||
15070 test ! -s conftest.err
15071 } && test -s conftest.$ac_objext; then
15072 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15074 echo "$as_me: failed program was
:" >&5
15075 sed 's/^/| /' conftest.$ac_ext >&5
15077 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15085 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15086 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15087 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15093 ac_cpp='$CPP $CPPFLAGS'
15094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15103 ac_cpp='$CPP $CPPFLAGS'
15104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15108 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15109 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15110 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15111 echo $ECHO_N "(cached
) $ECHO_C" >&6
15113 cat >conftest.$ac_ext <<_ACEOF
15116 cat confdefs.h >>conftest.$ac_ext
15117 cat >>conftest.$ac_ext <<_ACEOF
15118 /* end confdefs.h. */
15124 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15132 rm -f conftest.$ac_objext
15133 if { (ac_try="$ac_compile"
15134 case "(($ac_try" in
15135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15136 *) ac_try_echo=$ac_try;;
15138 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15139 (eval "$ac_compile") 2>conftest.er1
15141 grep -v '^ *+' conftest.er1 >conftest.err
15143 cat conftest.err >&5
15144 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15145 (exit $ac_status); } && {
15146 test -z "$ac_c_werror_flag" ||
15147 test ! -s conftest.err
15148 } && test -s conftest.$ac_objext; then
15149 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15151 echo "$as_me: failed program was
:" >&5
15152 sed 's/^/| /' conftest.$ac_ext >&5
15154 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15162 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15163 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15164 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15170 ac_cpp='$CPP $CPPFLAGS'
15171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15179 if test "x
$GCC" != "xyes
"; then
15180 if test "xCC
" = "xC
"; then
15181 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15182 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15183 if test "${bakefile_cv_c_exto+set}" = set; then
15184 echo $ECHO_N "(cached
) $ECHO_C" >&6
15186 cat >conftest.$ac_ext <<_ACEOF
15189 cat confdefs.h >>conftest.$ac_ext
15190 cat >>conftest.$ac_ext <<_ACEOF
15191 /* end confdefs.h. */
15201 rm -f conftest.$ac_objext conftest.$ac_ext.o
15202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15203 (eval $ac_compile) 2>&5
15205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15206 (exit $ac_status); }; then
15207 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15209 conftest.$ac_ext.o)
15210 bakefile_cv_c_exto="-ext o
"
15217 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15218 See \
`config.log' for more details." >&5
15219 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15220 See \`config.log
' for more details." >&2;}
15221 { (exit 1); exit 1; }; }
15225 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15228 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15229 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15230 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15231 if test "c" = "c"; then
15232 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15234 if test "c" = "cxx"; then
15235 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15239 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15240 unset ac_cv_prog_cc_g
15241 ac_test_CFLAGS=${CFLAGS+set}
15242 ac_save_CFLAGS=$CFLAGS
15243 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15244 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15245 if test "${ac_cv_prog_cc_g+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 ac_save_c_werror_flag=$ac_c_werror_flag
15249 ac_c_werror_flag=yes
15252 cat >conftest.$ac_ext <<_ACEOF
15255 cat confdefs.h >>conftest.$ac_ext
15256 cat >>conftest.$ac_ext <<_ACEOF
15257 /* end confdefs.h. */
15267 rm -f conftest.$ac_objext
15268 if { (ac_try="$ac_compile"
15269 case "(($ac_try" in
15270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15271 *) ac_try_echo=$ac_try;;
15273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15274 (eval "$ac_compile") 2>conftest.er1
15276 grep -v '^
*+' conftest.er1 >conftest.err
15278 cat conftest.err >&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } && {
15281 test -z "$ac_c_werror_flag" ||
15282 test ! -s conftest.err
15283 } && test -s conftest.$ac_objext; then
15284 ac_cv_prog_cc_g=yes
15286 echo "$as_me: failed program was:" >&5
15287 sed 's
/^
/| /' conftest.$ac_ext >&5
15290 cat >conftest.$ac_ext <<_ACEOF
15293 cat confdefs.h >>conftest.$ac_ext
15294 cat >>conftest.$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15305 rm -f conftest.$ac_objext
15306 if { (ac_try="$ac_compile"
15307 case "(($ac_try" in
15308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15309 *) ac_try_echo=$ac_try;;
15311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15312 (eval "$ac_compile") 2>conftest.er1
15314 grep -v '^
*+' conftest.er1 >conftest.err
15316 cat conftest.err >&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); } && {
15319 test -z "$ac_c_werror_flag" ||
15320 test ! -s conftest.err
15321 } && test -s conftest.$ac_objext; then
15324 echo "$as_me: failed program was:" >&5
15325 sed 's
/^
/| /' conftest.$ac_ext >&5
15327 ac_c_werror_flag=$ac_save_c_werror_flag
15329 cat >conftest.$ac_ext <<_ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15344 rm -f conftest.$ac_objext
15345 if { (ac_try="$ac_compile"
15346 case "(($ac_try" in
15347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15348 *) ac_try_echo=$ac_try;;
15350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15351 (eval "$ac_compile") 2>conftest.er1
15353 grep -v '^
*+' conftest.er1 >conftest.err
15355 cat conftest.err >&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); } && {
15358 test -z "$ac_c_werror_flag" ||
15359 test ! -s conftest.err
15360 } && test -s conftest.$ac_objext; then
15361 ac_cv_prog_cc_g=yes
15363 echo "$as_me: failed program was:" >&5
15364 sed 's
/^
/| /' conftest.$ac_ext >&5
15369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15376 ac_c_werror_flag=$ac_save_c_werror_flag
15378 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15379 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15380 if test "$ac_test_CFLAGS" = set; then
15381 CFLAGS=$ac_save_CFLAGS
15382 elif test $ac_cv_prog_cc_g = yes; then
15383 if test "$GCC" = yes; then
15389 if test "$GCC" = yes; then
15403 ac_cpp='$CPP $CPPFLAGS'
15404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15405 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15408 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15409 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15410 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15413 cat >conftest.$ac_ext <<_ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15432 rm -f conftest.$ac_objext
15433 if { (ac_try="$ac_compile"
15434 case "(($ac_try" in
15435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15436 *) ac_try_echo=$ac_try;;
15438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15439 (eval "$ac_compile") 2>conftest.er1
15441 grep -v '^
*+' conftest.er1 >conftest.err
15443 cat conftest.err >&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } && {
15446 test -z "$ac_c_werror_flag" ||
15447 test ! -s conftest.err
15448 } && test -s conftest.$ac_objext; then
15449 bakefile_cv_c_compiler___xlC__=yes
15451 echo "$as_me: failed program was:" >&5
15452 sed 's
/^
/| /' conftest.$ac_ext >&5
15454 bakefile_cv_c_compiler___xlC__=no
15458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15462 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15463 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15464 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15470 ac_cpp='$CPP $CPPFLAGS'
15471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15472 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15483 ac_cpp='$CPP $CPPFLAGS'
15484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15485 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15488 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15489 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15490 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15491 echo $ECHO_N "(cached) $ECHO_C" >&6
15493 cat >conftest.$ac_ext <<_ACEOF
15496 cat confdefs.h >>conftest.$ac_ext
15497 cat >>conftest.$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15512 rm -f conftest.$ac_objext
15513 if { (ac_try="$ac_compile"
15514 case "(($ac_try" in
15515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15516 *) ac_try_echo=$ac_try;;
15518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15519 (eval "$ac_compile") 2>conftest.er1
15521 grep -v '^
*+' conftest.er1 >conftest.err
15523 cat conftest.err >&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } && {
15526 test -z "$ac_c_werror_flag" ||
15527 test ! -s conftest.err
15528 } && test -s conftest.$ac_objext; then
15529 bakefile_cv_c_compiler___MWERKS__=yes
15531 echo "$as_me: failed program was:" >&5
15532 sed 's
/^
/| /' conftest.$ac_ext >&5
15534 bakefile_cv_c_compiler___MWERKS__=no
15538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15542 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15543 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15544 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15550 ac_cpp='$CPP $CPPFLAGS'
15551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15552 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15557 if test "$MWCC" != "yes"; then
15561 ac_cpp='$CPP $CPPFLAGS'
15562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15563 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15566 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15567 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15568 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15569 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 cat >conftest.$ac_ext <<_ACEOF
15574 cat confdefs.h >>conftest.$ac_ext
15575 cat >>conftest.$ac_ext <<_ACEOF
15576 /* end confdefs.h. */
15590 rm -f conftest.$ac_objext
15591 if { (ac_try="$ac_compile"
15592 case "(($ac_try" in
15593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15594 *) ac_try_echo=$ac_try;;
15596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15597 (eval "$ac_compile") 2>conftest.er1
15599 grep -v '^
*+' conftest.er1 >conftest.err
15601 cat conftest.err >&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } && {
15604 test -z "$ac_c_werror_flag" ||
15605 test ! -s conftest.err
15606 } && test -s conftest.$ac_objext; then
15607 bakefile_cv_c_compiler___xlC__=yes
15609 echo "$as_me: failed program was:" >&5
15610 sed 's
/^
/| /' conftest.$ac_ext >&5
15612 bakefile_cv_c_compiler___xlC__=no
15616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15620 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15621 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15622 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15628 ac_cpp='$CPP $CPPFLAGS'
15629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15630 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15642 ac_cpp='$CPP $CPPFLAGS'
15643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15644 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15647 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15648 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15649 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15652 cat >conftest.$ac_ext <<_ACEOF
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15663 #ifndef _SGI_COMPILER_VERSION
15671 rm -f conftest.$ac_objext
15672 if { (ac_try="$ac_compile"
15673 case "(($ac_try" in
15674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15675 *) ac_try_echo=$ac_try;;
15677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15678 (eval "$ac_compile") 2>conftest.er1
15680 grep -v '^
*+' conftest.er1 >conftest.err
15682 cat conftest.err >&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } && {
15685 test -z "$ac_c_werror_flag" ||
15686 test ! -s conftest.err
15687 } && test -s conftest.$ac_objext; then
15688 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15690 echo "$as_me: failed program was:" >&5
15691 sed 's
/^
/| /' conftest.$ac_ext >&5
15693 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15701 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15702 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15703 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15709 ac_cpp='$CPP $CPPFLAGS'
15710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15711 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15719 if test "$INTELCC" != "yes"; then
15723 ac_cpp='$CPP $CPPFLAGS'
15724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15725 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15728 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15729 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15730 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15731 echo $ECHO_N "(cached) $ECHO_C" >&6
15733 cat >conftest.$ac_ext <<_ACEOF
15736 cat confdefs.h >>conftest.$ac_ext
15737 cat >>conftest.$ac_ext <<_ACEOF
15738 /* end confdefs.h. */
15752 rm -f conftest.$ac_objext
15753 if { (ac_try="$ac_compile"
15754 case "(($ac_try" in
15755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15756 *) ac_try_echo=$ac_try;;
15758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15759 (eval "$ac_compile") 2>conftest.er1
15761 grep -v '^
*+' conftest.er1 >conftest.err
15763 cat conftest.err >&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } && {
15766 test -z "$ac_c_werror_flag" ||
15767 test ! -s conftest.err
15768 } && test -s conftest.$ac_objext; then
15769 bakefile_cv_c_compiler___SUNPRO_C=yes
15771 echo "$as_me: failed program was:" >&5
15772 sed 's
/^
/| /' conftest.$ac_ext >&5
15774 bakefile_cv_c_compiler___SUNPRO_C=no
15778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15782 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15783 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15784 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15790 ac_cpp='$CPP $CPPFLAGS'
15791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15792 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15804 ac_cpp='$CPP $CPPFLAGS'
15805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15806 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15809 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15810 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15811 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15812 echo $ECHO_N "(cached) $ECHO_C" >&6
15814 cat >conftest.$ac_ext <<_ACEOF
15817 cat confdefs.h >>conftest.$ac_ext
15818 cat >>conftest.$ac_ext <<_ACEOF
15819 /* end confdefs.h. */
15833 rm -f conftest.$ac_objext
15834 if { (ac_try="$ac_compile"
15835 case "(($ac_try" in
15836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15837 *) ac_try_echo=$ac_try;;
15839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15840 (eval "$ac_compile") 2>conftest.er1
15842 grep -v '^
*+' conftest.er1 >conftest.err
15844 cat conftest.err >&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); } && {
15847 test -z "$ac_c_werror_flag" ||
15848 test ! -s conftest.err
15849 } && test -s conftest.$ac_objext; then
15850 bakefile_cv_c_compiler___HP_cc=yes
15852 echo "$as_me: failed program was:" >&5
15853 sed 's
/^
/| /' conftest.$ac_ext >&5
15855 bakefile_cv_c_compiler___HP_cc=no
15859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15863 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15864 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15865 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15871 ac_cpp='$CPP $CPPFLAGS'
15872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15873 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15884 ac_cpp='$CPP $CPPFLAGS'
15885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15886 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15889 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15890 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15891 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15892 echo $ECHO_N "(cached) $ECHO_C" >&6
15894 cat >conftest.$ac_ext <<_ACEOF
15897 cat confdefs.h >>conftest.$ac_ext
15898 cat >>conftest.$ac_ext <<_ACEOF
15899 /* end confdefs.h. */
15913 rm -f conftest.$ac_objext
15914 if { (ac_try="$ac_compile"
15915 case "(($ac_try" in
15916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15917 *) ac_try_echo=$ac_try;;
15919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15920 (eval "$ac_compile") 2>conftest.er1
15922 grep -v '^
*+' conftest.er1 >conftest.err
15924 cat conftest.err >&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); } && {
15927 test -z "$ac_c_werror_flag" ||
15928 test ! -s conftest.err
15929 } && test -s conftest.$ac_objext; then
15930 bakefile_cv_c_compiler___DECC=yes
15932 echo "$as_me: failed program was:" >&5
15933 sed 's
/^
/| /' conftest.$ac_ext >&5
15935 bakefile_cv_c_compiler___DECC=no
15939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15943 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15944 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15945 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15951 ac_cpp='$CPP $CPPFLAGS'
15952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15953 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15964 ac_cpp='$CPP $CPPFLAGS'
15965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15966 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15969 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15970 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15971 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15972 echo $ECHO_N "(cached) $ECHO_C" >&6
15974 cat >conftest.$ac_ext <<_ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15993 rm -f conftest.$ac_objext
15994 if { (ac_try="$ac_compile"
15995 case "(($ac_try" in
15996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15997 *) ac_try_echo=$ac_try;;
15999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16000 (eval "$ac_compile") 2>conftest.er1
16002 grep -v '^
*+' conftest.er1 >conftest.err
16004 cat conftest.err >&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); } && {
16007 test -z "$ac_c_werror_flag" ||
16008 test ! -s conftest.err
16009 } && test -s conftest.$ac_objext; then
16010 bakefile_cv_c_compiler___SUNPRO_C=yes
16012 echo "$as_me: failed program was:" >&5
16013 sed 's
/^
/| /' conftest.$ac_ext >&5
16015 bakefile_cv_c_compiler___SUNPRO_C=no
16019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16023 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16024 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16025 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16031 ac_cpp='$CPP $CPPFLAGS'
16032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16033 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16045 ac_cpp='$CPP $CPPFLAGS'
16046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16047 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16049 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16050 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16051 # On Suns, sometimes $CPP names a directory.
16052 if test -n "$CPP" && test -d "$CPP"; then
16055 if test -z "$CPP"; then
16056 if test "${ac_cv_prog_CPP+set}" = set; then
16057 echo $ECHO_N "(cached) $ECHO_C" >&6
16059 # Double quotes because CPP needs to be expanded
16060 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16062 ac_preproc_ok=false
16063 for ac_c_preproc_warn_flag in '' yes
16065 # Use a header file that comes with gcc, so configuring glibc
16066 # with a fresh cross-compiler works.
16067 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16068 # <limits.h> exists even on freestanding compilers.
16069 # On the NeXT, cc -E runs the code through the compiler's parser
,
16070 # not just through cpp. "Syntax error" is here to catch this case.
16071 cat >conftest.
$ac_ext <<_ACEOF
16074 cat confdefs.h
>>conftest.
$ac_ext
16075 cat >>conftest.
$ac_ext <<_ACEOF
16076 /* end confdefs.h. */
16078 # include <limits.h>
16080 # include <assert.h>
16084 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16085 case "(($ac_try" in
16086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16087 *) ac_try_echo=$ac_try;;
16089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16092 grep -v '^ *+' conftest.er1 >conftest.err
16094 cat conftest.err >&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } >/dev/null && {
16097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16098 test ! -s conftest.err
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.$ac_ext >&5
16105 # Broken: fails on valid input.
16109 rm -f conftest.err conftest.$ac_ext
16111 # OK, works on sane cases. Now check whether nonexistent headers
16112 # can be detected and how.
16113 cat >conftest.$ac_ext <<_ACEOF
16116 cat confdefs.h >>conftest.$ac_ext
16117 cat >>conftest.$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16119 #include <ac_nonexistent.h>
16121 if { (ac_try="$ac_cpp conftest.$ac_ext"
16122 case "(($ac_try" in
16123 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16124 *) ac_try_echo
=$ac_try;;
16126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16127 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16129 grep -v '^ *+' conftest.er1
>conftest.err
16131 cat conftest.err
>&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); } >/dev
/null
&& {
16134 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16135 test ! -s conftest.err
16137 # Broken: success on invalid input.
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.
$ac_ext >&5
16143 # Passes both tests.
16148 rm -f conftest.err conftest.
$ac_ext
16151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16152 rm -f conftest.err conftest.
$ac_ext
16153 if $ac_preproc_ok; then
16158 ac_cv_prog_CPP
=$CPP
16161 CPP
=$ac_cv_prog_CPP
16163 ac_cv_prog_CPP
=$CPP
16165 { echo "$as_me:$LINENO: result: $CPP" >&5
16166 echo "${ECHO_T}$CPP" >&6; }
16167 ac_preproc_ok
=false
16168 for ac_c_preproc_warn_flag
in '' yes
16170 # Use a header file that comes with gcc, so configuring glibc
16171 # with a fresh cross-compiler works.
16172 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16173 # <limits.h> exists even on freestanding compilers.
16174 # On the NeXT, cc -E runs the code through the compiler's parser,
16175 # not just through cpp. "Syntax error" is here to catch this case.
16176 cat >conftest.
$ac_ext <<_ACEOF
16179 cat confdefs.h
>>conftest.
$ac_ext
16180 cat >>conftest.
$ac_ext <<_ACEOF
16181 /* end confdefs.h. */
16183 # include <limits.h>
16185 # include <assert.h>
16189 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16190 case "(($ac_try" in
16191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16197 grep -v '^ *+' conftest.er1 >conftest.err
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } >/dev/null && {
16202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16203 test ! -s conftest.err
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16210 # Broken: fails on valid input.
16214 rm -f conftest.err conftest.$ac_ext
16216 # OK, works on sane cases. Now check whether nonexistent headers
16217 # can be detected and how.
16218 cat >conftest.$ac_ext <<_ACEOF
16221 cat confdefs.h >>conftest.$ac_ext
16222 cat >>conftest.$ac_ext <<_ACEOF
16223 /* end confdefs.h. */
16224 #include <ac_nonexistent.h>
16226 if { (ac_try="$ac_cpp conftest.$ac_ext"
16227 case "(($ac_try" in
16228 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16229 *) ac_try_echo
=$ac_try;;
16231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16234 grep -v '^ *+' conftest.er1
>conftest.err
16236 cat conftest.err
>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); } >/dev
/null
&& {
16239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16240 test ! -s conftest.err
16242 # Broken: success on invalid input.
16245 echo "$as_me: failed program was:" >&5
16246 sed 's/^/| /' conftest.
$ac_ext >&5
16248 # Passes both tests.
16253 rm -f conftest.err conftest.
$ac_ext
16256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16257 rm -f conftest.err conftest.
$ac_ext
16258 if $ac_preproc_ok; then
16261 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16262 See \`config.log' for more details." >&5
16263 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16264 See \`config.log' for more details." >&2;}
16265 { (exit 1); exit 1; }; }
16269 ac_cpp
='$CPP $CPPFLAGS'
16270 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16271 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16272 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16275 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16276 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16277 if test "${ac_cv_path_GREP+set}" = set; then
16278 echo $ECHO_N "(cached) $ECHO_C" >&6
16280 # Extract the first word of "grep ggrep" to use in msg output
16281 if test -z "$GREP"; then
16282 set dummy
grep ggrep
; ac_prog_name
=$2
16283 if test "${ac_cv_path_GREP+set}" = set; then
16284 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 ac_path_GREP_found
=false
16287 # Loop through the user's path and test for each of PROGNAME-LIST
16288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16289 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16292 test -z "$as_dir" && as_dir
=.
16293 for ac_prog
in grep ggrep
; do
16294 for ac_exec_ext
in '' $ac_executable_extensions; do
16295 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16296 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16297 # Check for GNU ac_path_GREP and select it if it is found.
16298 # Check for GNU $ac_path_GREP
16299 case `"$ac_path_GREP" --version 2>&1` in
16301 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16304 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16307 cat "conftest.in" "conftest.in" >"conftest.tmp"
16308 mv "conftest.tmp" "conftest.in"
16309 cp "conftest.in" "conftest.nl"
16310 echo 'GREP' >> "conftest.nl"
16311 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16312 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16313 ac_count
=`expr $ac_count + 1`
16314 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16315 # Best one so far, save it but keep looking for a better one
16316 ac_cv_path_GREP
="$ac_path_GREP"
16317 ac_path_GREP_max
=$ac_count
16319 # 10*(2^10) chars as input seems more than enough
16320 test $ac_count -gt 10 && break
16322 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16326 $ac_path_GREP_found && break 3
16336 GREP
="$ac_cv_path_GREP"
16337 if test -z "$GREP"; then
16338 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16339 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16340 { (exit 1); exit 1; }; }
16344 ac_cv_path_GREP
=$GREP
16349 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16350 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16351 GREP
="$ac_cv_path_GREP"
16354 { echo "$as_me:$LINENO: checking for egrep" >&5
16355 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16356 if test "${ac_cv_path_EGREP+set}" = set; then
16357 echo $ECHO_N "(cached) $ECHO_C" >&6
16359 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16360 then ac_cv_path_EGREP
="$GREP -E"
16362 # Extract the first word of "egrep" to use in msg output
16363 if test -z "$EGREP"; then
16364 set dummy
egrep; ac_prog_name
=$2
16365 if test "${ac_cv_path_EGREP+set}" = set; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16368 ac_path_EGREP_found
=false
16369 # Loop through the user's path and test for each of PROGNAME-LIST
16370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16371 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16374 test -z "$as_dir" && as_dir
=.
16375 for ac_prog
in egrep; do
16376 for ac_exec_ext
in '' $ac_executable_extensions; do
16377 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16378 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16379 # Check for GNU ac_path_EGREP and select it if it is found.
16380 # Check for GNU $ac_path_EGREP
16381 case `"$ac_path_EGREP" --version 2>&1` in
16383 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16386 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16389 cat "conftest.in" "conftest.in" >"conftest.tmp"
16390 mv "conftest.tmp" "conftest.in"
16391 cp "conftest.in" "conftest.nl"
16392 echo 'EGREP' >> "conftest.nl"
16393 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16394 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16395 ac_count
=`expr $ac_count + 1`
16396 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16397 # Best one so far, save it but keep looking for a better one
16398 ac_cv_path_EGREP
="$ac_path_EGREP"
16399 ac_path_EGREP_max
=$ac_count
16401 # 10*(2^10) chars as input seems more than enough
16402 test $ac_count -gt 10 && break
16404 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16408 $ac_path_EGREP_found && break 3
16418 EGREP
="$ac_cv_path_EGREP"
16419 if test -z "$EGREP"; then
16420 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16421 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16422 { (exit 1); exit 1; }; }
16426 ac_cv_path_EGREP
=$EGREP
16432 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16433 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16434 EGREP
="$ac_cv_path_EGREP"
16437 if test $ac_cv_c_compiler_gnu = yes; then
16438 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16439 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16440 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16441 echo $ECHO_N "(cached) $ECHO_C" >&6
16443 ac_pattern
="Autoconf.*'x'"
16444 cat >conftest.
$ac_ext <<_ACEOF
16447 cat confdefs.h
>>conftest.
$ac_ext
16448 cat >>conftest.
$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16455 ac_cv_prog_gcc_traditional
=yes
16457 ac_cv_prog_gcc_traditional
=no
16462 if test $ac_cv_prog_gcc_traditional = no
; then
16463 cat >conftest.
$ac_ext <<_ACEOF
16466 cat confdefs.h
>>conftest.
$ac_ext
16467 cat >>conftest.
$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 #include <termio.h>
16472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16473 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16474 ac_cv_prog_gcc_traditional
=yes
16480 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16481 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16482 if test $ac_cv_prog_gcc_traditional = yes; then
16483 CC
="$CC -traditional"
16488 CXXFLAGS
=${CXXFLAGS:=}
16493 ac_cpp
='$CXXCPP $CPPFLAGS'
16494 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16495 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16496 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16497 if test -z "$CXX"; then
16498 if test -n "$CCC"; then
16501 if test -n "$ac_tool_prefix"; then
16502 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16505 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16508 if test "${ac_cv_prog_CXX+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 if test -n "$CXX"; then
16512 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16515 for as_dir
in $PATH
16518 test -z "$as_dir" && as_dir
=.
16519 for ac_exec_ext
in '' $ac_executable_extensions; do
16520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16521 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16531 CXX
=$ac_cv_prog_CXX
16532 if test -n "$CXX"; then
16533 { echo "$as_me:$LINENO: result: $CXX" >&5
16534 echo "${ECHO_T}$CXX" >&6; }
16536 { echo "$as_me:$LINENO: result: no" >&5
16537 echo "${ECHO_T}no" >&6; }
16541 test -n "$CXX" && break
16544 if test -z "$CXX"; then
16546 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16548 # Extract the first word of "$ac_prog", so it can be a program name with args.
16549 set dummy
$ac_prog; ac_word
=$2
16550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16552 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16553 echo $ECHO_N "(cached) $ECHO_C" >&6
16555 if test -n "$ac_ct_CXX"; then
16556 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16559 for as_dir
in $PATH
16562 test -z "$as_dir" && as_dir
=.
16563 for ac_exec_ext
in '' $ac_executable_extensions; do
16564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16565 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16575 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16576 if test -n "$ac_ct_CXX"; then
16577 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16578 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16580 { echo "$as_me:$LINENO: result: no" >&5
16581 echo "${ECHO_T}no" >&6; }
16585 test -n "$ac_ct_CXX" && break
16588 if test "x$ac_ct_CXX" = x
; then
16591 case $cross_compiling:$ac_tool_warned in
16593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16594 whose name does not start with the host triplet. If you think this
16595 configuration is useful to you, please write to autoconf@gnu.org." >&5
16596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16597 whose name does not start with the host triplet. If you think this
16598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16599 ac_tool_warned
=yes ;;
16607 # Provide some information about the compiler.
16608 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16609 ac_compiler
=`set X $ac_compile; echo $2`
16610 { (ac_try
="$ac_compiler --version >&5"
16611 case "(($ac_try" in
16612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16613 *) ac_try_echo=$ac_try;;
16615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16616 (eval "$ac_compiler --version >&5") 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }
16620 { (ac_try="$ac_compiler -v >&5"
16621 case "(($ac_try" in
16622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16623 *) ac_try_echo
=$ac_try;;
16625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16626 (eval "$ac_compiler -v >&5") 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }
16630 { (ac_try
="$ac_compiler -V >&5"
16631 case "(($ac_try" in
16632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16633 *) ac_try_echo=$ac_try;;
16635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16636 (eval "$ac_compiler -V >&5") 2>&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }
16641 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16642 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16643 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16646 cat >conftest.$ac_ext <<_ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16664 rm -f conftest.$ac_objext
16665 if { (ac_try="$ac_compile"
16666 case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16668 *) ac_try_echo
=$ac_try;;
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compile") 2>conftest.er1
16673 grep -v '^ *+' conftest.er1
>conftest.err
16675 cat conftest.err
>&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && {
16678 test -z "$ac_cxx_werror_flag" ||
16679 test ! -s conftest.err
16680 } && test -s conftest.
$ac_objext; then
16681 ac_compiler_gnu
=yes
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.
$ac_ext >&5
16689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16690 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16693 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16694 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16695 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16696 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16697 ac_save_CXXFLAGS
=$CXXFLAGS
16698 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16699 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16700 if test "${ac_cv_prog_cxx_g+set}" = set; then
16701 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16704 ac_cxx_werror_flag
=yes
16705 ac_cv_prog_cxx_g
=no
16707 cat >conftest.
$ac_ext <<_ACEOF
16710 cat confdefs.h
>>conftest.
$ac_ext
16711 cat >>conftest.
$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16722 rm -f conftest.
$ac_objext
16723 if { (ac_try
="$ac_compile"
16724 case "(($ac_try" in
16725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16726 *) ac_try_echo=$ac_try;;
16728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16729 (eval "$ac_compile") 2>conftest.er1
16731 grep -v '^ *+' conftest.er1 >conftest.err
16733 cat conftest.err >&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); } && {
16736 test -z "$ac_cxx_werror_flag" ||
16737 test ! -s conftest.err
16738 } && test -s conftest.$ac_objext; then
16739 ac_cv_prog_cxx_g=yes
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16745 cat >conftest.$ac_ext <<_ACEOF
16748 cat confdefs.h >>conftest.$ac_ext
16749 cat >>conftest.$ac_ext <<_ACEOF
16750 /* end confdefs.h. */
16760 rm -f conftest.$ac_objext
16761 if { (ac_try="$ac_compile"
16762 case "(($ac_try" in
16763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16764 *) ac_try_echo
=$ac_try;;
16766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_compile") 2>conftest.er1
16769 grep -v '^ *+' conftest.er1
>conftest.err
16771 cat conftest.err
>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); } && {
16774 test -z "$ac_cxx_werror_flag" ||
16775 test ! -s conftest.err
16776 } && test -s conftest.
$ac_objext; then
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.
$ac_ext >&5
16782 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16784 cat >conftest.
$ac_ext <<_ACEOF
16787 cat confdefs.h
>>conftest.
$ac_ext
16788 cat >>conftest.
$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16799 rm -f conftest.
$ac_objext
16800 if { (ac_try
="$ac_compile"
16801 case "(($ac_try" in
16802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16803 *) ac_try_echo=$ac_try;;
16805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16806 (eval "$ac_compile") 2>conftest.er1
16808 grep -v '^ *+' conftest.er1 >conftest.err
16810 cat conftest.err >&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); } && {
16813 test -z "$ac_cxx_werror_flag" ||
16814 test ! -s conftest.err
16815 } && test -s conftest.$ac_objext; then
16816 ac_cv_prog_cxx_g=yes
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.$ac_ext >&5
16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16831 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16833 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16834 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16835 if test "$ac_test_CXXFLAGS" = set; then
16836 CXXFLAGS=$ac_save_CXXFLAGS
16837 elif test $ac_cv_prog_cxx_g = yes; then
16838 if test "$GXX" = yes; then
16844 if test "$GXX" = yes; then
16851 ac_cpp='$CPP $CPPFLAGS'
16852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16860 ac_cpp='$CXXCPP $CPPFLAGS'
16861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16865 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16866 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16867 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 cat >conftest.$ac_ext <<_ACEOF
16873 cat confdefs.h >>conftest.$ac_ext
16874 cat >>conftest.$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16881 #ifndef __INTEL_COMPILER
16889 rm -f conftest.$ac_objext
16890 if { (ac_try="$ac_compile"
16891 case "(($ac_try" in
16892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16893 *) ac_try_echo
=$ac_try;;
16895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16896 (eval "$ac_compile") 2>conftest.er1
16898 grep -v '^ *+' conftest.er1
>conftest.err
16900 cat conftest.err
>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); } && {
16903 test -z "$ac_cxx_werror_flag" ||
16904 test ! -s conftest.err
16905 } && test -s conftest.
$ac_objext; then
16906 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16908 echo "$as_me: failed program was:" >&5
16909 sed 's/^/| /' conftest.
$ac_ext >&5
16911 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16919 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16920 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16921 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16927 ac_cpp
='$CPP $CPPFLAGS'
16928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16935 if test "$INTELCXX" = "yes"; then
16939 ac_cpp
='$CXXCPP $CPPFLAGS'
16940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16944 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16945 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16946 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16947 echo $ECHO_N "(cached) $ECHO_C" >&6
16949 cat >conftest.
$ac_ext <<_ACEOF
16952 cat confdefs.h
>>conftest.
$ac_ext
16953 cat >>conftest.
$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16960 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16968 rm -f conftest.
$ac_objext
16969 if { (ac_try
="$ac_compile"
16970 case "(($ac_try" in
16971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16972 *) ac_try_echo=$ac_try;;
16974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16975 (eval "$ac_compile") 2>conftest.er1
16977 grep -v '^ *+' conftest.er1 >conftest.err
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } && {
16982 test -z "$ac_cxx_werror_flag" ||
16983 test ! -s conftest.err
16984 } && test -s conftest.$ac_objext; then
16985 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16987 echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.$ac_ext >&5
16990 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16998 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
16999 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17000 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17006 ac_cpp='$CPP $CPPFLAGS'
17007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17016 ac_cpp='$CXXCPP $CPPFLAGS'
17017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17021 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17022 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17023 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17024 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 cat >conftest.$ac_ext <<_ACEOF
17029 cat confdefs.h >>conftest.$ac_ext
17030 cat >>conftest.$ac_ext <<_ACEOF
17031 /* end confdefs.h. */
17037 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17045 rm -f conftest.$ac_objext
17046 if { (ac_try="$ac_compile"
17047 case "(($ac_try" in
17048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17049 *) ac_try_echo
=$ac_try;;
17051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17052 (eval "$ac_compile") 2>conftest.er1
17054 grep -v '^ *+' conftest.er1
>conftest.err
17056 cat conftest.err
>&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); } && {
17059 test -z "$ac_cxx_werror_flag" ||
17060 test ! -s conftest.err
17061 } && test -s conftest.
$ac_objext; then
17062 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.
$ac_ext >&5
17067 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17075 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17076 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17077 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17083 ac_cpp
='$CPP $CPPFLAGS'
17084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17092 if test "x$GCXX" != "xyes"; then
17093 if test "xCXX" = "xC"; then
17094 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17095 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17096 if test "${bakefile_cv_c_exto+set}" = set; then
17097 echo $ECHO_N "(cached) $ECHO_C" >&6
17099 cat >conftest.
$ac_ext <<_ACEOF
17102 cat confdefs.h
>>conftest.
$ac_ext
17103 cat >>conftest.
$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17114 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17116 (eval $ac_compile) 2>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; then
17120 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17122 conftest.
$ac_ext.o
)
17123 bakefile_cv_c_exto
="-ext o"
17130 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17131 See \`config.log' for more details." >&5
17132 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17133 See \`config.log' for more details." >&2;}
17134 { (exit 1); exit 1; }; }
17138 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17142 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17143 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17144 if test "c" = "c"; then
17145 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17147 if test "c" = "cxx"; then
17148 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17152 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17153 unset ac_cv_prog_cc_g
17154 ac_test_CFLAGS
=${CFLAGS+set}
17155 ac_save_CFLAGS
=$CFLAGS
17156 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17157 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17158 if test "${ac_cv_prog_cc_g+set}" = set; then
17159 echo $ECHO_N "(cached) $ECHO_C" >&6
17161 ac_save_c_werror_flag
=$ac_c_werror_flag
17162 ac_c_werror_flag
=yes
17165 cat >conftest.
$ac_ext <<_ACEOF
17168 cat confdefs.h
>>conftest.
$ac_ext
17169 cat >>conftest.
$ac_ext <<_ACEOF
17170 /* end confdefs.h. */
17180 rm -f conftest.
$ac_objext
17181 if { (ac_try
="$ac_compile"
17182 case "(($ac_try" in
17183 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17184 *) ac_try_echo=$ac_try;;
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_compile") 2>conftest.er1
17189 grep -v '^ *+' conftest.er1 >conftest.err
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } && {
17194 test -z "$ac_c_werror_flag" ||
17195 test ! -s conftest.err
17196 } && test -s conftest.$ac_objext; then
17197 ac_cv_prog_cc_g=yes
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.$ac_ext >&5
17203 cat >conftest.$ac_ext <<_ACEOF
17206 cat confdefs.h >>conftest.$ac_ext
17207 cat >>conftest.$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17218 rm -f conftest.$ac_objext
17219 if { (ac_try="$ac_compile"
17220 case "(($ac_try" in
17221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17222 *) ac_try_echo
=$ac_try;;
17224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17225 (eval "$ac_compile") 2>conftest.er1
17227 grep -v '^ *+' conftest.er1
>conftest.err
17229 cat conftest.err
>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } && {
17232 test -z "$ac_c_werror_flag" ||
17233 test ! -s conftest.err
17234 } && test -s conftest.
$ac_objext; then
17237 echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.
$ac_ext >&5
17240 ac_c_werror_flag
=$ac_save_c_werror_flag
17242 cat >conftest.
$ac_ext <<_ACEOF
17245 cat confdefs.h
>>conftest.
$ac_ext
17246 cat >>conftest.
$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17257 rm -f conftest.
$ac_objext
17258 if { (ac_try
="$ac_compile"
17259 case "(($ac_try" in
17260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17261 *) ac_try_echo=$ac_try;;
17263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17264 (eval "$ac_compile") 2>conftest.er1
17266 grep -v '^ *+' conftest.er1 >conftest.err
17268 cat conftest.err >&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); } && {
17271 test -z "$ac_c_werror_flag" ||
17272 test ! -s conftest.err
17273 } && test -s conftest.$ac_objext; then
17274 ac_cv_prog_cc_g=yes
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17289 ac_c_werror_flag=$ac_save_c_werror_flag
17291 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17292 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17293 if test "$ac_test_CFLAGS" = set; then
17294 CFLAGS=$ac_save_CFLAGS
17295 elif test $ac_cv_prog_cc_g = yes; then
17296 if test "$GCC" = yes; then
17302 if test "$GCC" = yes; then
17316 ac_cpp='$CXXCPP $CPPFLAGS'
17317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17321 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17322 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17323 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17324 echo $ECHO_N "(cached) $ECHO_C" >&6
17326 cat >conftest.$ac_ext <<_ACEOF
17329 cat confdefs.h >>conftest.$ac_ext
17330 cat >>conftest.$ac_ext <<_ACEOF
17331 /* end confdefs.h. */
17345 rm -f conftest.$ac_objext
17346 if { (ac_try="$ac_compile"
17347 case "(($ac_try" in
17348 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17349 *) ac_try_echo
=$ac_try;;
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_compile") 2>conftest.er1
17354 grep -v '^ *+' conftest.er1
>conftest.err
17356 cat conftest.err
>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_cxx_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest.
$ac_objext; then
17362 bakefile_cv_cxx_compiler___xlC__
=yes
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.
$ac_ext >&5
17367 bakefile_cv_cxx_compiler___xlC__
=no
17371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17375 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17376 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17377 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17383 ac_cpp
='$CPP $CPPFLAGS'
17384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17396 ac_cpp
='$CXXCPP $CPPFLAGS'
17397 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17398 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17399 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17401 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17402 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17403 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17404 echo $ECHO_N "(cached) $ECHO_C" >&6
17406 cat >conftest.
$ac_ext <<_ACEOF
17409 cat confdefs.h
>>conftest.
$ac_ext
17410 cat >>conftest.
$ac_ext <<_ACEOF
17411 /* end confdefs.h. */
17425 rm -f conftest.
$ac_objext
17426 if { (ac_try
="$ac_compile"
17427 case "(($ac_try" in
17428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17429 *) ac_try_echo=$ac_try;;
17431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17432 (eval "$ac_compile") 2>conftest.er1
17434 grep -v '^ *+' conftest.er1 >conftest.err
17436 cat conftest.err >&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } && {
17439 test -z "$ac_cxx_werror_flag" ||
17440 test ! -s conftest.err
17441 } && test -s conftest.$ac_objext; then
17442 bakefile_cv_cxx_compiler___MWERKS__=yes
17444 echo "$as_me: failed program was:" >&5
17445 sed 's/^/| /' conftest.$ac_ext >&5
17447 bakefile_cv_cxx_compiler___MWERKS__=no
17451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17455 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17456 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17457 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17463 ac_cpp='$CPP $CPPFLAGS'
17464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17470 if test "$MWCXX" != "yes"; then
17474 ac_cpp='$CXXCPP $CPPFLAGS'
17475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17479 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17480 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17481 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17484 cat >conftest.$ac_ext <<_ACEOF
17487 cat confdefs.h >>conftest.$ac_ext
17488 cat >>conftest.$ac_ext <<_ACEOF
17489 /* end confdefs.h. */
17503 rm -f conftest.$ac_objext
17504 if { (ac_try="$ac_compile"
17505 case "(($ac_try" in
17506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17507 *) ac_try_echo
=$ac_try;;
17509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17510 (eval "$ac_compile") 2>conftest.er1
17512 grep -v '^ *+' conftest.er1
>conftest.err
17514 cat conftest.err
>&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } && {
17517 test -z "$ac_cxx_werror_flag" ||
17518 test ! -s conftest.err
17519 } && test -s conftest.
$ac_objext; then
17520 bakefile_cv_cxx_compiler___xlC__
=yes
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.
$ac_ext >&5
17525 bakefile_cv_cxx_compiler___xlC__
=no
17529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17533 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17534 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17535 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17541 ac_cpp
='$CPP $CPPFLAGS'
17542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17555 ac_cpp
='$CXXCPP $CPPFLAGS'
17556 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17560 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17561 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17562 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17563 echo $ECHO_N "(cached) $ECHO_C" >&6
17565 cat >conftest.
$ac_ext <<_ACEOF
17568 cat confdefs.h
>>conftest.
$ac_ext
17569 cat >>conftest.
$ac_ext <<_ACEOF
17570 /* end confdefs.h. */
17576 #ifndef _SGI_COMPILER_VERSION
17584 rm -f conftest.
$ac_objext
17585 if { (ac_try
="$ac_compile"
17586 case "(($ac_try" in
17587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17588 *) ac_try_echo=$ac_try;;
17590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17591 (eval "$ac_compile") 2>conftest.er1
17593 grep -v '^ *+' conftest.er1 >conftest.err
17595 cat conftest.err >&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); } && {
17598 test -z "$ac_cxx_werror_flag" ||
17599 test ! -s conftest.err
17600 } && test -s conftest.$ac_objext; then
17601 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17603 echo "$as_me: failed program was:" >&5
17604 sed 's/^/| /' conftest.$ac_ext >&5
17606 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17614 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17615 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17616 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17622 ac_cpp='$CPP $CPPFLAGS'
17623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17632 if test "$INTELCXX" != "yes"; then
17636 ac_cpp='$CXXCPP $CPPFLAGS'
17637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17641 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17642 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17643 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17646 cat >conftest.$ac_ext <<_ACEOF
17649 cat confdefs.h >>conftest.$ac_ext
17650 cat >>conftest.$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17657 #ifndef __SUNPRO_CC
17665 rm -f conftest.$ac_objext
17666 if { (ac_try="$ac_compile"
17667 case "(($ac_try" in
17668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17669 *) ac_try_echo
=$ac_try;;
17671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17672 (eval "$ac_compile") 2>conftest.er1
17674 grep -v '^ *+' conftest.er1
>conftest.err
17676 cat conftest.err
>&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); } && {
17679 test -z "$ac_cxx_werror_flag" ||
17680 test ! -s conftest.err
17681 } && test -s conftest.
$ac_objext; then
17682 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17684 echo "$as_me: failed program was:" >&5
17685 sed 's/^/| /' conftest.
$ac_ext >&5
17687 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17695 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17696 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17697 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17703 ac_cpp
='$CPP $CPPFLAGS'
17704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17717 ac_cpp
='$CXXCPP $CPPFLAGS'
17718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17722 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17723 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17724 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 cat >conftest.
$ac_ext <<_ACEOF
17730 cat confdefs.h
>>conftest.
$ac_ext
17731 cat >>conftest.
$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17746 rm -f conftest.
$ac_objext
17747 if { (ac_try
="$ac_compile"
17748 case "(($ac_try" in
17749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_compile") 2>conftest.er1
17755 grep -v '^ *+' conftest.er1 >conftest.err
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_cxx_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest.$ac_objext; then
17763 bakefile_cv_cxx_compiler___HP_aCC=yes
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.$ac_ext >&5
17768 bakefile_cv_cxx_compiler___HP_aCC=no
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17776 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17777 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17778 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17784 ac_cpp='$CPP $CPPFLAGS'
17785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17797 ac_cpp='$CXXCPP $CPPFLAGS'
17798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17802 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17803 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17804 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17805 echo $ECHO_N "(cached) $ECHO_C" >&6
17807 cat >conftest.$ac_ext <<_ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17826 rm -f conftest.$ac_objext
17827 if { (ac_try="$ac_compile"
17828 case "(($ac_try" in
17829 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17830 *) ac_try_echo
=$ac_try;;
17832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17833 (eval "$ac_compile") 2>conftest.er1
17835 grep -v '^ *+' conftest.er1
>conftest.err
17837 cat conftest.err
>&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } && {
17840 test -z "$ac_cxx_werror_flag" ||
17841 test ! -s conftest.err
17842 } && test -s conftest.
$ac_objext; then
17843 bakefile_cv_cxx_compiler___DECCXX
=yes
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.
$ac_ext >&5
17848 bakefile_cv_cxx_compiler___DECCXX
=no
17852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17856 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17857 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17858 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17864 ac_cpp
='$CPP $CPPFLAGS'
17865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17877 ac_cpp
='$CXXCPP $CPPFLAGS'
17878 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17879 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17880 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17882 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17883 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17884 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17885 echo $ECHO_N "(cached) $ECHO_C" >&6
17887 cat >conftest.
$ac_ext <<_ACEOF
17890 cat confdefs.h
>>conftest.
$ac_ext
17891 cat >>conftest.
$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17898 #ifndef __SUNPRO_CC
17906 rm -f conftest.
$ac_objext
17907 if { (ac_try
="$ac_compile"
17908 case "(($ac_try" in
17909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17910 *) ac_try_echo=$ac_try;;
17912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17913 (eval "$ac_compile") 2>conftest.er1
17915 grep -v '^ *+' conftest.er1 >conftest.err
17917 cat conftest.err >&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); } && {
17920 test -z "$ac_cxx_werror_flag" ||
17921 test ! -s conftest.err
17922 } && test -s conftest.$ac_objext; then
17923 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17925 echo "$as_me: failed program was:" >&5
17926 sed 's/^/| /' conftest.$ac_ext >&5
17928 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17936 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17937 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17938 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17944 ac_cpp='$CPP $CPPFLAGS'
17945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17957 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17958 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17959 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17960 { (exit 1); exit 1; }; }
17963 if test "x$SUNCXX" != xyes; then
17964 if test -n "$ac_tool_prefix"; then
17965 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17966 set dummy ${ac_tool_prefix}ar; ac_word=$2
17967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17969 if test "${ac_cv_prog_AR+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17972 if test -n "$AR"; then
17973 ac_cv_prog_AR="$AR" # Let the user override the test.
17975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17976 for as_dir in $PATH
17979 test -z "$as_dir" && as_dir=.
17980 for ac_exec_ext in '' $ac_executable_extensions; do
17981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17982 ac_cv_prog_AR="${ac_tool_prefix}ar"
17983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17993 if test -n "$AR"; then
17994 { echo "$as_me:$LINENO: result: $AR" >&5
17995 echo "${ECHO_T}$AR" >&6; }
17997 { echo "$as_me:$LINENO: result: no" >&5
17998 echo "${ECHO_T}no" >&6; }
18003 if test -z "$ac_cv_prog_AR"; then
18005 # Extract the first word of "ar", so it can be a program name with args.
18006 set dummy ar; ac_word=$2
18007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18009 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18010 echo $ECHO_N "(cached) $ECHO_C" >&6
18012 if test -n "$ac_ct_AR"; then
18013 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18016 for as_dir in $PATH
18019 test -z "$as_dir" && as_dir=.
18020 for ac_exec_ext in '' $ac_executable_extensions; do
18021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18022 ac_cv_prog_ac_ct_AR="ar"
18023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18032 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18033 if test -n "$ac_ct_AR"; then
18034 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18035 echo "${ECHO_T}$ac_ct_AR" >&6; }
18037 { echo "$as_me:$LINENO: result: no" >&5
18038 echo "${ECHO_T}no" >&6; }
18041 if test "x$ac_ct_AR" = x; then
18044 case $cross_compiling:$ac_tool_warned in
18046 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18047 whose name does not start with the host triplet. If you think this
18048 configuration is useful to you, please write to autoconf@gnu.org." >&5
18049 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18050 whose name does not start with the host triplet. If you think this
18051 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18052 ac_tool_warned=yes ;;
18057 AR="$ac_cv_prog_AR"
18060 if test "x$AR" = "x" ; then
18061 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18062 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18063 { (exit 1); exit 1; }; }
18067 retest_macosx_linking=no
18069 #if test "$wxUSE_MAC" = 1; then
18070 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18071 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18072 # Implicitly turn on the new --with-macosx-sdk using the default
18073 # SDK which provides the behavior this option has always had.
18074 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18075 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18076 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18077 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18078 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18079 wxUSE_MACOSX_SDK=yes
18082 # Complain to user if he specified an argument to --enable-universal_binary
18083 # and also 1) specified --with-macosx-sdk using the default (yes) or
18084 # 2) specified --with-macosx-sdk using a path or 3) specified
18085 # --without-macosx-sdk (no).
18086 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18087 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18088 See \`config.log
' for more details." >&5
18089 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18090 See \`config.log' for more details.
" >&2;}
18091 { (exit 1); exit 1; }; }
18093 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18094 # special-case the empty string because the below test simply
18095 # converts "no
" to the empty string anyway.
18096 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18097 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18098 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18101 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18102 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18103 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18104 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18105 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18106 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18107 retest_macosx_linking=yes
18109 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18110 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18115 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18117 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18118 # TODO: Search for most recent SDK and use it.
18119 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18123 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18124 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18125 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18126 if ! test -d "$wxUSE_MACOSX_SDK"; then
18127 { { echo "$as_me:$LINENO: error
: not found
18128 See \
`config.log' for more details." >&5
18129 echo "$as_me: error: not found
18130 See \`config.log
' for more details." >&2;}
18131 { (exit 1); exit 1; }; }
18133 { echo "$as_me:$LINENO: result: exists" >&5
18134 echo "${ECHO_T}exists" >&6; }
18136 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18137 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18138 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18139 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18140 retest_macosx_linking=yes
18143 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18144 wxUSE_MACOSX_VERSION_MIN=
18145 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18146 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18147 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18148 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18150 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/'`
18152 # If that failed, try again with the new key
18153 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18155 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/'`
18159 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18160 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18161 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18162 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18164 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18165 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18166 wxUSE_MACOSX_VERSION_MIN=
18169 wxUSE_MACOSX_VERSION_MIN=
18171 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18172 if test "$wxUSE_MAC" = 1; then
18173 # otherwise configure stops on leopard for universal_binary
18174 wxUSE_MACOSX_VERSION_MIN=10.4
18178 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18179 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18180 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18181 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18182 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18183 retest_macosx_linking=yes
18186 if test "x$retest_macosx_linking" = "xyes"; then
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18190 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18193 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18194 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18195 cat >conftest.$ac_ext <<_ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18210 rm -f conftest.$ac_objext conftest$ac_exeext
18211 if { (ac_try="$ac_link"
18212 case "(($ac_try" in
18213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18214 *) ac_try_echo=$ac_try;;
18216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18217 (eval "$ac_link") 2>conftest.er1
18219 grep -v '^
*+' conftest.er1 >conftest.err
18221 cat conftest.err >&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } && {
18224 test -z "$ac_c_werror_flag" ||
18225 test ! -s conftest.err
18226 } && test -s conftest$ac_exeext &&
18227 $as_test_x conftest$ac_exeext; then
18228 { echo "$as_me:$LINENO: result: yes" >&5
18229 echo "${ECHO_T}yes" >&6; }
18231 echo "$as_me: failed program was:" >&5
18232 sed 's
/^
/| /' conftest.$ac_ext >&5
18234 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18235 See \`config.log' for more details.
" >&5
18236 echo "$as_me: error
: no. Try a different SDK
18237 See \
`config.log' for more details." >&2;}
18238 { (exit 1); exit 1; }; }; exit 1
18241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18242 conftest$ac_exeext conftest.$ac_ext
18244 ac_cpp='$CPP $CPPFLAGS'
18245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18251 ac_cpp='$CXXCPP $CPPFLAGS'
18252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18256 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18257 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18258 cat >conftest.$ac_ext <<_ACEOF
18261 cat confdefs.h >>conftest.$ac_ext
18262 cat >>conftest.$ac_ext <<_ACEOF
18263 /* end confdefs.h. */
18273 rm -f conftest.$ac_objext conftest$ac_exeext
18274 if { (ac_try="$ac_link"
18275 case "(($ac_try" in
18276 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18277 *) ac_try_echo
=$ac_try;;
18279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18280 (eval "$ac_link") 2>conftest.er1
18282 grep -v '^ *+' conftest.er1
>conftest.err
18284 cat conftest.err
>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } && {
18287 test -z "$ac_cxx_werror_flag" ||
18288 test ! -s conftest.err
18289 } && test -s conftest
$ac_exeext &&
18290 $as_test_x conftest
$ac_exeext; then
18291 { echo "$as_me:$LINENO: result: yes" >&5
18292 echo "${ECHO_T}yes" >&6; }
18294 echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.
$ac_ext >&5
18297 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18298 See \`config.log' for more details." >&5
18299 echo "$as_me: error: no. Try a different SDK
18300 See \`config.log' for more details." >&2;}
18301 { (exit 1); exit 1; }; }; exit 1
18304 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18305 conftest
$ac_exeext conftest.
$ac_ext
18307 ac_cpp
='$CPP $CPPFLAGS'
18308 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18309 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18310 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18318 INSTALL_PROGRAM
="cp -fp"
18319 INSTALL_DATA
="cp -fp"
18326 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18327 CXXFLAGS
="-qunique $CXXFLAGS"
18331 powerpc
-*-darwin* )
18332 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18333 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18334 cat >conftest.
$ac_ext <<_ACEOF
18337 cat confdefs.h
>>conftest.
$ac_ext
18338 cat >>conftest.
$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18344 #ifndef __POWERPC__
18345 choke me for lack of PowerPC
18352 rm -f conftest.
$ac_objext
18353 if { (ac_try
="$ac_compile"
18354 case "(($ac_try" in
18355 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18356 *) ac_try_echo=$ac_try;;
18358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18359 (eval "$ac_compile") 2>conftest.er1
18361 grep -v '^ *+' conftest.er1 >conftest.err
18363 cat conftest.err >&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } && {
18366 test -z "$ac_c_werror_flag" ||
18367 test ! -s conftest.err
18368 } && test -s conftest.$ac_objext; then
18369 { echo "$as_me:$LINENO: result: yes" >&5
18370 echo "${ECHO_T}yes" >&6; }
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18375 { echo "$as_me:$LINENO: result: no" >&5
18376 echo "${ECHO_T}no" >&6; }
18377 cat >>confdefs.h <<\_ACEOF
18378 #define __POWERPC__ 1
18384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18390 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18391 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18392 cat >conftest.$ac_ext <<_ACEOF
18395 cat confdefs.h >>conftest.$ac_ext
18396 cat >>conftest.$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398 #include <CoreFoundation/CFBase.h>
18408 rm -f conftest.$ac_objext
18409 if { (ac_try="$ac_compile"
18410 case "(($ac_try" in
18411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18412 *) ac_try_echo
=$ac_try;;
18414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18415 (eval "$ac_compile") 2>conftest.er1
18417 grep -v '^ *+' conftest.er1
>conftest.err
18419 cat conftest.err
>&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } && {
18422 test -z "$ac_c_werror_flag" ||
18423 test ! -s conftest.err
18424 } && test -s conftest.
$ac_objext; then
18425 { echo "$as_me:$LINENO: result: yes" >&5
18426 echo "${ECHO_T}yes" >&6; }
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.
$ac_ext >&5
18431 { echo "$as_me:$LINENO: result: no" >&5
18432 echo "${ECHO_T}no" >&6; }
18433 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18434 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18435 cat >conftest.
$ac_ext <<_ACEOF
18438 cat confdefs.h
>>conftest.
$ac_ext
18439 cat >>conftest.
$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #define __CF_USE_FRAMEWORK_INCLUDES__
18442 #include <CoreFoundation/CFBase.h>
18452 rm -f conftest.
$ac_objext
18453 if { (ac_try
="$ac_compile"
18454 case "(($ac_try" in
18455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18456 *) ac_try_echo=$ac_try;;
18458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_compile") 2>conftest.er1
18461 grep -v '^ *+' conftest.er1 >conftest.err
18463 cat conftest.err >&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } && {
18466 test -z "$ac_c_werror_flag" ||
18467 test ! -s conftest.err
18468 } && test -s conftest.$ac_objext; then
18469 { echo "$as_me:$LINENO: result: yes" >&5
18470 echo "${ECHO_T}yes" >&6; }
18471 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.$ac_ext >&5
18476 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18477 See \`config.log
' for more details." >&5
18478 echo "$as_me: error: no. CoreFoundation not available.
18479 See \`config.log' for more details.
" >&2;}
18480 { (exit 1); exit 1; }; }
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18494 doesnt_want_win32=0
18497 if test "$wxUSE_MSW" = 1 ; then
18500 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18501 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18502 if test "${wx_cv_nocygwin+set}" = set; then
18503 echo $ECHO_N "(cached
) $ECHO_C" >&6
18506 cat >conftest.$ac_ext <<_ACEOF
18509 cat confdefs.h >>conftest.$ac_ext
18510 cat >>conftest.$ac_ext <<_ACEOF
18511 /* end confdefs.h. */
18525 rm -f conftest.$ac_objext
18526 if { (ac_try="$ac_compile"
18527 case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18531 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_compile") 2>conftest.er1
18534 grep -v '^ *+' conftest.er1 >conftest.err
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18538 (exit $ac_status); } && {
18539 test -z "$ac_c_werror_flag" ||
18540 test ! -s conftest.err
18541 } && test -s conftest.$ac_objext; then
18544 echo "$as_me: failed program was
:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18555 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18556 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18558 if test "$wx_cv_nocygwin" = "yes"; then
18561 doesnt_want_win32=1
18564 if test "$wants_win32" = 1 ; then
18565 BAKEFILE_FORCE_PLATFORM=win32
18573 if test "$wxUSE_WINE" = "yes"; then
18575 LDFLAGS_GUI="-mwindows"
18578 if test "$wants_win32" = 1 ; then
18581 cat >>confdefs.h <<\_ACEOF
18582 #define __WIN32__ 1
18585 cat >>confdefs.h <<\_ACEOF
18586 #define __WIN95__ 1
18589 cat >>confdefs.h <<\_ACEOF
18590 #define __WINDOWS__ 1
18593 cat >>confdefs.h <<\_ACEOF
18594 #define __GNUWIN32__ 1
18597 cat >>confdefs.h <<\_ACEOF
18602 if test "$doesnt_want_win32" = 1 ; then
18607 if test "$USE_UNIX" = 1 ; then
18609 cat >>confdefs.h <<\_ACEOF
18616 *-pc-os2_emx | *-pc-os2-emx )
18617 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18618 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18619 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18620 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18621 echo $ECHO_N "(cached
) $ECHO_C" >&6
18623 ac_check_lib_save_LIBS=$LIBS
18624 LIBS="-lcExt $LIBS"
18625 cat >conftest.$ac_ext <<_ACEOF
18628 cat confdefs.h >>conftest.$ac_ext
18629 cat >>conftest.$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18632 /* Override any GCC internal prototype to avoid an error.
18633 Use char because int might match the return type of a GCC
18634 builtin and then its argument prototype would still apply. */
18647 rm -f conftest.$ac_objext conftest$ac_exeext
18648 if { (ac_try="$ac_link"
18649 case "(($ac_try" in
18650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18651 *) ac_try_echo=$ac_try;;
18653 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18654 (eval "$ac_link") 2>conftest.er1
18656 grep -v '^ *+' conftest.er1 >conftest.err
18658 cat conftest.err >&5
18659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18660 (exit $ac_status); } && {
18661 test -z "$ac_c_werror_flag" ||
18662 test ! -s conftest.err
18663 } && test -s conftest$ac_exeext &&
18664 $as_test_x conftest$ac_exeext; then
18665 ac_cv_lib_cExt_drand48=yes
18667 echo "$as_me: failed program was
:" >&5
18668 sed 's/^/| /' conftest.$ac_ext >&5
18670 ac_cv_lib_cExt_drand48=no
18673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18674 conftest$ac_exeext conftest.$ac_ext
18675 LIBS=$ac_check_lib_save_LIBS
18677 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18678 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18679 if test $ac_cv_lib_cExt_drand48 = yes; then
18680 LIBS="$LIBS -lcExt"
18684 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18686 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18687 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18688 if test "${wx_cv_gccversion+set}" = set; then
18689 echo $ECHO_N "(cached
) $ECHO_C" >&6
18692 if test "$cross_compiling" = yes; then
18693 wx_cv_gccversion="EMX2
"
18696 cat >conftest.$ac_ext <<_ACEOF
18699 cat confdefs.h >>conftest.$ac_ext
18700 cat >>conftest.$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18707 FILE *f=fopen("conftestval
", "w
");
18712 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18714 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18724 rm -f conftest$ac_exeext
18725 if { (ac_try="$ac_link"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_link") 2>&5
18733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18735 { (case "(($ac_try" in
18736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737 *) ac_try_echo=$ac_try;;
18739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18740 (eval "$ac_try") 2>&5
18742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18743 (exit $ac_status); }; }; then
18744 wx_cv_gccversion=`cat conftestval`
18746 echo "$as_me: program exited with status
$ac_status" >&5
18747 echo "$as_me: failed program was
:" >&5
18748 sed 's/^/| /' conftest.$ac_ext >&5
18750 ( exit $ac_status )
18751 wx_cv_gccversion="EMX2
"
18753 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18759 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18760 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18761 if test "$wx_cv_gccversion" = "EMX2
"; then
18762 LIBS="$LIBS -lstdcpp"
18763 LDFLAGS="$LDFLAGS -Zsysv-signals"
18765 if test "$wx_cv_gccversion" = "EMX3
"; then
18766 LIBS="$LIBS -lstdcxx -lgcc"
18767 LDFLAGS="$LDFLAGS -Zsysv-signals"
18769 LIBS="$LIBS -lstdc++"
18772 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18773 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18774 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18781 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18782 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18783 if test "${ac_cv_string_strcasecmp+set}" = set; then
18784 echo $ECHO_N "(cached
) $ECHO_C" >&6
18787 cat >conftest.$ac_ext <<_ACEOF
18790 cat confdefs.h >>conftest.$ac_ext
18791 cat >>conftest.$ac_ext <<_ACEOF
18792 /* end confdefs.h. */
18794 #include <string.h>
18800 strcasecmp("foo
", "bar
");
18806 rm -f conftest.$ac_objext conftest$ac_exeext
18807 if { (ac_try="$ac_link"
18808 case "(($ac_try" in
18809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18810 *) ac_try_echo=$ac_try;;
18812 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18813 (eval "$ac_link") 2>conftest.er1
18815 grep -v '^ *+' conftest.er1 >conftest.err
18817 cat conftest.err >&5
18818 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18819 (exit $ac_status); } && {
18820 test -z "$ac_c_werror_flag" ||
18821 test ! -s conftest.err
18822 } && test -s conftest$ac_exeext &&
18823 $as_test_x conftest$ac_exeext; then
18824 ac_cv_string_strcasecmp=yes
18826 echo "$as_me: failed program was
:" >&5
18827 sed 's/^/| /' conftest.$ac_ext >&5
18829 ac_cv_string_strcasecmp=no
18833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18834 conftest$ac_exeext conftest.$ac_ext
18837 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18838 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18840 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18841 cat >>confdefs.h <<\_ACEOF
18842 #define HAVE_STRCASECMP_IN_STRING_H 1
18846 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18847 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18848 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18849 echo $ECHO_N "(cached
) $ECHO_C" >&6
18852 cat >conftest.$ac_ext <<_ACEOF
18855 cat confdefs.h >>conftest.$ac_ext
18856 cat >>conftest.$ac_ext <<_ACEOF
18857 /* end confdefs.h. */
18859 #include <strings.h>
18865 strcasecmp("foo
", "bar
");
18871 rm -f conftest.$ac_objext conftest$ac_exeext
18872 if { (ac_try="$ac_link"
18873 case "(($ac_try" in
18874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18875 *) ac_try_echo=$ac_try;;
18877 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18878 (eval "$ac_link") 2>conftest.er1
18880 grep -v '^ *+' conftest.er1 >conftest.err
18882 cat conftest.err >&5
18883 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18884 (exit $ac_status); } && {
18885 test -z "$ac_c_werror_flag" ||
18886 test ! -s conftest.err
18887 } && test -s conftest$ac_exeext &&
18888 $as_test_x conftest$ac_exeext; then
18889 ac_cv_strings_strcasecmp=yes
18891 echo "$as_me: failed program was
:" >&5
18892 sed 's/^/| /' conftest.$ac_ext >&5
18894 ac_cv_strings_strcasecmp=no
18898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18899 conftest$ac_exeext conftest.$ac_ext
18902 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18903 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18905 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18906 cat >>confdefs.h <<\_ACEOF
18907 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18911 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18912 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18913 { (exit 1); exit 1; }; }
18921 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18922 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18923 if test "${ac_cv_header_stdc+set}" = set; then
18924 echo $ECHO_N "(cached
) $ECHO_C" >&6
18926 cat >conftest.$ac_ext <<_ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 #include <stdlib.h>
18933 #include <stdarg.h>
18934 #include <string.h>
18945 rm -f conftest.$ac_objext
18946 if { (ac_try="$ac_compile"
18947 case "(($ac_try" in
18948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18949 *) ac_try_echo=$ac_try;;
18951 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18952 (eval "$ac_compile") 2>conftest.er1
18954 grep -v '^ *+' conftest.er1 >conftest.err
18956 cat conftest.err >&5
18957 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18958 (exit $ac_status); } && {
18959 test -z "$ac_c_werror_flag" ||
18960 test ! -s conftest.err
18961 } && test -s conftest.$ac_objext; then
18962 ac_cv_header_stdc=yes
18964 echo "$as_me: failed program was
:" >&5
18965 sed 's/^/| /' conftest.$ac_ext >&5
18967 ac_cv_header_stdc=no
18970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18972 if test $ac_cv_header_stdc = yes; then
18973 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18974 cat >conftest.$ac_ext <<_ACEOF
18977 cat confdefs.h >>conftest.$ac_ext
18978 cat >>conftest.$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18980 #include <string.h>
18983 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18984 $EGREP "memchr
" >/dev/null 2>&1; then
18987 ac_cv_header_stdc=no
18993 if test $ac_cv_header_stdc = yes; then
18994 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18995 cat >conftest.$ac_ext <<_ACEOF
18998 cat confdefs.h >>conftest.$ac_ext
18999 cat >>conftest.$ac_ext <<_ACEOF
19000 /* end confdefs.h. */
19001 #include <stdlib.h>
19004 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19005 $EGREP "free
" >/dev/null 2>&1; then
19008 ac_cv_header_stdc=no
19014 if test $ac_cv_header_stdc = yes; then
19015 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19016 if test "$cross_compiling" = yes; then
19019 cat >conftest.$ac_ext <<_ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19026 #include <stdlib.h>
19027 #if ((' ' & 0x0FF) == 0x020)
19028 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19029 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19031 # define ISLOWER(c) \
19032 (('a' <= (c) && (c) <= 'i') \
19033 || ('j' <= (c) && (c) <= 'r') \
19034 || ('s' <= (c) && (c) <= 'z'))
19035 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19038 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19043 for (i = 0; i < 256; i++)
19044 if (XOR (islower (i), ISLOWER (i))
19045 || toupper (i) != TOUPPER (i))
19050 rm -f conftest$ac_exeext
19051 if { (ac_try="$ac_link"
19052 case "(($ac_try" in
19053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19054 *) ac_try_echo=$ac_try;;
19056 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19057 (eval "$ac_link") 2>&5
19059 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19061 { (case "(($ac_try" in
19062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19063 *) ac_try_echo=$ac_try;;
19065 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19066 (eval "$ac_try") 2>&5
19068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19069 (exit $ac_status); }; }; then
19072 echo "$as_me: program exited with status
$ac_status" >&5
19073 echo "$as_me: failed program was
:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19076 ( exit $ac_status )
19077 ac_cv_header_stdc=no
19079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19085 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19086 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19087 if test $ac_cv_header_stdc = yes; then
19089 cat >>confdefs.h <<\_ACEOF
19090 #define STDC_HEADERS 1
19095 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19105 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19106 inttypes.h stdint.h unistd.h
19108 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19109 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19110 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19111 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19112 echo $ECHO_N "(cached
) $ECHO_C" >&6
19114 cat >conftest.$ac_ext <<_ACEOF
19117 cat confdefs.h >>conftest.$ac_ext
19118 cat >>conftest.$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 $ac_includes_default
19122 #include <$ac_header>
19124 rm -f conftest.$ac_objext
19125 if { (ac_try="$ac_compile"
19126 case "(($ac_try" in
19127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19128 *) ac_try_echo=$ac_try;;
19130 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19131 (eval "$ac_compile") 2>conftest.er1
19133 grep -v '^ *+' conftest.er1 >conftest.err
19135 cat conftest.err >&5
19136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19137 (exit $ac_status); } && {
19138 test -z "$ac_c_werror_flag" ||
19139 test ! -s conftest.err
19140 } && test -s conftest.$ac_objext; then
19141 eval "$as_ac_Header=yes"
19143 echo "$as_me: failed program was
:" >&5
19144 sed 's/^/| /' conftest.$ac_ext >&5
19146 eval "$as_ac_Header=no
"
19149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19151 ac_res=`eval echo '${'$as_ac_Header'}'`
19152 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19153 echo "${ECHO_T}$ac_res" >&6; }
19154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19155 cat >>confdefs.h <<_ACEOF
19156 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19166 for ac_header in langinfo.h wchar.h
19168 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19169 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19170 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19171 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19172 echo $ECHO_N "(cached
) $ECHO_C" >&6
19174 cat >conftest.$ac_ext <<_ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 $ac_includes_default
19182 #include <$ac_header>
19184 rm -f conftest.$ac_objext
19185 if { (ac_try="$ac_compile"
19186 case "(($ac_try" in
19187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19188 *) ac_try_echo=$ac_try;;
19190 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_compile") 2>conftest.er1
19193 grep -v '^ *+' conftest.er1 >conftest.err
19195 cat conftest.err >&5
19196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19197 (exit $ac_status); } && {
19198 test -z "$ac_c_werror_flag" ||
19199 test ! -s conftest.err
19200 } && test -s conftest.$ac_objext; then
19201 eval "$as_ac_Header=yes"
19203 echo "$as_me: failed program was
:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19206 eval "$as_ac_Header=no
"
19209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19211 ac_res=`eval echo '${'$as_ac_Header'}'`
19212 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19213 echo "${ECHO_T}$ac_res" >&6; }
19214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19215 cat >>confdefs.h <<_ACEOF
19216 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19224 if test "$ac_cv_header_wchar_h" != "yes"; then
19226 for ac_header in wcstr.h
19228 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19229 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19230 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19231 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19232 echo $ECHO_N "(cached
) $ECHO_C" >&6
19234 cat >conftest.$ac_ext <<_ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 $ac_includes_default
19242 #include <$ac_header>
19244 rm -f conftest.$ac_objext
19245 if { (ac_try="$ac_compile"
19246 case "(($ac_try" in
19247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19248 *) ac_try_echo=$ac_try;;
19250 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19251 (eval "$ac_compile") 2>conftest.er1
19253 grep -v '^ *+' conftest.er1 >conftest.err
19255 cat conftest.err >&5
19256 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19257 (exit $ac_status); } && {
19258 test -z "$ac_c_werror_flag" ||
19259 test ! -s conftest.err
19260 } && test -s conftest.$ac_objext; then
19261 eval "$as_ac_Header=yes"
19263 echo "$as_me: failed program was
:" >&5
19264 sed 's/^/| /' conftest.$ac_ext >&5
19266 eval "$as_ac_Header=no
"
19269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19271 ac_res=`eval echo '${'$as_ac_Header'}'`
19272 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19273 echo "${ECHO_T}$ac_res" >&6; }
19274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19275 cat >>confdefs.h <<_ACEOF
19276 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19286 *-pc-os2_emx | *-pc-os2-emx )
19287 if test $ac_cv_header_langinfo_h = "yes" \
19288 -a \( "$wx_cv_gccversion" = "EMX2
" \
19289 -o "$wx_cv_gccversion" = "EMX3
" \
19290 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19291 LIBS="$LIBS -lintl"
19296 if test "$USE_UNIX" = 1 ; then
19298 for ac_header in sys/select.h
19300 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19301 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19302 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19303 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19304 echo $ECHO_N "(cached
) $ECHO_C" >&6
19306 cat >conftest.$ac_ext <<_ACEOF
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312 $ac_includes_default
19314 #include <$ac_header>
19316 rm -f conftest.$ac_objext
19317 if { (ac_try="$ac_compile"
19318 case "(($ac_try" in
19319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19320 *) ac_try_echo=$ac_try;;
19322 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19323 (eval "$ac_compile") 2>conftest.er1
19325 grep -v '^ *+' conftest.er1 >conftest.err
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19329 (exit $ac_status); } && {
19330 test -z "$ac_c_werror_flag" ||
19331 test ! -s conftest.err
19332 } && test -s conftest.$ac_objext; then
19333 eval "$as_ac_Header=yes"
19335 echo "$as_me: failed program was
:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19338 eval "$as_ac_Header=no
"
19341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19343 ac_res=`eval echo '${'$as_ac_Header'}'`
19344 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19345 echo "${ECHO_T}$ac_res" >&6; }
19346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19347 cat >>confdefs.h <<_ACEOF
19348 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19358 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19359 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19360 if test "${ac_cv_c_const+set}" = set; then
19361 echo $ECHO_N "(cached
) $ECHO_C" >&6
19363 cat >conftest.$ac_ext <<_ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19373 /* FIXME: Include the comments suggested by Paul. */
19374 #ifndef __cplusplus
19375 /* Ultrix mips cc rejects this. */
19376 typedef int charset[2];
19378 /* SunOS 4.1.1 cc rejects this. */
19379 char const *const *pcpcc;
19381 /* NEC SVR4.0.2 mips cc rejects this. */
19382 struct point {int x, y;};
19383 static struct point const zero = {0,0};
19384 /* AIX XL C 1.02.0.0 rejects this.
19385 It does not let you subtract one const X* pointer from another in
19386 an arm of an if-expression whose if-part is not a constant
19388 const char *g = "string
";
19389 pcpcc = &g + (g ? g-g : 0);
19390 /* HPUX 7.0 cc rejects these. */
19392 ppc = (char**) pcpcc;
19393 pcpcc = (char const *const *) ppc;
19394 { /* SCO 3.2v4 cc rejects this. */
19396 char const *s = 0 ? (char *) 0 : (char const *) 0;
19401 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19402 int x[] = {25, 17};
19403 const int *foo = &x[0];
19406 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19407 typedef const int *iptr;
19411 { /* AIX XL C 1.02.0.0 rejects this saying
19412 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19413 struct s { int j; const int *ap[3]; };
19414 struct s *b; b->j = 5;
19416 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19417 const int foo = 10;
19418 if (!foo) return 0;
19420 return !cs[0] && !zero.x;
19427 rm -f conftest.$ac_objext
19428 if { (ac_try="$ac_compile"
19429 case "(($ac_try" in
19430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19431 *) ac_try_echo=$ac_try;;
19433 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19434 (eval "$ac_compile") 2>conftest.er1
19436 grep -v '^ *+' conftest.er1 >conftest.err
19438 cat conftest.err >&5
19439 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19440 (exit $ac_status); } && {
19441 test -z "$ac_c_werror_flag" ||
19442 test ! -s conftest.err
19443 } && test -s conftest.$ac_objext; then
19446 echo "$as_me: failed program was
:" >&5
19447 sed 's/^/| /' conftest.$ac_ext >&5
19452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19455 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19456 if test $ac_cv_c_const = no; then
19458 cat >>confdefs.h <<\_ACEOF
19464 { echo "$as_me:$LINENO: checking
for inline
" >&5
19465 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19466 if test "${ac_cv_c_inline+set}" = set; then
19467 echo $ECHO_N "(cached
) $ECHO_C" >&6
19470 for ac_kw in inline __inline__ __inline; do
19471 cat >conftest.$ac_ext <<_ACEOF
19474 cat confdefs.h >>conftest.$ac_ext
19475 cat >>conftest.$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 #ifndef __cplusplus
19479 static $ac_kw foo_t static_foo () {return 0; }
19480 $ac_kw foo_t foo () {return 0; }
19484 rm -f conftest.$ac_objext
19485 if { (ac_try="$ac_compile"
19486 case "(($ac_try" in
19487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19488 *) ac_try_echo=$ac_try;;
19490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19491 (eval "$ac_compile") 2>conftest.er1
19493 grep -v '^ *+' conftest.er1 >conftest.err
19495 cat conftest.err >&5
19496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19497 (exit $ac_status); } && {
19498 test -z "$ac_c_werror_flag" ||
19499 test ! -s conftest.err
19500 } && test -s conftest.$ac_objext; then
19501 ac_cv_c_inline=$ac_kw
19503 echo "$as_me: failed program was
:" >&5
19504 sed 's/^/| /' conftest.$ac_ext >&5
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510 test "$ac_cv_c_inline" != no && break
19514 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19515 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19518 case $ac_cv_c_inline in
19521 case $ac_cv_c_inline in
19523 *) ac_val=$ac_cv_c_inline;;
19525 cat >>confdefs.h <<_ACEOF
19526 #ifndef __cplusplus
19527 #define inline $ac_val
19534 { echo "$as_me:$LINENO: checking
for short
" >&5
19535 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19536 if test "${ac_cv_type_short+set}" = set; then
19537 echo $ECHO_N "(cached
) $ECHO_C" >&6
19539 cat >conftest.$ac_ext <<_ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 $ac_includes_default
19546 typedef short ac__type_new_;
19550 if ((ac__type_new_ *) 0)
19552 if (sizeof (ac__type_new_))
19558 rm -f conftest.$ac_objext
19559 if { (ac_try="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19564 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19567 grep -v '^ *+' conftest.er1 >conftest.err
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19571 (exit $ac_status); } && {
19572 test -z "$ac_c_werror_flag" ||
19573 test ! -s conftest.err
19574 } && test -s conftest.$ac_objext; then
19575 ac_cv_type_short=yes
19577 echo "$as_me: failed program was
:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19580 ac_cv_type_short=no
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19586 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19588 # The cast to long int works around a bug in the HP C Compiler
19589 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19590 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19591 # This bug is HP SR number 8606223364.
19592 { echo "$as_me:$LINENO: checking size of short
" >&5
19593 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19594 if test "${ac_cv_sizeof_short+set}" = set; then
19595 echo $ECHO_N "(cached
) $ECHO_C" >&6
19597 if test "$cross_compiling" = yes; then
19598 # Depending upon the size, compute the lo and hi bounds.
19599 cat >conftest.$ac_ext <<_ACEOF
19602 cat confdefs.h >>conftest.$ac_ext
19603 cat >>conftest.$ac_ext <<_ACEOF
19604 /* end confdefs.h. */
19605 $ac_includes_default
19606 typedef short ac__type_sizeof_;
19610 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19617 rm -f conftest.$ac_objext
19618 if { (ac_try="$ac_compile"
19619 case "(($ac_try" in
19620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19621 *) ac_try_echo=$ac_try;;
19623 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19624 (eval "$ac_compile") 2>conftest.er1
19626 grep -v '^ *+' conftest.er1 >conftest.err
19628 cat conftest.err >&5
19629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19630 (exit $ac_status); } && {
19631 test -z "$ac_c_werror_flag" ||
19632 test ! -s conftest.err
19633 } && test -s conftest.$ac_objext; then
19636 cat >conftest.$ac_ext <<_ACEOF
19639 cat confdefs.h >>conftest.$ac_ext
19640 cat >>conftest.$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 $ac_includes_default
19643 typedef short ac__type_sizeof_;
19647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19654 rm -f conftest.$ac_objext
19655 if { (ac_try="$ac_compile"
19656 case "(($ac_try" in
19657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19658 *) ac_try_echo=$ac_try;;
19660 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19661 (eval "$ac_compile") 2>conftest.er1
19663 grep -v '^ *+' conftest.er1 >conftest.err
19665 cat conftest.err >&5
19666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19667 (exit $ac_status); } && {
19668 test -z "$ac_c_werror_flag" ||
19669 test ! -s conftest.err
19670 } && test -s conftest.$ac_objext; then
19671 ac_hi=$ac_mid; break
19673 echo "$as_me: failed program was
:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19676 ac_lo=`expr $ac_mid + 1`
19677 if test $ac_lo -le $ac_mid; then
19681 ac_mid=`expr 2 '*' $ac_mid + 1`
19684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19687 echo "$as_me: failed program was
:" >&5
19688 sed 's/^/| /' conftest.$ac_ext >&5
19690 cat >conftest.$ac_ext <<_ACEOF
19693 cat confdefs.h >>conftest.$ac_ext
19694 cat >>conftest.$ac_ext <<_ACEOF
19695 /* end confdefs.h. */
19696 $ac_includes_default
19697 typedef short ac__type_sizeof_;
19701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19708 rm -f conftest.$ac_objext
19709 if { (ac_try="$ac_compile"
19710 case "(($ac_try" in
19711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19712 *) ac_try_echo=$ac_try;;
19714 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19715 (eval "$ac_compile") 2>conftest.er1
19717 grep -v '^ *+' conftest.er1 >conftest.err
19719 cat conftest.err >&5
19720 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19721 (exit $ac_status); } && {
19722 test -z "$ac_c_werror_flag" ||
19723 test ! -s conftest.err
19724 } && test -s conftest.$ac_objext; then
19727 cat >conftest.$ac_ext <<_ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 $ac_includes_default
19734 typedef short ac__type_sizeof_;
19738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19745 rm -f conftest.$ac_objext
19746 if { (ac_try="$ac_compile"
19747 case "(($ac_try" in
19748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19749 *) ac_try_echo=$ac_try;;
19751 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19752 (eval "$ac_compile") 2>conftest.er1
19754 grep -v '^ *+' conftest.er1 >conftest.err
19756 cat conftest.err >&5
19757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19758 (exit $ac_status); } && {
19759 test -z "$ac_c_werror_flag" ||
19760 test ! -s conftest.err
19761 } && test -s conftest.$ac_objext; then
19762 ac_lo=$ac_mid; break
19764 echo "$as_me: failed program was
:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19767 ac_hi=`expr '(' $ac_mid ')' - 1`
19768 if test $ac_mid -le $ac_hi; then
19772 ac_mid=`expr 2 '*' $ac_mid`
19775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19778 echo "$as_me: failed program was
:" >&5
19779 sed 's/^/| /' conftest.$ac_ext >&5
19784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19788 # Binary search between lo and hi bounds.
19789 while test "x
$ac_lo" != "x
$ac_hi"; do
19790 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19791 cat >conftest.$ac_ext <<_ACEOF
19794 cat confdefs.h >>conftest.$ac_ext
19795 cat >>conftest.$ac_ext <<_ACEOF
19796 /* end confdefs.h. */
19797 $ac_includes_default
19798 typedef short ac__type_sizeof_;
19802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19809 rm -f conftest.$ac_objext
19810 if { (ac_try="$ac_compile"
19811 case "(($ac_try" in
19812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19813 *) ac_try_echo=$ac_try;;
19815 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19816 (eval "$ac_compile") 2>conftest.er1
19818 grep -v '^ *+' conftest.er1 >conftest.err
19820 cat conftest.err >&5
19821 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19822 (exit $ac_status); } && {
19823 test -z "$ac_c_werror_flag" ||
19824 test ! -s conftest.err
19825 } && test -s conftest.$ac_objext; then
19828 echo "$as_me: failed program was
:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19831 ac_lo=`expr '(' $ac_mid ')' + 1`
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19837 ?*) ac_cv_sizeof_short=$ac_lo;;
19838 '') if test "$ac_cv_type_short" = yes; then
19839 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19840 See \
`config.log' for more details." >&5
19841 echo "$as_me: error: cannot compute sizeof (short)
19842 See \`config.log
' for more details." >&2;}
19843 { (exit 77); exit 77; }; }
19845 ac_cv_sizeof_short=0
19849 cat >conftest.$ac_ext <<_ACEOF
19852 cat confdefs.h >>conftest.$ac_ext
19853 cat >>conftest.$ac_ext <<_ACEOF
19854 /* end confdefs.h. */
19855 $ac_includes_default
19856 typedef short ac__type_sizeof_;
19857 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19858 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19860 #include <stdlib.h>
19865 FILE *f = fopen ("conftest.val", "w");
19868 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19870 long int i = longval ();
19871 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19873 fprintf (f, "%ld\n", i);
19877 unsigned long int i = ulongval ();
19878 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19880 fprintf (f, "%lu\n", i);
19882 return ferror (f) || fclose (f) != 0;
19888 rm -f conftest$ac_exeext
19889 if { (ac_try="$ac_link"
19890 case "(($ac_try" in
19891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19892 *) ac_try_echo=$ac_try;;
19894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19895 (eval "$ac_link") 2>&5
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19899 { (case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_try") 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 ac_cv_sizeof_short=`cat conftest.val`
19910 echo "$as_me: program exited with status $ac_status" >&5
19911 echo "$as_me: failed program was:" >&5
19912 sed 's
/^
/| /' conftest.$ac_ext >&5
19914 ( exit $ac_status )
19915 if test "$ac_cv_type_short" = yes; then
19916 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19917 See \`config.log' for more details.
" >&5
19918 echo "$as_me: error
: cannot compute sizeof
(short
)
19919 See \
`config.log' for more details." >&2;}
19920 { (exit 77); exit 77; }; }
19922 ac_cv_sizeof_short=0
19925 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19929 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19930 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19934 cat >>confdefs.h <<_ACEOF
19935 #define SIZEOF_SHORT $ac_cv_sizeof_short
19939 { echo "$as_me:$LINENO: checking for void *" >&5
19940 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19941 if test "${ac_cv_type_void_p+set}" = set; then
19942 echo $ECHO_N "(cached) $ECHO_C" >&6
19944 cat >conftest.$ac_ext <<_ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 $ac_includes_default
19951 typedef void * ac__type_new_;
19955 if ((ac__type_new_ *) 0)
19957 if (sizeof (ac__type_new_))
19963 rm -f conftest.$ac_objext
19964 if { (ac_try="$ac_compile"
19965 case "(($ac_try" in
19966 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19967 *) ac_try_echo
=$ac_try;;
19969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19970 (eval "$ac_compile") 2>conftest.er1
19972 grep -v '^ *+' conftest.er1
>conftest.err
19974 cat conftest.err
>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } && {
19977 test -z "$ac_c_werror_flag" ||
19978 test ! -s conftest.err
19979 } && test -s conftest.
$ac_objext; then
19980 ac_cv_type_void_p
=yes
19982 echo "$as_me: failed program was:" >&5
19983 sed 's/^/| /' conftest.
$ac_ext >&5
19985 ac_cv_type_void_p
=no
19988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19990 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19991 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19993 # The cast to long int works around a bug in the HP C Compiler
19994 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19995 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19996 # This bug is HP SR number 8606223364.
19997 { echo "$as_me:$LINENO: checking size of void *" >&5
19998 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19999 if test "${ac_cv_sizeof_void_p+set}" = set; then
20000 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 if test "$cross_compiling" = yes; then
20003 # Depending upon the size, compute the lo and hi bounds.
20004 cat >conftest.
$ac_ext <<_ACEOF
20007 cat confdefs.h
>>conftest.
$ac_ext
20008 cat >>conftest.
$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 $ac_includes_default
20011 typedef void * ac__type_sizeof_;
20015 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20022 rm -f conftest.
$ac_objext
20023 if { (ac_try
="$ac_compile"
20024 case "(($ac_try" in
20025 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20026 *) ac_try_echo=$ac_try;;
20028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20029 (eval "$ac_compile") 2>conftest.er1
20031 grep -v '^ *+' conftest.er1 >conftest.err
20033 cat conftest.err >&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } && {
20036 test -z "$ac_c_werror_flag" ||
20037 test ! -s conftest.err
20038 } && test -s conftest.$ac_objext; then
20041 cat >conftest.$ac_ext <<_ACEOF
20044 cat confdefs.h >>conftest.$ac_ext
20045 cat >>conftest.$ac_ext <<_ACEOF
20046 /* end confdefs.h. */
20047 $ac_includes_default
20048 typedef void * ac__type_sizeof_;
20052 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20059 rm -f conftest.$ac_objext
20060 if { (ac_try="$ac_compile"
20061 case "(($ac_try" in
20062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20063 *) ac_try_echo
=$ac_try;;
20065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20066 (eval "$ac_compile") 2>conftest.er1
20068 grep -v '^ *+' conftest.er1
>conftest.err
20070 cat conftest.err
>&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } && {
20073 test -z "$ac_c_werror_flag" ||
20074 test ! -s conftest.err
20075 } && test -s conftest.
$ac_objext; then
20076 ac_hi
=$ac_mid; break
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.
$ac_ext >&5
20081 ac_lo
=`expr $ac_mid + 1`
20082 if test $ac_lo -le $ac_mid; then
20086 ac_mid
=`expr 2 '*' $ac_mid + 1`
20089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.
$ac_ext >&5
20095 cat >conftest.
$ac_ext <<_ACEOF
20098 cat confdefs.h
>>conftest.
$ac_ext
20099 cat >>conftest.
$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20101 $ac_includes_default
20102 typedef void * ac__type_sizeof_;
20106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20113 rm -f conftest.
$ac_objext
20114 if { (ac_try
="$ac_compile"
20115 case "(($ac_try" in
20116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20117 *) ac_try_echo=$ac_try;;
20119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20120 (eval "$ac_compile") 2>conftest.er1
20122 grep -v '^ *+' conftest.er1 >conftest.err
20124 cat conftest.err >&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } && {
20127 test -z "$ac_c_werror_flag" ||
20128 test ! -s conftest.err
20129 } && test -s conftest.$ac_objext; then
20132 cat >conftest.$ac_ext <<_ACEOF
20135 cat confdefs.h >>conftest.$ac_ext
20136 cat >>conftest.$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 $ac_includes_default
20139 typedef void * ac__type_sizeof_;
20143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20150 rm -f conftest.$ac_objext
20151 if { (ac_try="$ac_compile"
20152 case "(($ac_try" in
20153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20154 *) ac_try_echo
=$ac_try;;
20156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20157 (eval "$ac_compile") 2>conftest.er1
20159 grep -v '^ *+' conftest.er1
>conftest.err
20161 cat conftest.err
>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); } && {
20164 test -z "$ac_c_werror_flag" ||
20165 test ! -s conftest.err
20166 } && test -s conftest.
$ac_objext; then
20167 ac_lo
=$ac_mid; break
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.
$ac_ext >&5
20172 ac_hi
=`expr '(' $ac_mid ')' - 1`
20173 if test $ac_mid -le $ac_hi; then
20177 ac_mid
=`expr 2 '*' $ac_mid`
20180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.
$ac_ext >&5
20189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20193 # Binary search between lo and hi bounds.
20194 while test "x$ac_lo" != "x$ac_hi"; do
20195 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20196 cat >conftest.
$ac_ext <<_ACEOF
20199 cat confdefs.h
>>conftest.
$ac_ext
20200 cat >>conftest.
$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 $ac_includes_default
20203 typedef void * ac__type_sizeof_;
20207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20214 rm -f conftest.
$ac_objext
20215 if { (ac_try
="$ac_compile"
20216 case "(($ac_try" in
20217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20218 *) ac_try_echo=$ac_try;;
20220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_compile") 2>conftest.er1
20223 grep -v '^ *+' conftest.er1 >conftest.err
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } && {
20228 test -z "$ac_c_werror_flag" ||
20229 test ! -s conftest.err
20230 } && test -s conftest.$ac_objext; then
20233 echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.$ac_ext >&5
20236 ac_lo=`expr '(' $ac_mid ')' + 1`
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20242 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20243 '') if test "$ac_cv_type_void_p" = yes; then
20244 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20245 See \`config.log
' for more details." >&5
20246 echo "$as_me: error: cannot compute sizeof (void *)
20247 See \`config.log' for more details.
" >&2;}
20248 { (exit 77); exit 77; }; }
20250 ac_cv_sizeof_void_p=0
20254 cat >conftest.$ac_ext <<_ACEOF
20257 cat confdefs.h >>conftest.$ac_ext
20258 cat >>conftest.$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20260 $ac_includes_default
20261 typedef void * ac__type_sizeof_;
20262 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20263 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20265 #include <stdlib.h>
20270 FILE *f = fopen ("conftest.val
", "w
");
20273 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20275 long int i = longval ();
20276 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20278 fprintf (f, "%ld
\n", i);
20282 unsigned long int i = ulongval ();
20283 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20285 fprintf (f, "%lu
\n", i);
20287 return ferror (f) || fclose (f) != 0;
20293 rm -f conftest$ac_exeext
20294 if { (ac_try="$ac_link"
20295 case "(($ac_try" in
20296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20297 *) ac_try_echo=$ac_try;;
20299 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20300 (eval "$ac_link") 2>&5
20302 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20304 { (case "(($ac_try" in
20305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20306 *) ac_try_echo=$ac_try;;
20308 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20309 (eval "$ac_try") 2>&5
20311 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20312 (exit $ac_status); }; }; then
20313 ac_cv_sizeof_void_p=`cat conftest.val`
20315 echo "$as_me: program exited with status
$ac_status" >&5
20316 echo "$as_me: failed program was
:" >&5
20317 sed 's/^/| /' conftest.$ac_ext >&5
20319 ( exit $ac_status )
20320 if test "$ac_cv_type_void_p" = yes; then
20321 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20322 See \
`config.log' for more details." >&5
20323 echo "$as_me: error: cannot compute sizeof (void *)
20324 See \`config.log
' for more details." >&2;}
20325 { (exit 77); exit 77; }; }
20327 ac_cv_sizeof_void_p=0
20330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20334 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20335 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20339 cat >>confdefs.h <<_ACEOF
20340 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20344 { echo "$as_me:$LINENO: checking for int" >&5
20345 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20346 if test "${ac_cv_type_int+set}" = set; then
20347 echo $ECHO_N "(cached) $ECHO_C" >&6
20349 cat >conftest.$ac_ext <<_ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 $ac_includes_default
20356 typedef int ac__type_new_;
20360 if ((ac__type_new_ *) 0)
20362 if (sizeof (ac__type_new_))
20368 rm -f conftest.$ac_objext
20369 if { (ac_try="$ac_compile"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_compile") 2>conftest.er1
20377 grep -v '^
*+' conftest.er1 >conftest.err
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest.$ac_objext; then
20387 echo "$as_me: failed program was:" >&5
20388 sed 's
/^
/| /' conftest.$ac_ext >&5
20393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20395 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20396 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20398 # The cast to long int works around a bug in the HP C Compiler
20399 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20400 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20401 # This bug is HP SR number 8606223364.
20402 { echo "$as_me:$LINENO: checking size of int" >&5
20403 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20404 if test "${ac_cv_sizeof_int+set}" = set; then
20405 echo $ECHO_N "(cached) $ECHO_C" >&6
20407 if test "$cross_compiling" = yes; then
20408 # Depending upon the size, compute the lo and hi bounds.
20409 cat >conftest.
$ac_ext <<_ACEOF
20412 cat confdefs.h
>>conftest.
$ac_ext
20413 cat >>conftest.
$ac_ext <<_ACEOF
20414 /* end confdefs.h. */
20415 $ac_includes_default
20416 typedef int ac__type_sizeof_;
20420 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20427 rm -f conftest.
$ac_objext
20428 if { (ac_try
="$ac_compile"
20429 case "(($ac_try" in
20430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20431 *) ac_try_echo=$ac_try;;
20433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20434 (eval "$ac_compile") 2>conftest.er1
20436 grep -v '^ *+' conftest.er1 >conftest.err
20438 cat conftest.err >&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); } && {
20441 test -z "$ac_c_werror_flag" ||
20442 test ! -s conftest.err
20443 } && test -s conftest.$ac_objext; then
20446 cat >conftest.$ac_ext <<_ACEOF
20449 cat confdefs.h >>conftest.$ac_ext
20450 cat >>conftest.$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20452 $ac_includes_default
20453 typedef int ac__type_sizeof_;
20457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20464 rm -f conftest.$ac_objext
20465 if { (ac_try="$ac_compile"
20466 case "(($ac_try" in
20467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20468 *) ac_try_echo
=$ac_try;;
20470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20471 (eval "$ac_compile") 2>conftest.er1
20473 grep -v '^ *+' conftest.er1
>conftest.err
20475 cat conftest.err
>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } && {
20478 test -z "$ac_c_werror_flag" ||
20479 test ! -s conftest.err
20480 } && test -s conftest.
$ac_objext; then
20481 ac_hi
=$ac_mid; break
20483 echo "$as_me: failed program was:" >&5
20484 sed 's/^/| /' conftest.
$ac_ext >&5
20486 ac_lo
=`expr $ac_mid + 1`
20487 if test $ac_lo -le $ac_mid; then
20491 ac_mid
=`expr 2 '*' $ac_mid + 1`
20494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20497 echo "$as_me: failed program was:" >&5
20498 sed 's/^/| /' conftest.
$ac_ext >&5
20500 cat >conftest.
$ac_ext <<_ACEOF
20503 cat confdefs.h
>>conftest.
$ac_ext
20504 cat >>conftest.
$ac_ext <<_ACEOF
20505 /* end confdefs.h. */
20506 $ac_includes_default
20507 typedef int ac__type_sizeof_;
20511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20518 rm -f conftest.
$ac_objext
20519 if { (ac_try
="$ac_compile"
20520 case "(($ac_try" in
20521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20522 *) ac_try_echo=$ac_try;;
20524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20525 (eval "$ac_compile") 2>conftest.er1
20527 grep -v '^ *+' conftest.er1 >conftest.err
20529 cat conftest.err >&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } && {
20532 test -z "$ac_c_werror_flag" ||
20533 test ! -s conftest.err
20534 } && test -s conftest.$ac_objext; then
20537 cat >conftest.$ac_ext <<_ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 $ac_includes_default
20544 typedef int ac__type_sizeof_;
20548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20555 rm -f conftest.$ac_objext
20556 if { (ac_try="$ac_compile"
20557 case "(($ac_try" in
20558 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20559 *) ac_try_echo
=$ac_try;;
20561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20562 (eval "$ac_compile") 2>conftest.er1
20564 grep -v '^ *+' conftest.er1
>conftest.err
20566 cat conftest.err
>&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } && {
20569 test -z "$ac_c_werror_flag" ||
20570 test ! -s conftest.err
20571 } && test -s conftest.
$ac_objext; then
20572 ac_lo
=$ac_mid; break
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.
$ac_ext >&5
20577 ac_hi
=`expr '(' $ac_mid ')' - 1`
20578 if test $ac_mid -le $ac_hi; then
20582 ac_mid
=`expr 2 '*' $ac_mid`
20585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.
$ac_ext >&5
20594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20598 # Binary search between lo and hi bounds.
20599 while test "x$ac_lo" != "x$ac_hi"; do
20600 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20601 cat >conftest.
$ac_ext <<_ACEOF
20604 cat confdefs.h
>>conftest.
$ac_ext
20605 cat >>conftest.
$ac_ext <<_ACEOF
20606 /* end confdefs.h. */
20607 $ac_includes_default
20608 typedef int ac__type_sizeof_;
20612 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20619 rm -f conftest.
$ac_objext
20620 if { (ac_try
="$ac_compile"
20621 case "(($ac_try" in
20622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20623 *) ac_try_echo=$ac_try;;
20625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20626 (eval "$ac_compile") 2>conftest.er1
20628 grep -v '^ *+' conftest.er1 >conftest.err
20630 cat conftest.err >&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } && {
20633 test -z "$ac_c_werror_flag" ||
20634 test ! -s conftest.err
20635 } && test -s conftest.$ac_objext; then
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.$ac_ext >&5
20641 ac_lo=`expr '(' $ac_mid ')' + 1`
20644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20647 ?*) ac_cv_sizeof_int=$ac_lo;;
20648 '') if test "$ac_cv_type_int" = yes; then
20649 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20650 See \`config.log
' for more details." >&5
20651 echo "$as_me: error: cannot compute sizeof (int)
20652 See \`config.log' for more details.
" >&2;}
20653 { (exit 77); exit 77; }; }
20659 cat >conftest.$ac_ext <<_ACEOF
20662 cat confdefs.h >>conftest.$ac_ext
20663 cat >>conftest.$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20665 $ac_includes_default
20666 typedef int ac__type_sizeof_;
20667 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20668 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20670 #include <stdlib.h>
20675 FILE *f = fopen ("conftest.val
", "w
");
20678 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20680 long int i = longval ();
20681 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20683 fprintf (f, "%ld
\n", i);
20687 unsigned long int i = ulongval ();
20688 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20690 fprintf (f, "%lu
\n", i);
20692 return ferror (f) || fclose (f) != 0;
20698 rm -f conftest$ac_exeext
20699 if { (ac_try="$ac_link"
20700 case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_link") 2>&5
20707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20709 { (case "(($ac_try" in
20710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20711 *) ac_try_echo=$ac_try;;
20713 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20714 (eval "$ac_try") 2>&5
20716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20717 (exit $ac_status); }; }; then
20718 ac_cv_sizeof_int=`cat conftest.val`
20720 echo "$as_me: program exited with status
$ac_status" >&5
20721 echo "$as_me: failed program was
:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20724 ( exit $ac_status )
20725 if test "$ac_cv_type_int" = yes; then
20726 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20727 See \
`config.log' for more details." >&5
20728 echo "$as_me: error: cannot compute sizeof (int)
20729 See \`config.log
' for more details." >&2;}
20730 { (exit 77); exit 77; }; }
20735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20739 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20740 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20744 cat >>confdefs.h <<_ACEOF
20745 #define SIZEOF_INT $ac_cv_sizeof_int
20749 { echo "$as_me:$LINENO: checking for long" >&5
20750 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20751 if test "${ac_cv_type_long+set}" = set; then
20752 echo $ECHO_N "(cached) $ECHO_C" >&6
20754 cat >conftest.$ac_ext <<_ACEOF
20757 cat confdefs.h >>conftest.$ac_ext
20758 cat >>conftest.$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 $ac_includes_default
20761 typedef long ac__type_new_;
20765 if ((ac__type_new_ *) 0)
20767 if (sizeof (ac__type_new_))
20773 rm -f conftest.$ac_objext
20774 if { (ac_try="$ac_compile"
20775 case "(($ac_try" in
20776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20777 *) ac_try_echo=$ac_try;;
20779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20780 (eval "$ac_compile") 2>conftest.er1
20782 grep -v '^
*+' conftest.er1 >conftest.err
20784 cat conftest.err >&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } && {
20787 test -z "$ac_c_werror_flag" ||
20788 test ! -s conftest.err
20789 } && test -s conftest.$ac_objext; then
20790 ac_cv_type_long=yes
20792 echo "$as_me: failed program was:" >&5
20793 sed 's
/^
/| /' conftest.$ac_ext >&5
20798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20800 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20801 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20803 # The cast to long int works around a bug in the HP C Compiler
20804 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20805 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20806 # This bug is HP SR number 8606223364.
20807 { echo "$as_me:$LINENO: checking size of long" >&5
20808 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20809 if test "${ac_cv_sizeof_long+set}" = set; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20812 if test "$cross_compiling" = yes; then
20813 # Depending upon the size, compute the lo and hi bounds.
20814 cat >conftest.
$ac_ext <<_ACEOF
20817 cat confdefs.h
>>conftest.
$ac_ext
20818 cat >>conftest.
$ac_ext <<_ACEOF
20819 /* end confdefs.h. */
20820 $ac_includes_default
20821 typedef long ac__type_sizeof_;
20825 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20832 rm -f conftest.
$ac_objext
20833 if { (ac_try
="$ac_compile"
20834 case "(($ac_try" in
20835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20836 *) ac_try_echo=$ac_try;;
20838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20839 (eval "$ac_compile") 2>conftest.er1
20841 grep -v '^ *+' conftest.er1 >conftest.err
20843 cat conftest.err >&5
20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845 (exit $ac_status); } && {
20846 test -z "$ac_c_werror_flag" ||
20847 test ! -s conftest.err
20848 } && test -s conftest.$ac_objext; then
20851 cat >conftest.$ac_ext <<_ACEOF
20854 cat confdefs.h >>conftest.$ac_ext
20855 cat >>conftest.$ac_ext <<_ACEOF
20856 /* end confdefs.h. */
20857 $ac_includes_default
20858 typedef long ac__type_sizeof_;
20862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20869 rm -f conftest.$ac_objext
20870 if { (ac_try="$ac_compile"
20871 case "(($ac_try" in
20872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20873 *) ac_try_echo
=$ac_try;;
20875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20876 (eval "$ac_compile") 2>conftest.er1
20878 grep -v '^ *+' conftest.er1
>conftest.err
20880 cat conftest.err
>&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); } && {
20883 test -z "$ac_c_werror_flag" ||
20884 test ! -s conftest.err
20885 } && test -s conftest.
$ac_objext; then
20886 ac_hi
=$ac_mid; break
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.
$ac_ext >&5
20891 ac_lo
=`expr $ac_mid + 1`
20892 if test $ac_lo -le $ac_mid; then
20896 ac_mid
=`expr 2 '*' $ac_mid + 1`
20899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20902 echo "$as_me: failed program was:" >&5
20903 sed 's/^/| /' conftest.
$ac_ext >&5
20905 cat >conftest.
$ac_ext <<_ACEOF
20908 cat confdefs.h
>>conftest.
$ac_ext
20909 cat >>conftest.
$ac_ext <<_ACEOF
20910 /* end confdefs.h. */
20911 $ac_includes_default
20912 typedef long ac__type_sizeof_;
20916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20923 rm -f conftest.
$ac_objext
20924 if { (ac_try
="$ac_compile"
20925 case "(($ac_try" in
20926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20927 *) ac_try_echo=$ac_try;;
20929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20930 (eval "$ac_compile") 2>conftest.er1
20932 grep -v '^ *+' conftest.er1 >conftest.err
20934 cat conftest.err >&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); } && {
20937 test -z "$ac_c_werror_flag" ||
20938 test ! -s conftest.err
20939 } && test -s conftest.$ac_objext; then
20942 cat >conftest.$ac_ext <<_ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 $ac_includes_default
20949 typedef long ac__type_sizeof_;
20953 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20960 rm -f conftest.$ac_objext
20961 if { (ac_try="$ac_compile"
20962 case "(($ac_try" in
20963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20964 *) ac_try_echo
=$ac_try;;
20966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_compile") 2>conftest.er1
20969 grep -v '^ *+' conftest.er1
>conftest.err
20971 cat conftest.err
>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } && {
20974 test -z "$ac_c_werror_flag" ||
20975 test ! -s conftest.err
20976 } && test -s conftest.
$ac_objext; then
20977 ac_lo
=$ac_mid; break
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.
$ac_ext >&5
20982 ac_hi
=`expr '(' $ac_mid ')' - 1`
20983 if test $ac_mid -le $ac_hi; then
20987 ac_mid
=`expr 2 '*' $ac_mid`
20990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20993 echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.
$ac_ext >&5
20999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21003 # Binary search between lo and hi bounds.
21004 while test "x$ac_lo" != "x$ac_hi"; do
21005 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21006 cat >conftest.
$ac_ext <<_ACEOF
21009 cat confdefs.h
>>conftest.
$ac_ext
21010 cat >>conftest.
$ac_ext <<_ACEOF
21011 /* end confdefs.h. */
21012 $ac_includes_default
21013 typedef long ac__type_sizeof_;
21017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21024 rm -f conftest.
$ac_objext
21025 if { (ac_try
="$ac_compile"
21026 case "(($ac_try" in
21027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21028 *) ac_try_echo=$ac_try;;
21030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21031 (eval "$ac_compile") 2>conftest.er1
21033 grep -v '^ *+' conftest.er1 >conftest.err
21035 cat conftest.err >&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); } && {
21038 test -z "$ac_c_werror_flag" ||
21039 test ! -s conftest.err
21040 } && test -s conftest.$ac_objext; then
21043 echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.$ac_ext >&5
21046 ac_lo=`expr '(' $ac_mid ')' + 1`
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21052 ?*) ac_cv_sizeof_long=$ac_lo;;
21053 '') if test "$ac_cv_type_long" = yes; then
21054 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21055 See \`config.log
' for more details." >&5
21056 echo "$as_me: error: cannot compute sizeof (long)
21057 See \`config.log' for more details.
" >&2;}
21058 { (exit 77); exit 77; }; }
21060 ac_cv_sizeof_long=0
21064 cat >conftest.$ac_ext <<_ACEOF
21067 cat confdefs.h >>conftest.$ac_ext
21068 cat >>conftest.$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 $ac_includes_default
21071 typedef long ac__type_sizeof_;
21072 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21073 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21075 #include <stdlib.h>
21080 FILE *f = fopen ("conftest.val
", "w
");
21083 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21085 long int i = longval ();
21086 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21088 fprintf (f, "%ld
\n", i);
21092 unsigned long int i = ulongval ();
21093 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21095 fprintf (f, "%lu
\n", i);
21097 return ferror (f) || fclose (f) != 0;
21103 rm -f conftest$ac_exeext
21104 if { (ac_try="$ac_link"
21105 case "(($ac_try" in
21106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21107 *) ac_try_echo=$ac_try;;
21109 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21110 (eval "$ac_link") 2>&5
21112 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21113 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21114 { (case "(($ac_try" in
21115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21116 *) ac_try_echo=$ac_try;;
21118 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21119 (eval "$ac_try") 2>&5
21121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21122 (exit $ac_status); }; }; then
21123 ac_cv_sizeof_long=`cat conftest.val`
21125 echo "$as_me: program exited with status
$ac_status" >&5
21126 echo "$as_me: failed program was
:" >&5
21127 sed 's/^/| /' conftest.$ac_ext >&5
21129 ( exit $ac_status )
21130 if test "$ac_cv_type_long" = yes; then
21131 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21132 See \
`config.log' for more details." >&5
21133 echo "$as_me: error: cannot compute sizeof (long)
21134 See \`config.log
' for more details." >&2;}
21135 { (exit 77); exit 77; }; }
21137 ac_cv_sizeof_long=0
21140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21144 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21145 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21149 cat >>confdefs.h <<_ACEOF
21150 #define SIZEOF_LONG $ac_cv_sizeof_long
21154 { echo "$as_me:$LINENO: checking for size_t" >&5
21155 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21156 if test "${ac_cv_type_size_t+set}" = set; then
21157 echo $ECHO_N "(cached) $ECHO_C" >&6
21159 cat >conftest.$ac_ext <<_ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21165 $ac_includes_default
21166 typedef size_t ac__type_new_;
21170 if ((ac__type_new_ *) 0)
21172 if (sizeof (ac__type_new_))
21178 rm -f conftest.$ac_objext
21179 if { (ac_try="$ac_compile"
21180 case "(($ac_try" in
21181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21182 *) ac_try_echo=$ac_try;;
21184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21185 (eval "$ac_compile") 2>conftest.er1
21187 grep -v '^
*+' conftest.er1 >conftest.err
21189 cat conftest.err >&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } && {
21192 test -z "$ac_c_werror_flag" ||
21193 test ! -s conftest.err
21194 } && test -s conftest.$ac_objext; then
21195 ac_cv_type_size_t=yes
21197 echo "$as_me: failed program was:" >&5
21198 sed 's
/^
/| /' conftest.$ac_ext >&5
21200 ac_cv_type_size_t=no
21203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21205 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21206 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21208 # The cast to long int works around a bug in the HP C Compiler
21209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21211 # This bug is HP SR number 8606223364.
21212 { echo "$as_me:$LINENO: checking size of size_t" >&5
21213 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21214 if test "${ac_cv_sizeof_size_t+set}" = set; then
21215 echo $ECHO_N "(cached) $ECHO_C" >&6
21217 if test "$cross_compiling" = yes; then
21218 # Depending upon the size, compute the lo and hi bounds.
21219 cat >conftest.
$ac_ext <<_ACEOF
21222 cat confdefs.h
>>conftest.
$ac_ext
21223 cat >>conftest.
$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21225 $ac_includes_default
21226 typedef size_t ac__type_sizeof_;
21230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21237 rm -f conftest.
$ac_objext
21238 if { (ac_try
="$ac_compile"
21239 case "(($ac_try" in
21240 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21241 *) ac_try_echo=$ac_try;;
21243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21244 (eval "$ac_compile") 2>conftest.er1
21246 grep -v '^ *+' conftest.er1 >conftest.err
21248 cat conftest.err >&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); } && {
21251 test -z "$ac_c_werror_flag" ||
21252 test ! -s conftest.err
21253 } && test -s conftest.$ac_objext; then
21256 cat >conftest.$ac_ext <<_ACEOF
21259 cat confdefs.h >>conftest.$ac_ext
21260 cat >>conftest.$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21262 $ac_includes_default
21263 typedef size_t ac__type_sizeof_;
21267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21274 rm -f conftest.$ac_objext
21275 if { (ac_try="$ac_compile"
21276 case "(($ac_try" in
21277 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21278 *) ac_try_echo
=$ac_try;;
21280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21281 (eval "$ac_compile") 2>conftest.er1
21283 grep -v '^ *+' conftest.er1
>conftest.err
21285 cat conftest.err
>&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); } && {
21288 test -z "$ac_c_werror_flag" ||
21289 test ! -s conftest.err
21290 } && test -s conftest.
$ac_objext; then
21291 ac_hi
=$ac_mid; break
21293 echo "$as_me: failed program was:" >&5
21294 sed 's/^/| /' conftest.
$ac_ext >&5
21296 ac_lo
=`expr $ac_mid + 1`
21297 if test $ac_lo -le $ac_mid; then
21301 ac_mid
=`expr 2 '*' $ac_mid + 1`
21304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21307 echo "$as_me: failed program was:" >&5
21308 sed 's/^/| /' conftest.
$ac_ext >&5
21310 cat >conftest.
$ac_ext <<_ACEOF
21313 cat confdefs.h
>>conftest.
$ac_ext
21314 cat >>conftest.
$ac_ext <<_ACEOF
21315 /* end confdefs.h. */
21316 $ac_includes_default
21317 typedef size_t ac__type_sizeof_;
21321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21328 rm -f conftest.
$ac_objext
21329 if { (ac_try
="$ac_compile"
21330 case "(($ac_try" in
21331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21332 *) ac_try_echo=$ac_try;;
21334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21335 (eval "$ac_compile") 2>conftest.er1
21337 grep -v '^ *+' conftest.er1 >conftest.err
21339 cat conftest.err >&5
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); } && {
21342 test -z "$ac_c_werror_flag" ||
21343 test ! -s conftest.err
21344 } && test -s conftest.$ac_objext; then
21347 cat >conftest.$ac_ext <<_ACEOF
21350 cat confdefs.h >>conftest.$ac_ext
21351 cat >>conftest.$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21353 $ac_includes_default
21354 typedef size_t ac__type_sizeof_;
21358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21365 rm -f conftest.$ac_objext
21366 if { (ac_try="$ac_compile"
21367 case "(($ac_try" in
21368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21369 *) ac_try_echo
=$ac_try;;
21371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21372 (eval "$ac_compile") 2>conftest.er1
21374 grep -v '^ *+' conftest.er1
>conftest.err
21376 cat conftest.err
>&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); } && {
21379 test -z "$ac_c_werror_flag" ||
21380 test ! -s conftest.err
21381 } && test -s conftest.
$ac_objext; then
21382 ac_lo
=$ac_mid; break
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.
$ac_ext >&5
21387 ac_hi
=`expr '(' $ac_mid ')' - 1`
21388 if test $ac_mid -le $ac_hi; then
21392 ac_mid
=`expr 2 '*' $ac_mid`
21395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21398 echo "$as_me: failed program was:" >&5
21399 sed 's/^/| /' conftest.
$ac_ext >&5
21404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21408 # Binary search between lo and hi bounds.
21409 while test "x$ac_lo" != "x$ac_hi"; do
21410 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21411 cat >conftest.
$ac_ext <<_ACEOF
21414 cat confdefs.h
>>conftest.
$ac_ext
21415 cat >>conftest.
$ac_ext <<_ACEOF
21416 /* end confdefs.h. */
21417 $ac_includes_default
21418 typedef size_t ac__type_sizeof_;
21422 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21429 rm -f conftest.
$ac_objext
21430 if { (ac_try
="$ac_compile"
21431 case "(($ac_try" in
21432 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21433 *) ac_try_echo=$ac_try;;
21435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21436 (eval "$ac_compile") 2>conftest.er1
21438 grep -v '^ *+' conftest.er1 >conftest.err
21440 cat conftest.err >&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } && {
21443 test -z "$ac_c_werror_flag" ||
21444 test ! -s conftest.err
21445 } && test -s conftest.$ac_objext; then
21448 echo "$as_me: failed program was:" >&5
21449 sed 's/^/| /' conftest.$ac_ext >&5
21451 ac_lo=`expr '(' $ac_mid ')' + 1`
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21457 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21458 '') if test "$ac_cv_type_size_t" = yes; then
21459 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21460 See \`config.log
' for more details." >&5
21461 echo "$as_me: error: cannot compute sizeof (size_t)
21462 See \`config.log' for more details.
" >&2;}
21463 { (exit 77); exit 77; }; }
21465 ac_cv_sizeof_size_t=0
21469 cat >conftest.$ac_ext <<_ACEOF
21472 cat confdefs.h >>conftest.$ac_ext
21473 cat >>conftest.$ac_ext <<_ACEOF
21474 /* end confdefs.h. */
21475 $ac_includes_default
21476 typedef size_t ac__type_sizeof_;
21477 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21478 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21480 #include <stdlib.h>
21485 FILE *f = fopen ("conftest.val
", "w
");
21488 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21490 long int i = longval ();
21491 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21493 fprintf (f, "%ld
\n", i);
21497 unsigned long int i = ulongval ();
21498 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21500 fprintf (f, "%lu
\n", i);
21502 return ferror (f) || fclose (f) != 0;
21508 rm -f conftest$ac_exeext
21509 if { (ac_try="$ac_link"
21510 case "(($ac_try" in
21511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21512 *) ac_try_echo=$ac_try;;
21514 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21515 (eval "$ac_link") 2>&5
21517 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21518 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21519 { (case "(($ac_try" in
21520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21521 *) ac_try_echo=$ac_try;;
21523 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21524 (eval "$ac_try") 2>&5
21526 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21527 (exit $ac_status); }; }; then
21528 ac_cv_sizeof_size_t=`cat conftest.val`
21530 echo "$as_me: program exited with status
$ac_status" >&5
21531 echo "$as_me: failed program was
:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5
21534 ( exit $ac_status )
21535 if test "$ac_cv_type_size_t" = yes; then
21536 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21537 See \
`config.log' for more details." >&5
21538 echo "$as_me: error: cannot compute sizeof (size_t)
21539 See \`config.log
' for more details." >&2;}
21540 { (exit 77); exit 77; }; }
21542 ac_cv_sizeof_size_t=0
21545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21549 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21550 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21554 cat >>confdefs.h <<_ACEOF
21555 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21562 { echo "$as_me:$LINENO: checking for long long" >&5
21563 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21564 if test "${ac_cv_type_long_long+set}" = set; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21567 cat >conftest.$ac_ext <<_ACEOF
21570 cat confdefs.h >>conftest.$ac_ext
21571 cat >>conftest.$ac_ext <<_ACEOF
21572 /* end confdefs.h. */
21573 $ac_includes_default
21574 typedef long long ac__type_new_;
21578 if ((ac__type_new_ *) 0)
21580 if (sizeof (ac__type_new_))
21586 rm -f conftest.$ac_objext
21587 if { (ac_try="$ac_compile"
21588 case "(($ac_try" in
21589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_compile") 2>conftest.er1
21595 grep -v '^
*+' conftest.er1 >conftest.err
21597 cat conftest.err >&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } && {
21600 test -z "$ac_c_werror_flag" ||
21601 test ! -s conftest.err
21602 } && test -s conftest.$ac_objext; then
21603 ac_cv_type_long_long=yes
21605 echo "$as_me: failed program was:" >&5
21606 sed 's
/^
/| /' conftest.$ac_ext >&5
21608 ac_cv_type_long_long=no
21611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21613 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21614 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21616 # The cast to long int works around a bug in the HP C Compiler
21617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21619 # This bug is HP SR number 8606223364.
21620 { echo "$as_me:$LINENO: checking size of long long" >&5
21621 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21622 if test "${ac_cv_sizeof_long_long+set}" = set; then
21623 echo $ECHO_N "(cached) $ECHO_C" >&6
21625 if test "$cross_compiling" = yes; then
21626 # Depending upon the size, compute the lo and hi bounds.
21627 cat >conftest.
$ac_ext <<_ACEOF
21630 cat confdefs.h
>>conftest.
$ac_ext
21631 cat >>conftest.
$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21634 typedef long long ac__type_sizeof_;
21638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21645 rm -f conftest.
$ac_objext
21646 if { (ac_try
="$ac_compile"
21647 case "(($ac_try" in
21648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21649 *) ac_try_echo=$ac_try;;
21651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21652 (eval "$ac_compile") 2>conftest.er1
21654 grep -v '^ *+' conftest.er1 >conftest.err
21656 cat conftest.err >&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); } && {
21659 test -z "$ac_c_werror_flag" ||
21660 test ! -s conftest.err
21661 } && test -s conftest.$ac_objext; then
21664 cat >conftest.$ac_ext <<_ACEOF
21667 cat confdefs.h >>conftest.$ac_ext
21668 cat >>conftest.$ac_ext <<_ACEOF
21669 /* end confdefs.h. */
21670 $ac_includes_default
21671 typedef long long ac__type_sizeof_;
21675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21682 rm -f conftest.$ac_objext
21683 if { (ac_try="$ac_compile"
21684 case "(($ac_try" in
21685 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21686 *) ac_try_echo
=$ac_try;;
21688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21689 (eval "$ac_compile") 2>conftest.er1
21691 grep -v '^ *+' conftest.er1
>conftest.err
21693 cat conftest.err
>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } && {
21696 test -z "$ac_c_werror_flag" ||
21697 test ! -s conftest.err
21698 } && test -s conftest.
$ac_objext; then
21699 ac_hi
=$ac_mid; break
21701 echo "$as_me: failed program was:" >&5
21702 sed 's/^/| /' conftest.
$ac_ext >&5
21704 ac_lo
=`expr $ac_mid + 1`
21705 if test $ac_lo -le $ac_mid; then
21709 ac_mid
=`expr 2 '*' $ac_mid + 1`
21712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21715 echo "$as_me: failed program was:" >&5
21716 sed 's/^/| /' conftest.
$ac_ext >&5
21718 cat >conftest.
$ac_ext <<_ACEOF
21721 cat confdefs.h
>>conftest.
$ac_ext
21722 cat >>conftest.
$ac_ext <<_ACEOF
21723 /* end confdefs.h. */
21724 $ac_includes_default
21725 typedef long long ac__type_sizeof_;
21729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21736 rm -f conftest.
$ac_objext
21737 if { (ac_try
="$ac_compile"
21738 case "(($ac_try" in
21739 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21740 *) ac_try_echo=$ac_try;;
21742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21743 (eval "$ac_compile") 2>conftest.er1
21745 grep -v '^ *+' conftest.er1 >conftest.err
21747 cat conftest.err >&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); } && {
21750 test -z "$ac_c_werror_flag" ||
21751 test ! -s conftest.err
21752 } && test -s conftest.$ac_objext; then
21755 cat >conftest.$ac_ext <<_ACEOF
21758 cat confdefs.h >>conftest.$ac_ext
21759 cat >>conftest.$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21761 $ac_includes_default
21762 typedef long long ac__type_sizeof_;
21766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21773 rm -f conftest.$ac_objext
21774 if { (ac_try="$ac_compile"
21775 case "(($ac_try" in
21776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21777 *) ac_try_echo
=$ac_try;;
21779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21780 (eval "$ac_compile") 2>conftest.er1
21782 grep -v '^ *+' conftest.er1
>conftest.err
21784 cat conftest.err
>&5
21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786 (exit $ac_status); } && {
21787 test -z "$ac_c_werror_flag" ||
21788 test ! -s conftest.err
21789 } && test -s conftest.
$ac_objext; then
21790 ac_lo
=$ac_mid; break
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.
$ac_ext >&5
21795 ac_hi
=`expr '(' $ac_mid ')' - 1`
21796 if test $ac_mid -le $ac_hi; then
21800 ac_mid
=`expr 2 '*' $ac_mid`
21803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21806 echo "$as_me: failed program was:" >&5
21807 sed 's/^/| /' conftest.
$ac_ext >&5
21812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21816 # Binary search between lo and hi bounds.
21817 while test "x$ac_lo" != "x$ac_hi"; do
21818 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21819 cat >conftest.
$ac_ext <<_ACEOF
21822 cat confdefs.h
>>conftest.
$ac_ext
21823 cat >>conftest.
$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 $ac_includes_default
21826 typedef long long ac__type_sizeof_;
21830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21837 rm -f conftest.
$ac_objext
21838 if { (ac_try
="$ac_compile"
21839 case "(($ac_try" in
21840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21841 *) ac_try_echo=$ac_try;;
21843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21844 (eval "$ac_compile") 2>conftest.er1
21846 grep -v '^ *+' conftest.er1 >conftest.err
21848 cat conftest.err >&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); } && {
21851 test -z "$ac_c_werror_flag" ||
21852 test ! -s conftest.err
21853 } && test -s conftest.$ac_objext; then
21856 echo "$as_me: failed program was:" >&5
21857 sed 's/^/| /' conftest.$ac_ext >&5
21859 ac_lo=`expr '(' $ac_mid ')' + 1`
21862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21865 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21866 '') if test "$ac_cv_type_long_long" = yes; then
21867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21868 See \`config.log
' for more details." >&5
21869 echo "$as_me: error: cannot compute sizeof (long long)
21870 See \`config.log' for more details.
" >&2;}
21871 { (exit 77); exit 77; }; }
21873 ac_cv_sizeof_long_long=0
21877 cat >conftest.$ac_ext <<_ACEOF
21880 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 $ac_includes_default
21884 typedef long long ac__type_sizeof_;
21885 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21886 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21888 #include <stdlib.h>
21893 FILE *f = fopen ("conftest.val
", "w
");
21896 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21898 long int i = longval ();
21899 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21901 fprintf (f, "%ld
\n", i);
21905 unsigned long int i = ulongval ();
21906 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21908 fprintf (f, "%lu
\n", i);
21910 return ferror (f) || fclose (f) != 0;
21916 rm -f conftest$ac_exeext
21917 if { (ac_try="$ac_link"
21918 case "(($ac_try" in
21919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21920 *) ac_try_echo=$ac_try;;
21922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21923 (eval "$ac_link") 2>&5
21925 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21926 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21927 { (case "(($ac_try" in
21928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21929 *) ac_try_echo=$ac_try;;
21931 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21932 (eval "$ac_try") 2>&5
21934 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21935 (exit $ac_status); }; }; then
21936 ac_cv_sizeof_long_long=`cat conftest.val`
21938 echo "$as_me: program exited with status
$ac_status" >&5
21939 echo "$as_me: failed program was
:" >&5
21940 sed 's/^/| /' conftest.$ac_ext >&5
21942 ( exit $ac_status )
21943 if test "$ac_cv_type_long_long" = yes; then
21944 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21945 See \
`config.log' for more details." >&5
21946 echo "$as_me: error: cannot compute sizeof (long long)
21947 See \`config.log
' for more details." >&2;}
21948 { (exit 77); exit 77; }; }
21950 ac_cv_sizeof_long_long=0
21953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21957 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21958 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21962 cat >>confdefs.h <<_ACEOF
21963 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21969 { echo "$as_me:$LINENO: checking for long long" >&5
21970 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21971 if test "${ac_cv_type_long_long+set}" = set; then
21972 echo $ECHO_N "(cached) $ECHO_C" >&6
21974 cat >conftest.$ac_ext <<_ACEOF
21977 cat confdefs.h >>conftest.$ac_ext
21978 cat >>conftest.$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21980 $ac_includes_default
21981 typedef long long ac__type_new_;
21985 if ((ac__type_new_ *) 0)
21987 if (sizeof (ac__type_new_))
21993 rm -f conftest.$ac_objext
21994 if { (ac_try="$ac_compile"
21995 case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_compile") 2>conftest.er1
22002 grep -v '^
*+' conftest.er1 >conftest.err
22004 cat conftest.err >&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } && {
22007 test -z "$ac_c_werror_flag" ||
22008 test ! -s conftest.err
22009 } && test -s conftest.$ac_objext; then
22010 ac_cv_type_long_long=yes
22012 echo "$as_me: failed program was:" >&5
22013 sed 's
/^
/| /' conftest.$ac_ext >&5
22015 ac_cv_type_long_long=no
22018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22020 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22021 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22023 # The cast to long int works around a bug in the HP C Compiler
22024 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22025 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22026 # This bug is HP SR number 8606223364.
22027 { echo "$as_me:$LINENO: checking size of long long" >&5
22028 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22029 if test "${ac_cv_sizeof_long_long+set}" = set; then
22030 echo $ECHO_N "(cached) $ECHO_C" >&6
22032 if test "$cross_compiling" = yes; then
22033 # Depending upon the size, compute the lo and hi bounds.
22034 cat >conftest.
$ac_ext <<_ACEOF
22037 cat confdefs.h
>>conftest.
$ac_ext
22038 cat >>conftest.
$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22040 $ac_includes_default
22041 typedef long long ac__type_sizeof_;
22045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22052 rm -f conftest.
$ac_objext
22053 if { (ac_try
="$ac_compile"
22054 case "(($ac_try" in
22055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22056 *) ac_try_echo=$ac_try;;
22058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22059 (eval "$ac_compile") 2>conftest.er1
22061 grep -v '^ *+' conftest.er1 >conftest.err
22063 cat conftest.err >&5
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); } && {
22066 test -z "$ac_c_werror_flag" ||
22067 test ! -s conftest.err
22068 } && test -s conftest.$ac_objext; then
22071 cat >conftest.$ac_ext <<_ACEOF
22074 cat confdefs.h >>conftest.$ac_ext
22075 cat >>conftest.$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22077 $ac_includes_default
22078 typedef long long ac__type_sizeof_;
22082 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22089 rm -f conftest.$ac_objext
22090 if { (ac_try="$ac_compile"
22091 case "(($ac_try" in
22092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22093 *) ac_try_echo
=$ac_try;;
22095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22096 (eval "$ac_compile") 2>conftest.er1
22098 grep -v '^ *+' conftest.er1
>conftest.err
22100 cat conftest.err
>&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); } && {
22103 test -z "$ac_c_werror_flag" ||
22104 test ! -s conftest.err
22105 } && test -s conftest.
$ac_objext; then
22106 ac_hi
=$ac_mid; break
22108 echo "$as_me: failed program was:" >&5
22109 sed 's/^/| /' conftest.
$ac_ext >&5
22111 ac_lo
=`expr $ac_mid + 1`
22112 if test $ac_lo -le $ac_mid; then
22116 ac_mid
=`expr 2 '*' $ac_mid + 1`
22119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22122 echo "$as_me: failed program was:" >&5
22123 sed 's/^/| /' conftest.
$ac_ext >&5
22125 cat >conftest.
$ac_ext <<_ACEOF
22128 cat confdefs.h
>>conftest.
$ac_ext
22129 cat >>conftest.
$ac_ext <<_ACEOF
22130 /* end confdefs.h. */
22131 $ac_includes_default
22132 typedef long long ac__type_sizeof_;
22136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22143 rm -f conftest.
$ac_objext
22144 if { (ac_try
="$ac_compile"
22145 case "(($ac_try" in
22146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22147 *) ac_try_echo=$ac_try;;
22149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22150 (eval "$ac_compile") 2>conftest.er1
22152 grep -v '^ *+' conftest.er1 >conftest.err
22154 cat conftest.err >&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); } && {
22157 test -z "$ac_c_werror_flag" ||
22158 test ! -s conftest.err
22159 } && test -s conftest.$ac_objext; then
22162 cat >conftest.$ac_ext <<_ACEOF
22165 cat confdefs.h >>conftest.$ac_ext
22166 cat >>conftest.$ac_ext <<_ACEOF
22167 /* end confdefs.h. */
22168 $ac_includes_default
22169 typedef long long ac__type_sizeof_;
22173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22180 rm -f conftest.$ac_objext
22181 if { (ac_try="$ac_compile"
22182 case "(($ac_try" in
22183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22184 *) ac_try_echo
=$ac_try;;
22186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22187 (eval "$ac_compile") 2>conftest.er1
22189 grep -v '^ *+' conftest.er1
>conftest.err
22191 cat conftest.err
>&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); } && {
22194 test -z "$ac_c_werror_flag" ||
22195 test ! -s conftest.err
22196 } && test -s conftest.
$ac_objext; then
22197 ac_lo
=$ac_mid; break
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.
$ac_ext >&5
22202 ac_hi
=`expr '(' $ac_mid ')' - 1`
22203 if test $ac_mid -le $ac_hi; then
22207 ac_mid
=`expr 2 '*' $ac_mid`
22210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22213 echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.
$ac_ext >&5
22219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22223 # Binary search between lo and hi bounds.
22224 while test "x$ac_lo" != "x$ac_hi"; do
22225 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22226 cat >conftest.
$ac_ext <<_ACEOF
22229 cat confdefs.h
>>conftest.
$ac_ext
22230 cat >>conftest.
$ac_ext <<_ACEOF
22231 /* end confdefs.h. */
22232 $ac_includes_default
22233 typedef long long ac__type_sizeof_;
22237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22244 rm -f conftest.
$ac_objext
22245 if { (ac_try
="$ac_compile"
22246 case "(($ac_try" in
22247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22248 *) ac_try_echo=$ac_try;;
22250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22251 (eval "$ac_compile") 2>conftest.er1
22253 grep -v '^ *+' conftest.er1 >conftest.err
22255 cat conftest.err >&5
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); } && {
22258 test -z "$ac_c_werror_flag" ||
22259 test ! -s conftest.err
22260 } && test -s conftest.$ac_objext; then
22263 echo "$as_me: failed program was:" >&5
22264 sed 's/^/| /' conftest.$ac_ext >&5
22266 ac_lo=`expr '(' $ac_mid ')' + 1`
22269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22272 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22273 '') if test "$ac_cv_type_long_long" = yes; then
22274 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22275 See \`config.log
' for more details." >&5
22276 echo "$as_me: error: cannot compute sizeof (long long)
22277 See \`config.log' for more details.
" >&2;}
22278 { (exit 77); exit 77; }; }
22280 ac_cv_sizeof_long_long=0
22284 cat >conftest.$ac_ext <<_ACEOF
22287 cat confdefs.h >>conftest.$ac_ext
22288 cat >>conftest.$ac_ext <<_ACEOF
22289 /* end confdefs.h. */
22290 $ac_includes_default
22291 typedef long long ac__type_sizeof_;
22292 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22293 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22295 #include <stdlib.h>
22300 FILE *f = fopen ("conftest.val
", "w
");
22303 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22305 long int i = longval ();
22306 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22308 fprintf (f, "%ld
\n", i);
22312 unsigned long int i = ulongval ();
22313 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22315 fprintf (f, "%lu
\n", i);
22317 return ferror (f) || fclose (f) != 0;
22323 rm -f conftest$ac_exeext
22324 if { (ac_try="$ac_link"
22325 case "(($ac_try" in
22326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22327 *) ac_try_echo=$ac_try;;
22329 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22330 (eval "$ac_link") 2>&5
22332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22334 { (case "(($ac_try" in
22335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22338 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_try") 2>&5
22341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22342 (exit $ac_status); }; }; then
22343 ac_cv_sizeof_long_long=`cat conftest.val`
22345 echo "$as_me: program exited with status
$ac_status" >&5
22346 echo "$as_me: failed program was
:" >&5
22347 sed 's/^/| /' conftest.$ac_ext >&5
22349 ( exit $ac_status )
22350 if test "$ac_cv_type_long_long" = yes; then
22351 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22352 See \
`config.log' for more details." >&5
22353 echo "$as_me: error: cannot compute sizeof (long long)
22354 See \`config.log
' for more details." >&2;}
22355 { (exit 77); exit 77; }; }
22357 ac_cv_sizeof_long_long=0
22360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22364 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22365 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22369 cat >>confdefs.h <<_ACEOF
22370 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22374 if test "$ac_cv_sizeof_long_long" != 0; then
22375 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22379 { echo "$as_me:$LINENO: checking for long long" >&5
22380 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22381 if test "${ac_cv_type_long_long+set}" = set; then
22382 echo $ECHO_N "(cached) $ECHO_C" >&6
22384 cat >conftest.$ac_ext <<_ACEOF
22387 cat confdefs.h >>conftest.$ac_ext
22388 cat >>conftest.$ac_ext <<_ACEOF
22389 /* end confdefs.h. */
22390 $ac_includes_default
22391 typedef long long ac__type_new_;
22395 if ((ac__type_new_ *) 0)
22397 if (sizeof (ac__type_new_))
22403 rm -f conftest.$ac_objext
22404 if { (ac_try="$ac_compile"
22405 case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_compile") 2>conftest.er1
22412 grep -v '^
*+' conftest.er1 >conftest.err
22414 cat conftest.err >&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); } && {
22417 test -z "$ac_c_werror_flag" ||
22418 test ! -s conftest.err
22419 } && test -s conftest.$ac_objext; then
22420 ac_cv_type_long_long=yes
22422 echo "$as_me: failed program was:" >&5
22423 sed 's
/^
/| /' conftest.$ac_ext >&5
22425 ac_cv_type_long_long=no
22428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22430 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22431 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22433 # The cast to long int works around a bug in the HP C Compiler
22434 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22435 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22436 # This bug is HP SR number 8606223364.
22437 { echo "$as_me:$LINENO: checking size of long long" >&5
22438 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22439 if test "${ac_cv_sizeof_long_long+set}" = set; then
22440 echo $ECHO_N "(cached) $ECHO_C" >&6
22442 if test "$cross_compiling" = yes; then
22443 # Depending upon the size, compute the lo and hi bounds.
22444 cat >conftest.
$ac_ext <<_ACEOF
22447 cat confdefs.h
>>conftest.
$ac_ext
22448 cat >>conftest.
$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef long long ac__type_sizeof_;
22455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22462 rm -f conftest.
$ac_objext
22463 if { (ac_try
="$ac_compile"
22464 case "(($ac_try" in
22465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22466 *) ac_try_echo=$ac_try;;
22468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22469 (eval "$ac_compile") 2>conftest.er1
22471 grep -v '^ *+' conftest.er1 >conftest.err
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } && {
22476 test -z "$ac_c_werror_flag" ||
22477 test ! -s conftest.err
22478 } && test -s conftest.$ac_objext; then
22481 cat >conftest.$ac_ext <<_ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef long long ac__type_sizeof_;
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22499 rm -f conftest.$ac_objext
22500 if { (ac_try="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22503 *) ac_try_echo
=$ac_try;;
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22508 grep -v '^ *+' conftest.er1
>conftest.err
22510 cat conftest.err
>&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.
$ac_objext; then
22516 ac_hi
=$ac_mid; break
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.
$ac_ext >&5
22521 ac_lo
=`expr $ac_mid + 1`
22522 if test $ac_lo -le $ac_mid; then
22526 ac_mid
=`expr 2 '*' $ac_mid + 1`
22529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22532 echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.
$ac_ext >&5
22535 cat >conftest.
$ac_ext <<_ACEOF
22538 cat confdefs.h
>>conftest.
$ac_ext
22539 cat >>conftest.
$ac_ext <<_ACEOF
22540 /* end confdefs.h. */
22541 $ac_includes_default
22542 typedef long long ac__type_sizeof_;
22546 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22553 rm -f conftest.
$ac_objext
22554 if { (ac_try
="$ac_compile"
22555 case "(($ac_try" in
22556 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22557 *) ac_try_echo=$ac_try;;
22559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22560 (eval "$ac_compile") 2>conftest.er1
22562 grep -v '^ *+' conftest.er1 >conftest.err
22564 cat conftest.err >&5
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); } && {
22567 test -z "$ac_c_werror_flag" ||
22568 test ! -s conftest.err
22569 } && test -s conftest.$ac_objext; then
22572 cat >conftest.$ac_ext <<_ACEOF
22575 cat confdefs.h >>conftest.$ac_ext
22576 cat >>conftest.$ac_ext <<_ACEOF
22577 /* end confdefs.h. */
22578 $ac_includes_default
22579 typedef long long ac__type_sizeof_;
22583 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22590 rm -f conftest.$ac_objext
22591 if { (ac_try="$ac_compile"
22592 case "(($ac_try" in
22593 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22594 *) ac_try_echo
=$ac_try;;
22596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22597 (eval "$ac_compile") 2>conftest.er1
22599 grep -v '^ *+' conftest.er1
>conftest.err
22601 cat conftest.err
>&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } && {
22604 test -z "$ac_c_werror_flag" ||
22605 test ! -s conftest.err
22606 } && test -s conftest.
$ac_objext; then
22607 ac_lo
=$ac_mid; break
22609 echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.
$ac_ext >&5
22612 ac_hi
=`expr '(' $ac_mid ')' - 1`
22613 if test $ac_mid -le $ac_hi; then
22617 ac_mid
=`expr 2 '*' $ac_mid`
22620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22623 echo "$as_me: failed program was:" >&5
22624 sed 's/^/| /' conftest.
$ac_ext >&5
22629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22633 # Binary search between lo and hi bounds.
22634 while test "x$ac_lo" != "x$ac_hi"; do
22635 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22636 cat >conftest.
$ac_ext <<_ACEOF
22639 cat confdefs.h
>>conftest.
$ac_ext
22640 cat >>conftest.
$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 $ac_includes_default
22643 typedef long long ac__type_sizeof_;
22647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22654 rm -f conftest.
$ac_objext
22655 if { (ac_try
="$ac_compile"
22656 case "(($ac_try" in
22657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22658 *) ac_try_echo=$ac_try;;
22660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22661 (eval "$ac_compile") 2>conftest.er1
22663 grep -v '^ *+' conftest.er1 >conftest.err
22665 cat conftest.err >&5
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); } && {
22668 test -z "$ac_c_werror_flag" ||
22669 test ! -s conftest.err
22670 } && test -s conftest.$ac_objext; then
22673 echo "$as_me: failed program was:" >&5
22674 sed 's/^/| /' conftest.$ac_ext >&5
22676 ac_lo=`expr '(' $ac_mid ')' + 1`
22679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22682 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22683 '') if test "$ac_cv_type_long_long" = yes; then
22684 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22685 See \`config.log
' for more details." >&5
22686 echo "$as_me: error: cannot compute sizeof (long long)
22687 See \`config.log' for more details.
" >&2;}
22688 { (exit 77); exit 77; }; }
22690 ac_cv_sizeof_long_long=0
22694 cat >conftest.$ac_ext <<_ACEOF
22697 cat confdefs.h >>conftest.$ac_ext
22698 cat >>conftest.$ac_ext <<_ACEOF
22699 /* end confdefs.h. */
22700 $ac_includes_default
22701 typedef long long ac__type_sizeof_;
22702 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22703 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22705 #include <stdlib.h>
22710 FILE *f = fopen ("conftest.val
", "w
");
22713 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22715 long int i = longval ();
22716 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22718 fprintf (f, "%ld
\n", i);
22722 unsigned long int i = ulongval ();
22723 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22725 fprintf (f, "%lu
\n", i);
22727 return ferror (f) || fclose (f) != 0;
22733 rm -f conftest$ac_exeext
22734 if { (ac_try="$ac_link"
22735 case "(($ac_try" in
22736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22737 *) ac_try_echo=$ac_try;;
22739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22740 (eval "$ac_link") 2>&5
22742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22743 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22744 { (case "(($ac_try" in
22745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22746 *) ac_try_echo=$ac_try;;
22748 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22749 (eval "$ac_try") 2>&5
22751 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22752 (exit $ac_status); }; }; then
22753 ac_cv_sizeof_long_long=`cat conftest.val`
22755 echo "$as_me: program exited with status
$ac_status" >&5
22756 echo "$as_me: failed program was
:" >&5
22757 sed 's/^/| /' conftest.$ac_ext >&5
22759 ( exit $ac_status )
22760 if test "$ac_cv_type_long_long" = yes; then
22761 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22762 See \
`config.log' for more details." >&5
22763 echo "$as_me: error: cannot compute sizeof (long long)
22764 See \`config.log
' for more details." >&2;}
22765 { (exit 77); exit 77; }; }
22767 ac_cv_sizeof_long_long=0
22770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22774 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22775 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22779 cat >>confdefs.h <<_ACEOF
22780 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22786 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22787 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22788 if test "${ac_cv_type_wchar_t+set}" = set; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22791 cat >conftest.$ac_ext <<_ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22798 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22799 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22800 # error "fake wchar_t"
22802 #ifdef HAVE_WCHAR_H
22804 # include <stddef.h>
22806 # include <wchar.h>
22808 #ifdef HAVE_STDLIB_H
22809 # include <stdlib.h>
22815 typedef wchar_t ac__type_new_
;
22819 if ((ac__type_new_
*) 0)
22821 if (sizeof
(ac__type_new_
))
22827 rm -f conftest.
$ac_objext
22828 if { (ac_try
="$ac_compile"
22829 case "(($ac_try" in
22830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22831 *) ac_try_echo=$ac_try;;
22833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22834 (eval "$ac_compile") 2>conftest.er1
22836 grep -v '^ *+' conftest.er1 >conftest.err
22838 cat conftest.err >&5
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); } && {
22841 test -z "$ac_c_werror_flag" ||
22842 test ! -s conftest.err
22843 } && test -s conftest.$ac_objext; then
22844 ac_cv_type_wchar_t=yes
22846 echo "$as_me: failed program was:" >&5
22847 sed 's/^/| /' conftest.$ac_ext >&5
22849 ac_cv_type_wchar_t=no
22852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22854 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22855 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22857 # The cast to long int works around a bug in the HP C Compiler
22858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22859 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22860 # This bug is HP SR number 8606223364.
22861 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22862 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22863 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22864 echo $ECHO_N "(cached) $ECHO_C" >&6
22866 if test "$cross_compiling" = yes; then
22867 # Depending upon the size, compute the lo and hi bounds.
22868 cat >conftest.$ac_ext <<_ACEOF
22871 cat confdefs.h >>conftest.$ac_ext
22872 cat >>conftest.$ac_ext <<_ACEOF
22873 /* end confdefs.h. */
22875 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22876 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22877 # error "fake wchar_t"
22879 #ifdef HAVE_WCHAR_H
22881 # include <stddef.h>
22883 # include <wchar.h>
22885 #ifdef HAVE_STDLIB_H
22886 # include <stdlib.h>
22892 typedef wchar_t ac__type_sizeof_
;
22896 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22903 rm -f conftest.
$ac_objext
22904 if { (ac_try
="$ac_compile"
22905 case "(($ac_try" in
22906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22907 *) ac_try_echo=$ac_try;;
22909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_compile") 2>conftest.er1
22912 grep -v '^ *+' conftest.er1 >conftest.err
22914 cat conftest.err >&5
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); } && {
22917 test -z "$ac_c_werror_flag" ||
22918 test ! -s conftest.err
22919 } && test -s conftest.$ac_objext; then
22922 cat >conftest.$ac_ext <<_ACEOF
22925 cat confdefs.h >>conftest.$ac_ext
22926 cat >>conftest.$ac_ext <<_ACEOF
22927 /* end confdefs.h. */
22929 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22930 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22931 # error "fake wchar_t"
22933 #ifdef HAVE_WCHAR_H
22935 # include <stddef.h>
22937 # include <wchar.h>
22939 #ifdef HAVE_STDLIB_H
22940 # include <stdlib.h>
22946 typedef wchar_t ac__type_sizeof_;
22950 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22957 rm -f conftest.$ac_objext
22958 if { (ac_try="$ac_compile"
22959 case "(($ac_try" in
22960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22961 *) ac_try_echo
=$ac_try;;
22963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22964 (eval "$ac_compile") 2>conftest.er1
22966 grep -v '^ *+' conftest.er1
>conftest.err
22968 cat conftest.err
>&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); } && {
22971 test -z "$ac_c_werror_flag" ||
22972 test ! -s conftest.err
22973 } && test -s conftest.
$ac_objext; then
22974 ac_hi
=$ac_mid; break
22976 echo "$as_me: failed program was:" >&5
22977 sed 's/^/| /' conftest.
$ac_ext >&5
22979 ac_lo
=`expr $ac_mid + 1`
22980 if test $ac_lo -le $ac_mid; then
22984 ac_mid
=`expr 2 '*' $ac_mid + 1`
22987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22990 echo "$as_me: failed program was:" >&5
22991 sed 's/^/| /' conftest.
$ac_ext >&5
22993 cat >conftest.
$ac_ext <<_ACEOF
22996 cat confdefs.h
>>conftest.
$ac_ext
22997 cat >>conftest.
$ac_ext <<_ACEOF
22998 /* end confdefs.h. */
23000 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23001 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23002 # error "fake wchar_t"
23004 #ifdef HAVE_WCHAR_H
23006 # include <stddef.h>
23008 # include <wchar.h>
23010 #ifdef HAVE_STDLIB_H
23011 # include <stdlib.h>
23017 typedef wchar_t ac__type_sizeof_;
23021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23028 rm -f conftest.
$ac_objext
23029 if { (ac_try
="$ac_compile"
23030 case "(($ac_try" in
23031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23032 *) ac_try_echo=$ac_try;;
23034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23035 (eval "$ac_compile") 2>conftest.er1
23037 grep -v '^ *+' conftest.er1 >conftest.err
23039 cat conftest.err >&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } && {
23042 test -z "$ac_c_werror_flag" ||
23043 test ! -s conftest.err
23044 } && test -s conftest.$ac_objext; then
23047 cat >conftest.$ac_ext <<_ACEOF
23050 cat confdefs.h >>conftest.$ac_ext
23051 cat >>conftest.$ac_ext <<_ACEOF
23052 /* end confdefs.h. */
23054 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23055 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23056 # error "fake wchar_t"
23058 #ifdef HAVE_WCHAR_H
23060 # include <stddef.h>
23062 # include <wchar.h>
23064 #ifdef HAVE_STDLIB_H
23065 # include <stdlib.h>
23071 typedef wchar_t ac__type_sizeof_;
23075 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23082 rm -f conftest.$ac_objext
23083 if { (ac_try="$ac_compile"
23084 case "(($ac_try" in
23085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23086 *) ac_try_echo
=$ac_try;;
23088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23089 (eval "$ac_compile") 2>conftest.er1
23091 grep -v '^ *+' conftest.er1
>conftest.err
23093 cat conftest.err
>&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); } && {
23096 test -z "$ac_c_werror_flag" ||
23097 test ! -s conftest.err
23098 } && test -s conftest.
$ac_objext; then
23099 ac_lo
=$ac_mid; break
23101 echo "$as_me: failed program was:" >&5
23102 sed 's/^/| /' conftest.
$ac_ext >&5
23104 ac_hi
=`expr '(' $ac_mid ')' - 1`
23105 if test $ac_mid -le $ac_hi; then
23109 ac_mid
=`expr 2 '*' $ac_mid`
23112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23115 echo "$as_me: failed program was:" >&5
23116 sed 's/^/| /' conftest.
$ac_ext >&5
23121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23125 # Binary search between lo and hi bounds.
23126 while test "x$ac_lo" != "x$ac_hi"; do
23127 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23128 cat >conftest.
$ac_ext <<_ACEOF
23131 cat confdefs.h
>>conftest.
$ac_ext
23132 cat >>conftest.
$ac_ext <<_ACEOF
23133 /* end confdefs.h. */
23135 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23136 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23137 # error "fake wchar_t"
23139 #ifdef HAVE_WCHAR_H
23141 # include <stddef.h>
23143 # include <wchar.h>
23145 #ifdef HAVE_STDLIB_H
23146 # include <stdlib.h>
23152 typedef wchar_t ac__type_sizeof_;
23156 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23163 rm -f conftest.
$ac_objext
23164 if { (ac_try
="$ac_compile"
23165 case "(($ac_try" in
23166 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23167 *) ac_try_echo=$ac_try;;
23169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23170 (eval "$ac_compile") 2>conftest.er1
23172 grep -v '^ *+' conftest.er1 >conftest.err
23174 cat conftest.err >&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); } && {
23177 test -z "$ac_c_werror_flag" ||
23178 test ! -s conftest.err
23179 } && test -s conftest.$ac_objext; then
23182 echo "$as_me: failed program was:" >&5
23183 sed 's/^/| /' conftest.$ac_ext >&5
23185 ac_lo=`expr '(' $ac_mid ')' + 1`
23188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23191 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23192 '') if test "$ac_cv_type_wchar_t" = yes; then
23193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23194 See \`config.log
' for more details." >&5
23195 echo "$as_me: error: cannot compute sizeof (wchar_t)
23196 See \`config.log' for more details.
" >&2;}
23197 { (exit 77); exit 77; }; }
23199 ac_cv_sizeof_wchar_t=0
23203 cat >conftest.$ac_ext <<_ACEOF
23206 cat confdefs.h >>conftest.$ac_ext
23207 cat >>conftest.$ac_ext <<_ACEOF
23208 /* end confdefs.h. */
23210 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23211 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23212 # error "fake wchar_t
"
23214 #ifdef HAVE_WCHAR_H
23216 # include <stddef.h>
23218 # include <wchar.h>
23220 #ifdef HAVE_STDLIB_H
23221 # include <stdlib.h>
23227 typedef wchar_t ac__type_sizeof_;
23228 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23229 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23231 #include <stdlib.h>
23236 FILE *f = fopen ("conftest.val
", "w
");
23239 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23241 long int i = longval ();
23242 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23244 fprintf (f, "%ld
\n", i);
23248 unsigned long int i = ulongval ();
23249 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23251 fprintf (f, "%lu
\n", i);
23253 return ferror (f) || fclose (f) != 0;
23259 rm -f conftest$ac_exeext
23260 if { (ac_try="$ac_link"
23261 case "(($ac_try" in
23262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23263 *) ac_try_echo=$ac_try;;
23265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23266 (eval "$ac_link") 2>&5
23268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23270 { (case "(($ac_try" in
23271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23272 *) ac_try_echo=$ac_try;;
23274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23275 (eval "$ac_try") 2>&5
23277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23278 (exit $ac_status); }; }; then
23279 ac_cv_sizeof_wchar_t=`cat conftest.val`
23281 echo "$as_me: program exited with status
$ac_status" >&5
23282 echo "$as_me: failed program was
:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23285 ( exit $ac_status )
23286 if test "$ac_cv_type_wchar_t" = yes; then
23287 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23288 See \
`config.log' for more details." >&5
23289 echo "$as_me: error: cannot compute sizeof (wchar_t)
23290 See \`config.log
' for more details." >&2;}
23291 { (exit 77); exit 77; }; }
23293 ac_cv_sizeof_wchar_t=0
23296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23300 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23301 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23305 cat >>confdefs.h <<_ACEOF
23306 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23310 if test "$ac_cv_sizeof_wchar_t" != 0; then
23316 { echo "$as_me:$LINENO: checking for va_copy" >&5
23317 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23318 if test "${wx_cv_func_va_copy+set}" = set; then
23319 echo $ECHO_N "(cached) $ECHO_C" >&6
23323 ac_cpp='$CXXCPP $CPPFLAGS'
23324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23325 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23328 cat >conftest.$ac_ext <<_ACEOF
23330 #include <stdarg.h>
23331 void foo(char *f, ...)
23345 rm -f conftest.$ac_objext conftest$ac_exeext
23346 if { (ac_try="$ac_link"
23347 case "(($ac_try" in
23348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23349 *) ac_try_echo=$ac_try;;
23351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23352 (eval "$ac_link") 2>conftest.er1
23354 grep -v '^
*+' conftest.er1 >conftest.err
23356 cat conftest.err >&5
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); } && {
23359 test -z "$ac_cxx_werror_flag" ||
23360 test ! -s conftest.err
23361 } && test -s conftest$ac_exeext &&
23362 $as_test_x conftest$ac_exeext; then
23363 wx_cv_func_va_copy=yes
23365 echo "$as_me: failed program was:" >&5
23366 sed 's
/^
/| /' conftest.$ac_ext >&5
23368 wx_cv_func_va_copy=no
23372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23373 conftest$ac_exeext conftest.$ac_ext
23375 ac_cpp='$CPP $CPPFLAGS'
23376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23377 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23383 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23384 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23386 if test $wx_cv_func_va_copy = "yes"; then
23387 cat >>confdefs.h <<\_ACEOF
23388 #define HAVE_VA_COPY 1
23392 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23393 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23394 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23395 echo $ECHO_N "(cached) $ECHO_C" >&6
23398 if test "$cross_compiling" = yes; then
23399 wx_cv_type_va_list_lvalue=yes
23402 cat >conftest.$ac_ext <<_ACEOF
23404 #include <stdarg.h>
23405 int foo(char *f, ...)
23410 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23418 return foo("hi", 17);
23421 rm -f conftest$ac_exeext
23422 if { (ac_try="$ac_link"
23423 case "(($ac_try" in
23424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23425 *) ac_try_echo=$ac_try;;
23427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23428 (eval "$ac_link") 2>&5
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23432 { (case "(($ac_try" in
23433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23434 *) ac_try_echo=$ac_try;;
23436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23437 (eval "$ac_try") 2>&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); }; }; then
23441 wx_cv_type_va_list_lvalue=yes
23443 echo "$as_me: program exited with status $ac_status" >&5
23444 echo "$as_me: failed program was:" >&5
23445 sed 's
/^
/| /' conftest.$ac_ext >&5
23447 ( exit $ac_status )
23448 wx_cv_type_va_list_lvalue=no
23450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23457 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23458 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23460 if test $wx_cv_type_va_list_lvalue != "yes"; then
23461 cat >>confdefs.h <<\_ACEOF
23462 #define VA_LIST_IS_ARRAY 1
23468 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23470 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23471 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23472 if test "${wx_cv_have_variadic_macros+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23477 ac_cpp='$CXXCPP $CPPFLAGS'
23478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23479 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23482 cat >conftest.$ac_ext <<_ACEOF
23485 cat confdefs.h >>conftest.$ac_ext
23486 cat >>conftest.$ac_ext <<_ACEOF
23487 /* end confdefs.h. */
23490 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23496 test("%s %d %p", "test", 1, 0);
23503 rm -f conftest.$ac_objext
23504 if { (ac_try="$ac_compile"
23505 case "(($ac_try" in
23506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23507 *) ac_try_echo=$ac_try;;
23509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23510 (eval "$ac_compile") 2>conftest.er1
23512 grep -v '^
*+' conftest.er1 >conftest.err
23514 cat conftest.err >&5
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); } && {
23517 test -z "$ac_cxx_werror_flag" ||
23518 test ! -s conftest.err
23519 } && test -s conftest.$ac_objext; then
23520 wx_cv_have_variadic_macros=yes
23522 echo "$as_me: failed program was:" >&5
23523 sed 's
/^
/| /' conftest.$ac_ext >&5
23525 wx_cv_have_variadic_macros=no
23529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23531 ac_cpp='$CPP $CPPFLAGS'
23532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23533 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23539 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23540 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23542 if test $wx_cv_have_variadic_macros = "yes"; then
23543 cat >>confdefs.h <<\_ACEOF
23544 #define HAVE_VARIADIC_MACROS 1
23551 LARGEFILE_CPPFLAGS=
23552 # Check whether --enable-largefile was given.
23553 if test "${enable_largefile+set}" = set; then
23554 enableval=$enable_largefile;
23557 if test "$enable_largefile" != no; then
23560 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23561 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23562 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23563 echo $ECHO_N "(cached) $ECHO_C" >&6
23566 cat >conftest.$ac_ext <<_ACEOF
23569 cat confdefs.h >>conftest.$ac_ext
23570 cat >>conftest.$ac_ext <<_ACEOF
23571 /* end confdefs.h. */
23572 #define _FILE_OFFSET_BITS 64
23573 #include <sys/types.h>
23578 unsigned int field: sizeof(off_t) == 8;
23585 rm -f conftest.$ac_objext
23586 if { (ac_try="$ac_compile"
23587 case "(($ac_try" in
23588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23589 *) ac_try_echo=$ac_try;;
23591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23592 (eval "$ac_compile") 2>conftest.er1
23594 grep -v '^
*+' conftest.er1 >conftest.err
23596 cat conftest.err >&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } && {
23599 test -z "$ac_c_werror_flag" ||
23600 test ! -s conftest.err
23601 } && test -s conftest.$ac_objext; then
23602 ac_cv_sys_file_offset_bits=64
23604 echo "$as_me: failed program was:" >&5
23605 sed 's
/^
/| /' conftest.$ac_ext >&5
23607 ac_cv_sys_file_offset_bits=no
23610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23614 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23615 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23617 if test "$ac_cv_sys_file_offset_bits" != no; then
23619 cat >>confdefs.h <<_ACEOF
23620 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23625 if test "x$wx_largefile" != "xyes"; then
23627 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23628 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23629 if test "${ac_cv_sys_large_files+set}" = set; then
23630 echo $ECHO_N "(cached) $ECHO_C" >&6
23633 cat >conftest.$ac_ext <<_ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23639 #define _LARGE_FILES 1
23640 #include <sys/types.h>
23645 unsigned int field: sizeof(off_t) == 8;
23652 rm -f conftest.$ac_objext
23653 if { (ac_try="$ac_compile"
23654 case "(($ac_try" in
23655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23656 *) ac_try_echo=$ac_try;;
23658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23659 (eval "$ac_compile") 2>conftest.er1
23661 grep -v '^
*+' conftest.er1 >conftest.err
23663 cat conftest.err >&5
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); } && {
23666 test -z "$ac_c_werror_flag" ||
23667 test ! -s conftest.err
23668 } && test -s conftest.$ac_objext; then
23669 ac_cv_sys_large_files=1
23671 echo "$as_me: failed program was:" >&5
23672 sed 's
/^
/| /' conftest.$ac_ext >&5
23674 ac_cv_sys_large_files=no
23677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23681 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23682 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23684 if test "$ac_cv_sys_large_files" != no; then
23686 cat >>confdefs.h <<_ACEOF
23687 #define _LARGE_FILES $ac_cv_sys_large_files
23694 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23695 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23696 if test "x$wx_largefile" = "xyes"; then
23697 cat >>confdefs.h <<\_ACEOF
23698 #define HAVE_LARGEFILE_SUPPORT 1
23702 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23703 echo "${ECHO_T}$wx_largefile" >&6; }
23706 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23707 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23708 elif test "$ac_cv_sys_large_files" = 1; then
23709 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23712 if test -n "$LARGEFILE_CPPFLAGS"; then
23713 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23715 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23716 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23717 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23718 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23719 echo $ECHO_N "(cached) $ECHO_C" >&6
23723 ac_cpp='$CXXCPP $CPPFLAGS'
23724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23725 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23728 cat >conftest.$ac_ext <<_ACEOF
23731 cat confdefs.h >>conftest.$ac_ext
23732 cat >>conftest.$ac_ext <<_ACEOF
23733 /* end confdefs.h. */
23739 #ifndef __STDC_EXT__
23747 rm -f conftest.$ac_objext
23748 if { (ac_try="$ac_compile"
23749 case "(($ac_try" in
23750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23751 *) ac_try_echo=$ac_try;;
23753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23754 (eval "$ac_compile") 2>conftest.er1
23756 grep -v '^
*+' conftest.er1 >conftest.err
23758 cat conftest.err >&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); } && {
23761 test -z "$ac_cxx_werror_flag" ||
23762 test ! -s conftest.err
23763 } && test -s conftest.$ac_objext; then
23764 wx_cv_STDC_EXT_required=no
23766 echo "$as_me: failed program was:" >&5
23767 sed 's
/^
/| /' conftest.$ac_ext >&5
23769 wx_cv_STDC_EXT_required=yes
23773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23775 ac_cpp='$CPP $CPPFLAGS'
23776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23777 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23783 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23784 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23785 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23786 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23792 ac_cpp='$CXXCPP $CPPFLAGS'
23793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23794 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23797 old_CPPFLAGS="$CPPFLAGS"
23798 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23799 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23800 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23801 if test "${ac_cv_sys_largefile_source+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23805 cat >conftest.$ac_ext <<_ACEOF
23808 cat confdefs.h >>conftest.$ac_ext
23809 cat >>conftest.$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23811 #include <sys/types.h> /* for off_t */
23816 int (*fp) (FILE *, off_t, int) = fseeko;
23817 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23822 rm -f conftest.$ac_objext conftest$ac_exeext
23823 if { (ac_try="$ac_link"
23824 case "(($ac_try" in
23825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23826 *) ac_try_echo=$ac_try;;
23828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23829 (eval "$ac_link") 2>conftest.er1
23831 grep -v '^
*+' conftest.er1 >conftest.err
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } && {
23836 test -z "$ac_cxx_werror_flag" ||
23837 test ! -s conftest.err
23838 } && test -s conftest$ac_exeext &&
23839 $as_test_x conftest$ac_exeext; then
23840 ac_cv_sys_largefile_source=no; break
23842 echo "$as_me: failed program was:" >&5
23843 sed 's
/^
/| /' conftest.$ac_ext >&5
23848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23849 conftest$ac_exeext conftest.$ac_ext
23850 cat >conftest.$ac_ext <<_ACEOF
23853 cat confdefs.h >>conftest.$ac_ext
23854 cat >>conftest.$ac_ext <<_ACEOF
23855 /* end confdefs.h. */
23856 #define _LARGEFILE_SOURCE 1
23857 #include <sys/types.h> /* for off_t */
23862 int (*fp) (FILE *, off_t, int) = fseeko;
23863 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23868 rm -f conftest.$ac_objext conftest$ac_exeext
23869 if { (ac_try="$ac_link"
23870 case "(($ac_try" in
23871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23872 *) ac_try_echo=$ac_try;;
23874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23875 (eval "$ac_link") 2>conftest.er1
23877 grep -v '^
*+' conftest.er1 >conftest.err
23879 cat conftest.err >&5
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); } && {
23882 test -z "$ac_cxx_werror_flag" ||
23883 test ! -s conftest.err
23884 } && test -s conftest$ac_exeext &&
23885 $as_test_x conftest$ac_exeext; then
23886 ac_cv_sys_largefile_source=1; break
23888 echo "$as_me: failed program was:" >&5
23889 sed 's
/^
/| /' conftest.$ac_ext >&5
23894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23895 conftest$ac_exeext conftest.$ac_ext
23896 ac_cv_sys_largefile_source=unknown
23900 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23901 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23902 case $ac_cv_sys_largefile_source in #(
23905 cat >>confdefs.h <<_ACEOF
23906 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23912 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23913 # in glibc 2.1.3, but that breaks too many other things.
23914 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23915 if test $ac_cv_sys_largefile_source != unknown; then
23917 cat >>confdefs.h <<\_ACEOF
23918 #define HAVE_FSEEKO 1
23923 CPPFLAGS="$old_CPPFLAGS"
23925 ac_cpp='$CPP $CPPFLAGS'
23926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23927 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23930 if test "$ac_cv_sys_largefile_source" != no; then
23931 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23934 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23935 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23936 if test "${ac_cv_c_bigendian+set}" = set; then
23937 echo $ECHO_N "(cached) $ECHO_C" >&6
23939 ac_cv_c_bigendian=unknown
23940 # See if sys/param.h defines the BYTE_ORDER macro.
23941 cat >conftest.$ac_ext <<_ACEOF
23944 cat confdefs.h >>conftest.$ac_ext
23945 cat >>conftest.$ac_ext <<_ACEOF
23946 /* end confdefs.h. */
23947 #include <sys/types.h>
23948 #include <sys/param.h>
23953 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23954 bogus endian macros
23960 rm -f conftest.$ac_objext
23961 if { (ac_try="$ac_compile"
23962 case "(($ac_try" in
23963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23964 *) ac_try_echo=$ac_try;;
23966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23967 (eval "$ac_compile") 2>conftest.er1
23969 grep -v '^
*+' conftest.er1 >conftest.err
23971 cat conftest.err >&5
23972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23973 (exit $ac_status); } && {
23974 test -z "$ac_c_werror_flag" ||
23975 test ! -s conftest.err
23976 } && test -s conftest.$ac_objext; then
23977 # It does; now see whether it defined to BIG_ENDIAN or not.
23978 cat >conftest.$ac_ext <<_ACEOF
23981 cat confdefs.h >>conftest.$ac_ext
23982 cat >>conftest.$ac_ext <<_ACEOF
23983 /* end confdefs.h. */
23984 #include <sys/types.h>
23985 #include <sys/param.h>
23990 #if BYTE_ORDER != BIG_ENDIAN
23997 rm -f conftest.$ac_objext
23998 if { (ac_try="$ac_compile"
23999 case "(($ac_try" in
24000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24001 *) ac_try_echo=$ac_try;;
24003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24004 (eval "$ac_compile") 2>conftest.er1
24006 grep -v '^
*+' conftest.er1 >conftest.err
24008 cat conftest.err >&5
24009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010 (exit $ac_status); } && {
24011 test -z "$ac_c_werror_flag" ||
24012 test ! -s conftest.err
24013 } && test -s conftest.$ac_objext; then
24014 ac_cv_c_bigendian=yes
24016 echo "$as_me: failed program was:" >&5
24017 sed 's
/^
/| /' conftest.$ac_ext >&5
24019 ac_cv_c_bigendian=no
24022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24024 echo "$as_me: failed program was:" >&5
24025 sed 's
/^
/| /' conftest.$ac_ext >&5
24030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24031 if test $ac_cv_c_bigendian = unknown; then
24032 if test "$cross_compiling" = yes; then
24033 ac_cv_c_bigendian=unknown
24035 cat >conftest.$ac_ext <<_ACEOF
24038 cat confdefs.h >>conftest.$ac_ext
24039 cat >>conftest.$ac_ext <<_ACEOF
24040 /* end confdefs.h. */
24042 /* Are we little or big endian? From Harbison&Steele. */
24046 char c[sizeof (long)];
24049 exit (u.c[sizeof (long) - 1] == 1);
24052 rm -f conftest$ac_exeext
24053 if { (ac_try="$ac_link"
24054 case "(($ac_try" in
24055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24056 *) ac_try_echo=$ac_try;;
24058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24059 (eval "$ac_link") 2>&5
24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24063 { (case "(($ac_try" in
24064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24065 *) ac_try_echo=$ac_try;;
24067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24068 (eval "$ac_try") 2>&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); }; }; then
24072 ac_cv_c_bigendian=no
24074 echo "$as_me: program exited with status $ac_status" >&5
24075 echo "$as_me: failed program was:" >&5
24076 sed 's
/^
/| /' conftest.$ac_ext >&5
24078 ( exit $ac_status )
24079 ac_cv_c_bigendian=yes
24081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24087 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24088 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24089 if test $ac_cv_c_bigendian = unknown; then
24090 { 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
24091 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;}
24093 if test $ac_cv_c_bigendian = yes; then
24094 cat >>confdefs.h <<\_ACEOF
24095 #define WORDS_BIGENDIAN 1
24104 ac_cpp='$CXXCPP $CPPFLAGS'
24105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24106 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24111 for ac_header in iostream
24113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24114 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24117 echo $ECHO_N "(cached) $ECHO_C" >&6
24119 cat >conftest.$ac_ext <<_ACEOF
24122 cat confdefs.h >>conftest.$ac_ext
24123 cat >>conftest.$ac_ext <<_ACEOF
24124 /* end confdefs.h. */
24127 #include <$ac_header>
24129 rm -f conftest.$ac_objext
24130 if { (ac_try="$ac_compile"
24131 case "(($ac_try" in
24132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24133 *) ac_try_echo=$ac_try;;
24135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24136 (eval "$ac_compile") 2>conftest.er1
24138 grep -v '^
*+' conftest.er1 >conftest.err
24140 cat conftest.err >&5
24141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142 (exit $ac_status); } && {
24143 test -z "$ac_cxx_werror_flag" ||
24144 test ! -s conftest.err
24145 } && test -s conftest.$ac_objext; then
24146 eval "$as_ac_Header=yes"
24148 echo "$as_me: failed program was:" >&5
24149 sed 's
/^
/| /' conftest.$ac_ext >&5
24151 eval "$as_ac_Header=no"
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24156 ac_res=`eval echo '${'$as_ac_Header'}'`
24157 { echo "$as_me:$LINENO: result: $ac_res" >&5
24158 echo "${ECHO_T}$ac_res" >&6; }
24159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24160 cat >>confdefs.h <<_ACEOF
24161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24169 if test "$ac_cv_header_iostream" = "yes" ; then
24172 cat >>confdefs.h <<\_ACEOF
24173 #define wxUSE_IOSTREAMH 1
24179 ac_cpp='$CPP $CPPFLAGS'
24180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24181 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24187 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24188 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24189 if test "${wx_cv_explicit+set}" = set; then
24190 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 ac_cpp='$CXXCPP $CPPFLAGS'
24196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24197 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24201 cat >conftest.$ac_ext <<_ACEOF
24204 cat confdefs.h >>conftest.$ac_ext
24205 cat >>conftest.$ac_ext <<_ACEOF
24206 /* end confdefs.h. */
24208 class Foo { public: explicit Foo(int) {} };
24220 rm -f conftest.$ac_objext
24221 if { (ac_try="$ac_compile"
24222 case "(($ac_try" in
24223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24224 *) ac_try_echo=$ac_try;;
24226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24227 (eval "$ac_compile") 2>conftest.er1
24229 grep -v '^
*+' conftest.er1 >conftest.err
24231 cat conftest.err >&5
24232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233 (exit $ac_status); } && {
24234 test -z "$ac_cxx_werror_flag" ||
24235 test ! -s conftest.err
24236 } && test -s conftest.$ac_objext; then
24238 cat >conftest.$ac_ext <<_ACEOF
24241 cat confdefs.h >>conftest.$ac_ext
24242 cat >>conftest.$ac_ext <<_ACEOF
24243 /* end confdefs.h. */
24245 class Foo { public: explicit Foo(int) {} };
24246 static void TakeFoo(const Foo& foo) { }
24259 rm -f conftest.$ac_objext
24260 if { (ac_try="$ac_compile"
24261 case "(($ac_try" in
24262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24263 *) ac_try_echo=$ac_try;;
24265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24266 (eval "$ac_compile") 2>conftest.er1
24268 grep -v '^
*+' conftest.er1 >conftest.err
24270 cat conftest.err >&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); } && {
24273 test -z "$ac_cxx_werror_flag" ||
24274 test ! -s conftest.err
24275 } && test -s conftest.$ac_objext; then
24278 echo "$as_me: failed program was:" >&5
24279 sed 's
/^
/| /' conftest.$ac_ext >&5
24285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24288 echo "$as_me: failed program was:" >&5
24289 sed 's
/^
/| /' conftest.$ac_ext >&5
24295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24298 ac_cpp='$CPP $CPPFLAGS'
24299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24300 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24305 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24306 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24308 if test "$wx_cv_explicit" = "yes"; then
24309 cat >>confdefs.h <<\_ACEOF
24310 #define HAVE_EXPLICIT 1
24316 if test "x$SUNCXX" = xyes; then
24317 CXXFLAGS="-features=tmplife $CXXFLAGS"
24320 if test "x$SUNCC" = xyes; then
24321 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24324 if test "x$SGICC" = "xyes"; then
24325 CFLAGS="-woff 3970 $CFLAGS"
24327 if test "x$SGICXX" = "xyes"; then
24328 CXXFLAGS="-woff 3970 $CXXFLAGS"
24331 if test "x$HPCC" = "xyes"; then
24332 CFLAGS="+W 2011,2450 $CFLAGS"
24334 if test "x$HPCXX" = "xyes"; then
24335 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24338 if test "x$COMPAQCXX" = "xyes"; then
24339 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24343 ac_cpp='$CXXCPP $CPPFLAGS'
24344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24345 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24349 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24350 if test "$wxUSE_UNICODE" = "yes"; then
24351 std_string="std::wstring"
24352 char_type="wchar_t"
24354 std_string="std::string"
24358 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24359 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24360 if test "${wx_cv_class_stdstring+set}" = set; then
24361 echo $ECHO_N "(cached) $ECHO_C" >&6
24364 cat >conftest.$ac_ext <<_ACEOF
24367 cat confdefs.h >>conftest.$ac_ext
24368 cat >>conftest.$ac_ext <<_ACEOF
24369 /* end confdefs.h. */
24379 rm -f conftest.$ac_objext
24380 if { (ac_try="$ac_compile"
24381 case "(($ac_try" in
24382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24383 *) ac_try_echo=$ac_try;;
24385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24386 (eval "$ac_compile") 2>conftest.er1
24388 grep -v '^
*+' conftest.er1 >conftest.err
24390 cat conftest.err >&5
24391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392 (exit $ac_status); } && {
24393 test -z "$ac_cxx_werror_flag" ||
24394 test ! -s conftest.err
24395 } && test -s conftest.$ac_objext; then
24396 wx_cv_class_stdstring=yes
24398 echo "$as_me: failed program was:" >&5
24399 sed 's
/^
/| /' conftest.$ac_ext >&5
24401 wx_cv_class_stdstring=no
24405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24409 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24410 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24412 if test "$wx_cv_class_stdstring" = yes; then
24413 if test "$wxUSE_UNICODE" = "yes"; then
24414 cat >>confdefs.h <<\_ACEOF
24415 #define HAVE_STD_WSTRING 1
24420 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24421 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24422 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24423 echo $ECHO_N "(cached) $ECHO_C" >&6
24426 cat >conftest.$ac_ext <<_ACEOF
24429 cat confdefs.h >>conftest.$ac_ext
24430 cat >>conftest.$ac_ext <<_ACEOF
24431 /* end confdefs.h. */
24433 #ifdef HAVE_WCHAR_H
24435 # include <stddef.h>
24437 # include <wchar.h>
24439 #ifdef HAVE_STDLIB_H
24440 # include <stdlib.h>
24448 std::basic_string<$char_type> foo;
24449 const $char_type* dummy = foo.c_str();
24454 rm -f conftest.$ac_objext
24455 if { (ac_try="$ac_compile"
24456 case "(($ac_try" in
24457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24458 *) ac_try_echo=$ac_try;;
24460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24461 (eval "$ac_compile") 2>conftest.er1
24463 grep -v '^
*+' conftest.er1 >conftest.err
24465 cat conftest.err >&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); } && {
24468 test -z "$ac_cxx_werror_flag" ||
24469 test ! -s conftest.err
24470 } && test -s conftest.$ac_objext; then
24471 wx_cv_class_stdbasicstring=yes
24473 echo "$as_me: failed program was:" >&5
24474 sed 's
/^
/| /' conftest.$ac_ext >&5
24476 wx_cv_class_stdbasicstring=no
24480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24484 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24485 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24487 if test "$wx_cv_class_stdbasicstring" != yes; then
24488 if test "$wxUSE_STL" = "yes"; then
24489 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24490 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24491 { (exit 1); exit 1; }; }
24492 elif test "$wxUSE_STD_STRING" = "yes"; then
24493 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24494 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24495 { (exit 1); exit 1; }; }
24497 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24498 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24499 wxUSE_STD_STRING=no
24505 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24506 { echo "$as_me:$LINENO: checking for std::istream" >&5
24507 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24508 if test "${ac_cv_type_std__istream+set}" = set; then
24509 echo $ECHO_N "(cached) $ECHO_C" >&6
24511 cat >conftest.$ac_ext <<_ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 #include <iostream>
24519 typedef std::istream ac__type_new_;
24523 if ((ac__type_new_ *) 0)
24525 if (sizeof (ac__type_new_))
24531 rm -f conftest.$ac_objext
24532 if { (ac_try="$ac_compile"
24533 case "(($ac_try" in
24534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24535 *) ac_try_echo=$ac_try;;
24537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24538 (eval "$ac_compile") 2>conftest.er1
24540 grep -v '^
*+' conftest.er1 >conftest.err
24542 cat conftest.err >&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } && {
24545 test -z "$ac_cxx_werror_flag" ||
24546 test ! -s conftest.err
24547 } && test -s conftest.$ac_objext; then
24548 ac_cv_type_std__istream=yes
24550 echo "$as_me: failed program was:" >&5
24551 sed 's
/^
/| /' conftest.$ac_ext >&5
24553 ac_cv_type_std__istream=no
24556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24558 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24559 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24560 if test $ac_cv_type_std__istream = yes; then
24562 cat >>confdefs.h <<_ACEOF
24563 #define HAVE_STD__ISTREAM 1
24568 wxUSE_STD_IOSTREAM=no
24570 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24571 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24572 if test "${ac_cv_type_std__ostream+set}" = set; then
24573 echo $ECHO_N "(cached) $ECHO_C" >&6
24575 cat >conftest.$ac_ext <<_ACEOF
24578 cat confdefs.h >>conftest.$ac_ext
24579 cat >>conftest.$ac_ext <<_ACEOF
24580 /* end confdefs.h. */
24581 #include <iostream>
24583 typedef std::ostream ac__type_new_;
24587 if ((ac__type_new_ *) 0)
24589 if (sizeof (ac__type_new_))
24595 rm -f conftest.$ac_objext
24596 if { (ac_try="$ac_compile"
24597 case "(($ac_try" in
24598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24599 *) ac_try_echo=$ac_try;;
24601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24602 (eval "$ac_compile") 2>conftest.er1
24604 grep -v '^
*+' conftest.er1 >conftest.err
24606 cat conftest.err >&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } && {
24609 test -z "$ac_cxx_werror_flag" ||
24610 test ! -s conftest.err
24611 } && test -s conftest.$ac_objext; then
24612 ac_cv_type_std__ostream=yes
24614 echo "$as_me: failed program was:" >&5
24615 sed 's
/^
/| /' conftest.$ac_ext >&5
24617 ac_cv_type_std__ostream=no
24620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24622 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24623 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24624 if test $ac_cv_type_std__ostream = yes; then
24626 cat >>confdefs.h <<_ACEOF
24627 #define HAVE_STD__OSTREAM 1
24632 wxUSE_STD_IOSTREAM=no
24636 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24637 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24638 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24639 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24640 { (exit 1); exit 1; }; }
24642 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24643 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24648 if test "$wxUSE_STL" = "yes"; then
24649 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24650 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24651 if test "${wx_cv_lib_stl+set}" = set; then
24652 echo $ECHO_N "(cached) $ECHO_C" >&6
24654 cat >conftest.$ac_ext <<_ACEOF
24657 cat confdefs.h >>conftest.$ac_ext
24658 cat >>conftest.$ac_ext <<_ACEOF
24659 /* end confdefs.h. */
24661 #include <functional>
24662 #include <algorithm>
24668 std::vector<int> moo;
24669 std::list<int> foo;
24670 std::vector<int>::iterator it =
24671 std::find_if(moo.begin(), moo.end(),
24672 std::bind2nd(std::less<int>(), 3));
24677 rm -f conftest.$ac_objext
24678 if { (ac_try="$ac_compile"
24679 case "(($ac_try" in
24680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24681 *) ac_try_echo=$ac_try;;
24683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24684 (eval "$ac_compile") 2>conftest.er1
24686 grep -v '^
*+' conftest.er1 >conftest.err
24688 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } && {
24691 test -z "$ac_cxx_werror_flag" ||
24692 test ! -s conftest.err
24693 } && test -s conftest.$ac_objext; then
24696 echo "$as_me: failed program was:" >&5
24697 sed 's
/^
/| /' conftest.$ac_ext >&5
24703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24706 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24707 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24709 if test "$wx_cv_lib_stl" != yes; then
24710 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24711 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24712 { (exit 1); exit 1; }; }
24715 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24716 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24717 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24718 echo $ECHO_N "(cached) $ECHO_C" >&6
24720 cat >conftest.$ac_ext <<_ACEOF
24723 cat confdefs.h >>conftest.$ac_ext
24724 cat >>conftest.$ac_ext <<_ACEOF
24725 /* end confdefs.h. */
24730 std::string foo, bar;
24732 foo.compare(1, 1, bar);
24733 foo.compare(1, 1, bar, 1, 1);
24735 foo.compare(1, 1, "");
24736 foo.compare(1, 1, "", 2);
24741 rm -f conftest.$ac_objext
24742 if { (ac_try="$ac_compile"
24743 case "(($ac_try" in
24744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24745 *) ac_try_echo=$ac_try;;
24747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24748 (eval "$ac_compile") 2>conftest.er1
24750 grep -v '^
*+' conftest.er1 >conftest.err
24752 cat conftest.err >&5
24753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754 (exit $ac_status); } && {
24755 test -z "$ac_cxx_werror_flag" ||
24756 test ! -s conftest.err
24757 } && test -s conftest.$ac_objext; then
24758 wx_cv_func_stdstring_compare=yes
24760 echo "$as_me: failed program was:" >&5
24761 sed 's
/^
/| /' conftest.$ac_ext >&5
24763 wx_cv_func_stdstring_compare=no
24767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24770 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24771 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24773 if test "$wx_cv_func_stdstring_compare" = yes; then
24774 cat >>confdefs.h <<\_ACEOF
24775 #define HAVE_STD_STRING_COMPARE 1
24780 if test "$wx_cv_class_gnuhashmapset" = yes; then
24781 cat >>confdefs.h <<\_ACEOF
24782 #define HAVE_EXT_HASH_MAP 1
24785 cat >>confdefs.h <<\_ACEOF
24786 #define HAVE_GNU_CXX_HASH_MAP 1
24791 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24792 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24793 if test "${ac_cv_header_unordered_map+set}" = set; then
24794 echo $ECHO_N "(cached) $ECHO_C" >&6
24796 cat >conftest.$ac_ext <<_ACEOF
24799 cat confdefs.h >>conftest.$ac_ext
24800 cat >>conftest.$ac_ext <<_ACEOF
24801 /* end confdefs.h. */
24805 #include <unordered_map>
24807 rm -f conftest.$ac_objext
24808 if { (ac_try="$ac_compile"
24809 case "(($ac_try" in
24810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24811 *) ac_try_echo=$ac_try;;
24813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24814 (eval "$ac_compile") 2>conftest.er1
24816 grep -v '^
*+' conftest.er1 >conftest.err
24818 cat conftest.err >&5
24819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820 (exit $ac_status); } && {
24821 test -z "$ac_cxx_werror_flag" ||
24822 test ! -s conftest.err
24823 } && test -s conftest.$ac_objext; then
24824 ac_cv_header_unordered_map=yes
24826 echo "$as_me: failed program was:" >&5
24827 sed 's
/^
/| /' conftest.$ac_ext >&5
24829 ac_cv_header_unordered_map=no
24832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24834 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24835 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24836 if test $ac_cv_header_unordered_map = yes; then
24837 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24838 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24839 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24842 cat >conftest.$ac_ext <<_ACEOF
24845 cat confdefs.h >>conftest.$ac_ext
24846 cat >>conftest.$ac_ext <<_ACEOF
24847 /* end confdefs.h. */
24848 #include <unordered_map>
24849 #include <unordered_set>
24853 std::unordered_map<double*, char*> test1;
24854 std::unordered_set<char*> test2;
24859 rm -f conftest.$ac_objext
24860 if { (ac_try="$ac_compile"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_compile") 2>conftest.er1
24868 grep -v '^
*+' conftest.er1 >conftest.err
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } && {
24873 test -z "$ac_cxx_werror_flag" ||
24874 test ! -s conftest.err
24875 } && test -s conftest.$ac_objext; then
24876 wx_cv_class_stdunorderedmapset=yes
24878 echo "$as_me: failed program was:" >&5
24879 sed 's
/^
/| /' conftest.$ac_ext >&5
24881 wx_cv_class_stdunorderedmapset=no
24884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24888 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24889 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24894 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24895 cat >>confdefs.h <<\_ACEOF
24896 #define HAVE_STD_UNORDERED_MAP 1
24899 cat >>confdefs.h <<\_ACEOF
24900 #define HAVE_STD_UNORDERED_SET 1
24904 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24905 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24906 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24907 echo $ECHO_N "(cached) $ECHO_C" >&6
24909 cat >conftest.$ac_ext <<_ACEOF
24912 cat confdefs.h >>conftest.$ac_ext
24913 cat >>conftest.$ac_ext <<_ACEOF
24914 /* end confdefs.h. */
24918 #include <tr1/unordered_map>
24920 rm -f conftest.$ac_objext
24921 if { (ac_try="$ac_compile"
24922 case "(($ac_try" in
24923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24924 *) ac_try_echo=$ac_try;;
24926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24927 (eval "$ac_compile") 2>conftest.er1
24929 grep -v '^
*+' conftest.er1 >conftest.err
24931 cat conftest.err >&5
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); } && {
24934 test -z "$ac_cxx_werror_flag" ||
24935 test ! -s conftest.err
24936 } && test -s conftest.$ac_objext; then
24937 ac_cv_header_tr1_unordered_map=yes
24939 echo "$as_me: failed program was:" >&5
24940 sed 's
/^
/| /' conftest.$ac_ext >&5
24942 ac_cv_header_tr1_unordered_map=no
24945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24947 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24948 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24949 if test $ac_cv_header_tr1_unordered_map = yes; then
24950 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24951 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24952 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24955 cat >conftest.$ac_ext <<_ACEOF
24958 cat confdefs.h >>conftest.$ac_ext
24959 cat >>conftest.$ac_ext <<_ACEOF
24960 /* end confdefs.h. */
24961 #include <tr1/unordered_map>
24962 #include <tr1/unordered_set>
24966 std::tr1::unordered_map<double*, char*> test1;
24967 std::tr1::unordered_set<char*> test2;
24968 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24969 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
24975 rm -f conftest.
$ac_objext
24976 if { (ac_try
="$ac_compile"
24977 case "(($ac_try" in
24978 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24979 *) ac_try_echo=$ac_try;;
24981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24982 (eval "$ac_compile") 2>conftest.er1
24984 grep -v '^ *+' conftest.er1 >conftest.err
24986 cat conftest.err >&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); } && {
24989 test -z "$ac_cxx_werror_flag" ||
24990 test ! -s conftest.err
24991 } && test -s conftest.$ac_objext; then
24992 wx_cv_class_tr1unorderedmapset=yes
24994 echo "$as_me: failed program was:" >&5
24995 sed 's/^/| /' conftest.$ac_ext >&5
24997 wx_cv_class_tr1unorderedmapset=no
25000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25004 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25005 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25010 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25011 cat >>confdefs.h <<\_ACEOF
25012 #define HAVE_TR1_UNORDERED_MAP 1
25015 cat >>confdefs.h <<\_ACEOF
25016 #define HAVE_TR1_UNORDERED_SET 1
25020 { echo "$as_me:$LINENO: checking for hash_map" >&5
25021 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25022 if test "${ac_cv_header_hash_map+set}" = set; then
25023 echo $ECHO_N "(cached) $ECHO_C" >&6
25025 cat >conftest.$ac_ext <<_ACEOF
25028 cat confdefs.h >>conftest.$ac_ext
25029 cat >>conftest.$ac_ext <<_ACEOF
25030 /* end confdefs.h. */
25034 #include <hash_map>
25036 rm -f conftest.$ac_objext
25037 if { (ac_try="$ac_compile"
25038 case "(($ac_try" in
25039 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25040 *) ac_try_echo
=$ac_try;;
25042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25043 (eval "$ac_compile") 2>conftest.er1
25045 grep -v '^ *+' conftest.er1
>conftest.err
25047 cat conftest.err
>&5
25048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049 (exit $ac_status); } && {
25050 test -z "$ac_cxx_werror_flag" ||
25051 test ! -s conftest.err
25052 } && test -s conftest.
$ac_objext; then
25053 ac_cv_header_hash_map
=yes
25055 echo "$as_me: failed program was:" >&5
25056 sed 's/^/| /' conftest.
$ac_ext >&5
25058 ac_cv_header_hash_map
=no
25061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25063 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25064 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25065 if test $ac_cv_header_hash_map = yes; then
25066 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25067 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25068 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25069 echo $ECHO_N "(cached) $ECHO_C" >&6
25071 cat >conftest.
$ac_ext <<_ACEOF
25074 cat confdefs.h
>>conftest.
$ac_ext
25075 cat >>conftest.
$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25077 #include <hash_map>
25078 #include <hash_set>
25082 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25083 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25088 rm -f conftest.
$ac_objext
25089 if { (ac_try
="$ac_compile"
25090 case "(($ac_try" in
25091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25092 *) ac_try_echo=$ac_try;;
25094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25095 (eval "$ac_compile") 2>conftest.er1
25097 grep -v '^ *+' conftest.er1 >conftest.err
25099 cat conftest.err >&5
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); } && {
25102 test -z "$ac_cxx_werror_flag" ||
25103 test ! -s conftest.err
25104 } && test -s conftest.$ac_objext; then
25105 wx_cv_class_stdhashmapset=yes
25107 echo "$as_me: failed program was:" >&5
25108 sed 's/^/| /' conftest.$ac_ext >&5
25110 wx_cv_class_stdhashmapset=no
25113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25117 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25118 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25123 if test "$wx_cv_class_stdhashmapset" = yes; then
25124 cat >>confdefs.h <<\_ACEOF
25125 #define HAVE_HASH_MAP 1
25128 cat >>confdefs.h <<\_ACEOF
25129 #define HAVE_STD_HASH_MAP 1
25134 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25135 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25136 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25137 echo $ECHO_N "(cached) $ECHO_C" >&6
25139 cat >conftest.$ac_ext <<_ACEOF
25142 cat confdefs.h >>conftest.$ac_ext
25143 cat >>conftest.$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25148 #include <ext/hash_map>
25150 rm -f conftest.$ac_objext
25151 if { (ac_try="$ac_compile"
25152 case "(($ac_try" in
25153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25154 *) ac_try_echo
=$ac_try;;
25156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25157 (eval "$ac_compile") 2>conftest.er1
25159 grep -v '^ *+' conftest.er1
>conftest.err
25161 cat conftest.err
>&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); } && {
25164 test -z "$ac_cxx_werror_flag" ||
25165 test ! -s conftest.err
25166 } && test -s conftest.
$ac_objext; then
25167 ac_cv_header_ext_hash_map
=yes
25169 echo "$as_me: failed program was:" >&5
25170 sed 's/^/| /' conftest.
$ac_ext >&5
25172 ac_cv_header_ext_hash_map
=no
25175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25177 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25178 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25179 if test $ac_cv_header_ext_hash_map = yes; then
25180 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25181 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25182 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25185 cat >conftest.
$ac_ext <<_ACEOF
25188 cat confdefs.h
>>conftest.
$ac_ext
25189 cat >>conftest.
$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191 #include <ext/hash_map>
25192 #include <ext/hash_set>
25196 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25197 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25202 rm -f conftest.
$ac_objext
25203 if { (ac_try
="$ac_compile"
25204 case "(($ac_try" in
25205 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25206 *) ac_try_echo=$ac_try;;
25208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25209 (eval "$ac_compile") 2>conftest.er1
25211 grep -v '^ *+' conftest.er1 >conftest.err
25213 cat conftest.err >&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); } && {
25216 test -z "$ac_cxx_werror_flag" ||
25217 test ! -s conftest.err
25218 } && test -s conftest.$ac_objext; then
25219 wx_cv_class_gnuhashmapset=yes
25221 echo "$as_me: failed program was:" >&5
25222 sed 's/^/| /' conftest.$ac_ext >&5
25224 wx_cv_class_gnuhashmapset=no
25227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25231 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25232 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25243 if test -n "$GCC"; then
25244 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25245 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25246 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25247 echo $ECHO_N "(cached) $ECHO_C" >&6
25250 cat >conftest.$ac_ext <<_ACEOF
25253 cat confdefs.h >>conftest.$ac_ext
25254 cat >>conftest.$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25261 unsigned int value=0;
25262 /* wxAtomicInc doesn't use return value here */
25263 __sync_fetch_and_add(&value, 2);
25264 __sync_sub_and_fetch(&value, 1);
25265 /* but wxAtomicDec does, so mimic that: */
25266 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25272 rm -f conftest.$ac_objext conftest$ac_exeext
25273 if { (ac_try="$ac_link"
25274 case "(($ac_try" in
25275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25276 *) ac_try_echo
=$ac_try;;
25278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25279 (eval "$ac_link") 2>conftest.er1
25281 grep -v '^ *+' conftest.er1
>conftest.err
25283 cat conftest.err
>&5
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); } && {
25286 test -z "$ac_cxx_werror_flag" ||
25287 test ! -s conftest.err
25288 } && test -s conftest
$ac_exeext &&
25289 $as_test_x conftest
$ac_exeext; then
25290 wx_cv_cc_gcc_atomic_builtins
=yes
25292 echo "$as_me: failed program was:" >&5
25293 sed 's/^/| /' conftest.
$ac_ext >&5
25295 wx_cv_cc_gcc_atomic_builtins
=no
25298 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25299 conftest
$ac_exeext conftest.
$ac_ext
25303 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25304 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25305 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25306 cat >>confdefs.h
<<\_ACEOF
25307 #define HAVE_GCC_ATOMIC_BUILTINS 1
25315 ac_cpp
='$CPP $CPPFLAGS'
25316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25323 /usr/local/include \
25324 /usr/local/X11/include \
25325 /usr/local/include/X11 \
25326 /usr/local/X11R6/include \
25327 /usr/local/include/X11R6 \
25329 /usr/Motif-2.1/include \
25330 /usr/Motif-1.2/include \
25331 /usr/include/Motif1.2 \
25334 /usr/openwin/include \
25338 /usr/X11R6/include \
25339 /usr/X11R6.4/include \
25341 /usr/include/X11R6 \
25346 /usr/XFree86/include/X11 \
25349 /usr/local/X1R5/include \
25350 /usr/local/include/X11R5 \
25351 /usr/X11R5/include \
25352 /usr/include/X11R5 \
25354 /usr/local/X11R4/include \
25355 /usr/local/include/X11R4 \
25356 /usr/X11R4/include \
25357 /usr/include/X11R4 \
25359 /usr/openwin/share/include"
25361 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25362 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25366 if test "${wx_cv_std_libpath+set}" = set; then
25367 echo $ECHO_N "(cached) $ECHO_C" >&6
25370 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25371 for e
in a so sl dylib dll.a
; do
25373 if test -f $libc; then
25376 cat >conftest.
$ac_ext <<_ACEOF
25377 int main() { return 0; }
25379 rm -f conftest.
$ac_objext conftest
$ac_exeext
25380 if { (ac_try
="$ac_link"
25381 case "(($ac_try" in
25382 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25383 *) ac_try_echo=$ac_try;;
25385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25386 (eval "$ac_link") 2>conftest.er1
25388 grep -v '^ *+' conftest.er1 >conftest.err
25390 cat conftest.err >&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } && {
25393 test -z "$ac_c_werror_flag" ||
25394 test ! -s conftest.err
25395 } && test -s conftest$ac_exeext &&
25396 $as_test_x conftest$ac_exeext; then
25397 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25399 echo "$as_me: failed program was:" >&5
25400 sed 's/^/| /' conftest.$ac_ext >&5
25405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25406 conftest$ac_exeext conftest.$ac_ext
25408 if test "x$wx_cv_std_libpath" != "x"; then
25414 if test "x$wx_cv_std_libpath" = "x"; then
25415 wx_cv_std_libpath="lib"
25424 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25425 wx_cv_std_libpath="lib/64"
25427 wx_cv_std_libpath="lib"
25432 if test "$ac_cv_sizeof_void_p" = 8 -a \
25433 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25434 wx_cv_std_libpath="lib64"
25436 wx_cv_std_libpath="lib"
25441 wx_cv_std_libpath="lib";
25445 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25446 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25448 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25450 if test "$build" != "$host" -a "$GCC" = yes; then
25451 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25452 cross_root=`dirname $cross_root`
25453 cross_root=`dirname $cross_root`
25455 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25456 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25457 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25459 if test -z "$PKG_CONFIG_PATH"; then
25460 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25461 export PKG_CONFIG_PATH
25464 if test -z "$x_includes" -o "$x_includes" = NONE; then
25467 for ac_dir in $SEARCH_INCLUDE /usr/include;
25469 if test -f "$ac_dir/X11/Intrinsic.h"; then
25470 ac_find_includes=$ac_dir
25475 x_includes=$ac_find_includes
25477 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25480 for ac_dir in $SEARCH_LIB;
25482 for ac_extension in a so sl dylib dll.a; do
25483 if test -f "$ac_dir/libXt.$ac_extension"; then
25484 ac_find_libraries=$ac_dir
25490 x_libraries=$ac_find_libraries
25496 cat >confcache <<\_ACEOF
25497 # This file is a shell script that caches the results of configure
25498 # tests run on this system so they can be shared between configure
25499 # scripts and configure runs, see configure's option --config-cache.
25500 # It is not useful on other systems. If it contains results you don't
25501 # want to keep, you may remove or edit it.
25503 # config.status only pays attention to the cache file if you give it
25504 # the --recheck option to rerun configure.
25506 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25507 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25508 # following values.
25512 # The following way of writing the cache mishandles newlines in values,
25513 # but we know of no workaround that is simple, portable, and efficient.
25514 # So, we kill variables containing newlines.
25515 # Ultrix sh set writes to stderr and can't be redirected directly,
25516 # and sets the high bit in the cache file unless we assign to the vars.
25518 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25519 eval ac_val
=\$
$ac_var
25523 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25524 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25527 _
| IFS
| as_nl
) ;; #(
25528 *) $as_unset $ac_var ;;
25534 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25535 *${as_nl}ac_space
=\
*)
25536 # `set' does not quote correctly, so add quotes (double-quote
25537 # substitution turns \\\\ into \\, and sed turns \\ into \).
25540 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25543 # `set' quotes correctly as required by POSIX, so do not add quotes.
25544 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25553 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25555 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25557 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25558 if test -w "$cache_file"; then
25559 test "x$cache_file" != "x/dev/null" &&
25560 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25561 echo "$as_me: updating cache $cache_file" >&6;}
25562 cat confcache
>$cache_file
25564 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25565 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25570 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25571 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25572 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25573 if test "${wx_cv_lib_glibc21+set}" = set; then
25574 echo $ECHO_N "(cached) $ECHO_C" >&6
25577 cat >conftest.
$ac_ext <<_ACEOF
25580 cat confdefs.h
>>conftest.
$ac_ext
25581 cat >>conftest.
$ac_ext <<_ACEOF
25582 /* end confdefs.h. */
25583 #include <features.h>
25588 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25596 rm -f conftest.
$ac_objext
25597 if { (ac_try
="$ac_compile"
25598 case "(($ac_try" in
25599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25600 *) ac_try_echo=$ac_try;;
25602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25603 (eval "$ac_compile") 2>conftest.er1
25605 grep -v '^ *+' conftest.er1 >conftest.err
25607 cat conftest.err >&5
25608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609 (exit $ac_status); } && {
25610 test -z "$ac_c_werror_flag" ||
25611 test ! -s conftest.err
25612 } && test -s conftest.$ac_objext; then
25614 wx_cv_lib_glibc21=yes
25617 echo "$as_me: failed program was:" >&5
25618 sed 's/^/| /' conftest.$ac_ext >&5
25621 wx_cv_lib_glibc21=no
25626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25629 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25630 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25631 if test "$wx_cv_lib_glibc21" = "yes"; then
25632 cat >>confdefs.h <<\_ACEOF
25633 #define wxHAVE_GLIBC2 1
25639 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25640 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25641 cat >>confdefs.h <<\_ACEOF
25642 #define _GNU_SOURCE 1
25653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25657 echo $ECHO_N "(cached) $ECHO_C" >&6
25659 cat >conftest.$ac_ext <<_ACEOF
25662 cat confdefs.h >>conftest.$ac_ext
25663 cat >>conftest.$ac_ext <<_ACEOF
25664 /* end confdefs.h. */
25665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25667 #define $ac_func innocuous_$ac_func
25669 /* System header to define __stub macros and hopefully few prototypes,
25670 which can conflict with char $ac_func (); below.
25671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25672 <limits.h> exists even on freestanding compilers. */
25675 # include <limits.h>
25677 # include <assert.h>
25682 /* Override any GCC internal prototype to avoid an error.
25683 Use char because int might match the return type of a GCC
25684 builtin and then its argument prototype would still apply. */
25689 /* The GNU C library defines this for functions which it implements
25690 to always fail with ENOSYS. Some functions are actually named
25691 something starting with __ and the normal name is an alias. */
25692 #if defined __stub_$ac_func || defined __stub___$ac_func
25699 return $ac_func ();
25704 rm -f conftest.$ac_objext conftest$ac_exeext
25705 if { (ac_try="$ac_link"
25706 case "(($ac_try" in
25707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25708 *) ac_try_echo
=$ac_try;;
25710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25711 (eval "$ac_link") 2>conftest.er1
25713 grep -v '^ *+' conftest.er1
>conftest.err
25715 cat conftest.err
>&5
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); } && {
25718 test -z "$ac_c_werror_flag" ||
25719 test ! -s conftest.err
25720 } && test -s conftest
$ac_exeext &&
25721 $as_test_x conftest
$ac_exeext; then
25722 eval "$as_ac_var=yes"
25724 echo "$as_me: failed program was:" >&5
25725 sed 's/^/| /' conftest.
$ac_ext >&5
25727 eval "$as_ac_var=no"
25730 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25731 conftest
$ac_exeext conftest.
$ac_ext
25733 ac_res
=`eval echo '${'$as_ac_var'}'`
25734 { echo "$as_me:$LINENO: result: $ac_res" >&5
25735 echo "${ECHO_T}$ac_res" >&6; }
25736 if test `eval echo '${'$as_ac_var'}'` = yes; then
25737 cat >>confdefs.h
<<_ACEOF
25738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25745 for ac_func
in floor
25747 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25750 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25751 echo $ECHO_N "(cached) $ECHO_C" >&6
25753 cat >conftest.
$ac_ext <<_ACEOF
25756 cat confdefs.h
>>conftest.
$ac_ext
25757 cat >>conftest.
$ac_ext <<_ACEOF
25758 /* end confdefs.h. */
25759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25761 #define $ac_func innocuous_$ac_func
25763 /* System header to define __stub macros and hopefully few prototypes,
25764 which can conflict with char $ac_func (); below.
25765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25766 <limits.h> exists even on freestanding compilers. */
25769 # include <limits.h>
25771 # include <assert.h>
25776 /* Override any GCC internal prototype to avoid an error.
25777 Use char because int might match the return type of a GCC
25778 builtin and then its argument prototype would still apply. */
25783 /* The GNU C library defines this for functions which it implements
25784 to always fail with ENOSYS. Some functions are actually named
25785 something starting with __ and the normal name is an alias. */
25786 #if defined __stub_$ac_func || defined __stub___$ac_func
25793 return $ac_func ();
25798 rm -f conftest.
$ac_objext conftest
$ac_exeext
25799 if { (ac_try
="$ac_link"
25800 case "(($ac_try" in
25801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25802 *) ac_try_echo=$ac_try;;
25804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25805 (eval "$ac_link") 2>conftest.er1
25807 grep -v '^ *+' conftest.er1 >conftest.err
25809 cat conftest.err >&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); } && {
25812 test -z "$ac_c_werror_flag" ||
25813 test ! -s conftest.err
25814 } && test -s conftest$ac_exeext &&
25815 $as_test_x conftest$ac_exeext; then
25816 eval "$as_ac_var=yes"
25818 echo "$as_me: failed program was:" >&5
25819 sed 's/^/| /' conftest.$ac_ext >&5
25821 eval "$as_ac_var=no"
25824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25825 conftest$ac_exeext conftest.$ac_ext
25827 ac_res=`eval echo '${'$as_ac_var'}'`
25828 { echo "$as_me:$LINENO: result: $ac_res" >&5
25829 echo "${ECHO_T}$ac_res" >&6; }
25830 if test `eval echo '${'$as_ac_var'}'` = yes; then
25831 cat >>confdefs.h <<_ACEOF
25832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25838 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25839 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25840 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25841 { echo "$as_me:$LINENO: result: yes" >&5
25842 echo "${ECHO_T}yes" >&6; }
25844 { echo "$as_me:$LINENO: result: no" >&5
25845 echo "${ECHO_T}no" >&6; }
25847 # use different functions to avoid configure caching
25853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25854 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25856 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25857 echo $ECHO_N "(cached) $ECHO_C" >&6
25859 cat >conftest.$ac_ext <<_ACEOF
25862 cat confdefs.h >>conftest.$ac_ext
25863 cat >>conftest.$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25867 #define $ac_func innocuous_$ac_func
25869 /* System header to define __stub macros and hopefully few prototypes,
25870 which can conflict with char $ac_func (); below.
25871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25872 <limits.h> exists even on freestanding compilers. */
25875 # include <limits.h>
25877 # include <assert.h>
25882 /* Override any GCC internal prototype to avoid an error.
25883 Use char because int might match the return type of a GCC
25884 builtin and then its argument prototype would still apply. */
25889 /* The GNU C library defines this for functions which it implements
25890 to always fail with ENOSYS. Some functions are actually named
25891 something starting with __ and the normal name is an alias. */
25892 #if defined __stub_$ac_func || defined __stub___$ac_func
25899 return $ac_func ();
25904 rm -f conftest.$ac_objext conftest$ac_exeext
25905 if { (ac_try="$ac_link"
25906 case "(($ac_try" in
25907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25908 *) ac_try_echo
=$ac_try;;
25910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25911 (eval "$ac_link") 2>conftest.er1
25913 grep -v '^ *+' conftest.er1
>conftest.err
25915 cat conftest.err
>&5
25916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917 (exit $ac_status); } && {
25918 test -z "$ac_c_werror_flag" ||
25919 test ! -s conftest.err
25920 } && test -s conftest
$ac_exeext &&
25921 $as_test_x conftest
$ac_exeext; then
25922 eval "$as_ac_var=yes"
25924 echo "$as_me: failed program was:" >&5
25925 sed 's/^/| /' conftest.
$ac_ext >&5
25927 eval "$as_ac_var=no"
25930 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25931 conftest
$ac_exeext conftest.
$ac_ext
25933 ac_res
=`eval echo '${'$as_ac_var'}'`
25934 { echo "$as_me:$LINENO: result: $ac_res" >&5
25935 echo "${ECHO_T}$ac_res" >&6; }
25936 if test `eval echo '${'$as_ac_var'}'` = yes; then
25937 cat >>confdefs.h
<<_ACEOF
25938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25945 for ac_func
in ceil
25947 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25948 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25950 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25951 echo $ECHO_N "(cached) $ECHO_C" >&6
25953 cat >conftest.
$ac_ext <<_ACEOF
25956 cat confdefs.h
>>conftest.
$ac_ext
25957 cat >>conftest.
$ac_ext <<_ACEOF
25958 /* end confdefs.h. */
25959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25961 #define $ac_func innocuous_$ac_func
25963 /* System header to define __stub macros and hopefully few prototypes,
25964 which can conflict with char $ac_func (); below.
25965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25966 <limits.h> exists even on freestanding compilers. */
25969 # include <limits.h>
25971 # include <assert.h>
25976 /* Override any GCC internal prototype to avoid an error.
25977 Use char because int might match the return type of a GCC
25978 builtin and then its argument prototype would still apply. */
25983 /* The GNU C library defines this for functions which it implements
25984 to always fail with ENOSYS. Some functions are actually named
25985 something starting with __ and the normal name is an alias. */
25986 #if defined __stub_$ac_func || defined __stub___$ac_func
25993 return $ac_func ();
25998 rm -f conftest.
$ac_objext conftest
$ac_exeext
25999 if { (ac_try
="$ac_link"
26000 case "(($ac_try" in
26001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26002 *) ac_try_echo=$ac_try;;
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_link") 2>conftest.er1
26007 grep -v '^ *+' conftest.er1 >conftest.err
26009 cat conftest.err >&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } && {
26012 test -z "$ac_c_werror_flag" ||
26013 test ! -s conftest.err
26014 } && test -s conftest$ac_exeext &&
26015 $as_test_x conftest$ac_exeext; then
26016 eval "$as_ac_var=yes"
26018 echo "$as_me: failed program was:" >&5
26019 sed 's/^/| /' conftest.$ac_ext >&5
26021 eval "$as_ac_var=no"
26024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26025 conftest$ac_exeext conftest.$ac_ext
26027 ac_res=`eval echo '${'$as_ac_var'}'`
26028 { echo "$as_me:$LINENO: result: $ac_res" >&5
26029 echo "${ECHO_T}$ac_res" >&6; }
26030 if test `eval echo '${'$as_ac_var'}'` = yes; then
26031 cat >>confdefs.h <<_ACEOF
26032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26038 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26039 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26040 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26041 { echo "$as_me:$LINENO: result: yes" >&5
26042 echo "${ECHO_T}yes" >&6; }
26044 { echo "$as_me:$LINENO: result: no" >&5
26045 echo "${ECHO_T}no" >&6; }
26046 # not sure we should warn the user, crash, etc.
26051 ac_cpp='$CXXCPP $CPPFLAGS'
26052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26056 if test "wxUSE_UNICODE" = "yes"; then
26058 for wx_func in wcstoull
26060 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26061 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26062 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 cat >conftest.$ac_ext <<_ACEOF
26070 cat confdefs.h >>conftest.$ac_ext
26071 cat >>conftest.$ac_ext <<_ACEOF
26072 /* end confdefs.h. */
26075 $ac_includes_default
26091 rm -f conftest.$ac_objext conftest$ac_exeext
26092 if { (ac_try="$ac_link"
26093 case "(($ac_try" in
26094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26095 *) ac_try_echo
=$ac_try;;
26097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26098 (eval "$ac_link") 2>conftest.er1
26100 grep -v '^ *+' conftest.er1
>conftest.err
26102 cat conftest.err
>&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); } && {
26105 test -z "$ac_cxx_werror_flag" ||
26106 test ! -s conftest.err
26107 } && test -s conftest
$ac_exeext &&
26108 $as_test_x conftest
$ac_exeext; then
26109 eval wx_cv_func_
$wx_func=yes
26111 echo "$as_me: failed program was:" >&5
26112 sed 's/^/| /' conftest.
$ac_ext >&5
26114 eval wx_cv_func_
$wx_func=no
26117 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26118 conftest
$ac_exeext conftest.
$ac_ext
26121 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26122 { echo "$as_me:$LINENO: result: $ac_res" >&5
26123 echo "${ECHO_T}$ac_res" >&6; }
26125 if eval test \
$wx_cv_func_$wx_func = yes
26127 cat >>confdefs.h
<<_ACEOF
26128 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26140 for wx_func
in strtoull
26142 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26143 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26144 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26148 cat >conftest.
$ac_ext <<_ACEOF
26152 cat confdefs.h
>>conftest.
$ac_ext
26153 cat >>conftest.
$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26157 $ac_includes_default
26173 rm -f conftest.
$ac_objext conftest
$ac_exeext
26174 if { (ac_try
="$ac_link"
26175 case "(($ac_try" in
26176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26177 *) ac_try_echo=$ac_try;;
26179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26180 (eval "$ac_link") 2>conftest.er1
26182 grep -v '^ *+' conftest.er1 >conftest.err
26184 cat conftest.err >&5
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); } && {
26187 test -z "$ac_cxx_werror_flag" ||
26188 test ! -s conftest.err
26189 } && test -s conftest$ac_exeext &&
26190 $as_test_x conftest$ac_exeext; then
26191 eval wx_cv_func_$wx_func=yes
26193 echo "$as_me: failed program was:" >&5
26194 sed 's/^/| /' conftest.$ac_ext >&5
26196 eval wx_cv_func_$wx_func=no
26199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26200 conftest$ac_exeext conftest.$ac_ext
26203 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26204 { echo "$as_me:$LINENO: result: $ac_res" >&5
26205 echo "${ECHO_T}$ac_res" >&6; }
26207 if eval test \$wx_cv_func_$wx_func = yes
26209 cat >>confdefs.h <<_ACEOF
26210 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26222 ac_cpp='$CPP $CPPFLAGS'
26223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26230 if test "$wxUSE_REGEX" != "no"; then
26231 cat >>confdefs.h <<\_ACEOF
26232 #define wxUSE_REGEX 1
26236 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26237 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26238 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26239 wxUSE_REGEX=builtin
26242 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26243 { echo "$as_me:$LINENO: checking for regex.h" >&5
26244 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26245 if test "${ac_cv_header_regex_h+set}" = set; then
26246 echo $ECHO_N "(cached) $ECHO_C" >&6
26248 cat >conftest.$ac_ext <<_ACEOF
26251 cat confdefs.h >>conftest.$ac_ext
26252 cat >>conftest.$ac_ext <<_ACEOF
26253 /* end confdefs.h. */
26258 rm -f conftest.$ac_objext
26259 if { (ac_try="$ac_compile"
26260 case "(($ac_try" in
26261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26262 *) ac_try_echo
=$ac_try;;
26264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26265 (eval "$ac_compile") 2>conftest.er1
26267 grep -v '^ *+' conftest.er1
>conftest.err
26269 cat conftest.err
>&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } && {
26272 test -z "$ac_c_werror_flag" ||
26273 test ! -s conftest.err
26274 } && test -s conftest.
$ac_objext; then
26275 ac_cv_header_regex_h
=yes
26277 echo "$as_me: failed program was:" >&5
26278 sed 's/^/| /' conftest.
$ac_ext >&5
26280 ac_cv_header_regex_h
=no
26283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26285 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26286 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26287 if test $ac_cv_header_regex_h = yes; then
26290 for ac_func
in regcomp re_search
26292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26295 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26296 echo $ECHO_N "(cached) $ECHO_C" >&6
26298 cat >conftest.
$ac_ext <<_ACEOF
26301 cat confdefs.h
>>conftest.
$ac_ext
26302 cat >>conftest.
$ac_ext <<_ACEOF
26303 /* end confdefs.h. */
26304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26306 #define $ac_func innocuous_$ac_func
26308 /* System header to define __stub macros and hopefully few prototypes,
26309 which can conflict with char $ac_func (); below.
26310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26311 <limits.h> exists even on freestanding compilers. */
26314 # include <limits.h>
26316 # include <assert.h>
26321 /* Override any GCC internal prototype to avoid an error.
26322 Use char because int might match the return type of a GCC
26323 builtin and then its argument prototype would still apply. */
26328 /* The GNU C library defines this for functions which it implements
26329 to always fail with ENOSYS. Some functions are actually named
26330 something starting with __ and the normal name is an alias. */
26331 #if defined __stub_$ac_func || defined __stub___$ac_func
26338 return $ac_func ();
26343 rm -f conftest.
$ac_objext conftest
$ac_exeext
26344 if { (ac_try
="$ac_link"
26345 case "(($ac_try" in
26346 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26347 *) ac_try_echo=$ac_try;;
26349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26350 (eval "$ac_link") 2>conftest.er1
26352 grep -v '^ *+' conftest.er1 >conftest.err
26354 cat conftest.err >&5
26355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356 (exit $ac_status); } && {
26357 test -z "$ac_c_werror_flag" ||
26358 test ! -s conftest.err
26359 } && test -s conftest$ac_exeext &&
26360 $as_test_x conftest$ac_exeext; then
26361 eval "$as_ac_var=yes"
26363 echo "$as_me: failed program was:" >&5
26364 sed 's/^/| /' conftest.$ac_ext >&5
26366 eval "$as_ac_var=no"
26369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26370 conftest$ac_exeext conftest.$ac_ext
26372 ac_res=`eval echo '${'$as_ac_var'}'`
26373 { echo "$as_me:$LINENO: result: $ac_res" >&5
26374 echo "${ECHO_T}$ac_res" >&6; }
26375 if test `eval echo '${'$as_ac_var'}'` = yes; then
26376 cat >>confdefs.h <<_ACEOF
26377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26387 if test "x$ac_cv_func_regcomp" != "xyes"; then
26388 if test "$wxUSE_REGEX" = "sys" ; then
26389 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26390 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26391 { (exit 1); exit 1; }; }
26393 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26394 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26395 wxUSE_REGEX=builtin
26399 cat >>confdefs.h <<\_ACEOF
26400 #define WX_NO_REGEX_ADVANCED 1
26409 if test "$wxUSE_ZLIB" != "no" ; then
26410 cat >>confdefs.h <<\_ACEOF
26411 #define wxUSE_ZLIB 1
26415 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26416 if test "$USE_DARWIN" = 1; then
26417 system_zlib_h_ok="yes"
26419 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26420 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26421 if test "${ac_cv_header_zlib_h+set}" = set; then
26422 echo $ECHO_N "(cached) $ECHO_C" >&6
26424 if test "$cross_compiling" = yes; then
26425 unset ac_cv_header_zlib_h
26428 cat >conftest.$ac_ext <<_ACEOF
26431 cat confdefs.h >>conftest.$ac_ext
26432 cat >>conftest.$ac_ext <<_ACEOF
26433 /* end confdefs.h. */
26440 FILE *f=fopen("conftestval", "w");
26443 ZLIB_VERSION[0] == '1' &&
26444 (ZLIB_VERSION[2] > '1' ||
26445 (ZLIB_VERSION[2] == '1' &&
26446 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26451 rm -f conftest$ac_exeext
26452 if { (ac_try="$ac_link"
26453 case "(($ac_try" in
26454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26455 *) ac_try_echo
=$ac_try;;
26457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26458 (eval "$ac_link") 2>&5
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26462 { (case "(($ac_try" in
26463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26464 *) ac_try_echo=$ac_try;;
26466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26467 (eval "$ac_try") 2>&5
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); }; }; then
26471 ac_cv_header_zlib_h=`cat conftestval
`
26473 echo "$as_me: program exited with status $ac_status" >&5
26474 echo "$as_me: failed program was:" >&5
26475 sed 's/^/| /' conftest.$ac_ext >&5
26477 ( exit $ac_status )
26478 ac_cv_header_zlib_h=no
26480 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26486 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26487 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26488 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26489 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26490 if test "${ac_cv_header_zlib_h+set}" = set; then
26491 echo $ECHO_N "(cached) $ECHO_C" >&6
26493 cat >conftest.$ac_ext <<_ACEOF
26496 cat confdefs.h >>conftest.$ac_ext
26497 cat >>conftest.$ac_ext <<_ACEOF
26498 /* end confdefs.h. */
26503 rm -f conftest.$ac_objext
26504 if { (ac_try="$ac_compile"
26505 case "(($ac_try" in
26506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26507 *) ac_try_echo
=$ac_try;;
26509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26510 (eval "$ac_compile") 2>conftest.er1
26512 grep -v '^ *+' conftest.er1
>conftest.err
26514 cat conftest.err
>&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); } && {
26517 test -z "$ac_c_werror_flag" ||
26518 test ! -s conftest.err
26519 } && test -s conftest.
$ac_objext; then
26520 ac_cv_header_zlib_h
=yes
26522 echo "$as_me: failed program was:" >&5
26523 sed 's/^/| /' conftest.
$ac_ext >&5
26525 ac_cv_header_zlib_h
=no
26528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26530 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26531 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26535 system_zlib_h_ok
=$ac_cv_header_zlib_h
26538 if test "$system_zlib_h_ok" = "yes"; then
26539 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26540 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26541 if test "${ac_cv_lib_z_deflate+set}" = set; then
26542 echo $ECHO_N "(cached) $ECHO_C" >&6
26544 ac_check_lib_save_LIBS
=$LIBS
26546 cat >conftest.
$ac_ext <<_ACEOF
26549 cat confdefs.h
>>conftest.
$ac_ext
26550 cat >>conftest.
$ac_ext <<_ACEOF
26551 /* end confdefs.h. */
26553 /* Override any GCC internal prototype to avoid an error.
26554 Use char because int might match the return type of a GCC
26555 builtin and then its argument prototype would still apply. */
26568 rm -f conftest.
$ac_objext conftest
$ac_exeext
26569 if { (ac_try
="$ac_link"
26570 case "(($ac_try" in
26571 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26572 *) ac_try_echo=$ac_try;;
26574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26575 (eval "$ac_link") 2>conftest.er1
26577 grep -v '^ *+' conftest.er1 >conftest.err
26579 cat conftest.err >&5
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); } && {
26582 test -z "$ac_c_werror_flag" ||
26583 test ! -s conftest.err
26584 } && test -s conftest$ac_exeext &&
26585 $as_test_x conftest$ac_exeext; then
26586 ac_cv_lib_z_deflate=yes
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.$ac_ext >&5
26591 ac_cv_lib_z_deflate=no
26594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26595 conftest$ac_exeext conftest.$ac_ext
26596 LIBS=$ac_check_lib_save_LIBS
26598 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26599 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26600 if test $ac_cv_lib_z_deflate = yes; then
26606 if test "x$ZLIB_LINK" = "x" ; then
26607 if test "$wxUSE_ZLIB" = "sys" ; then
26608 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26609 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26610 { (exit 1); exit 1; }; }
26612 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26613 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26624 if test "$wxUSE_LIBPNG" != "no" ; then
26625 cat >>confdefs.h <<\_ACEOF
26626 #define wxUSE_LIBPNG 1
26630 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26631 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26632 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26636 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26637 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26638 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26639 wxUSE_LIBPNG=builtin
26642 if test "$wxUSE_MGL" != 1 ; then
26643 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26644 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26645 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26646 if test "${ac_cv_header_png_h+set}" = set; then
26647 echo $ECHO_N "(cached) $ECHO_C" >&6
26649 if test "$cross_compiling" = yes; then
26650 unset ac_cv_header_png_h
26653 cat >conftest.$ac_ext <<_ACEOF
26656 cat confdefs.h >>conftest.$ac_ext
26657 cat >>conftest.$ac_ext <<_ACEOF
26658 /* end confdefs.h. */
26665 FILE *f=fopen("conftestval", "w");
26668 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26673 rm -f conftest$ac_exeext
26674 if { (ac_try="$ac_link"
26675 case "(($ac_try" in
26676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26677 *) ac_try_echo
=$ac_try;;
26679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26680 (eval "$ac_link") 2>&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26684 { (case "(($ac_try" in
26685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26686 *) ac_try_echo=$ac_try;;
26688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26689 (eval "$ac_try") 2>&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); }; }; then
26693 ac_cv_header_png_h=`cat conftestval
`
26695 echo "$as_me: program exited with status $ac_status" >&5
26696 echo "$as_me: failed program was:" >&5
26697 sed 's/^/| /' conftest.$ac_ext >&5
26699 ( exit $ac_status )
26700 ac_cv_header_png_h=no
26702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26708 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26709 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26710 { echo "$as_me:$LINENO: checking for png.h" >&5
26711 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26712 if test "${ac_cv_header_png_h+set}" = set; then
26713 echo $ECHO_N "(cached) $ECHO_C" >&6
26715 cat >conftest.$ac_ext <<_ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26725 rm -f conftest.$ac_objext
26726 if { (ac_try="$ac_compile"
26727 case "(($ac_try" in
26728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26729 *) ac_try_echo
=$ac_try;;
26731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26732 (eval "$ac_compile") 2>conftest.er1
26734 grep -v '^ *+' conftest.er1
>conftest.err
26736 cat conftest.err
>&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); } && {
26739 test -z "$ac_c_werror_flag" ||
26740 test ! -s conftest.err
26741 } && test -s conftest.
$ac_objext; then
26742 ac_cv_header_png_h
=yes
26744 echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.
$ac_ext >&5
26747 ac_cv_header_png_h
=no
26750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26752 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26753 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26757 if test "$ac_cv_header_png_h" = "yes"; then
26758 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26759 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26760 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26763 ac_check_lib_save_LIBS
=$LIBS
26764 LIBS
="-lpng -lz -lm $LIBS"
26765 cat >conftest.
$ac_ext <<_ACEOF
26768 cat confdefs.h
>>conftest.
$ac_ext
26769 cat >>conftest.
$ac_ext <<_ACEOF
26770 /* end confdefs.h. */
26772 /* Override any GCC internal prototype to avoid an error.
26773 Use char because int might match the return type of a GCC
26774 builtin and then its argument prototype would still apply. */
26778 char png_check_sig ();
26782 return png_check_sig ();
26787 rm -f conftest.
$ac_objext conftest
$ac_exeext
26788 if { (ac_try
="$ac_link"
26789 case "(($ac_try" in
26790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26791 *) ac_try_echo=$ac_try;;
26793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26794 (eval "$ac_link") 2>conftest.er1
26796 grep -v '^ *+' conftest.er1 >conftest.err
26798 cat conftest.err >&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); } && {
26801 test -z "$ac_c_werror_flag" ||
26802 test ! -s conftest.err
26803 } && test -s conftest$ac_exeext &&
26804 $as_test_x conftest$ac_exeext; then
26805 ac_cv_lib_png_png_check_sig=yes
26807 echo "$as_me: failed program was:" >&5
26808 sed 's/^/| /' conftest.$ac_ext >&5
26810 ac_cv_lib_png_png_check_sig=no
26813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26814 conftest$ac_exeext conftest.$ac_ext
26815 LIBS=$ac_check_lib_save_LIBS
26817 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26818 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26819 if test $ac_cv_lib_png_png_check_sig = yes; then
26820 PNG_LINK=" -lpng -lz"
26825 if test "x$PNG_LINK" = "x" ; then
26826 if test "$wxUSE_LIBPNG" = "sys" ; then
26827 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26828 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26829 { (exit 1); exit 1; }; }
26831 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26832 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26833 wxUSE_LIBPNG=builtin
26844 if test "$wxUSE_LIBJPEG" != "no" ; then
26845 cat >>confdefs.h <<\_ACEOF
26846 #define wxUSE_LIBJPEG 1
26850 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26851 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26852 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26856 if test "$wxUSE_MGL" != 1 ; then
26857 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26858 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26859 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26860 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26863 cat >conftest.$ac_ext <<_ACEOF
26866 cat confdefs.h >>conftest.$ac_ext
26867 cat >>conftest.$ac_ext <<_ACEOF
26868 /* end confdefs.h. */
26870 #undef HAVE_STDLIB_H
26872 #include <jpeglib.h>
26883 rm -f conftest.$ac_objext
26884 if { (ac_try="$ac_compile"
26885 case "(($ac_try" in
26886 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26887 *) ac_try_echo
=$ac_try;;
26889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26890 (eval "$ac_compile") 2>conftest.er1
26892 grep -v '^ *+' conftest.er1
>conftest.err
26894 cat conftest.err
>&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); } && {
26897 test -z "$ac_c_werror_flag" ||
26898 test ! -s conftest.err
26899 } && test -s conftest.
$ac_objext; then
26900 ac_cv_header_jpeglib_h
=yes
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.
$ac_ext >&5
26905 ac_cv_header_jpeglib_h
=no
26909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26913 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26914 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26916 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26917 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26918 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26919 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26920 echo $ECHO_N "(cached) $ECHO_C" >&6
26922 ac_check_lib_save_LIBS
=$LIBS
26923 LIBS
="-ljpeg $LIBS"
26924 cat >conftest.
$ac_ext <<_ACEOF
26927 cat confdefs.h
>>conftest.
$ac_ext
26928 cat >>conftest.
$ac_ext <<_ACEOF
26929 /* end confdefs.h. */
26931 /* Override any GCC internal prototype to avoid an error.
26932 Use char because int might match the return type of a GCC
26933 builtin and then its argument prototype would still apply. */
26937 char jpeg_read_header ();
26941 return jpeg_read_header ();
26946 rm -f conftest.
$ac_objext conftest
$ac_exeext
26947 if { (ac_try
="$ac_link"
26948 case "(($ac_try" in
26949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26950 *) ac_try_echo=$ac_try;;
26952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26953 (eval "$ac_link") 2>conftest.er1
26955 grep -v '^ *+' conftest.er1 >conftest.err
26957 cat conftest.err >&5
26958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 (exit $ac_status); } && {
26960 test -z "$ac_c_werror_flag" ||
26961 test ! -s conftest.err
26962 } && test -s conftest$ac_exeext &&
26963 $as_test_x conftest$ac_exeext; then
26964 ac_cv_lib_jpeg_jpeg_read_header=yes
26966 echo "$as_me: failed program was:" >&5
26967 sed 's/^/| /' conftest.$ac_ext >&5
26969 ac_cv_lib_jpeg_jpeg_read_header=no
26972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26973 conftest$ac_exeext conftest.$ac_ext
26974 LIBS=$ac_check_lib_save_LIBS
26976 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26977 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26978 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26979 JPEG_LINK=" -ljpeg"
26984 if test "x$JPEG_LINK" = "x" ; then
26985 if test "$wxUSE_LIBJPEG" = "sys" ; then
26986 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26987 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26988 { (exit 1); exit 1; }; }
26990 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26991 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26992 wxUSE_LIBJPEG=builtin
26997 if test "$wxUSE_MSW" = 1; then
26998 { echo "$as_me:$LINENO: checking for boolean" >&5
26999 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27000 if test "${ac_cv_type_boolean+set}" = set; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27003 cat >conftest.$ac_ext <<_ACEOF
27006 cat confdefs.h >>conftest.$ac_ext
27007 cat >>conftest.$ac_ext <<_ACEOF
27008 /* end confdefs.h. */
27009 #include <windows.h>
27011 typedef boolean ac__type_new_;
27015 if ((ac__type_new_ *) 0)
27017 if (sizeof (ac__type_new_))
27023 rm -f conftest.$ac_objext
27024 if { (ac_try="$ac_compile"
27025 case "(($ac_try" in
27026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27027 *) ac_try_echo
=$ac_try;;
27029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27030 (eval "$ac_compile") 2>conftest.er1
27032 grep -v '^ *+' conftest.er1
>conftest.err
27034 cat conftest.err
>&5
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); } && {
27037 test -z "$ac_c_werror_flag" ||
27038 test ! -s conftest.err
27039 } && test -s conftest.
$ac_objext; then
27040 ac_cv_type_boolean
=yes
27042 echo "$as_me: failed program was:" >&5
27043 sed 's/^/| /' conftest.
$ac_ext >&5
27045 ac_cv_type_boolean
=no
27048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27050 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27051 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27052 if test $ac_cv_type_boolean = yes; then
27054 cat >>confdefs.h
<<_ACEOF
27055 #define HAVE_BOOLEAN 1
27059 { echo "$as_me:$LINENO: checking for boolean" >&5
27060 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27061 if test "${ac_cv_type_boolean+set}" = set; then
27062 echo $ECHO_N "(cached) $ECHO_C" >&6
27064 cat >conftest.
$ac_ext <<_ACEOF
27067 cat confdefs.h
>>conftest.
$ac_ext
27068 cat >>conftest.
$ac_ext <<_ACEOF
27069 /* end confdefs.h. */
27071 #undef HAVE_BOOLEAN
27073 #include <jpeglib.h>
27076 typedef boolean ac__type_new_;
27080 if ((ac__type_new_ *) 0)
27082 if (sizeof (ac__type_new_))
27088 rm -f conftest.
$ac_objext
27089 if { (ac_try
="$ac_compile"
27090 case "(($ac_try" in
27091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27092 *) ac_try_echo=$ac_try;;
27094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27095 (eval "$ac_compile") 2>conftest.er1
27097 grep -v '^ *+' conftest.er1 >conftest.err
27099 cat conftest.err >&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } && {
27102 test -z "$ac_c_werror_flag" ||
27103 test ! -s conftest.err
27104 } && test -s conftest.$ac_objext; then
27105 ac_cv_type_boolean=yes
27107 echo "$as_me: failed program was:" >&5
27108 sed 's/^/| /' conftest.$ac_ext >&5
27110 ac_cv_type_boolean=no
27113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27115 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27116 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27118 # The cast to long int works around a bug in the HP C Compiler
27119 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27120 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27121 # This bug is HP SR number 8606223364.
27122 { echo "$as_me:$LINENO: checking size of boolean" >&5
27123 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27124 if test "${ac_cv_sizeof_boolean+set}" = set; then
27125 echo $ECHO_N "(cached) $ECHO_C" >&6
27127 if test "$cross_compiling" = yes; then
27128 # Depending upon the size, compute the lo and hi bounds.
27129 cat >conftest.$ac_ext <<_ACEOF
27132 cat confdefs.h >>conftest.$ac_ext
27133 cat >>conftest.$ac_ext <<_ACEOF
27134 /* end confdefs.h. */
27136 #undef HAVE_BOOLEAN
27138 #include <jpeglib.h>
27141 typedef boolean ac__type_sizeof_;
27145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27152 rm -f conftest.$ac_objext
27153 if { (ac_try="$ac_compile"
27154 case "(($ac_try" in
27155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27156 *) ac_try_echo=$ac_try;;
27158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27159 (eval "$ac_compile") 2>conftest.er1
27161 grep -v '^
*+' conftest.er1 >conftest.err
27163 cat conftest.err >&5
27164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165 (exit $ac_status); } && {
27166 test -z "$ac_c_werror_flag" ||
27167 test ! -s conftest.err
27168 } && test -s conftest.$ac_objext; then
27171 cat >conftest.$ac_ext <<_ACEOF
27174 cat confdefs.h >>conftest.$ac_ext
27175 cat >>conftest.$ac_ext <<_ACEOF
27176 /* end confdefs.h. */
27178 #undef HAVE_BOOLEAN
27180 #include <jpeglib.h>
27183 typedef boolean ac__type_sizeof_;
27187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27194 rm -f conftest.$ac_objext
27195 if { (ac_try="$ac_compile"
27196 case "(($ac_try" in
27197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27198 *) ac_try_echo=$ac_try;;
27200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27201 (eval "$ac_compile") 2>conftest.er1
27203 grep -v '^
*+' conftest.er1 >conftest.err
27205 cat conftest.err >&5
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); } && {
27208 test -z "$ac_c_werror_flag" ||
27209 test ! -s conftest.err
27210 } && test -s conftest.$ac_objext; then
27211 ac_hi=$ac_mid; break
27213 echo "$as_me: failed program was:" >&5
27214 sed 's
/^
/| /' conftest.$ac_ext >&5
27216 ac_lo=`expr $ac_mid + 1`
27217 if test $ac_lo -le $ac_mid; then
27221 ac_mid=`expr 2 '*' $ac_mid + 1`
27224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27227 echo "$as_me: failed program was:" >&5
27228 sed 's
/^
/| /' conftest.$ac_ext >&5
27230 cat >conftest.$ac_ext <<_ACEOF
27233 cat confdefs.h >>conftest.$ac_ext
27234 cat >>conftest.$ac_ext <<_ACEOF
27235 /* end confdefs.h. */
27237 #undef HAVE_BOOLEAN
27239 #include <jpeglib.h>
27242 typedef boolean ac__type_sizeof_;
27246 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27253 rm -f conftest.$ac_objext
27254 if { (ac_try="$ac_compile"
27255 case "(($ac_try" in
27256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27257 *) ac_try_echo=$ac_try;;
27259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27260 (eval "$ac_compile") 2>conftest.er1
27262 grep -v '^
*+' conftest.er1 >conftest.err
27264 cat conftest.err >&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } && {
27267 test -z "$ac_c_werror_flag" ||
27268 test ! -s conftest.err
27269 } && test -s conftest.$ac_objext; then
27272 cat >conftest.$ac_ext <<_ACEOF
27275 cat confdefs.h >>conftest.$ac_ext
27276 cat >>conftest.$ac_ext <<_ACEOF
27277 /* end confdefs.h. */
27279 #undef HAVE_BOOLEAN
27281 #include <jpeglib.h>
27284 typedef boolean ac__type_sizeof_;
27288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27295 rm -f conftest.$ac_objext
27296 if { (ac_try="$ac_compile"
27297 case "(($ac_try" in
27298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27299 *) ac_try_echo=$ac_try;;
27301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27302 (eval "$ac_compile") 2>conftest.er1
27304 grep -v '^
*+' conftest.er1 >conftest.err
27306 cat conftest.err >&5
27307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27308 (exit $ac_status); } && {
27309 test -z "$ac_c_werror_flag" ||
27310 test ! -s conftest.err
27311 } && test -s conftest.$ac_objext; then
27312 ac_lo=$ac_mid; break
27314 echo "$as_me: failed program was:" >&5
27315 sed 's
/^
/| /' conftest.$ac_ext >&5
27317 ac_hi=`expr '(' $ac_mid ')' - 1`
27318 if test $ac_mid -le $ac_hi; then
27322 ac_mid=`expr 2 '*' $ac_mid`
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27328 echo "$as_me: failed program was:" >&5
27329 sed 's
/^
/| /' conftest.$ac_ext >&5
27334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27338 # Binary search between lo and hi bounds.
27339 while test "x$ac_lo" != "x$ac_hi"; do
27340 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27341 cat >conftest.$ac_ext <<_ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27348 #undef HAVE_BOOLEAN
27350 #include <jpeglib.h>
27353 typedef boolean ac__type_sizeof_;
27357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27364 rm -f conftest.$ac_objext
27365 if { (ac_try="$ac_compile"
27366 case "(($ac_try" in
27367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27368 *) ac_try_echo=$ac_try;;
27370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27371 (eval "$ac_compile") 2>conftest.er1
27373 grep -v '^
*+' conftest.er1 >conftest.err
27375 cat conftest.err >&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); } && {
27378 test -z "$ac_c_werror_flag" ||
27379 test ! -s conftest.err
27380 } && test -s conftest.$ac_objext; then
27383 echo "$as_me: failed program was:" >&5
27384 sed 's
/^
/| /' conftest.$ac_ext >&5
27386 ac_lo=`expr '(' $ac_mid ')' + 1`
27389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27392 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27393 '') if test "$ac_cv_type_boolean" = yes; then
27394 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27395 See \`config.log' for more details.
" >&5
27396 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27397 See \
`config.log' for more details." >&2;}
27398 { (exit 77); exit 77; }; }
27400 ac_cv_sizeof_boolean=0
27404 cat >conftest.$ac_ext <<_ACEOF
27407 cat confdefs.h >>conftest.$ac_ext
27408 cat >>conftest.$ac_ext <<_ACEOF
27409 /* end confdefs.h. */
27411 #undef HAVE_BOOLEAN
27413 #include <jpeglib.h>
27416 typedef boolean ac__type_sizeof_;
27417 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27418 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27420 #include <stdlib.h>
27425 FILE *f = fopen ("conftest.val", "w");
27428 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27430 long int i = longval ();
27431 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27433 fprintf (f, "%ld\n", i);
27437 unsigned long int i = ulongval ();
27438 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27440 fprintf (f, "%lu\n", i);
27442 return ferror (f) || fclose (f) != 0;
27448 rm -f conftest$ac_exeext
27449 if { (ac_try="$ac_link"
27450 case "(($ac_try" in
27451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27452 *) ac_try_echo
=$ac_try;;
27454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27455 (eval "$ac_link") 2>&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27459 { (case "(($ac_try" in
27460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27461 *) ac_try_echo=$ac_try;;
27463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27464 (eval "$ac_try") 2>&5
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); }; }; then
27468 ac_cv_sizeof_boolean=`cat conftest.val
`
27470 echo "$as_me: program exited with status $ac_status" >&5
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27474 ( exit $ac_status )
27475 if test "$ac_cv_type_boolean" = yes; then
27476 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27477 See \`config.log
' for more details." >&5
27478 echo "$as_me: error: cannot compute sizeof (boolean)
27479 See \`config.log' for more details.
" >&2;}
27480 { (exit 77); exit 77; }; }
27482 ac_cv_sizeof_boolean=0
27485 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27489 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27490 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27494 cat >>confdefs.h <<_ACEOF
27495 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27499 cat >>confdefs.h <<_ACEOF
27500 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27514 TIFF_PREREQ_LINKS=-lm
27515 if test "$wxUSE_LIBTIFF" != "no
" ; then
27516 cat >>confdefs.h <<\_ACEOF
27517 #define wxUSE_LIBTIFF 1
27521 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27522 if test "$wxUSE_LIBJPEG" = "sys
"; then
27523 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27525 if test "$wxUSE_ZLIB" = "sys
"; then
27526 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27528 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27529 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27530 if test "${ac_cv_header_tiffio_h+set}" = set; then
27531 echo $ECHO_N "(cached
) $ECHO_C" >&6
27533 cat >conftest.$ac_ext <<_ACEOF
27536 cat confdefs.h >>conftest.$ac_ext
27537 cat >>conftest.$ac_ext <<_ACEOF
27538 /* end confdefs.h. */
27542 #include <tiffio.h>
27544 rm -f conftest.$ac_objext
27545 if { (ac_try="$ac_compile"
27546 case "(($ac_try" in
27547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27548 *) ac_try_echo=$ac_try;;
27550 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27551 (eval "$ac_compile") 2>conftest.er1
27553 grep -v '^ *+' conftest.er1 >conftest.err
27555 cat conftest.err >&5
27556 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27557 (exit $ac_status); } && {
27558 test -z "$ac_c_werror_flag" ||
27559 test ! -s conftest.err
27560 } && test -s conftest.$ac_objext; then
27561 ac_cv_header_tiffio_h=yes
27563 echo "$as_me: failed program was
:" >&5
27564 sed 's/^/| /' conftest.$ac_ext >&5
27566 ac_cv_header_tiffio_h=no
27569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27571 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27572 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27573 if test $ac_cv_header_tiffio_h = yes; then
27575 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27576 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27577 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27578 echo $ECHO_N "(cached
) $ECHO_C" >&6
27580 ac_check_lib_save_LIBS=$LIBS
27581 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27582 cat >conftest.$ac_ext <<_ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27589 /* Override any GCC internal prototype to avoid an error.
27590 Use char because int might match the return type of a GCC
27591 builtin and then its argument prototype would still apply. */
27599 return TIFFError ();
27604 rm -f conftest.$ac_objext conftest$ac_exeext
27605 if { (ac_try="$ac_link"
27606 case "(($ac_try" in
27607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27608 *) ac_try_echo=$ac_try;;
27610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27611 (eval "$ac_link") 2>conftest.er1
27613 grep -v '^ *+' conftest.er1 >conftest.err
27615 cat conftest.err >&5
27616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27617 (exit $ac_status); } && {
27618 test -z "$ac_c_werror_flag" ||
27619 test ! -s conftest.err
27620 } && test -s conftest$ac_exeext &&
27621 $as_test_x conftest$ac_exeext; then
27622 ac_cv_lib_tiff_TIFFError=yes
27624 echo "$as_me: failed program was
:" >&5
27625 sed 's/^/| /' conftest.$ac_ext >&5
27627 ac_cv_lib_tiff_TIFFError=no
27630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27631 conftest$ac_exeext conftest.$ac_ext
27632 LIBS=$ac_check_lib_save_LIBS
27634 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27635 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27636 if test $ac_cv_lib_tiff_TIFFError = yes; then
27637 TIFF_LINK=" -ltiff"
27645 if test "x
$TIFF_LINK" = "x
" ; then
27646 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27647 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27648 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27649 { (exit 1); exit 1; }; }
27651 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27652 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27653 wxUSE_LIBTIFF=builtin
27659 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27660 if test "$wxUSE_LIBJPEG" = "no
"; then
27661 ac_configure_args="$ac_configure_args --disable-jpeg"
27663 subdirs="$subdirs src
/tiff
"
27669 if test "$wxUSE_WCHAR_T" != "yes"; then
27670 if test "$wxUSE_EXPAT" != "no
"; then
27671 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27672 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27675 if test "$wxUSE_XML" != "no
"; then
27676 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27677 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27682 if test "$wxUSE_EXPAT" != "no
"; then
27684 cat >>confdefs.h <<\_ACEOF
27685 #define wxUSE_EXPAT 1
27688 cat >>confdefs.h <<\_ACEOF
27689 #define wxUSE_XML 1
27693 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27694 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27695 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27696 if test "${ac_cv_header_expat_h+set}" = set; then
27697 echo $ECHO_N "(cached
) $ECHO_C" >&6
27699 cat >conftest.$ac_ext <<_ACEOF
27702 cat confdefs.h >>conftest.$ac_ext
27703 cat >>conftest.$ac_ext <<_ACEOF
27704 /* end confdefs.h. */
27709 rm -f conftest.$ac_objext
27710 if { (ac_try="$ac_compile"
27711 case "(($ac_try" in
27712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27713 *) ac_try_echo=$ac_try;;
27715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27716 (eval "$ac_compile") 2>conftest.er1
27718 grep -v '^ *+' conftest.er1 >conftest.err
27720 cat conftest.err >&5
27721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27722 (exit $ac_status); } && {
27723 test -z "$ac_c_werror_flag" ||
27724 test ! -s conftest.err
27725 } && test -s conftest.$ac_objext; then
27726 ac_cv_header_expat_h=yes
27728 echo "$as_me: failed program was
:" >&5
27729 sed 's/^/| /' conftest.$ac_ext >&5
27731 ac_cv_header_expat_h=no
27734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27736 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27737 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27738 if test $ac_cv_header_expat_h = yes; then
27743 if test "x
$found_expat_h" = "x1
"; then
27744 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27745 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27746 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27747 echo $ECHO_N "(cached
) $ECHO_C" >&6
27751 ac_cpp='$CXXCPP $CPPFLAGS'
27752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27756 cat >conftest.$ac_ext <<_ACEOF
27759 cat confdefs.h >>conftest.$ac_ext
27760 cat >>conftest.$ac_ext <<_ACEOF
27761 /* end confdefs.h. */
27771 rm -f conftest.$ac_objext
27772 if { (ac_try="$ac_compile"
27773 case "(($ac_try" in
27774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27775 *) ac_try_echo=$ac_try;;
27777 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27778 (eval "$ac_compile") 2>conftest.er1
27780 grep -v '^ *+' conftest.er1 >conftest.err
27782 cat conftest.err >&5
27783 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27784 (exit $ac_status); } && {
27785 test -z "$ac_cxx_werror_flag" ||
27786 test ! -s conftest.err
27787 } && test -s conftest.$ac_objext; then
27788 wx_cv_expat_is_not_broken=yes
27790 echo "$as_me: failed program was
:" >&5
27791 sed 's/^/| /' conftest.$ac_ext >&5
27793 wx_cv_expat_is_not_broken=no
27797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27799 ac_cpp='$CPP $CPPFLAGS'
27800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27807 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27808 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27809 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27810 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27811 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27812 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27813 echo $ECHO_N "(cached
) $ECHO_C" >&6
27815 ac_check_lib_save_LIBS=$LIBS
27816 LIBS="-lexpat $LIBS"
27817 cat >conftest.$ac_ext <<_ACEOF
27820 cat confdefs.h >>conftest.$ac_ext
27821 cat >>conftest.$ac_ext <<_ACEOF
27822 /* end confdefs.h. */
27824 /* Override any GCC internal prototype to avoid an error.
27825 Use char because int might match the return type of a GCC
27826 builtin and then its argument prototype would still apply. */
27830 char XML_ParserCreate ();
27834 return XML_ParserCreate ();
27839 rm -f conftest.$ac_objext conftest$ac_exeext
27840 if { (ac_try="$ac_link"
27841 case "(($ac_try" in
27842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27843 *) ac_try_echo=$ac_try;;
27845 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27846 (eval "$ac_link") 2>conftest.er1
27848 grep -v '^ *+' conftest.er1 >conftest.err
27850 cat conftest.err >&5
27851 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27852 (exit $ac_status); } && {
27853 test -z "$ac_c_werror_flag" ||
27854 test ! -s conftest.err
27855 } && test -s conftest$ac_exeext &&
27856 $as_test_x conftest$ac_exeext; then
27857 ac_cv_lib_expat_XML_ParserCreate=yes
27859 echo "$as_me: failed program was
:" >&5
27860 sed 's/^/| /' conftest.$ac_ext >&5
27862 ac_cv_lib_expat_XML_ParserCreate=no
27865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27866 conftest$ac_exeext conftest.$ac_ext
27867 LIBS=$ac_check_lib_save_LIBS
27869 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27870 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27871 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27872 EXPAT_LINK=" -lexpat"
27877 if test "x
$EXPAT_LINK" = "x
" ; then
27878 if test "$wxUSE_EXPAT" = "sys
" ; then
27879 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27880 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27881 { (exit 1); exit 1; }; }
27883 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27884 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27885 wxUSE_EXPAT=builtin
27891 if test "$wxUSE_EXPAT" = "builtin" ; then
27892 subdirs="$subdirs src
/expat
"
27899 if test "$wxUSE_LIBMSPACK" != "no
"; then
27900 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27901 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27902 if test "${ac_cv_header_mspack_h+set}" = set; then
27903 echo $ECHO_N "(cached
) $ECHO_C" >&6
27905 cat >conftest.$ac_ext <<_ACEOF
27908 cat confdefs.h >>conftest.$ac_ext
27909 cat >>conftest.$ac_ext <<_ACEOF
27910 /* end confdefs.h. */
27913 #include <mspack.h>
27915 rm -f conftest.$ac_objext
27916 if { (ac_try="$ac_compile"
27917 case "(($ac_try" in
27918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27919 *) ac_try_echo=$ac_try;;
27921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27922 (eval "$ac_compile") 2>conftest.er1
27924 grep -v '^ *+' conftest.er1 >conftest.err
27926 cat conftest.err >&5
27927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27928 (exit $ac_status); } && {
27929 test -z "$ac_c_werror_flag" ||
27930 test ! -s conftest.err
27931 } && test -s conftest.$ac_objext; then
27932 ac_cv_header_mspack_h=yes
27934 echo "$as_me: failed program was
:" >&5
27935 sed 's/^/| /' conftest.$ac_ext >&5
27937 ac_cv_header_mspack_h=no
27940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27942 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27943 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27944 if test $ac_cv_header_mspack_h = yes; then
27949 if test "x
$found_mspack_h" = "x1
"; then
27950 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27951 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27952 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27953 echo $ECHO_N "(cached
) $ECHO_C" >&6
27955 ac_check_lib_save_LIBS=$LIBS
27956 LIBS="-lmspack $LIBS"
27957 cat >conftest.$ac_ext <<_ACEOF
27960 cat confdefs.h >>conftest.$ac_ext
27961 cat >>conftest.$ac_ext <<_ACEOF
27962 /* end confdefs.h. */
27964 /* Override any GCC internal prototype to avoid an error.
27965 Use char because int might match the return type of a GCC
27966 builtin and then its argument prototype would still apply. */
27970 char mspack_create_chm_decompressor ();
27974 return mspack_create_chm_decompressor ();
27979 rm -f conftest.$ac_objext conftest$ac_exeext
27980 if { (ac_try="$ac_link"
27981 case "(($ac_try" in
27982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27983 *) ac_try_echo=$ac_try;;
27985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27986 (eval "$ac_link") 2>conftest.er1
27988 grep -v '^ *+' conftest.er1 >conftest.err
27990 cat conftest.err >&5
27991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27992 (exit $ac_status); } && {
27993 test -z "$ac_c_werror_flag" ||
27994 test ! -s conftest.err
27995 } && test -s conftest$ac_exeext &&
27996 $as_test_x conftest$ac_exeext; then
27997 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27999 echo "$as_me: failed program was
:" >&5
28000 sed 's/^/| /' conftest.$ac_ext >&5
28002 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28006 conftest$ac_exeext conftest.$ac_ext
28007 LIBS=$ac_check_lib_save_LIBS
28009 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28010 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28011 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28012 MSPACK_LINK=" -lmspack"
28016 if test "x
$MSPACK_LINK" = "x
" ; then
28021 if test "$wxUSE_LIBMSPACK" != "no
"; then
28022 cat >>confdefs.h <<\_ACEOF
28023 #define wxUSE_LIBMSPACK 1
28037 if test "$USE_WIN32" = 1 ; then
28039 for ac_header in w32api.h
28041 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28042 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28043 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28044 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28045 echo $ECHO_N "(cached
) $ECHO_C" >&6
28047 cat >conftest.$ac_ext <<_ACEOF
28050 cat confdefs.h >>conftest.$ac_ext
28051 cat >>conftest.$ac_ext <<_ACEOF
28052 /* end confdefs.h. */
28055 #include <$ac_header>
28057 rm -f conftest.$ac_objext
28058 if { (ac_try="$ac_compile"
28059 case "(($ac_try" in
28060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28061 *) ac_try_echo=$ac_try;;
28063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28064 (eval "$ac_compile") 2>conftest.er1
28066 grep -v '^ *+' conftest.er1 >conftest.err
28068 cat conftest.err >&5
28069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28070 (exit $ac_status); } && {
28071 test -z "$ac_c_werror_flag" ||
28072 test ! -s conftest.err
28073 } && test -s conftest.$ac_objext; then
28074 eval "$as_ac_Header=yes"
28076 echo "$as_me: failed program was
:" >&5
28077 sed 's/^/| /' conftest.$ac_ext >&5
28079 eval "$as_ac_Header=no
"
28082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28084 ac_res=`eval echo '${'$as_ac_Header'}'`
28085 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28086 echo "${ECHO_T}$ac_res" >&6; }
28087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28088 cat >>confdefs.h <<_ACEOF
28089 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28096 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28097 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28098 if test "${ac_cv_header_windows_h+set}" = set; then
28099 echo $ECHO_N "(cached
) $ECHO_C" >&6
28101 cat >conftest.$ac_ext <<_ACEOF
28104 cat confdefs.h >>conftest.$ac_ext
28105 cat >>conftest.$ac_ext <<_ACEOF
28106 /* end confdefs.h. */
28109 #include <windows.h>
28111 rm -f conftest.$ac_objext
28112 if { (ac_try="$ac_compile"
28113 case "(($ac_try" in
28114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28115 *) ac_try_echo=$ac_try;;
28117 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28118 (eval "$ac_compile") 2>conftest.er1
28120 grep -v '^ *+' conftest.er1 >conftest.err
28122 cat conftest.err >&5
28123 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28124 (exit $ac_status); } && {
28125 test -z "$ac_c_werror_flag" ||
28126 test ! -s conftest.err
28127 } && test -s conftest.$ac_objext; then
28128 ac_cv_header_windows_h=yes
28130 echo "$as_me: failed program was
:" >&5
28131 sed 's/^/| /' conftest.$ac_ext >&5
28133 ac_cv_header_windows_h=no
28136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28138 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28139 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28140 if test $ac_cv_header_windows_h = yes; then
28144 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28145 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28146 { (exit 1); exit 1; }; }
28153 x86_64-*-mingw32* )
28154 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28157 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28160 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28161 LIBS="$LIBS -loleacc"
28166 LIBS="$LIBS -lkernel32 -luser32"
28169 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28170 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28172 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28174 WIN32INSTALL=win32install
28176 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28177 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28178 if test "${ac_cv_header_pbt_h+set}" = set; then
28179 echo $ECHO_N "(cached
) $ECHO_C" >&6
28181 cat >conftest.$ac_ext <<_ACEOF
28184 cat confdefs.h >>conftest.$ac_ext
28185 cat >>conftest.$ac_ext <<_ACEOF
28186 /* end confdefs.h. */
28191 rm -f conftest.$ac_objext
28192 if { (ac_try="$ac_compile"
28193 case "(($ac_try" in
28194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28195 *) ac_try_echo=$ac_try;;
28197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28198 (eval "$ac_compile") 2>conftest.er1
28200 grep -v '^ *+' conftest.er1 >conftest.err
28202 cat conftest.err >&5
28203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28204 (exit $ac_status); } && {
28205 test -z "$ac_c_werror_flag" ||
28206 test ! -s conftest.err
28207 } && test -s conftest.$ac_objext; then
28208 ac_cv_header_pbt_h=yes
28210 echo "$as_me: failed program was
:" >&5
28211 sed 's/^/| /' conftest.$ac_ext >&5
28213 ac_cv_header_pbt_h=no
28216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28218 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28219 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28220 if test $ac_cv_header_pbt_h = yes; then
28223 cat >>confdefs.h <<\_ACEOF
28224 #define NEED_PBT_H 1
28232 if test "$wxUSE_GUI" = "yes"; then
28242 if test "$wxUSE_COCOA" = 1 ; then
28243 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28244 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28245 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28246 wxUSE_PRINTING_ARCHITECTURE=no
28248 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28249 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28250 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28251 wxUSE_DRAG_AND_DROP=no
28253 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28254 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28255 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28260 if test "$wxUSE_MSW" = 1 ; then
28266 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28270 if test "$wxUSE_GTK" = 1; then
28271 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28272 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28274 gtk_version_cached=1
28275 if test "${wx_cv_lib_gtk+set}" = set; then
28276 echo $ECHO_N "(cached
) $ECHO_C" >&6
28279 gtk_version_cached=0
28280 { echo "$as_me:$LINENO: result
: " >&5
28281 echo "${ECHO_T}" >&6; }
28284 if test "$wxUSE_THREADS" = "yes"; then
28285 GTK_MODULES=gthread
28289 if test "x
$wxGTK_VERSION" != "x1
"
28293 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28298 # Check whether --enable-gtktest was given.
28299 if test "${enable_gtktest+set}" = set; then
28300 enableval=$enable_gtktest;
28306 pkg_config_args=gtk+-2.0
28307 for module in . $GTK_MODULES
28311 pkg_config_args="$pkg_config_args gthread
-2.0
"
28318 # Extract the first word of "pkg
-config", so it can be a program name with args.
28319 set dummy pkg-config; ac_word=$2
28320 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28321 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28322 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28323 echo $ECHO_N "(cached
) $ECHO_C" >&6
28325 case $PKG_CONFIG in
28327 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28331 for as_dir in $PATH
28334 test -z "$as_dir" && as_dir=.
28335 for ac_exec_ext in '' $ac_executable_extensions; do
28336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28337 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28338 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28345 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28349 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28350 if test -n "$PKG_CONFIG"; then
28351 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28352 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28354 { echo "$as_me:$LINENO: result
: no
" >&5
28355 echo "${ECHO_T}no
" >&6; }
28360 if test x$PKG_CONFIG != xno ; then
28361 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28364 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28372 min_gtk_version=2.4.0
28373 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28374 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28376 if test x$PKG_CONFIG != xno ; then
28377 ## don't try to run the test against uninstalled libtool libs
28378 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28379 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28383 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28390 if test x"$no_gtk" = x ; then
28391 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28392 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28393 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28395 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28397 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28399 if test "x
$enable_gtktest" = "xyes
" ; then
28400 ac_save_CFLAGS="$CFLAGS"
28401 ac_save_LIBS="$LIBS"
28402 CFLAGS="$CFLAGS $GTK_CFLAGS"
28403 LIBS="$GTK_LIBS $LIBS"
28405 if test "$cross_compiling" = yes; then
28406 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28408 cat >conftest.$ac_ext <<_ACEOF
28411 cat confdefs.h >>conftest.$ac_ext
28412 cat >>conftest.$ac_ext <<_ACEOF
28413 /* end confdefs.h. */
28415 #include <gtk/gtk.h>
28417 #include <stdlib.h>
28422 int major, minor, micro;
28425 system ("touch conf.gtktest
");
28427 /* HP/UX 9 (%@#!) writes to sscanf strings */
28428 tmp_version = g_strdup("$min_gtk_version");
28429 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28430 printf("%s
, bad version string
\n", "$min_gtk_version");
28434 if ((gtk_major_version != $gtk_config_major_version) ||
28435 (gtk_minor_version != $gtk_config_minor_version) ||
28436 (gtk_micro_version != $gtk_config_micro_version))
28438 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28439 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28440 gtk_major_version, gtk_minor_version, gtk_micro_version);
28441 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28442 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28443 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28444 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28445 printf("*** required on your system.
\n");
28446 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28447 printf("*** to point to the correct configuration files
\n");
28449 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28450 (gtk_minor_version != GTK_MINOR_VERSION) ||
28451 (gtk_micro_version != GTK_MICRO_VERSION))
28453 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28454 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28455 printf("*** library
(version
%d.
%d.
%d
)\n",
28456 gtk_major_version, gtk_minor_version, gtk_micro_version);
28460 if ((gtk_major_version > major) ||
28461 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28462 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28468 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28469 gtk_major_version, gtk_minor_version, gtk_micro_version);
28470 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28471 major, minor, micro);
28472 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28474 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28475 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28476 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28477 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28478 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28479 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28480 printf("*** so that the correct libraries are found
at run
-time))\n");
28487 rm -f conftest$ac_exeext
28488 if { (ac_try="$ac_link"
28489 case "(($ac_try" in
28490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28491 *) ac_try_echo=$ac_try;;
28493 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28494 (eval "$ac_link") 2>&5
28496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28497 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28498 { (case "(($ac_try" in
28499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28500 *) ac_try_echo=$ac_try;;
28502 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28503 (eval "$ac_try") 2>&5
28505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28506 (exit $ac_status); }; }; then
28509 echo "$as_me: program exited with status
$ac_status" >&5
28510 echo "$as_me: failed program was
:" >&5
28511 sed 's/^/| /' conftest.$ac_ext >&5
28513 ( exit $ac_status )
28516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28520 CFLAGS="$ac_save_CFLAGS"
28521 LIBS="$ac_save_LIBS"
28524 if test "x
$no_gtk" = x ; then
28525 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28526 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28529 { echo "$as_me:$LINENO: result
: no
" >&5
28530 echo "${ECHO_T}no
" >&6; }
28531 if test "$PKG_CONFIG" = "no
" ; then
28532 echo "*** A new enough version of pkg
-config was not found.
"
28533 echo "*** See http
://pkgconfig.sourceforge.net
"
28535 if test -f conf.gtktest ; then
28538 echo "*** Could not run GTK
+ test program
, checking why...
"
28539 ac_save_CFLAGS="$CFLAGS"
28540 ac_save_LIBS="$LIBS"
28541 CFLAGS="$CFLAGS $GTK_CFLAGS"
28542 LIBS="$LIBS $GTK_LIBS"
28543 cat >conftest.$ac_ext <<_ACEOF
28546 cat confdefs.h >>conftest.$ac_ext
28547 cat >>conftest.$ac_ext <<_ACEOF
28548 /* end confdefs.h. */
28550 #include <gtk/gtk.h>
28556 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28561 rm -f conftest.$ac_objext conftest$ac_exeext
28562 if { (ac_try="$ac_link"
28563 case "(($ac_try" in
28564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28565 *) ac_try_echo=$ac_try;;
28567 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28568 (eval "$ac_link") 2>conftest.er1
28570 grep -v '^ *+' conftest.er1 >conftest.err
28572 cat conftest.err >&5
28573 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28574 (exit $ac_status); } && {
28575 test -z "$ac_c_werror_flag" ||
28576 test ! -s conftest.err
28577 } && test -s conftest$ac_exeext &&
28578 $as_test_x conftest$ac_exeext; then
28579 echo "*** The
test program compiled
, but did not run. This usually means
"
28580 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28581 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28582 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28583 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28584 echo "*** is required on your system"
28586 echo "*** If you have an old version installed, it is best to remove it, although"
28587 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28589 echo "$as_me: failed program was:" >&5
28590 sed 's
/^
/| /' conftest.$ac_ext >&5
28592 echo "*** The test program failed to compile or link. See the file config.log for the"
28593 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28597 conftest$ac_exeext conftest.$ac_ext
28598 CFLAGS="$ac_save_CFLAGS"
28599 LIBS="$ac_save_LIBS"
28613 if test "$wxUSE_SHARED" != "yes"; then
28614 GTK_LIBS="$GTK_LIBS -lX11"
28619 if test -z "$wx_cv_lib_gtk"; then
28620 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28622 # Check whether --with-gtk-prefix was given.
28623 if test "${with_gtk_prefix+set}" = set; then
28624 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28626 gtk_config_prefix=""
28630 # Check whether --with-gtk-exec-prefix was given.
28631 if test "${with_gtk_exec_prefix+set}" = set; then
28632 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28634 gtk_config_exec_prefix=""
28637 # Check whether --enable-gtktest was given.
28638 if test "${enable_gtktest+set}" = set; then
28639 enableval=$enable_gtktest;
28645 for module in . $GTK_MODULES
28649 gtk_config_args="$gtk_config_args gthread"
28654 if test x$gtk_config_exec_prefix != x ; then
28655 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28656 if test x${GTK_CONFIG+set} != xset ; then
28657 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28660 if test x$gtk_config_prefix != x ; then
28661 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28662 if test x${GTK_CONFIG+set} != xset ; then
28663 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28667 # Extract the first word of "gtk-config", so it can be a program name with args.
28668 set dummy gtk-config; ac_word=$2
28669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28671 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28674 case $GTK_CONFIG in
28676 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28680 for as_dir in $PATH
28683 test -z "$as_dir" && as_dir=.
28684 for ac_exec_ext in '' $ac_executable_extensions; do
28685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28686 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28694 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28698 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28699 if test -n "$GTK_CONFIG"; then
28700 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28701 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28703 { echo "$as_me:$LINENO: result: no" >&5
28704 echo "${ECHO_T}no" >&6; }
28708 min_gtk_version=1.2.7
28709 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28710 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28712 if test "$GTK_CONFIG" = "no" ; then
28715 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28716 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28717 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28718 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28719 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28720 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28721 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28722 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28723 if test "x$enable_gtktest" = "xyes" ; then
28724 ac_save_CFLAGS="$CFLAGS"
28725 ac_save_LIBS="$LIBS"
28726 CFLAGS="$CFLAGS $GTK_CFLAGS"
28727 LIBS="$GTK_LIBS $LIBS"
28729 if test "$cross_compiling" = yes; then
28730 echo $ac_n "cross compiling; assumed OK... $ac_c"
28732 cat >conftest.$ac_ext <<_ACEOF
28735 cat confdefs.h >>conftest.$ac_ext
28736 cat >>conftest.$ac_ext <<_ACEOF
28737 /* end confdefs.h. */
28739 #include <gtk/gtk.h>
28741 #include <stdlib.h>
28746 int major, minor, micro;
28749 system ("touch conf.gtktest");
28751 /* HP/UX 9 (%@#!) writes to sscanf strings */
28752 tmp_version = g_strdup("$min_gtk_version");
28753 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28754 printf("%s, bad version string\n", "$min_gtk_version");
28758 if ((gtk_major_version != $gtk_config_major_version) ||
28759 (gtk_minor_version != $gtk_config_minor_version) ||
28760 (gtk_micro_version != $gtk_config_micro_version))
28762 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28763 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28764 gtk_major_version, gtk_minor_version, gtk_micro_version);
28765 printf ("*** was found! If gtk-config was correct, then it is best\n");
28766 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28767 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28768 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28769 printf("*** required on your system.\n");
28770 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28771 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28772 printf("*** before re-running configure\n");
28774 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28775 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28776 (gtk_minor_version != GTK_MINOR_VERSION) ||
28777 (gtk_micro_version != GTK_MICRO_VERSION))
28779 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28780 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28781 printf("*** library (version %d.%d.%d)\n",
28782 gtk_major_version, gtk_minor_version, gtk_micro_version);
28784 #endif /* defined (GTK_MAJOR_VERSION) ... */
28787 if ((gtk_major_version > major) ||
28788 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28789 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28795 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28796 gtk_major_version, gtk_minor_version, gtk_micro_version);
28797 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28798 major, minor, micro);
28799 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28801 printf("*** If you have already installed a sufficiently new version, this error\n");
28802 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28803 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28804 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28805 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28806 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28807 printf("*** so that the correct libraries are found at run-time))\n");
28814 rm -f conftest$ac_exeext
28815 if { (ac_try="$ac_link"
28816 case "(($ac_try" in
28817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28818 *) ac_try_echo=$ac_try;;
28820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28821 (eval "$ac_link") 2>&5
28823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28825 { (case "(($ac_try" in
28826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28827 *) ac_try_echo=$ac_try;;
28829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28830 (eval "$ac_try") 2>&5
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); }; }; then
28836 echo "$as_me: program exited with status $ac_status" >&5
28837 echo "$as_me: failed program was:" >&5
28838 sed 's
/^
/| /' conftest.$ac_ext >&5
28840 ( exit $ac_status )
28843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28847 CFLAGS="$ac_save_CFLAGS"
28848 LIBS="$ac_save_LIBS"
28851 if test "x$no_gtk" = x ; then
28852 { echo "$as_me:$LINENO: result: yes" >&5
28853 echo "${ECHO_T}yes" >&6; }
28854 wx_cv_lib_gtk=1.2.7
28856 { echo "$as_me:$LINENO: result: no" >&5
28857 echo "${ECHO_T}no" >&6; }
28858 if test "$GTK_CONFIG" = "no" ; then
28859 echo "*** The gtk-config script installed by GTK could not be found"
28860 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28861 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28862 echo "*** full path to gtk-config."
28864 if test -f conf.gtktest ; then
28867 echo "*** Could not run GTK test program, checking why..."
28868 CFLAGS="$CFLAGS $GTK_CFLAGS"
28869 LIBS="$LIBS $GTK_LIBS"
28870 cat >conftest.$ac_ext <<_ACEOF
28873 cat confdefs.h >>conftest.$ac_ext
28874 cat >>conftest.$ac_ext <<_ACEOF
28875 /* end confdefs.h. */
28877 #include <gtk/gtk.h>
28883 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28888 rm -f conftest.$ac_objext conftest$ac_exeext
28889 if { (ac_try="$ac_link"
28890 case "(($ac_try" in
28891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28892 *) ac_try_echo=$ac_try;;
28894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28895 (eval "$ac_link") 2>conftest.er1
28897 grep -v '^
*+' conftest.er1 >conftest.err
28899 cat conftest.err >&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); } && {
28902 test -z "$ac_c_werror_flag" ||
28903 test ! -s conftest.err
28904 } && test -s conftest$ac_exeext &&
28905 $as_test_x conftest$ac_exeext; then
28906 echo "*** The test program compiled, but did not run. This usually means"
28907 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28908 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28909 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28910 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28911 echo "*** is required on your system
"
28913 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28914 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28916 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28917 echo "*** came with the system with the
command"
28919 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28921 echo "$as_me: failed program was
:" >&5
28922 sed 's/^/| /' conftest.$ac_ext >&5
28924 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28925 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28926 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28927 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28931 conftest$ac_exeext conftest.$ac_ext
28932 CFLAGS="$ac_save_CFLAGS"
28933 LIBS="$ac_save_LIBS"
28945 if test -z "$wx_cv_lib_gtk"; then
28947 # Check whether --with-gtk-prefix was given.
28948 if test "${with_gtk_prefix+set}" = set; then
28949 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28951 gtk_config_prefix=""
28955 # Check whether --with-gtk-exec-prefix was given.
28956 if test "${with_gtk_exec_prefix+set}" = set; then
28957 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28959 gtk_config_exec_prefix=""
28962 # Check whether --enable-gtktest was given.
28963 if test "${enable_gtktest+set}" = set; then
28964 enableval=$enable_gtktest;
28970 for module in . $GTK_MODULES
28974 gtk_config_args="$gtk_config_args gthread
"
28979 if test x$gtk_config_exec_prefix != x ; then
28980 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28981 if test x${GTK_CONFIG+set} != xset ; then
28982 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28985 if test x$gtk_config_prefix != x ; then
28986 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28987 if test x${GTK_CONFIG+set} != xset ; then
28988 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28992 # Extract the first word of "gtk
-config", so it can be a program name with args.
28993 set dummy gtk-config; ac_word=$2
28994 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28995 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28996 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28997 echo $ECHO_N "(cached
) $ECHO_C" >&6
28999 case $GTK_CONFIG in
29001 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29005 for as_dir in $PATH
29008 test -z "$as_dir" && as_dir=.
29009 for ac_exec_ext in '' $ac_executable_extensions; do
29010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29011 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29012 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29019 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29023 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29024 if test -n "$GTK_CONFIG"; then
29025 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29026 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29028 { echo "$as_me:$LINENO: result
: no
" >&5
29029 echo "${ECHO_T}no
" >&6; }
29033 min_gtk_version=1.2.3
29034 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29035 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29037 if test "$GTK_CONFIG" = "no
" ; then
29040 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29041 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29042 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29044 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29046 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29048 if test "x
$enable_gtktest" = "xyes
" ; then
29049 ac_save_CFLAGS="$CFLAGS"
29050 ac_save_LIBS="$LIBS"
29051 CFLAGS="$CFLAGS $GTK_CFLAGS"
29052 LIBS="$GTK_LIBS $LIBS"
29054 if test "$cross_compiling" = yes; then
29055 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29057 cat >conftest.$ac_ext <<_ACEOF
29060 cat confdefs.h >>conftest.$ac_ext
29061 cat >>conftest.$ac_ext <<_ACEOF
29062 /* end confdefs.h. */
29064 #include <gtk/gtk.h>
29066 #include <stdlib.h>
29071 int major, minor, micro;
29074 system ("touch conf.gtktest
");
29076 /* HP/UX 9 (%@#!) writes to sscanf strings */
29077 tmp_version = g_strdup("$min_gtk_version");
29078 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29079 printf("%s
, bad version string
\n", "$min_gtk_version");
29083 if ((gtk_major_version != $gtk_config_major_version) ||
29084 (gtk_minor_version != $gtk_config_minor_version) ||
29085 (gtk_micro_version != $gtk_config_micro_version))
29087 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29088 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29089 gtk_major_version, gtk_minor_version, gtk_micro_version);
29090 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29091 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29092 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29093 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29094 printf("*** required on your system.
\n");
29095 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29096 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29097 printf("*** before re
-running configure
\n");
29099 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29100 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29101 (gtk_minor_version != GTK_MINOR_VERSION) ||
29102 (gtk_micro_version != GTK_MICRO_VERSION))
29104 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29105 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29106 printf("*** library
(version
%d.
%d.
%d
)\n",
29107 gtk_major_version, gtk_minor_version, gtk_micro_version);
29109 #endif /* defined (GTK_MAJOR_VERSION) ... */
29112 if ((gtk_major_version > major) ||
29113 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29114 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29120 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29121 gtk_major_version, gtk_minor_version, gtk_micro_version);
29122 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29123 major, minor, micro);
29124 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29126 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29127 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29128 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29129 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29130 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29131 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29132 printf("*** so that the correct libraries are found
at run
-time))\n");
29139 rm -f conftest$ac_exeext
29140 if { (ac_try="$ac_link"
29141 case "(($ac_try" in
29142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29143 *) ac_try_echo=$ac_try;;
29145 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29146 (eval "$ac_link") 2>&5
29148 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29150 { (case "(($ac_try" in
29151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29152 *) ac_try_echo=$ac_try;;
29154 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29155 (eval "$ac_try") 2>&5
29157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29158 (exit $ac_status); }; }; then
29161 echo "$as_me: program exited with status
$ac_status" >&5
29162 echo "$as_me: failed program was
:" >&5
29163 sed 's/^/| /' conftest.$ac_ext >&5
29165 ( exit $ac_status )
29168 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29172 CFLAGS="$ac_save_CFLAGS"
29173 LIBS="$ac_save_LIBS"
29176 if test "x
$no_gtk" = x ; then
29177 { echo "$as_me:$LINENO: result
: yes" >&5
29178 echo "${ECHO_T}yes" >&6; }
29179 wx_cv_lib_gtk=1.2.3
29181 { echo "$as_me:$LINENO: result
: no
" >&5
29182 echo "${ECHO_T}no
" >&6; }
29183 if test "$GTK_CONFIG" = "no
" ; then
29184 echo "*** The gtk
-config script installed by GTK could not be found
"
29185 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29186 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29187 echo "*** full path to gtk
-config.
"
29189 if test -f conf.gtktest ; then
29192 echo "*** Could not run GTK
test program
, checking why...
"
29193 CFLAGS="$CFLAGS $GTK_CFLAGS"
29194 LIBS="$LIBS $GTK_LIBS"
29195 cat >conftest.$ac_ext <<_ACEOF
29198 cat confdefs.h >>conftest.$ac_ext
29199 cat >>conftest.$ac_ext <<_ACEOF
29200 /* end confdefs.h. */
29202 #include <gtk/gtk.h>
29208 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29213 rm -f conftest.$ac_objext conftest$ac_exeext
29214 if { (ac_try="$ac_link"
29215 case "(($ac_try" in
29216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29217 *) ac_try_echo=$ac_try;;
29219 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29220 (eval "$ac_link") 2>conftest.er1
29222 grep -v '^ *+' conftest.er1 >conftest.err
29224 cat conftest.err >&5
29225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29226 (exit $ac_status); } && {
29227 test -z "$ac_c_werror_flag" ||
29228 test ! -s conftest.err
29229 } && test -s conftest$ac_exeext &&
29230 $as_test_x conftest$ac_exeext; then
29231 echo "*** The
test program compiled
, but did not run. This usually means
"
29232 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29233 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29234 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29235 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29236 echo "*** is required on your system"
29238 echo "*** If you have an old version installed, it is best to remove it, although"
29239 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29241 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29242 echo "*** came with the system with the command"
29244 echo "*** rpm --erase --nodeps gtk gtk-devel"
29246 echo "$as_me: failed program was:" >&5
29247 sed 's
/^
/| /' conftest.$ac_ext >&5
29249 echo "*** The test program failed to compile or link. See the file config.log for the"
29250 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29251 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29252 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29256 conftest$ac_exeext conftest.$ac_ext
29257 CFLAGS="$ac_save_CFLAGS"
29258 LIBS="$ac_save_LIBS"
29273 if test -z "$wx_cv_lib_gtk"; then
29276 wx_cv_cflags_gtk=$GTK_CFLAGS
29277 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29284 if test "$gtk_version_cached" = 1; then
29285 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29286 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29289 case "$wx_cv_lib_gtk" in
29298 *) { { echo "$as_me:$LINENO: error:
29299 The development files for GTK+ were not found. For GTK+ 2, please
29300 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29301 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29302 and that the version is 1.2.3 or above. Also check that the
29303 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29304 --libs' are in the LD_LIBRARY_PATH or equivalent.
29306 echo "$as_me: error:
29307 The development files for GTK+ were not found. For GTK+ 2, please
29308 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29309 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29310 and that the version is 1.2.3 or above. Also check that the
29311 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29312 --libs' are in the LD_LIBRARY_PATH or equivalent.
29314 { (exit 1); exit 1; }; }
29318 if test "$WXGTK2" = 1; then
29319 save_CFLAGS="$CFLAGS"
29321 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29322 LIBS="$LIBS $wx_cv_libs_gtk"
29324 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29325 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29326 cat >conftest.$ac_ext <<_ACEOF
29329 cat confdefs.h >>conftest.$ac_ext
29330 cat >>conftest.$ac_ext <<_ACEOF
29331 /* end confdefs.h. */
29333 #include <gtk/gtk.h>
29339 #if !GTK_CHECK_VERSION(2,10,0)
29347 rm -f conftest.$ac_objext
29348 if { (ac_try="$ac_compile"
29349 case "(($ac_try" in
29350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29351 *) ac_try_echo=$ac_try;;
29353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29354 (eval "$ac_compile") 2>conftest.er1
29356 grep -v '^
*+' conftest.er1 >conftest.err
29358 cat conftest.err >&5
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); } && {
29361 test -z "$ac_c_werror_flag" ||
29362 test ! -s conftest.err
29363 } && test -s conftest.$ac_objext; then
29365 cat >>confdefs.h <<\_ACEOF
29366 #define __WXGTK210__ 1
29369 cat >>confdefs.h <<\_ACEOF
29370 #define __WXGTK26__ 1
29373 { echo "$as_me:$LINENO: result: yes" >&5
29374 echo "${ECHO_T}yes" >&6; }
29378 echo "$as_me: failed program was:" >&5
29379 sed 's
/^
/| /' conftest.$ac_ext >&5
29382 { echo "$as_me:$LINENO: result: no" >&5
29383 echo "${ECHO_T}no" >&6; }
29388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29390 if test "$ac_wxgtk210" = 0; then
29391 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29392 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29393 cat >conftest.$ac_ext <<_ACEOF
29396 cat confdefs.h >>conftest.$ac_ext
29397 cat >>conftest.$ac_ext <<_ACEOF
29398 /* end confdefs.h. */
29400 #include <gtk/gtk.h>
29406 #if !GTK_CHECK_VERSION(2,6,0)
29414 rm -f conftest.$ac_objext
29415 if { (ac_try="$ac_compile"
29416 case "(($ac_try" in
29417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29418 *) ac_try_echo=$ac_try;;
29420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29421 (eval "$ac_compile") 2>conftest.er1
29423 grep -v '^
*+' conftest.er1 >conftest.err
29425 cat conftest.err >&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } && {
29428 test -z "$ac_c_werror_flag" ||
29429 test ! -s conftest.err
29430 } && test -s conftest.$ac_objext; then
29432 cat >>confdefs.h <<\_ACEOF
29433 #define __WXGTK26__ 1
29436 { echo "$as_me:$LINENO: result: yes" >&5
29437 echo "${ECHO_T}yes" >&6; }
29441 echo "$as_me: failed program was:" >&5
29442 sed 's
/^
/| /' conftest.$ac_ext >&5
29445 { echo "$as_me:$LINENO: result: no" >&5
29446 echo "${ECHO_T}no" >&6; }
29451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29454 CFLAGS="$save_CFLAGS"
29457 if test "$wxUSE_UNICODE" = "yes"; then
29458 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29459 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29463 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29464 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29465 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29466 echo $ECHO_N "(cached) $ECHO_C" >&6
29468 ac_check_lib_save_LIBS=$LIBS
29470 cat >conftest.$ac_ext <<_ACEOF
29473 cat confdefs.h >>conftest.$ac_ext
29474 cat >>conftest.$ac_ext <<_ACEOF
29475 /* end confdefs.h. */
29477 /* Override any GCC internal prototype to avoid an error.
29478 Use char because int might match the return type of a GCC
29479 builtin and then its argument prototype would still apply. */
29483 char gdk_im_open ();
29487 return gdk_im_open ();
29492 rm -f conftest.$ac_objext conftest$ac_exeext
29493 if { (ac_try="$ac_link"
29494 case "(($ac_try" in
29495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29496 *) ac_try_echo=$ac_try;;
29498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29499 (eval "$ac_link") 2>conftest.er1
29501 grep -v '^
*+' conftest.er1 >conftest.err
29503 cat conftest.err >&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); } && {
29506 test -z "$ac_c_werror_flag" ||
29507 test ! -s conftest.err
29508 } && test -s conftest$ac_exeext &&
29509 $as_test_x conftest$ac_exeext; then
29510 ac_cv_lib_gdk_gdk_im_open=yes
29512 echo "$as_me: failed program was:" >&5
29513 sed 's
/^
/| /' conftest.$ac_ext >&5
29515 ac_cv_lib_gdk_gdk_im_open=no
29518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29519 conftest$ac_exeext conftest.$ac_ext
29520 LIBS=$ac_check_lib_save_LIBS
29522 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29523 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29524 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29525 cat >>confdefs.h <<\_ACEOF
29532 if test "$USE_DARWIN" != 1; then
29534 for ac_func in poll
29536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29537 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29539 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29540 echo $ECHO_N "(cached) $ECHO_C" >&6
29542 cat >conftest.$ac_ext <<_ACEOF
29545 cat confdefs.h >>conftest.$ac_ext
29546 cat >>conftest.$ac_ext <<_ACEOF
29547 /* end confdefs.h. */
29548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29550 #define $ac_func innocuous_$ac_func
29552 /* System header to define __stub macros and hopefully few prototypes,
29553 which can conflict with char $ac_func (); below.
29554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29555 <limits.h> exists even on freestanding compilers. */
29558 # include <limits.h>
29560 # include <assert.h>
29565 /* Override any GCC internal prototype to avoid an error.
29566 Use char because int might match the return type of a GCC
29567 builtin and then its argument prototype would still apply. */
29572 /* The GNU C library defines this for functions which it implements
29573 to always fail with ENOSYS. Some functions are actually named
29574 something starting with __ and the normal name is an alias. */
29575 #if defined __stub_$ac_func || defined __stub___$ac_func
29582 return $ac_func ();
29587 rm -f conftest.$ac_objext conftest$ac_exeext
29588 if { (ac_try="$ac_link"
29589 case "(($ac_try" in
29590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29591 *) ac_try_echo=$ac_try;;
29593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29594 (eval "$ac_link") 2>conftest.er1
29596 grep -v '^
*+' conftest.er1 >conftest.err
29598 cat conftest.err >&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); } && {
29601 test -z "$ac_c_werror_flag" ||
29602 test ! -s conftest.err
29603 } && test -s conftest$ac_exeext &&
29604 $as_test_x conftest$ac_exeext; then
29605 eval "$as_ac_var=yes"
29607 echo "$as_me: failed program was:" >&5
29608 sed 's
/^
/| /' conftest.$ac_ext >&5
29610 eval "$as_ac_var=no"
29613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29614 conftest$ac_exeext conftest.$ac_ext
29616 ac_res=`eval echo '${'$as_ac_var'}'`
29617 { echo "$as_me:$LINENO: result: $ac_res" >&5
29618 echo "${ECHO_T}$ac_res" >&6; }
29619 if test `eval echo '${'$as_ac_var'}'` = yes; then
29620 cat >>confdefs.h <<_ACEOF
29621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29630 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29631 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29633 AFMINSTALL=afminstall
29637 if test "$wxUSE_GPE" = "yes"; then
29638 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29639 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29642 for ac_dir in $SEARCH_LIB;
29644 for ac_extension in a so sl dylib dll.a; do
29645 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29646 ac_find_libraries=$ac_dir
29652 if test "$ac_find_libraries" != "" ; then
29654 if test "$ac_find_libraries" = "default location"; then
29657 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29659 if test $result = 0; then
29662 ac_path_to_link=" -L$ac_find_libraries"
29666 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29668 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29669 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29671 { echo "$as_me:$LINENO: result: not found" >&5
29672 echo "${ECHO_T}not found" >&6; }
29678 if test "$wxUSE_MGL" = 1; then
29679 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29680 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29681 if test "x$MGL_ROOT" = x ; then
29682 { echo "$as_me:$LINENO: result: not found" >&5
29683 echo "${ECHO_T}not found" >&6; }
29684 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29685 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29686 { (exit 1); exit 1; }; }
29688 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29689 echo "${ECHO_T}$MGL_ROOT" >&6; }
29692 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29693 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29696 if test "x$wxUSE_SHARED" = xyes ; then
29697 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29699 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29703 mgl_os_candidates="dos32/dj2"
29706 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29707 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29708 { (exit 1); exit 1; }; }
29714 for mgl_os_i in $mgl_os_candidates ; do
29715 if test "x$mgl_os" = x ; then
29716 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29717 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29718 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29723 if test "x$mgl_lib_type" = x ; then
29724 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29725 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29726 mgl_lib_type=release
29733 if test "x$mgl_os" = x ; then
29734 { echo "$as_me:$LINENO: result: not found" >&5
29735 echo "${ECHO_T}not found" >&6; }
29736 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29737 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29738 { (exit 1); exit 1; }; }
29740 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29741 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29743 wxUSE_UNIVERSAL="yes"
29745 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29746 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29748 AFMINSTALL=afminstall
29753 if test "$wxUSE_DFB" = 1; then
29756 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29757 if test -n "$ac_tool_prefix"; then
29758 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29759 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29762 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29763 echo $ECHO_N "(cached) $ECHO_C" >&6
29765 case $PKG_CONFIG in
29767 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29771 for as_dir in $PATH
29774 test -z "$as_dir" && as_dir=.
29775 for ac_exec_ext in '' $ac_executable_extensions; do
29776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29777 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29788 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29789 if test -n "$PKG_CONFIG"; then
29790 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29791 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29793 { echo "$as_me:$LINENO: result: no" >&5
29794 echo "${ECHO_T}no" >&6; }
29799 if test -z "$ac_cv_path_PKG_CONFIG"; then
29800 ac_pt_PKG_CONFIG=$PKG_CONFIG
29801 # Extract the first word of "pkg-config", so it can be a program name with args.
29802 set dummy pkg-config; ac_word=$2
29803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29805 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29806 echo $ECHO_N "(cached) $ECHO_C" >&6
29808 case $ac_pt_PKG_CONFIG in
29810 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29814 for as_dir in $PATH
29817 test -z "$as_dir" && as_dir=.
29818 for ac_exec_ext in '' $ac_executable_extensions; do
29819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29820 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29831 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29832 if test -n "$ac_pt_PKG_CONFIG"; then
29833 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29834 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29836 { echo "$as_me:$LINENO: result: no" >&5
29837 echo "${ECHO_T}no" >&6; }
29840 if test "x$ac_pt_PKG_CONFIG" = x; then
29843 case $cross_compiling:$ac_tool_warned in
29845 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29846 whose name does not start with the host triplet. If you think this
29847 configuration is useful to you, please write to autoconf@gnu.org." >&5
29848 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29849 whose name does not start with the host triplet. If you think this
29850 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29851 ac_tool_warned=yes ;;
29853 PKG_CONFIG=$ac_pt_PKG_CONFIG
29856 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29860 if test -n "$PKG_CONFIG"; then
29861 _pkg_min_version=0.9.0
29862 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29863 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29864 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29865 { echo "$as_me:$LINENO: result: yes" >&5
29866 echo "${ECHO_T}yes" >&6; }
29868 { echo "$as_me:$LINENO: result: no" >&5
29869 echo "${ECHO_T}no" >&6; }
29877 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29878 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29880 if test -n "$PKG_CONFIG"; then
29881 if test -n "$DIRECTFB_CFLAGS"; then
29882 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29884 if test -n "$PKG_CONFIG" && \
29885 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29886 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; then
29890 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29898 if test -n "$PKG_CONFIG"; then
29899 if test -n "$DIRECTFB_LIBS"; then
29900 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29902 if test -n "$PKG_CONFIG" && \
29903 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29904 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907 (exit $ac_status); }; then
29908 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29919 if test $pkg_failed = yes; then
29921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29922 _pkg_short_errors_supported=yes
29924 _pkg_short_errors_supported=no
29926 if test $_pkg_short_errors_supported = yes; then
29927 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29929 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29931 # Put the nasty error message in config.log where it belongs
29932 echo "$DIRECTFB_PKG_ERRORS" >&5
29935 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29936 echo "$as_me: error: DirectFB not found." >&2;}
29937 { (exit 1); exit 1; }; }
29940 elif test $pkg_failed = untried; then
29942 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29943 echo "$as_me: error: DirectFB not found." >&2;}
29944 { (exit 1); exit 1; }; }
29948 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29949 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29950 { echo "$as_me:$LINENO: result: yes" >&5
29951 echo "${ECHO_T}yes" >&6; }
29953 wxUSE_UNIVERSAL="yes"
29954 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29955 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29962 if test "$wxUSE_MICROWIN" = 1; then
29963 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29964 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29965 if test "x$MICROWINDOWS" = x ; then
29966 { echo "$as_me:$LINENO: result: not found" >&5
29967 echo "${ECHO_T}not found" >&6; }
29968 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29969 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29970 { (exit 1); exit 1; }; }
29972 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29973 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29976 if test -f $MICROWINDOWS/lib/libmwin.a; then
29977 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29978 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29980 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29981 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29982 { (exit 1); exit 1; }; }
29985 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29986 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29988 wxUSE_UNIVERSAL="yes"
29990 AFMINSTALL=afminstall
29992 GUIDIST=MICROWIN_DIST
29994 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29997 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29998 { echo "$as_me:$LINENO: checking for X" >&5
29999 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30002 # Check whether --with-x was given.
30003 if test "${with_x+set}" = set; then
30007 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30008 if test "x$with_x" = xno; then
30009 # The user explicitly disabled X.
30012 case $x_includes,$x_libraries in #(
30013 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30014 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30015 { (exit 1); exit 1; }; };; #(
30016 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30017 echo $ECHO_N "(cached) $ECHO_C" >&6
30019 # One or both of the vars are not set, and there is no cached value.
30020 ac_x_includes=no ac_x_libraries=no
30021 rm -f -r conftest.dir
30022 if mkdir conftest.dir; then
30024 cat >Imakefile <<'_ACEOF'
30026 @echo incroot='${INCROOT}'
30028 @echo usrlibdir='${USRLIBDIR}'
30030 @echo libdir='${LIBDIR}'
30032 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30033 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30034 for ac_var in incroot usrlibdir libdir; do
30035 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30037 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30038 for ac_extension in a so sl; do
30039 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30040 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30041 ac_im_usrlibdir=$ac_im_libdir; break
30044 # Screen out bogus values from the imake configuration. They are
30045 # bogus both because they are the default anyway, and because
30046 # using them would break gcc on systems where it needs fixed includes.
30047 case $ac_im_incroot in
30048 /usr/include) ac_x_includes= ;;
30049 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30051 case $ac_im_usrlibdir in
30052 /usr/lib | /lib) ;;
30053 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30057 rm -f -r conftest.dir
30060 # Standard set of common directories for X headers.
30061 # Check X11 before X11Rn because it is often a symlink to the current release.
30073 /usr
/local
/X
11/include
30074 /usr
/local
/X
11R
6/include
30075 /usr
/local
/X
11R
5/include
30076 /usr
/local
/X
11R
4/include
30078 /usr
/local
/include
/X11
30079 /usr
/local
/include
/X11R6
30080 /usr
/local
/include
/X11R5
30081 /usr
/local
/include
/X11R4
30085 /usr
/XFree
86/include
/X11
30089 /usr
/unsupported
/include
30090 /usr
/athena
/include
30091 /usr
/local
/x
11r
5/include
30092 /usr
/lpp
/Xamples
/include
30094 /usr
/openwin
/include
30095 /usr
/openwin
/share
/include
'
30097 if test "$ac_x_includes" = no; then
30098 # Guess where to find include files, by looking for Xlib.h.
30099 # First, try using that file with no special directory specified.
30100 cat >conftest.$ac_ext <<_ACEOF
30103 cat confdefs.h >>conftest.$ac_ext
30104 cat >>conftest.$ac_ext <<_ACEOF
30105 /* end confdefs.h. */
30106 #include <X11/Xlib.h>
30108 if { (ac_try="$ac_cpp conftest.$ac_ext"
30109 case "(($ac_try" in
30110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30111 *) ac_try_echo=$ac_try;;
30113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30114 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30116 grep -v '^
*+' conftest.er1 >conftest.err
30118 cat conftest.err >&5
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); } >/dev/null && {
30121 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30122 test ! -s conftest.err
30124 # We can compile using X headers with no special include directory.
30127 echo "$as_me: failed program was:" >&5
30128 sed 's
/^
/| /' conftest.$ac_ext >&5
30130 for ac_dir in $ac_x_header_dirs; do
30131 if test -r "$ac_dir/X11/Xlib.h"; then
30132 ac_x_includes=$ac_dir
30138 rm -f conftest.err conftest.$ac_ext
30139 fi # $ac_x_includes = no
30141 if test "$ac_x_libraries" = no; then
30142 # Check for the libraries.
30143 # See if we find them without any special options.
30144 # Don't add to
$LIBS permanently.
30147 cat >conftest.
$ac_ext <<_ACEOF
30150 cat confdefs.h
>>conftest.
$ac_ext
30151 cat >>conftest.
$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 #include <X11/Xlib.h>
30162 rm -f conftest.
$ac_objext conftest
$ac_exeext
30163 if { (ac_try
="$ac_link"
30164 case "(($ac_try" in
30165 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30166 *) ac_try_echo=$ac_try;;
30168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30169 (eval "$ac_link") 2>conftest.er1
30171 grep -v '^ *+' conftest.er1 >conftest.err
30173 cat conftest.err >&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); } && {
30176 test -z "$ac_c_werror_flag" ||
30177 test ! -s conftest.err
30178 } && test -s conftest$ac_exeext &&
30179 $as_test_x conftest$ac_exeext; then
30181 # We can link X programs with no special library path.
30184 echo "$as_me: failed program was:" >&5
30185 sed 's/^/| /' conftest.$ac_ext >&5
30188 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30190 # Don't even attempt the hair of trying to link an X program!
30191 for ac_extension in a so sl; do
30192 if test -r "$ac_dir/libX11.$ac_extension"; then
30193 ac_x_libraries=$ac_dir
30200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30201 conftest$ac_exeext conftest.$ac_ext
30202 fi # $ac_x_libraries = no
30204 case $ac_x_includes,$ac_x_libraries in #(
30205 no,* | *,no | *\'*)
30206 # Didn't find X, or a directory has "'" in its name.
30207 ac_cv_have_x="have_x=no";; #(
30209 # Record where we found X for the cache.
30210 ac_cv_have_x="have_x=yes\
30211 ac_x_includes='$ac_x_includes'\
30212 ac_x_libraries='$ac_x_libraries'"
30218 eval "$ac_cv_have_x"
30221 if test "$have_x" != yes; then
30222 { echo "$as_me:$LINENO: result: $have_x" >&5
30223 echo "${ECHO_T}$have_x" >&6; }
30226 # If each of the values was on the command line, it overrides each guess.
30227 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30228 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30229 # Update the cache value to reflect the command line values.
30230 ac_cv_have_x="have_x=yes\
30231 ac_x_includes='$x_includes'\
30232 ac_x_libraries='$x_libraries'"
30233 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30234 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30237 if test "$no_x" = yes; then
30238 # Not all programs may use this symbol, but it does not hurt to define it.
30240 cat >>confdefs.h <<\_ACEOF
30241 #define X_DISPLAY_MISSING 1
30244 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30246 if test -n "$x_includes"; then
30247 X_CFLAGS="$X_CFLAGS -I$x_includes"
30250 # It would also be nice to do this for all -L options, not just this one.
30251 if test -n "$x_libraries"; then
30252 X_LIBS="$X_LIBS -L$x_libraries"
30253 # For Solaris; some versions of Sun CC require a space after -R and
30254 # others require no space. Words are not sufficient . . . .
30255 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30256 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30257 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30258 ac_xsave_c_werror_flag=$ac_c_werror_flag
30259 ac_c_werror_flag=yes
30260 cat >conftest.$ac_ext <<_ACEOF
30263 cat confdefs.h >>conftest.$ac_ext
30264 cat >>conftest.$ac_ext <<_ACEOF
30265 /* end confdefs.h. */
30275 rm -f conftest.$ac_objext conftest$ac_exeext
30276 if { (ac_try="$ac_link"
30277 case "(($ac_try" in
30278 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30279 *) ac_try_echo
=$ac_try;;
30281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30282 (eval "$ac_link") 2>conftest.er1
30284 grep -v '^ *+' conftest.er1
>conftest.err
30286 cat conftest.err
>&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); } && {
30289 test -z "$ac_c_werror_flag" ||
30290 test ! -s conftest.err
30291 } && test -s conftest
$ac_exeext &&
30292 $as_test_x conftest
$ac_exeext; then
30293 { echo "$as_me:$LINENO: result: no" >&5
30294 echo "${ECHO_T}no" >&6; }
30295 X_LIBS
="$X_LIBS -R$x_libraries"
30297 echo "$as_me: failed program was:" >&5
30298 sed 's/^/| /' conftest.
$ac_ext >&5
30300 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30301 cat >conftest.
$ac_ext <<_ACEOF
30304 cat confdefs.h
>>conftest.
$ac_ext
30305 cat >>conftest.
$ac_ext <<_ACEOF
30306 /* end confdefs.h. */
30316 rm -f conftest.
$ac_objext conftest
$ac_exeext
30317 if { (ac_try
="$ac_link"
30318 case "(($ac_try" in
30319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30320 *) ac_try_echo=$ac_try;;
30322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30323 (eval "$ac_link") 2>conftest.er1
30325 grep -v '^ *+' conftest.er1 >conftest.err
30327 cat conftest.err >&5
30328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329 (exit $ac_status); } && {
30330 test -z "$ac_c_werror_flag" ||
30331 test ! -s conftest.err
30332 } && test -s conftest$ac_exeext &&
30333 $as_test_x conftest$ac_exeext; then
30334 { echo "$as_me:$LINENO: result: yes" >&5
30335 echo "${ECHO_T}yes" >&6; }
30336 X_LIBS="$X_LIBS -R $x_libraries"
30338 echo "$as_me: failed program was:" >&5
30339 sed 's/^/| /' conftest.$ac_ext >&5
30341 { echo "$as_me:$LINENO: result: neither works" >&5
30342 echo "${ECHO_T}neither works" >&6; }
30345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30346 conftest$ac_exeext conftest.$ac_ext
30349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30350 conftest$ac_exeext conftest.$ac_ext
30351 ac_c_werror_flag=$ac_xsave_c_werror_flag
30352 LIBS=$ac_xsave_LIBS
30355 # Check for system-dependent libraries X programs must link with.
30356 # Do this before checking for the system-independent R6 libraries
30357 # (-lICE), since we may need -lsocket or whatever for X linking.
30359 if test "$ISC" = yes; then
30360 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30362 # Martyn Johnson says this is needed for Ultrix, if the X
30363 # libraries were built with DECnet support. And Karl Berry says
30364 # the Alpha needs dnet_stub (dnet does not exist).
30365 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30366 cat >conftest.$ac_ext <<_ACEOF
30369 cat confdefs.h >>conftest.$ac_ext
30370 cat >>conftest.$ac_ext <<_ACEOF
30371 /* end confdefs.h. */
30373 /* Override any GCC internal prototype to avoid an error.
30374 Use char because int might match the return type of a GCC
30375 builtin and then its argument prototype would still apply. */
30379 char XOpenDisplay ();
30383 return XOpenDisplay ();
30388 rm -f conftest.$ac_objext conftest$ac_exeext
30389 if { (ac_try="$ac_link"
30390 case "(($ac_try" in
30391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30392 *) ac_try_echo
=$ac_try;;
30394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30395 (eval "$ac_link") 2>conftest.er1
30397 grep -v '^ *+' conftest.er1
>conftest.err
30399 cat conftest.err
>&5
30400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30401 (exit $ac_status); } && {
30402 test -z "$ac_c_werror_flag" ||
30403 test ! -s conftest.err
30404 } && test -s conftest
$ac_exeext &&
30405 $as_test_x conftest
$ac_exeext; then
30408 echo "$as_me: failed program was:" >&5
30409 sed 's/^/| /' conftest.
$ac_ext >&5
30411 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30412 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30413 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30414 echo $ECHO_N "(cached) $ECHO_C" >&6
30416 ac_check_lib_save_LIBS
=$LIBS
30417 LIBS
="-ldnet $LIBS"
30418 cat >conftest.
$ac_ext <<_ACEOF
30421 cat confdefs.h
>>conftest.
$ac_ext
30422 cat >>conftest.
$ac_ext <<_ACEOF
30423 /* end confdefs.h. */
30425 /* Override any GCC internal prototype to avoid an error.
30426 Use char because int might match the return type of a GCC
30427 builtin and then its argument prototype would still apply. */
30435 return dnet_ntoa ();
30440 rm -f conftest.
$ac_objext conftest
$ac_exeext
30441 if { (ac_try
="$ac_link"
30442 case "(($ac_try" in
30443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30444 *) ac_try_echo=$ac_try;;
30446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30447 (eval "$ac_link") 2>conftest.er1
30449 grep -v '^ *+' conftest.er1 >conftest.err
30451 cat conftest.err >&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } && {
30454 test -z "$ac_c_werror_flag" ||
30455 test ! -s conftest.err
30456 } && test -s conftest$ac_exeext &&
30457 $as_test_x conftest$ac_exeext; then
30458 ac_cv_lib_dnet_dnet_ntoa=yes
30460 echo "$as_me: failed program was:" >&5
30461 sed 's/^/| /' conftest.$ac_ext >&5
30463 ac_cv_lib_dnet_dnet_ntoa=no
30466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30467 conftest$ac_exeext conftest.$ac_ext
30468 LIBS=$ac_check_lib_save_LIBS
30470 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30471 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30472 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30473 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30476 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30477 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30478 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30479 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30482 ac_check_lib_save_LIBS=$LIBS
30483 LIBS="-ldnet_stub $LIBS"
30484 cat >conftest.$ac_ext <<_ACEOF
30487 cat confdefs.h >>conftest.$ac_ext
30488 cat >>conftest.$ac_ext <<_ACEOF
30489 /* end confdefs.h. */
30491 /* Override any GCC internal prototype to avoid an error.
30492 Use char because int might match the return type of a GCC
30493 builtin and then its argument prototype would still apply. */
30501 return dnet_ntoa ();
30506 rm -f conftest.$ac_objext conftest$ac_exeext
30507 if { (ac_try="$ac_link"
30508 case "(($ac_try" in
30509 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30510 *) ac_try_echo
=$ac_try;;
30512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30513 (eval "$ac_link") 2>conftest.er1
30515 grep -v '^ *+' conftest.er1
>conftest.err
30517 cat conftest.err
>&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); } && {
30520 test -z "$ac_c_werror_flag" ||
30521 test ! -s conftest.err
30522 } && test -s conftest
$ac_exeext &&
30523 $as_test_x conftest
$ac_exeext; then
30524 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30526 echo "$as_me: failed program was:" >&5
30527 sed 's/^/| /' conftest.
$ac_ext >&5
30529 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30532 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30533 conftest
$ac_exeext conftest.
$ac_ext
30534 LIBS
=$ac_check_lib_save_LIBS
30536 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30537 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30538 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30539 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30545 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30546 conftest
$ac_exeext conftest.
$ac_ext
30547 LIBS
="$ac_xsave_LIBS"
30549 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30550 # to get the SysV transport functions.
30551 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30553 # The nsl library prevents programs from opening the X display
30554 # on Irix 5.2, according to T.E. Dickey.
30555 # The functions gethostbyname, getservbyname, and inet_addr are
30556 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30557 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30558 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30559 if test "${ac_cv_func_gethostbyname+set}" = set; then
30560 echo $ECHO_N "(cached) $ECHO_C" >&6
30562 cat >conftest.
$ac_ext <<_ACEOF
30565 cat confdefs.h
>>conftest.
$ac_ext
30566 cat >>conftest.
$ac_ext <<_ACEOF
30567 /* end confdefs.h. */
30568 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30570 #define gethostbyname innocuous_gethostbyname
30572 /* System header to define __stub macros and hopefully few prototypes,
30573 which can conflict with char gethostbyname (); below.
30574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30575 <limits.h> exists even on freestanding compilers. */
30578 # include <limits.h>
30580 # include <assert.h>
30583 #undef gethostbyname
30585 /* Override any GCC internal prototype to avoid an error.
30586 Use char because int might match the return type of a GCC
30587 builtin and then its argument prototype would still apply. */
30591 char gethostbyname ();
30592 /* The GNU C library defines this for functions which it implements
30593 to always fail with ENOSYS. Some functions are actually named
30594 something starting with __ and the normal name is an alias. */
30595 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30602 return gethostbyname ();
30607 rm -f conftest.
$ac_objext conftest
$ac_exeext
30608 if { (ac_try
="$ac_link"
30609 case "(($ac_try" in
30610 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30611 *) ac_try_echo=$ac_try;;
30613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30614 (eval "$ac_link") 2>conftest.er1
30616 grep -v '^ *+' conftest.er1 >conftest.err
30618 cat conftest.err >&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); } && {
30621 test -z "$ac_c_werror_flag" ||
30622 test ! -s conftest.err
30623 } && test -s conftest$ac_exeext &&
30624 $as_test_x conftest$ac_exeext; then
30625 ac_cv_func_gethostbyname=yes
30627 echo "$as_me: failed program was:" >&5
30628 sed 's/^/| /' conftest.$ac_ext >&5
30630 ac_cv_func_gethostbyname=no
30633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30634 conftest$ac_exeext conftest.$ac_ext
30636 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30637 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30639 if test $ac_cv_func_gethostbyname = no; then
30640 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30641 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30642 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30645 ac_check_lib_save_LIBS=$LIBS
30647 cat >conftest.$ac_ext <<_ACEOF
30650 cat confdefs.h >>conftest.$ac_ext
30651 cat >>conftest.$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30654 /* Override any GCC internal prototype to avoid an error.
30655 Use char because int might match the return type of a GCC
30656 builtin and then its argument prototype would still apply. */
30660 char gethostbyname ();
30664 return gethostbyname ();
30669 rm -f conftest.$ac_objext conftest$ac_exeext
30670 if { (ac_try="$ac_link"
30671 case "(($ac_try" in
30672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30673 *) ac_try_echo
=$ac_try;;
30675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30676 (eval "$ac_link") 2>conftest.er1
30678 grep -v '^ *+' conftest.er1
>conftest.err
30680 cat conftest.err
>&5
30681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30682 (exit $ac_status); } && {
30683 test -z "$ac_c_werror_flag" ||
30684 test ! -s conftest.err
30685 } && test -s conftest
$ac_exeext &&
30686 $as_test_x conftest
$ac_exeext; then
30687 ac_cv_lib_nsl_gethostbyname
=yes
30689 echo "$as_me: failed program was:" >&5
30690 sed 's/^/| /' conftest.
$ac_ext >&5
30692 ac_cv_lib_nsl_gethostbyname
=no
30695 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30696 conftest
$ac_exeext conftest.
$ac_ext
30697 LIBS
=$ac_check_lib_save_LIBS
30699 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30700 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30701 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30702 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30705 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30706 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30707 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30708 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30709 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 ac_check_lib_save_LIBS
=$LIBS
30713 cat >conftest.
$ac_ext <<_ACEOF
30716 cat confdefs.h
>>conftest.
$ac_ext
30717 cat >>conftest.
$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30720 /* Override any GCC internal prototype to avoid an error.
30721 Use char because int might match the return type of a GCC
30722 builtin and then its argument prototype would still apply. */
30726 char gethostbyname ();
30730 return gethostbyname ();
30735 rm -f conftest.
$ac_objext conftest
$ac_exeext
30736 if { (ac_try
="$ac_link"
30737 case "(($ac_try" in
30738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30739 *) ac_try_echo=$ac_try;;
30741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30742 (eval "$ac_link") 2>conftest.er1
30744 grep -v '^ *+' conftest.er1 >conftest.err
30746 cat conftest.err >&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); } && {
30749 test -z "$ac_c_werror_flag" ||
30750 test ! -s conftest.err
30751 } && test -s conftest$ac_exeext &&
30752 $as_test_x conftest$ac_exeext; then
30753 ac_cv_lib_bsd_gethostbyname=yes
30755 echo "$as_me: failed program was:" >&5
30756 sed 's/^/| /' conftest.$ac_ext >&5
30758 ac_cv_lib_bsd_gethostbyname=no
30761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30762 conftest$ac_exeext conftest.$ac_ext
30763 LIBS=$ac_check_lib_save_LIBS
30765 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30766 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30767 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30774 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30775 # socket/setsockopt and other routines are undefined under SCO ODT
30776 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30777 # on later versions), says Simon Leinen: it contains gethostby*
30778 # variants that don't use the name server (or something). -lsocket
30779 # must be given before -lnsl if both are needed. We assume that
30780 # if connect needs -lnsl, so does gethostbyname.
30781 { echo "$as_me:$LINENO: checking for connect" >&5
30782 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30783 if test "${ac_cv_func_connect+set}" = set; then
30784 echo $ECHO_N "(cached) $ECHO_C" >&6
30786 cat >conftest.$ac_ext <<_ACEOF
30789 cat confdefs.h >>conftest.$ac_ext
30790 cat >>conftest.$ac_ext <<_ACEOF
30791 /* end confdefs.h. */
30792 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30794 #define connect innocuous_connect
30796 /* System header to define __stub macros and hopefully few prototypes,
30797 which can conflict with char connect (); below.
30798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30799 <limits.h> exists even on freestanding compilers. */
30802 # include <limits.h>
30804 # include <assert.h>
30809 /* Override any GCC internal prototype to avoid an error.
30810 Use char because int might match the return type of a GCC
30811 builtin and then its argument prototype would still apply. */
30816 /* The GNU C library defines this for functions which it implements
30817 to always fail with ENOSYS. Some functions are actually named
30818 something starting with __ and the normal name is an alias. */
30819 #if defined __stub_connect || defined __stub___connect
30831 rm -f conftest.$ac_objext conftest$ac_exeext
30832 if { (ac_try="$ac_link"
30833 case "(($ac_try" in
30834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30835 *) ac_try_echo
=$ac_try;;
30837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30838 (eval "$ac_link") 2>conftest.er1
30840 grep -v '^ *+' conftest.er1
>conftest.err
30842 cat conftest.err
>&5
30843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844 (exit $ac_status); } && {
30845 test -z "$ac_c_werror_flag" ||
30846 test ! -s conftest.err
30847 } && test -s conftest
$ac_exeext &&
30848 $as_test_x conftest
$ac_exeext; then
30849 ac_cv_func_connect
=yes
30851 echo "$as_me: failed program was:" >&5
30852 sed 's/^/| /' conftest.
$ac_ext >&5
30854 ac_cv_func_connect
=no
30857 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30858 conftest
$ac_exeext conftest.
$ac_ext
30860 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30861 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30863 if test $ac_cv_func_connect = no
; then
30864 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30865 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30866 if test "${ac_cv_lib_socket_connect+set}" = set; then
30867 echo $ECHO_N "(cached) $ECHO_C" >&6
30869 ac_check_lib_save_LIBS
=$LIBS
30870 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30871 cat >conftest.
$ac_ext <<_ACEOF
30874 cat confdefs.h
>>conftest.
$ac_ext
30875 cat >>conftest.
$ac_ext <<_ACEOF
30876 /* end confdefs.h. */
30878 /* Override any GCC internal prototype to avoid an error.
30879 Use char because int might match the return type of a GCC
30880 builtin and then its argument prototype would still apply. */
30893 rm -f conftest.
$ac_objext conftest
$ac_exeext
30894 if { (ac_try
="$ac_link"
30895 case "(($ac_try" in
30896 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30897 *) ac_try_echo=$ac_try;;
30899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30900 (eval "$ac_link") 2>conftest.er1
30902 grep -v '^ *+' conftest.er1 >conftest.err
30904 cat conftest.err >&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); } && {
30907 test -z "$ac_c_werror_flag" ||
30908 test ! -s conftest.err
30909 } && test -s conftest$ac_exeext &&
30910 $as_test_x conftest$ac_exeext; then
30911 ac_cv_lib_socket_connect=yes
30913 echo "$as_me: failed program was:" >&5
30914 sed 's/^/| /' conftest.$ac_ext >&5
30916 ac_cv_lib_socket_connect=no
30919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30920 conftest$ac_exeext conftest.$ac_ext
30921 LIBS=$ac_check_lib_save_LIBS
30923 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30924 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30925 if test $ac_cv_lib_socket_connect = yes; then
30926 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30931 # Guillermo Gomez says -lposix is necessary on A/UX.
30932 { echo "$as_me:$LINENO: checking for remove" >&5
30933 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30934 if test "${ac_cv_func_remove+set}" = set; then
30935 echo $ECHO_N "(cached) $ECHO_C" >&6
30937 cat >conftest.$ac_ext <<_ACEOF
30940 cat confdefs.h >>conftest.$ac_ext
30941 cat >>conftest.$ac_ext <<_ACEOF
30942 /* end confdefs.h. */
30943 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30945 #define remove innocuous_remove
30947 /* System header to define __stub macros and hopefully few prototypes,
30948 which can conflict with char remove (); below.
30949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30950 <limits.h> exists even on freestanding compilers. */
30953 # include <limits.h>
30955 # include <assert.h>
30960 /* Override any GCC internal prototype to avoid an error.
30961 Use char because int might match the return type of a GCC
30962 builtin and then its argument prototype would still apply. */
30967 /* The GNU C library defines this for functions which it implements
30968 to always fail with ENOSYS. Some functions are actually named
30969 something starting with __ and the normal name is an alias. */
30970 #if defined __stub_remove || defined __stub___remove
30982 rm -f conftest.$ac_objext conftest$ac_exeext
30983 if { (ac_try="$ac_link"
30984 case "(($ac_try" in
30985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30986 *) ac_try_echo
=$ac_try;;
30988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30989 (eval "$ac_link") 2>conftest.er1
30991 grep -v '^ *+' conftest.er1
>conftest.err
30993 cat conftest.err
>&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); } && {
30996 test -z "$ac_c_werror_flag" ||
30997 test ! -s conftest.err
30998 } && test -s conftest
$ac_exeext &&
30999 $as_test_x conftest
$ac_exeext; then
31000 ac_cv_func_remove
=yes
31002 echo "$as_me: failed program was:" >&5
31003 sed 's/^/| /' conftest.
$ac_ext >&5
31005 ac_cv_func_remove
=no
31008 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31009 conftest
$ac_exeext conftest.
$ac_ext
31011 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31012 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31014 if test $ac_cv_func_remove = no
; then
31015 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31016 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31017 if test "${ac_cv_lib_posix_remove+set}" = set; then
31018 echo $ECHO_N "(cached) $ECHO_C" >&6
31020 ac_check_lib_save_LIBS
=$LIBS
31021 LIBS
="-lposix $LIBS"
31022 cat >conftest.
$ac_ext <<_ACEOF
31025 cat confdefs.h
>>conftest.
$ac_ext
31026 cat >>conftest.
$ac_ext <<_ACEOF
31027 /* end confdefs.h. */
31029 /* Override any GCC internal prototype to avoid an error.
31030 Use char because int might match the return type of a GCC
31031 builtin and then its argument prototype would still apply. */
31044 rm -f conftest.
$ac_objext conftest
$ac_exeext
31045 if { (ac_try
="$ac_link"
31046 case "(($ac_try" in
31047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31048 *) ac_try_echo=$ac_try;;
31050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31051 (eval "$ac_link") 2>conftest.er1
31053 grep -v '^ *+' conftest.er1 >conftest.err
31055 cat conftest.err >&5
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); } && {
31058 test -z "$ac_c_werror_flag" ||
31059 test ! -s conftest.err
31060 } && test -s conftest$ac_exeext &&
31061 $as_test_x conftest$ac_exeext; then
31062 ac_cv_lib_posix_remove=yes
31064 echo "$as_me: failed program was:" >&5
31065 sed 's/^/| /' conftest.$ac_ext >&5
31067 ac_cv_lib_posix_remove=no
31070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31071 conftest$ac_exeext conftest.$ac_ext
31072 LIBS=$ac_check_lib_save_LIBS
31074 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31075 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31076 if test $ac_cv_lib_posix_remove = yes; then
31077 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31082 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31083 { echo "$as_me:$LINENO: checking for shmat" >&5
31084 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31085 if test "${ac_cv_func_shmat+set}" = set; then
31086 echo $ECHO_N "(cached) $ECHO_C" >&6
31088 cat >conftest.$ac_ext <<_ACEOF
31091 cat confdefs.h >>conftest.$ac_ext
31092 cat >>conftest.$ac_ext <<_ACEOF
31093 /* end confdefs.h. */
31094 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31096 #define shmat innocuous_shmat
31098 /* System header to define __stub macros and hopefully few prototypes,
31099 which can conflict with char shmat (); below.
31100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31101 <limits.h> exists even on freestanding compilers. */
31104 # include <limits.h>
31106 # include <assert.h>
31111 /* Override any GCC internal prototype to avoid an error.
31112 Use char because int might match the return type of a GCC
31113 builtin and then its argument prototype would still apply. */
31118 /* The GNU C library defines this for functions which it implements
31119 to always fail with ENOSYS. Some functions are actually named
31120 something starting with __ and the normal name is an alias. */
31121 #if defined __stub_shmat || defined __stub___shmat
31133 rm -f conftest.$ac_objext conftest$ac_exeext
31134 if { (ac_try="$ac_link"
31135 case "(($ac_try" in
31136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31137 *) ac_try_echo
=$ac_try;;
31139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31140 (eval "$ac_link") 2>conftest.er1
31142 grep -v '^ *+' conftest.er1
>conftest.err
31144 cat conftest.err
>&5
31145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31146 (exit $ac_status); } && {
31147 test -z "$ac_c_werror_flag" ||
31148 test ! -s conftest.err
31149 } && test -s conftest
$ac_exeext &&
31150 $as_test_x conftest
$ac_exeext; then
31151 ac_cv_func_shmat
=yes
31153 echo "$as_me: failed program was:" >&5
31154 sed 's/^/| /' conftest.
$ac_ext >&5
31156 ac_cv_func_shmat
=no
31159 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31160 conftest
$ac_exeext conftest.
$ac_ext
31162 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31163 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31165 if test $ac_cv_func_shmat = no
; then
31166 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31167 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31168 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31169 echo $ECHO_N "(cached) $ECHO_C" >&6
31171 ac_check_lib_save_LIBS
=$LIBS
31173 cat >conftest.
$ac_ext <<_ACEOF
31176 cat confdefs.h
>>conftest.
$ac_ext
31177 cat >>conftest.
$ac_ext <<_ACEOF
31178 /* end confdefs.h. */
31180 /* Override any GCC internal prototype to avoid an error.
31181 Use char because int might match the return type of a GCC
31182 builtin and then its argument prototype would still apply. */
31195 rm -f conftest.
$ac_objext conftest
$ac_exeext
31196 if { (ac_try
="$ac_link"
31197 case "(($ac_try" in
31198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31199 *) ac_try_echo=$ac_try;;
31201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31202 (eval "$ac_link") 2>conftest.er1
31204 grep -v '^ *+' conftest.er1 >conftest.err
31206 cat conftest.err >&5
31207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208 (exit $ac_status); } && {
31209 test -z "$ac_c_werror_flag" ||
31210 test ! -s conftest.err
31211 } && test -s conftest$ac_exeext &&
31212 $as_test_x conftest$ac_exeext; then
31213 ac_cv_lib_ipc_shmat=yes
31215 echo "$as_me: failed program was:" >&5
31216 sed 's/^/| /' conftest.$ac_ext >&5
31218 ac_cv_lib_ipc_shmat=no
31221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31222 conftest$ac_exeext conftest.$ac_ext
31223 LIBS=$ac_check_lib_save_LIBS
31225 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31226 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31227 if test $ac_cv_lib_ipc_shmat = yes; then
31228 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31234 # Check for libraries that X11R6 Xt/Xaw programs need.
31235 ac_save_LDFLAGS=$LDFLAGS
31236 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31237 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31238 # check for ICE first), but we must link in the order -lSM -lICE or
31239 # we get undefined symbols. So assume we have SM if we have ICE.
31240 # These have to be linked with before -lX11, unlike the other
31241 # libraries we check for below, so use a different variable.
31242 # John Interrante, Karl Berry
31243 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31244 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31245 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31246 echo $ECHO_N "(cached) $ECHO_C" >&6
31248 ac_check_lib_save_LIBS=$LIBS
31249 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31250 cat >conftest.$ac_ext <<_ACEOF
31253 cat confdefs.h >>conftest.$ac_ext
31254 cat >>conftest.$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31257 /* Override any GCC internal prototype to avoid an error.
31258 Use char because int might match the return type of a GCC
31259 builtin and then its argument prototype would still apply. */
31263 char IceConnectionNumber ();
31267 return IceConnectionNumber ();
31272 rm -f conftest.$ac_objext conftest$ac_exeext
31273 if { (ac_try="$ac_link"
31274 case "(($ac_try" in
31275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31276 *) ac_try_echo
=$ac_try;;
31278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31279 (eval "$ac_link") 2>conftest.er1
31281 grep -v '^ *+' conftest.er1
>conftest.err
31283 cat conftest.err
>&5
31284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31285 (exit $ac_status); } && {
31286 test -z "$ac_c_werror_flag" ||
31287 test ! -s conftest.err
31288 } && test -s conftest
$ac_exeext &&
31289 $as_test_x conftest
$ac_exeext; then
31290 ac_cv_lib_ICE_IceConnectionNumber
=yes
31292 echo "$as_me: failed program was:" >&5
31293 sed 's/^/| /' conftest.
$ac_ext >&5
31295 ac_cv_lib_ICE_IceConnectionNumber
=no
31298 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31299 conftest
$ac_exeext conftest.
$ac_ext
31300 LIBS
=$ac_check_lib_save_LIBS
31302 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31303 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31304 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31305 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31308 LDFLAGS
=$ac_save_LDFLAGS
31313 if test "$no_x" = "yes"; then
31314 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31315 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31316 { (exit 1); exit 1; }; }
31319 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31320 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31321 AFMINSTALL
=afminstall
31322 COMPILED_X_PROGRAM
=0
31326 if test "$wxUSE_X11" = 1; then
31327 if test "$wxUSE_NANOX" = "yes"; then
31328 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31329 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31330 if test "x$MICROWIN" = x
; then
31331 { echo "$as_me:$LINENO: result: not found" >&5
31332 echo "${ECHO_T}not found" >&6; }
31333 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31334 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31335 { (exit 1); exit 1; }; }
31337 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31338 echo "${ECHO_T}$MICROWIN" >&6; }
31339 cat >>confdefs.h
<<\_ACEOF
31340 #define wxUSE_NANOX 1
31346 if test "$wxUSE_UNICODE" = "yes"; then
31349 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31350 if test -n "$ac_tool_prefix"; then
31351 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31352 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31355 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31358 case $PKG_CONFIG in
31360 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31364 for as_dir
in $PATH
31367 test -z "$as_dir" && as_dir
=.
31368 for ac_exec_ext
in '' $ac_executable_extensions; do
31369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31370 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31381 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31382 if test -n "$PKG_CONFIG"; then
31383 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31384 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31386 { echo "$as_me:$LINENO: result: no" >&5
31387 echo "${ECHO_T}no" >&6; }
31392 if test -z "$ac_cv_path_PKG_CONFIG"; then
31393 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31394 # Extract the first word of "pkg-config", so it can be a program name with args.
31395 set dummy pkg
-config; ac_word
=$2
31396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31398 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31399 echo $ECHO_N "(cached) $ECHO_C" >&6
31401 case $ac_pt_PKG_CONFIG in
31403 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31407 for as_dir
in $PATH
31410 test -z "$as_dir" && as_dir
=.
31411 for ac_exec_ext
in '' $ac_executable_extensions; do
31412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31413 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31424 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31425 if test -n "$ac_pt_PKG_CONFIG"; then
31426 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31427 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31429 { echo "$as_me:$LINENO: result: no" >&5
31430 echo "${ECHO_T}no" >&6; }
31433 if test "x$ac_pt_PKG_CONFIG" = x
; then
31436 case $cross_compiling:$ac_tool_warned in
31438 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31439 whose name does not start with the host triplet. If you think this
31440 configuration is useful to you, please write to autoconf@gnu.org." >&5
31441 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31442 whose name does not start with the host triplet. If you think this
31443 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31444 ac_tool_warned
=yes ;;
31446 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31449 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31453 if test -n "$PKG_CONFIG"; then
31454 _pkg_min_version
=0.9.0
31455 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31456 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31457 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31458 { echo "$as_me:$LINENO: result: yes" >&5
31459 echo "${ECHO_T}yes" >&6; }
31461 { echo "$as_me:$LINENO: result: no" >&5
31462 echo "${ECHO_T}no" >&6; }
31470 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31471 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31473 if test -n "$PKG_CONFIG"; then
31474 if test -n "$PANGOX_CFLAGS"; then
31475 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31477 if test -n "$PKG_CONFIG" && \
31478 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31479 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; then
31483 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31491 if test -n "$PKG_CONFIG"; then
31492 if test -n "$PANGOX_LIBS"; then
31493 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31495 if test -n "$PKG_CONFIG" && \
31496 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31497 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); }; then
31501 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31512 if test $pkg_failed = yes; then
31514 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31515 _pkg_short_errors_supported
=yes
31517 _pkg_short_errors_supported
=no
31519 if test $_pkg_short_errors_supported = yes; then
31520 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31522 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31524 # Put the nasty error message in config.log where it belongs
31525 echo "$PANGOX_PKG_ERRORS" >&5
31528 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31529 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31530 { (exit 1); exit 1; }; }
31533 elif test $pkg_failed = untried
; then
31535 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31536 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31537 { (exit 1); exit 1; }; }
31541 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31542 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31543 { echo "$as_me:$LINENO: result: yes" >&5
31544 echo "${ECHO_T}yes" >&6; }
31546 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31547 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31548 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31553 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31554 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31556 if test -n "$PKG_CONFIG"; then
31557 if test -n "$PANGOFT2_CFLAGS"; then
31558 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31560 if test -n "$PKG_CONFIG" && \
31561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31562 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); }; then
31566 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31574 if test -n "$PKG_CONFIG"; then
31575 if test -n "$PANGOFT2_LIBS"; then
31576 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31578 if test -n "$PKG_CONFIG" && \
31579 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31580 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); }; then
31584 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31595 if test $pkg_failed = yes; then
31597 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31598 _pkg_short_errors_supported
=yes
31600 _pkg_short_errors_supported
=no
31602 if test $_pkg_short_errors_supported = yes; then
31603 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31605 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31607 # Put the nasty error message in config.log where it belongs
31608 echo "$PANGOFT2_PKG_ERRORS" >&5
31611 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31612 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31613 wxUSE_PRINTING_ARCHITECTURE
="no"
31616 elif test $pkg_failed = untried
; then
31618 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31619 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31620 wxUSE_PRINTING_ARCHITECTURE
="no"
31624 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31625 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31626 { echo "$as_me:$LINENO: result: yes" >&5
31627 echo "${ECHO_T}yes" >&6; }
31629 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31630 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31631 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31636 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31637 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31639 if test -n "$PKG_CONFIG"; then
31640 if test -n "$PANGOXFT_CFLAGS"; then
31641 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31643 if test -n "$PKG_CONFIG" && \
31644 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31645 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648 (exit $ac_status); }; then
31649 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31657 if test -n "$PKG_CONFIG"; then
31658 if test -n "$PANGOXFT_LIBS"; then
31659 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31661 if test -n "$PKG_CONFIG" && \
31662 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31663 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); }; then
31667 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31678 if test $pkg_failed = yes; then
31680 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31681 _pkg_short_errors_supported
=yes
31683 _pkg_short_errors_supported
=no
31685 if test $_pkg_short_errors_supported = yes; then
31686 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31688 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31690 # Put the nasty error message in config.log where it belongs
31691 echo "$PANGOXFT_PKG_ERRORS" >&5
31694 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31695 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31698 elif test $pkg_failed = untried
; then
31700 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31701 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31705 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31706 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31707 { echo "$as_me:$LINENO: result: yes" >&5
31708 echo "${ECHO_T}yes" >&6; }
31710 cat >>confdefs.h
<<\_ACEOF
31711 #define HAVE_PANGO_XFT 1
31714 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31715 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31716 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31720 LIBS
="$LIBS $PANGOX_LIBS"
31722 for ac_func
in pango_font_family_is_monospace
31724 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31725 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31727 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31728 echo $ECHO_N "(cached) $ECHO_C" >&6
31730 cat >conftest.
$ac_ext <<_ACEOF
31733 cat confdefs.h
>>conftest.
$ac_ext
31734 cat >>conftest.
$ac_ext <<_ACEOF
31735 /* end confdefs.h. */
31736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31738 #define $ac_func innocuous_$ac_func
31740 /* System header to define __stub macros and hopefully few prototypes,
31741 which can conflict with char $ac_func (); below.
31742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31743 <limits.h> exists even on freestanding compilers. */
31746 # include <limits.h>
31748 # include <assert.h>
31753 /* Override any GCC internal prototype to avoid an error.
31754 Use char because int might match the return type of a GCC
31755 builtin and then its argument prototype would still apply. */
31760 /* The GNU C library defines this for functions which it implements
31761 to always fail with ENOSYS. Some functions are actually named
31762 something starting with __ and the normal name is an alias. */
31763 #if defined __stub_$ac_func || defined __stub___$ac_func
31770 return $ac_func ();
31775 rm -f conftest.
$ac_objext conftest
$ac_exeext
31776 if { (ac_try
="$ac_link"
31777 case "(($ac_try" in
31778 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31779 *) ac_try_echo=$ac_try;;
31781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31782 (eval "$ac_link") 2>conftest.er1
31784 grep -v '^ *+' conftest.er1 >conftest.err
31786 cat conftest.err >&5
31787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31788 (exit $ac_status); } && {
31789 test -z "$ac_c_werror_flag" ||
31790 test ! -s conftest.err
31791 } && test -s conftest$ac_exeext &&
31792 $as_test_x conftest$ac_exeext; then
31793 eval "$as_ac_var=yes"
31795 echo "$as_me: failed program was:" >&5
31796 sed 's/^/| /' conftest.$ac_ext >&5
31798 eval "$as_ac_var=no"
31801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31802 conftest$ac_exeext conftest.$ac_ext
31804 ac_res=`eval echo '${'$as_ac_var'}'`
31805 { echo "$as_me:$LINENO: result: $ac_res" >&5
31806 echo "${ECHO_T}$ac_res" >&6; }
31807 if test `eval echo '${'$as_ac_var'}'` = yes; then
31808 cat >>confdefs.h <<_ACEOF
31809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31818 wxUSE_UNIVERSAL="yes"
31820 if test "$wxUSE_NANOX" = "yes"; then
31821 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31822 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"
31823 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31825 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31832 if test "$wxUSE_MOTIF" = 1; then
31833 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31834 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31837 for ac_dir in $SEARCH_INCLUDE /usr/include;
31839 if test -f "$ac_dir/Xm/Xm.h"; then
31840 ac_find_includes=$ac_dir
31845 if test "$ac_find_includes" != "" ; then
31846 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31847 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31849 if test "x$ac_find_includes" = "x/usr/include"; then
31850 ac_path_to_include=""
31852 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31854 if test $result = 0; then
31855 ac_path_to_include=""
31857 ac_path_to_include=" -I$ac_find_includes"
31861 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31863 save_CFLAGS=$CFLAGS
31864 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31866 cat >conftest.$ac_ext <<_ACEOF
31869 cat confdefs.h >>conftest.$ac_ext
31870 cat >>conftest.$ac_ext <<_ACEOF
31871 /* end confdefs.h. */
31880 version = xmUseVersion;
31886 rm -f conftest.$ac_objext
31887 if { (ac_try="$ac_compile"
31888 case "(($ac_try" in
31889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31890 *) ac_try_echo
=$ac_try;;
31892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31893 (eval "$ac_compile") 2>conftest.er1
31895 grep -v '^ *+' conftest.er1
>conftest.err
31897 cat conftest.err
>&5
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); } && {
31900 test -z "$ac_c_werror_flag" ||
31901 test ! -s conftest.err
31902 } && test -s conftest.
$ac_objext; then
31904 { echo "$as_me:$LINENO: result: found in default search path" >&5
31905 echo "${ECHO_T}found in default search path" >&6; }
31906 COMPILED_X_PROGRAM
=1
31909 echo "$as_me: failed program was:" >&5
31910 sed 's/^/| /' conftest.
$ac_ext >&5
31913 { echo "$as_me:$LINENO: result: no" >&5
31914 echo "${ECHO_T}no" >&6; }
31915 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31916 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31917 { (exit 1); exit 1; }; }
31922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31924 CFLAGS
=$save_CFLAGS
31928 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31929 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31932 for ac_dir
in $SEARCH_LIB;
31934 for ac_extension
in a so sl dylib dll.a
; do
31935 if test -f "$ac_dir/libXm.$ac_extension"; then
31936 ac_find_libraries
=$ac_dir
31943 if test "x$ac_find_libraries" != "x" ; then
31944 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31945 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31948 if test "$ac_find_libraries" = "default location"; then
31951 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31953 if test $result = 0; then
31956 ac_path_to_link
=" -L$ac_find_libraries"
31960 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31962 save_CFLAGS
=$CFLAGS
31963 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31965 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31967 cat >conftest.
$ac_ext <<_ACEOF
31970 cat confdefs.h
>>conftest.
$ac_ext
31971 cat >>conftest.
$ac_ext <<_ACEOF
31972 /* end confdefs.h. */
31981 version = xmUseVersion;
31987 rm -f conftest.
$ac_objext conftest
$ac_exeext
31988 if { (ac_try
="$ac_link"
31989 case "(($ac_try" in
31990 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31991 *) ac_try_echo=$ac_try;;
31993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31994 (eval "$ac_link") 2>conftest.er1
31996 grep -v '^ *+' conftest.er1 >conftest.err
31998 cat conftest.err >&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } && {
32001 test -z "$ac_c_werror_flag" ||
32002 test ! -s conftest.err
32003 } && test -s conftest$ac_exeext &&
32004 $as_test_x conftest$ac_exeext; then
32006 { echo "$as_me:$LINENO: result: found in default search path" >&5
32007 echo "${ECHO_T}found in default search path" >&6; }
32008 COMPILED_X_PROGRAM=1
32011 echo "$as_me: failed program was:" >&5
32012 sed 's/^/| /' conftest.$ac_ext >&5
32015 { echo "$as_me:$LINENO: result: no" >&5
32016 echo "${ECHO_T}no" >&6; }
32017 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32018 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32019 { (exit 1); exit 1; }; }
32024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32025 conftest$ac_exeext conftest.$ac_ext
32027 CFLAGS=$save_CFLAGS
32031 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32032 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32036 for libp in "" " -lXp"; do
32037 if test "$libs_found" = 0; then
32038 for libsm_ice in "" " -lSM -lICE"; do
32039 if test "$libs_found" = 0; then
32041 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32042 save_CFLAGS=$CFLAGS
32043 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32045 cat >conftest.$ac_ext <<_ACEOF
32048 cat confdefs.h >>conftest.$ac_ext
32049 cat >>conftest.$ac_ext <<_ACEOF
32050 /* end confdefs.h. */
32053 #include <Xm/List.h>
32059 XmString string = NULL;
32062 XmListAddItem(w, string, position);
32068 rm -f conftest.$ac_objext conftest$ac_exeext
32069 if { (ac_try="$ac_link"
32070 case "(($ac_try" in
32071 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32072 *) ac_try_echo
=$ac_try;;
32074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32075 (eval "$ac_link") 2>conftest.er1
32077 grep -v '^ *+' conftest.er1
>conftest.err
32079 cat conftest.err
>&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); } && {
32082 test -z "$ac_c_werror_flag" ||
32083 test ! -s conftest.err
32084 } && test -s conftest
$ac_exeext &&
32085 $as_test_x conftest
$ac_exeext; then
32088 libsm_ice_link
="$libsm_ice"
32089 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32090 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32094 echo "$as_me: failed program was:" >&5
32095 sed 's/^/| /' conftest.
$ac_ext >&5
32101 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32102 conftest
$ac_exeext conftest.
$ac_ext
32105 CFLAGS
=$save_CFLAGS
32111 if test "$libs_found" = 0; then
32112 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32113 echo "${ECHO_T}can't find the right libraries" >&6; }
32114 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32115 echo "$as_me: error: can't link a simple motif program" >&2;}
32116 { (exit 1); exit 1; }; }
32119 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32120 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32121 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32122 echo $ECHO_N "(cached) $ECHO_C" >&6
32124 ac_check_lib_save_LIBS
=$LIBS
32126 cat >conftest.
$ac_ext <<_ACEOF
32129 cat confdefs.h
>>conftest.
$ac_ext
32130 cat >>conftest.
$ac_ext <<_ACEOF
32131 /* end confdefs.h. */
32133 /* Override any GCC internal prototype to avoid an error.
32134 Use char because int might match the return type of a GCC
32135 builtin and then its argument prototype would still apply. */
32139 char SgCreateList ();
32143 return SgCreateList ();
32148 rm -f conftest.
$ac_objext conftest
$ac_exeext
32149 if { (ac_try
="$ac_link"
32150 case "(($ac_try" in
32151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32152 *) ac_try_echo=$ac_try;;
32154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32155 (eval "$ac_link") 2>conftest.er1
32157 grep -v '^ *+' conftest.er1 >conftest.err
32159 cat conftest.err >&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); } && {
32162 test -z "$ac_c_werror_flag" ||
32163 test ! -s conftest.err
32164 } && test -s conftest$ac_exeext &&
32165 $as_test_x conftest$ac_exeext; then
32166 ac_cv_lib_Sgm_SgCreateList=yes
32168 echo "$as_me: failed program was:" >&5
32169 sed 's/^/| /' conftest.$ac_ext >&5
32171 ac_cv_lib_Sgm_SgCreateList=no
32174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32175 conftest$ac_exeext conftest.$ac_ext
32176 LIBS=$ac_check_lib_save_LIBS
32178 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32179 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32180 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32181 libsgm_link=" -lSgm"
32185 save_CFLAGS=$CFLAGS
32186 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32188 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32189 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32190 if test "${wx_cv_lib_motif2+set}" = set; then
32191 echo $ECHO_N "(cached) $ECHO_C" >&6
32193 cat >conftest.$ac_ext <<_ACEOF
32196 cat confdefs.h >>conftest.$ac_ext
32197 cat >>conftest.$ac_ext <<_ACEOF
32198 /* end confdefs.h. */
32206 #if XmVersion < 2000
32214 rm -f conftest.$ac_objext
32215 if { (ac_try="$ac_compile"
32216 case "(($ac_try" in
32217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32218 *) ac_try_echo
=$ac_try;;
32220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32221 (eval "$ac_compile") 2>conftest.er1
32223 grep -v '^ *+' conftest.er1
>conftest.err
32225 cat conftest.err
>&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); } && {
32228 test -z "$ac_c_werror_flag" ||
32229 test ! -s conftest.err
32230 } && test -s conftest.
$ac_objext; then
32231 wx_cv_lib_motif2
="yes"
32233 echo "$as_me: failed program was:" >&5
32234 sed 's/^/| /' conftest.
$ac_ext >&5
32236 wx_cv_lib_motif2
="no"
32239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32241 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32242 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32243 if test "$wx_cv_lib_motif2" = "yes"; then
32244 cat >>confdefs.h
<<\_ACEOF
32245 #define __WXMOTIF20__ 1
32249 cat >>confdefs.h
<<\_ACEOF
32250 #define __WXMOTIF20__ 0
32255 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32256 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32257 if test "${wx_cv_lib_lesstif+set}" = set; then
32258 echo $ECHO_N "(cached) $ECHO_C" >&6
32260 cat >conftest.
$ac_ext <<_ACEOF
32263 cat confdefs.h
>>conftest.
$ac_ext
32264 cat >>conftest.
$ac_ext <<_ACEOF
32265 /* end confdefs.h. */
32273 #if !defined(LesstifVersion) || LesstifVersion <= 0
32281 rm -f conftest.
$ac_objext
32282 if { (ac_try
="$ac_compile"
32283 case "(($ac_try" in
32284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32285 *) ac_try_echo=$ac_try;;
32287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32288 (eval "$ac_compile") 2>conftest.er1
32290 grep -v '^ *+' conftest.er1 >conftest.err
32292 cat conftest.err >&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); } && {
32295 test -z "$ac_c_werror_flag" ||
32296 test ! -s conftest.err
32297 } && test -s conftest.$ac_objext; then
32298 wx_cv_lib_lesstif="yes"
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.$ac_ext >&5
32303 wx_cv_lib_lesstif="no"
32306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32309 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32310 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32311 if test "$wx_cv_lib_lesstif" = "yes"; then
32312 cat >>confdefs.h <<\_ACEOF
32313 #define __WXLESSTIF__ 1
32317 cat >>confdefs.h <<\_ACEOF
32318 #define __WXLESSTIF__ 0
32323 CFLAGS=$save_CFLAGS
32325 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32330 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32331 if test "$wxUSE_LIBXPM" = "sys"; then
32332 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32333 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32336 for ac_dir in $SEARCH_LIB;
32338 for ac_extension in a so sl dylib dll.a; do
32339 if test -f "$ac_dir/libXpm.$ac_extension"; then
32340 ac_find_libraries=$ac_dir
32346 if test "$ac_find_libraries" != "" ; then
32348 if test "$ac_find_libraries" = "default location"; then
32351 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32353 if test $result = 0; then
32356 ac_path_to_link=" -L$ac_find_libraries"
32360 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32361 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32362 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32364 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32365 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32366 if test "${wx_cv_x11_xpm_h+set}" = set; then
32367 echo $ECHO_N "(cached) $ECHO_C" >&6
32370 save_CFLAGS=$CFLAGS
32371 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32373 cat >conftest.$ac_ext <<_ACEOF
32376 cat confdefs.h >>conftest.$ac_ext
32377 cat >>conftest.$ac_ext <<_ACEOF
32378 /* end confdefs.h. */
32380 #include <X11/xpm.h>
32387 version = XpmLibraryVersion();
32393 rm -f conftest.$ac_objext
32394 if { (ac_try="$ac_compile"
32395 case "(($ac_try" in
32396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32397 *) ac_try_echo
=$ac_try;;
32399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32400 (eval "$ac_compile") 2>conftest.er1
32402 grep -v '^ *+' conftest.er1
>conftest.err
32404 cat conftest.err
>&5
32405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32406 (exit $ac_status); } && {
32407 test -z "$ac_c_werror_flag" ||
32408 test ! -s conftest.err
32409 } && test -s conftest.
$ac_objext; then
32410 wx_cv_x11_xpm_h
=yes
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.
$ac_ext >&5
32419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32421 CFLAGS
=$save_CFLAGS
32425 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32426 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32428 if test $wx_cv_x11_xpm_h = "yes"; then
32429 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32430 cat >>confdefs.h
<<\_ACEOF
32431 #define wxHAVE_LIB_XPM 1
32435 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32436 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32442 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32443 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32444 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32445 echo $ECHO_N "(cached) $ECHO_C" >&6
32447 ac_check_lib_save_LIBS
=$LIBS
32448 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32449 cat >conftest.
$ac_ext <<_ACEOF
32452 cat confdefs.h
>>conftest.
$ac_ext
32453 cat >>conftest.
$ac_ext <<_ACEOF
32454 /* end confdefs.h. */
32456 /* Override any GCC internal prototype to avoid an error.
32457 Use char because int might match the return type of a GCC
32458 builtin and then its argument prototype would still apply. */
32462 char XShapeQueryExtension ();
32466 return XShapeQueryExtension ();
32471 rm -f conftest.
$ac_objext conftest
$ac_exeext
32472 if { (ac_try
="$ac_link"
32473 case "(($ac_try" in
32474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32475 *) ac_try_echo=$ac_try;;
32477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32478 (eval "$ac_link") 2>conftest.er1
32480 grep -v '^ *+' conftest.er1 >conftest.err
32482 cat conftest.err >&5
32483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484 (exit $ac_status); } && {
32485 test -z "$ac_c_werror_flag" ||
32486 test ! -s conftest.err
32487 } && test -s conftest$ac_exeext &&
32488 $as_test_x conftest$ac_exeext; then
32489 ac_cv_lib_Xext_XShapeQueryExtension=yes
32491 echo "$as_me: failed program was:" >&5
32492 sed 's/^/| /' conftest.$ac_ext >&5
32494 ac_cv_lib_Xext_XShapeQueryExtension=no
32497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32498 conftest$ac_exeext conftest.$ac_ext
32499 LIBS=$ac_check_lib_save_LIBS
32501 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32502 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32503 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32505 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32511 if test "$wxHAVE_XEXT_LIB" = 1; then
32512 save_CFLAGS="$CFLAGS"
32513 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32515 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32516 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32517 cat >conftest.$ac_ext <<_ACEOF
32520 cat confdefs.h >>conftest.$ac_ext
32521 cat >>conftest.$ac_ext <<_ACEOF
32522 /* end confdefs.h. */
32524 #include <X11/Xlib.h>
32525 #include <X11/extensions/shape.h>
32531 int dummy1, dummy2;
32532 XShapeQueryExtension((Display*)NULL,
32533 (int*)NULL, (int*)NULL);
32539 rm -f conftest.$ac_objext
32540 if { (ac_try="$ac_compile"
32541 case "(($ac_try" in
32542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32543 *) ac_try_echo
=$ac_try;;
32545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32546 (eval "$ac_compile") 2>conftest.er1
32548 grep -v '^ *+' conftest.er1
>conftest.err
32550 cat conftest.err
>&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); } && {
32553 test -z "$ac_c_werror_flag" ||
32554 test ! -s conftest.err
32555 } && test -s conftest.
$ac_objext; then
32557 cat >>confdefs.h
<<\_ACEOF
32558 #define HAVE_XSHAPE 1
32561 { echo "$as_me:$LINENO: result: found" >&5
32562 echo "${ECHO_T}found" >&6; }
32565 echo "$as_me: failed program was:" >&5
32566 sed 's/^/| /' conftest.
$ac_ext >&5
32569 { echo "$as_me:$LINENO: result: not found" >&5
32570 echo "${ECHO_T}not found" >&6; }
32574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32575 CFLAGS
="$save_CFLAGS"
32580 if test "$wxUSE_OSX_CARBON" = 1; then
32581 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32582 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32583 if test "$GCC" = yes; then
32584 { echo "$as_me:$LINENO: result: gcc" >&5
32585 echo "${ECHO_T}gcc" >&6; }
32586 CPPFLAGS_PASCAL
="-fpascal-strings"
32587 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32588 { echo "$as_me:$LINENO: result: xlc" >&5
32589 echo "${ECHO_T}xlc" >&6; }
32590 CPPFLAGS_PASCAL
="-qmacpstr"
32592 { echo "$as_me:$LINENO: result: none" >&5
32593 echo "${ECHO_T}none" >&6; }
32596 if test "x$wxUSE_UNIX" = "xyes"; then
32597 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32599 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32603 GUIDIST
=OSX_CARBON_DIST
32604 WXBASEPORT
="_carbon"
32607 if test "$wxUSE_OSX_COCOA" = 1; then
32609 GUIDIST
=OSX_COCOA_DIST
32612 if test "$wxUSE_COCOA" = 1; then
32617 if test "$wxUSE_PM" = 1; then
32620 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32621 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32622 if test "${wx_cv_spbcdata+set}" = set; then
32623 echo $ECHO_N "(cached) $ECHO_C" >&6
32626 cat >conftest.
$ac_ext <<_ACEOF
32629 cat confdefs.h
>>conftest.
$ac_ext
32630 cat >>conftest.
$ac_ext <<_ACEOF
32631 /* end confdefs.h. */
32646 rm -f conftest.
$ac_objext
32647 if { (ac_try
="$ac_compile"
32648 case "(($ac_try" in
32649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32650 *) ac_try_echo=$ac_try;;
32652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32653 (eval "$ac_compile") 2>conftest.er1
32655 grep -v '^ *+' conftest.er1 >conftest.err
32657 cat conftest.err >&5
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); } && {
32660 test -z "$ac_c_werror_flag" ||
32661 test ! -s conftest.err
32662 } && test -s conftest.$ac_objext; then
32665 echo "$as_me: failed program was:" >&5
32666 sed 's/^/| /' conftest.$ac_ext >&5
32672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32676 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32677 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32679 if test $wx_cv_spbcdata = "yes"; then
32680 cat >>confdefs.h <<\_ACEOF
32681 #define HAVE_SPBCDATA 1
32687 if test "$TOOLKIT" = "PM" ; then
32690 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32693 if test "$wxUSE_UNIVERSAL" = "yes"; then
32694 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32698 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32699 DISTDIR="wx\$(TOOLKIT)"
32705 if test "$USE_WIN32" = 1 ; then
32709 GUIDIST="BASE_DIST"
32715 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32716 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32717 wxUSE_UNICODE_UTF8=yes
32718 elif test "$USE_OS2" = 1 ; then
32719 wxUSE_UNICODE_UTF8=yes
32721 wxUSE_UNICODE_UTF8=no
32726 if test "$wxUSE_GUI" = "yes"; then
32727 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32729 for ac_header in X11/Xlib.h
32731 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32735 echo $ECHO_N "(cached) $ECHO_C" >&6
32737 cat >conftest.$ac_ext <<_ACEOF
32740 cat confdefs.h >>conftest.$ac_ext
32741 cat >>conftest.$ac_ext <<_ACEOF
32742 /* end confdefs.h. */
32745 #include <$ac_header>
32747 rm -f conftest.$ac_objext
32748 if { (ac_try="$ac_compile"
32749 case "(($ac_try" in
32750 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32751 *) ac_try_echo
=$ac_try;;
32753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32754 (eval "$ac_compile") 2>conftest.er1
32756 grep -v '^ *+' conftest.er1
>conftest.err
32758 cat conftest.err
>&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); } && {
32761 test -z "$ac_c_werror_flag" ||
32762 test ! -s conftest.err
32763 } && test -s conftest.
$ac_objext; then
32764 eval "$as_ac_Header=yes"
32766 echo "$as_me: failed program was:" >&5
32767 sed 's/^/| /' conftest.
$ac_ext >&5
32769 eval "$as_ac_Header=no"
32772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32774 ac_res
=`eval echo '${'$as_ac_Header'}'`
32775 { echo "$as_me:$LINENO: result: $ac_res" >&5
32776 echo "${ECHO_T}$ac_res" >&6; }
32777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32778 cat >>confdefs.h
<<_ACEOF
32779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32787 for ac_header
in X
11/XKBlib.h
32789 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32792 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32793 echo $ECHO_N "(cached) $ECHO_C" >&6
32795 cat >conftest.
$ac_ext <<_ACEOF
32798 cat confdefs.h
>>conftest.
$ac_ext
32799 cat >>conftest.
$ac_ext <<_ACEOF
32800 /* end confdefs.h. */
32802 #if HAVE_X11_XLIB_H
32803 #include <X11/Xlib.h>
32807 #include <$ac_header>
32809 rm -f conftest.
$ac_objext
32810 if { (ac_try
="$ac_compile"
32811 case "(($ac_try" in
32812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32813 *) ac_try_echo=$ac_try;;
32815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32816 (eval "$ac_compile") 2>conftest.er1
32818 grep -v '^ *+' conftest.er1 >conftest.err
32820 cat conftest.err >&5
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); } && {
32823 test -z "$ac_c_werror_flag" ||
32824 test ! -s conftest.err
32825 } && test -s conftest.$ac_objext; then
32826 eval "$as_ac_Header=yes"
32828 echo "$as_me: failed program was:" >&5
32829 sed 's/^/| /' conftest.$ac_ext >&5
32831 eval "$as_ac_Header=no"
32834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32836 ac_res=`eval echo '${'$as_ac_Header'}'`
32837 { echo "$as_me:$LINENO: result: $ac_res" >&5
32838 echo "${ECHO_T}$ac_res" >&6; }
32839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32840 cat >>confdefs.h <<_ACEOF
32841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32853 if test "$wxUSE_DISPLAY" = "yes"; then
32854 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32855 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32856 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32859 for ac_dir in $SEARCH_LIB;
32861 for ac_extension in a so sl dylib dll.a; do
32862 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32863 ac_find_libraries=$ac_dir
32869 if test "$ac_find_libraries" != "" ; then
32871 if test "$ac_find_libraries" = "default location"; then
32874 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32876 if test $result = 0; then
32879 ac_path_to_link=" -L$ac_find_libraries"
32883 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32884 LDFLAGS="$LDFLAGS $ac_path_to_link"
32886 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32887 { echo "$as_me:$LINENO: result: yes" >&5
32888 echo "${ECHO_T}yes" >&6; }
32890 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32891 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32894 for ac_dir in $SEARCH_LIB;
32896 for ac_extension in a so sl dylib dll.a; do
32897 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32898 ac_find_libraries=$ac_dir
32904 if test "$ac_find_libraries" != "" ; then
32905 { echo "$as_me:$LINENO: result: yes" >&5
32906 echo "${ECHO_T}yes" >&6; }
32908 for ac_header in X11/extensions/xf86vmode.h
32910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32911 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32914 echo $ECHO_N "(cached) $ECHO_C" >&6
32916 cat >conftest.$ac_ext <<_ACEOF
32919 cat confdefs.h >>conftest.$ac_ext
32920 cat >>conftest.$ac_ext <<_ACEOF
32921 /* end confdefs.h. */
32923 #if HAVE_X11_XLIB_H
32924 #include <X11/Xlib.h>
32928 #include <$ac_header>
32930 rm -f conftest.$ac_objext
32931 if { (ac_try="$ac_compile"
32932 case "(($ac_try" in
32933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32934 *) ac_try_echo
=$ac_try;;
32936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32937 (eval "$ac_compile") 2>conftest.er1
32939 grep -v '^ *+' conftest.er1
>conftest.err
32941 cat conftest.err
>&5
32942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32943 (exit $ac_status); } && {
32944 test -z "$ac_c_werror_flag" ||
32945 test ! -s conftest.err
32946 } && test -s conftest.
$ac_objext; then
32947 eval "$as_ac_Header=yes"
32949 echo "$as_me: failed program was:" >&5
32950 sed 's/^/| /' conftest.
$ac_ext >&5
32952 eval "$as_ac_Header=no"
32955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32957 ac_res
=`eval echo '${'$as_ac_Header'}'`
32958 { echo "$as_me:$LINENO: result: $ac_res" >&5
32959 echo "${ECHO_T}$ac_res" >&6; }
32960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32961 cat >>confdefs.h
<<_ACEOF
32962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32965 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32972 { echo "$as_me:$LINENO: result: no" >&5
32973 echo "${ECHO_T}no" >&6; }
32977 { echo "$as_me:$LINENO: result: no" >&5
32978 echo "${ECHO_T}no" >&6; }
32979 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32980 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32983 elif test "$wxUSE_MSW" = 1; then
32984 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32985 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32986 if test "${ac_cv_header_ddraw_h+set}" = set; then
32987 echo $ECHO_N "(cached) $ECHO_C" >&6
32989 cat >conftest.
$ac_ext <<_ACEOF
32992 cat confdefs.h
>>conftest.
$ac_ext
32993 cat >>conftest.
$ac_ext <<_ACEOF
32994 /* end confdefs.h. */
32995 #include <windows.h>
32999 rm -f conftest.
$ac_objext
33000 if { (ac_try
="$ac_compile"
33001 case "(($ac_try" in
33002 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33003 *) ac_try_echo=$ac_try;;
33005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33006 (eval "$ac_compile") 2>conftest.er1
33008 grep -v '^ *+' conftest.er1 >conftest.err
33010 cat conftest.err >&5
33011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33012 (exit $ac_status); } && {
33013 test -z "$ac_c_werror_flag" ||
33014 test ! -s conftest.err
33015 } && test -s conftest.$ac_objext; then
33016 ac_cv_header_ddraw_h=yes
33018 echo "$as_me: failed program was:" >&5
33019 sed 's/^/| /' conftest.$ac_ext >&5
33021 ac_cv_header_ddraw_h=no
33024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33026 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33027 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33033 if test "$wxUSE_DETECT_SM" = "yes"; then
33034 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33035 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33036 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33039 for ac_dir in $SEARCH_LIB;
33041 for ac_extension in a so sl dylib dll.a; do
33042 if test -f "$ac_dir/libSM.$ac_extension"; then
33043 ac_find_libraries=$ac_dir
33049 if test "$ac_find_libraries" != "" ; then
33051 if test "$ac_find_libraries" = "default location"; then
33054 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33056 if test $result = 0; then
33059 ac_path_to_link=" -L$ac_find_libraries"
33063 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33064 LDFLAGS="$LDFLAGS $ac_path_to_link"
33066 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33067 { echo "$as_me:$LINENO: result: yes" >&5
33068 echo "${ECHO_T}yes" >&6; }
33070 { echo "$as_me:$LINENO: result: no" >&5
33071 echo "${ECHO_T}no" >&6; }
33072 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33073 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33074 wxUSE_DETECT_SM="no"
33077 wxUSE_DETECT_SM="no"
33084 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33087 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33088 OPENGL_LIBS="-framework OpenGL -framework AGL"
33089 elif test "$wxUSE_MSW" = 1; then
33090 OPENGL_LIBS="-lopengl32 -lglu32"
33091 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33093 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33094 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33097 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33099 if test -f "$ac_dir/GL/gl.h"; then
33100 ac_find_includes=$ac_dir
33105 if test "$ac_find_includes" != "" ; then
33106 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33107 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33109 if test "x$ac_find_includes" = "x/usr/include"; then
33110 ac_path_to_include=""
33112 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33114 if test $result = 0; then
33115 ac_path_to_include=""
33117 ac_path_to_include=" -I$ac_find_includes"
33121 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33123 { echo "$as_me:$LINENO: result: not found" >&5
33124 echo "${ECHO_T}not found" >&6; }
33127 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33128 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33129 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33130 echo $ECHO_N "(cached) $ECHO_C" >&6
33132 cat >conftest.$ac_ext <<_ACEOF
33135 cat confdefs.h >>conftest.$ac_ext
33136 cat >>conftest.$ac_ext <<_ACEOF
33137 /* end confdefs.h. */
33142 rm -f conftest.$ac_objext
33143 if { (ac_try="$ac_compile"
33144 case "(($ac_try" in
33145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33146 *) ac_try_echo
=$ac_try;;
33148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33149 (eval "$ac_compile") 2>conftest.er1
33151 grep -v '^ *+' conftest.er1
>conftest.err
33153 cat conftest.err
>&5
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); } && {
33156 test -z "$ac_c_werror_flag" ||
33157 test ! -s conftest.err
33158 } && test -s conftest.
$ac_objext; then
33159 ac_cv_header_GL_gl_h
=yes
33161 echo "$as_me: failed program was:" >&5
33162 sed 's/^/| /' conftest.
$ac_ext >&5
33164 ac_cv_header_GL_gl_h
=no
33167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33169 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33170 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33171 if test $ac_cv_header_GL_gl_h = yes; then
33173 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33174 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33175 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33178 cat >conftest.
$ac_ext <<_ACEOF
33181 cat confdefs.h
>>conftest.
$ac_ext
33182 cat >>conftest.
$ac_ext <<_ACEOF
33183 /* end confdefs.h. */
33186 #include <GL/glu.h>
33188 rm -f conftest.
$ac_objext
33189 if { (ac_try
="$ac_compile"
33190 case "(($ac_try" in
33191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33192 *) ac_try_echo=$ac_try;;
33194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33195 (eval "$ac_compile") 2>conftest.er1
33197 grep -v '^ *+' conftest.er1 >conftest.err
33199 cat conftest.err >&5
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); } && {
33202 test -z "$ac_c_werror_flag" ||
33203 test ! -s conftest.err
33204 } && test -s conftest.$ac_objext; then
33205 ac_cv_header_GL_glu_h=yes
33207 echo "$as_me: failed program was:" >&5
33208 sed 's/^/| /' conftest.$ac_ext >&5
33210 ac_cv_header_GL_glu_h=no
33213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33215 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33216 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33217 if test $ac_cv_header_GL_glu_h = yes; then
33221 { echo "$as_me:$LINENO: checking for -lGL" >&5
33222 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33225 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33227 for ac_extension in a so sl dylib dll.a; do
33228 if test -f "$ac_dir/libGL.$ac_extension"; then
33229 ac_find_libraries=$ac_dir
33235 if test "$ac_find_libraries" != "" ; then
33236 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33237 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33240 if test "$ac_find_libraries" = "default location"; then
33243 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33245 if test $result = 0; then
33248 ac_path_to_link=" -L$ac_find_libraries"
33252 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33253 LDFLAGS_GL="$ac_path_to_link"
33256 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33257 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33260 for ac_dir in $SEARCH_LIB;
33262 for ac_extension in a so sl dylib dll.a; do
33263 if test -f "$ac_dir/libGLU.$ac_extension"; then
33264 ac_find_libraries=$ac_dir
33270 if test "$ac_find_libraries" != "" ; then
33272 if test "$ac_find_libraries" = "default location"; then
33275 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33277 if test $result = 0; then
33280 ac_path_to_link=" -L$ac_find_libraries"
33284 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33285 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33286 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33290 OPENGL_LIBS="-lGL -lGLU"
33291 { echo "$as_me:$LINENO: result: yes" >&5
33292 echo "${ECHO_T}yes" >&6; }
33294 { echo "$as_me:$LINENO: result: no" >&5
33295 echo "${ECHO_T}no" >&6; }
33298 { echo "$as_me:$LINENO: result: no" >&5
33299 echo "${ECHO_T}no" >&6; }
33302 if test "$found_gl" != 1; then
33303 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33304 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33307 for ac_dir in $SEARCH_LIB;
33309 for ac_extension in a so sl dylib dll.a; do
33310 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33311 ac_find_libraries=$ac_dir
33317 if test "$ac_find_libraries" != "" ; then
33319 if test "$ac_find_libraries" = "default location"; then
33322 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33324 if test $result = 0; then
33327 ac_path_to_link=" -L$ac_find_libraries"
33331 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33332 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33333 { echo "$as_me:$LINENO: result: yes" >&5
33334 echo "${ECHO_T}yes" >&6; }
33336 { echo "$as_me:$LINENO: result: no" >&5
33337 echo "${ECHO_T}no" >&6; }
33349 if test "x$OPENGL_LIBS" = "x"; then
33350 if test "$wxUSE_OPENGL" = "yes"; then
33351 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33352 echo "$as_me: error: OpenGL libraries not available" >&2;}
33353 { (exit 1); exit 1; }; }
33355 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33356 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33364 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33365 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33369 if test "$wxUSE_OPENGL" = "yes"; then
33371 cat >>confdefs.h <<\_ACEOF
33372 #define wxUSE_OPENGL 1
33375 cat >>confdefs.h <<\_ACEOF
33376 #define wxUSE_GLCANVAS 1
33379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33384 if test -n "$TOOLKIT" ; then
33385 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33390 if test "$wxUSE_SHARED" = "yes"; then
33394 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33395 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33400 if test "$wxUSE_SHARED" = "yes"; then
33404 *-*-cygwin* | *-*-mingw* )
33405 wx_cv_version_script=no
33409 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33410 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33411 if test "${wx_cv_version_script+set}" = set; then
33412 echo $ECHO_N "(cached) $ECHO_C" >&6
33415 echo "VER_1 { *; };" >conftest.sym
33416 echo "int main() { return 0; }" >conftest.cpp
33419 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33420 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33422 (eval $ac_try) 2>&5
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; } ; then
33426 if test -s conftest.stderr ; then
33427 wx_cv_version_script=no
33429 wx_cv_version_script=yes
33432 wx_cv_version_script=no
33435 if test $wx_cv_version_script = yes
33437 echo "struct B { virtual ~B() { } }; \
33438 struct D : public B { }; \
33439 void F() { D d; }" > conftest.cpp
33442 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33443 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33445 (eval $ac_try) 2>&5
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); }; } &&
33450 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33451 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33453 (eval $ac_try) 2>&5
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); }; }
33459 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33460 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33462 (eval $ac_try) 2>&5
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); }; }
33467 wx_cv_version_script=yes
33469 wx_cv_version_script=no
33474 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33475 rm -f conftest1.output conftest2.output conftest3.output
33478 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33479 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33481 if test $wx_cv_version_script = yes ; then
33482 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33488 if test "$wxUSE_VISIBILITY" != "no"; then
33491 if test -n "$GCC"; then
33492 CFLAGS_VISIBILITY="-fvisibility=hidden"
33493 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33494 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33495 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33496 if test "${wx_cv_cc_visibility+set}" = set; then
33497 echo $ECHO_N "(cached) $ECHO_C" >&6
33500 wx_save_CXXFLAGS="$CXXFLAGS"
33501 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33503 ac_cpp='$CXXCPP $CPPFLAGS'
33504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33508 cat >conftest.$ac_ext <<_ACEOF
33511 cat confdefs.h >>conftest.$ac_ext
33512 cat >>conftest.$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33515 /* we need gcc >= 4.0, older versions with visibility support
33516 didn't have class visibility: */
33517 #if defined(__GNUC__) && __GNUC__ < 4
33518 error this gcc is too old;
33521 /* visibility only makes sense for ELF shared libs: */
33522 #if !defined(__ELF__) && !defined(__APPLE__)
33523 error this platform has no visibility;
33526 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33527 extern __attribute__((__visibility__("default"))) int exportedvar;
33528 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33529 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33530 class __attribute__((__visibility__("default"))) Foo {
33542 rm -f conftest.$ac_objext
33543 if { (ac_try="$ac_compile"
33544 case "(($ac_try" in
33545 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33546 *) ac_try_echo
=$ac_try;;
33548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33549 (eval "$ac_compile") 2>conftest.er1
33551 grep -v '^ *+' conftest.er1
>conftest.err
33553 cat conftest.err
>&5
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); } && {
33556 test -z "$ac_cxx_werror_flag" ||
33557 test ! -s conftest.err
33558 } && test -s conftest.
$ac_objext; then
33559 wx_cv_cc_visibility
=yes
33561 echo "$as_me: failed program was:" >&5
33562 sed 's/^/| /' conftest.
$ac_ext >&5
33564 wx_cv_cc_visibility
=no
33567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33569 ac_cpp
='$CPP $CPPFLAGS'
33570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33574 CXXFLAGS
="$wx_save_CXXFLAGS"
33577 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33578 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33579 if test $wx_cv_cc_visibility = yes; then
33580 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33581 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33582 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33583 echo $ECHO_N "(cached) $ECHO_C" >&6
33586 wx_save_CXXFLAGS
="$CXXFLAGS"
33587 wx_save_LDFLAGS
="$LDFLAGS"
33588 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33589 LDFLAGS
="$LDFLAGS -shared -fPIC"
33591 ac_cpp
='$CXXCPP $CPPFLAGS'
33592 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33593 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33594 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33596 cat >conftest.
$ac_ext <<_ACEOF
33599 cat confdefs.h
>>conftest.
$ac_ext
33600 cat >>conftest.
$ac_ext <<_ACEOF
33601 /* end confdefs.h. */
33609 std::string s("hello");
33616 rm -f conftest.
$ac_objext conftest
$ac_exeext
33617 if { (ac_try
="$ac_link"
33618 case "(($ac_try" in
33619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33620 *) ac_try_echo=$ac_try;;
33622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33623 (eval "$ac_link") 2>conftest.er1
33625 grep -v '^ *+' conftest.er1 >conftest.err
33627 cat conftest.err >&5
33628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33629 (exit $ac_status); } && {
33630 test -z "$ac_cxx_werror_flag" ||
33631 test ! -s conftest.err
33632 } && test -s conftest$ac_exeext &&
33633 $as_test_x conftest$ac_exeext; then
33634 wx_cv_cc_broken_libstdcxx_visibility=no
33636 echo "$as_me: failed program was:" >&5
33637 sed 's/^/| /' conftest.$ac_ext >&5
33639 wx_cv_cc_broken_libstdcxx_visibility=yes
33642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33643 conftest$ac_exeext conftest.$ac_ext
33645 ac_cpp='$CPP $CPPFLAGS'
33646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33650 CXXFLAGS="$wx_save_CXXFLAGS"
33651 LDFLAGS="$wx_save_LDFLAGS"
33654 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33655 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33657 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33658 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33659 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33660 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33661 echo $ECHO_N "(cached) $ECHO_C" >&6
33665 ac_cpp='$CXXCPP $CPPFLAGS'
33666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33670 cat >conftest.$ac_ext <<_ACEOF
33673 cat confdefs.h >>conftest.$ac_ext
33674 cat >>conftest.$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33677 #pragma GCC visibility push(default)
33679 #pragma GCC visibility pop
33685 std::string s("hello");
33692 rm -f conftest.$ac_objext conftest$ac_exeext
33693 if { (ac_try="$ac_link"
33694 case "(($ac_try" in
33695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33696 *) ac_try_echo
=$ac_try;;
33698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33699 (eval "$ac_link") 2>conftest.er1
33701 grep -v '^ *+' conftest.er1
>conftest.err
33703 cat conftest.err
>&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); } && {
33706 test -z "$ac_cxx_werror_flag" ||
33707 test ! -s conftest.err
33708 } && test -s conftest
$ac_exeext &&
33709 $as_test_x conftest
$ac_exeext; then
33710 wx_cv_cc_visibility_workaround
=no
33712 echo "$as_me: failed program was:" >&5
33713 sed 's/^/| /' conftest.
$ac_ext >&5
33715 wx_cv_cc_visibility_workaround
=yes
33718 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33719 conftest
$ac_exeext conftest.
$ac_ext
33721 ac_cpp
='$CPP $CPPFLAGS'
33722 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33723 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33724 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33729 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33730 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33732 if test $wx_cv_cc_visibility_workaround = no
; then
33733 wx_cv_cc_visibility
=no
33738 if test $wx_cv_cc_visibility = yes; then
33739 cat >>confdefs.h
<<\_ACEOF
33740 #define HAVE_VISIBILITY 1
33743 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33744 cat >>confdefs.h
<<\_ACEOF
33745 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33750 CFLAGS_VISIBILITY
=""
33751 CXXFLAGS_VISIBILITY
=""
33759 if test "x$SUNCXX" = xyes
; then
33760 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33761 WXCONFIG_RPATH
="-R\$libdir"
33764 *-*-linux* | *-*-gnu* )
33765 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33766 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33771 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33773 saveLdflags
="$LDFLAGS"
33774 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33775 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33776 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33777 cat >conftest.
$ac_ext <<_ACEOF
33780 cat confdefs.h
>>conftest.
$ac_ext
33781 cat >>conftest.
$ac_ext <<_ACEOF
33782 /* end confdefs.h. */
33792 rm -f conftest.
$ac_objext conftest
$ac_exeext
33793 if { (ac_try
="$ac_link"
33794 case "(($ac_try" in
33795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33796 *) ac_try_echo=$ac_try;;
33798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33799 (eval "$ac_link") 2>conftest.er1
33801 grep -v '^ *+' conftest.er1 >conftest.err
33803 cat conftest.err >&5
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); } && {
33806 test -z "$ac_c_werror_flag" ||
33807 test ! -s conftest.err
33808 } && test -s conftest$ac_exeext &&
33809 $as_test_x conftest$ac_exeext; then
33811 { echo "$as_me:$LINENO: result: yes" >&5
33812 echo "${ECHO_T}yes" >&6; }
33813 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33814 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33817 echo "$as_me: failed program was:" >&5
33818 sed 's/^/| /' conftest.$ac_ext >&5
33821 { echo "$as_me:$LINENO: result: no" >&5
33822 echo "${ECHO_T}no" >&6; }
33823 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33824 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33825 LDFLAGS="$saveLdflags -Wl,-R,/"
33826 cat >conftest.$ac_ext <<_ACEOF
33829 cat confdefs.h >>conftest.$ac_ext
33830 cat >>conftest.$ac_ext <<_ACEOF
33831 /* end confdefs.h. */
33841 rm -f conftest.$ac_objext conftest$ac_exeext
33842 if { (ac_try="$ac_link"
33843 case "(($ac_try" in
33844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33845 *) ac_try_echo
=$ac_try;;
33847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33848 (eval "$ac_link") 2>conftest.er1
33850 grep -v '^ *+' conftest.er1
>conftest.err
33852 cat conftest.err
>&5
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); } && {
33855 test -z "$ac_c_werror_flag" ||
33856 test ! -s conftest.err
33857 } && test -s conftest
$ac_exeext &&
33858 $as_test_x conftest
$ac_exeext; then
33860 { echo "$as_me:$LINENO: result: yes" >&5
33861 echo "${ECHO_T}yes" >&6; }
33862 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33863 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.
$ac_ext >&5
33870 { echo "$as_me:$LINENO: result: no" >&5
33871 echo "${ECHO_T}no" >&6; }
33875 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33876 conftest
$ac_exeext conftest.
$ac_ext
33880 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33881 conftest
$ac_exeext conftest.
$ac_ext
33882 LDFLAGS
="$saveLdflags"
33886 install_name_tool
=`which install_name_tool`
33887 if test "$install_name_tool" -a -x "$install_name_tool"; then
33888 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33889 cat <<EOF >change-install-names
33891 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33892 inst_cmd="install_name_tool "
33893 for i in \${libnames} ; do
33894 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33898 chmod +x change
-install-names
33901 HEADER_PAD_OPTION
="-headerpad_max_install_names"
33904 *-*-cygwin* | *-*-mingw32* )
33908 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33909 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33915 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33917 if test $wxUSE_RPATH = "no"; then
33918 SAMPLES_RPATH_FLAG
=''
33919 SAMPLES_RPATH_POSTLINK
=''
33927 config_linkage_component
="-static"
33934 lib_unicode_suffix
=
33936 if test "$wxUSE_UNICODE" = "yes"; then
33937 lib_unicode_suffix
=u
33938 WX_CHARTYPE
="unicode"
33943 WX_DEBUGTYPE
="release"
33945 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33947 WX_DEBUGTYPE
="debug"
33951 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33952 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33955 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33959 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33961 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33963 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33965 if test "$cross_compiling" = "yes"; then
33966 HOST_SUFFIX
="-$host_alias"
33967 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33968 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33972 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33973 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33975 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33977 if test "${TOOLKIT_DIR}" = "os2"; then
33978 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33980 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33985 if test "$wxUSE_COCOA" = 1; then
33988 ac_cpp
='$CPP $CPPFLAGS'
33989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33995 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33996 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33997 cat >conftest.
$ac_ext <<_ACEOF
34000 cat confdefs.h
>>conftest.
$ac_ext
34001 cat >>conftest.
$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34003 #include <AppKit/NSEvent.h>
34004 #include <CoreFoundation/CoreFoundation.h>
34014 rm -f conftest.
$ac_objext
34015 if { (ac_try
="$ac_compile"
34016 case "(($ac_try" in
34017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34018 *) ac_try_echo=$ac_try;;
34020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34021 (eval "$ac_compile") 2>conftest.er1
34023 grep -v '^ *+' conftest.er1 >conftest.err
34025 cat conftest.err >&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } && {
34028 test -z "$ac_c_werror_flag" ||
34029 test ! -s conftest.err
34030 } && test -s conftest.$ac_objext; then
34031 { echo "$as_me:$LINENO: result: no" >&5
34032 echo "${ECHO_T}no" >&6; }
34034 echo "$as_me: failed program was:" >&5
34035 sed 's/^/| /' conftest.$ac_ext >&5
34037 { echo "$as_me:$LINENO: result: yes" >&5
34038 echo "${ECHO_T}yes" >&6; }
34039 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34040 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34041 cat >conftest.$ac_ext <<_ACEOF
34044 cat confdefs.h >>conftest.$ac_ext
34045 cat >>conftest.$ac_ext <<_ACEOF
34046 /* end confdefs.h. */
34047 #define __Point__ 1
34048 #include <AppKit/NSEvent.h>
34049 #include <CoreFoundation/CoreFoundation.h>
34059 rm -f conftest.$ac_objext
34060 if { (ac_try="$ac_compile"
34061 case "(($ac_try" in
34062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34063 *) ac_try_echo
=$ac_try;;
34065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34066 (eval "$ac_compile") 2>conftest.er1
34068 grep -v '^ *+' conftest.er1
>conftest.err
34070 cat conftest.err
>&5
34071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34072 (exit $ac_status); } && {
34073 test -z "$ac_c_werror_flag" ||
34074 test ! -s conftest.err
34075 } && test -s conftest.
$ac_objext; then
34076 { echo "$as_me:$LINENO: result: yes" >&5
34077 echo "${ECHO_T}yes" >&6; }
34078 cat >>confdefs.h
<<\_ACEOF
34079 #define __Point__ 1
34084 echo "$as_me: failed program was:" >&5
34085 sed 's/^/| /' conftest.
$ac_ext >&5
34087 { { echo "$as_me:$LINENO: error: no
34088 See \`config.log' for more details." >&5
34089 echo "$as_me: error: no
34090 See \`config.log' for more details." >&2;}
34091 { (exit 1); exit 1; }; }
34095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34101 ac_cpp
='$CPP $CPPFLAGS'
34102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34109 { echo "$as_me:$LINENO: checking for mode_t" >&5
34110 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34111 if test "${ac_cv_type_mode_t+set}" = set; then
34112 echo $ECHO_N "(cached) $ECHO_C" >&6
34114 cat >conftest.
$ac_ext <<_ACEOF
34117 cat confdefs.h
>>conftest.
$ac_ext
34118 cat >>conftest.
$ac_ext <<_ACEOF
34119 /* end confdefs.h. */
34120 $ac_includes_default
34121 typedef mode_t ac__type_new_;
34125 if ((ac__type_new_ *) 0)
34127 if (sizeof (ac__type_new_))
34133 rm -f conftest.
$ac_objext
34134 if { (ac_try
="$ac_compile"
34135 case "(($ac_try" in
34136 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34137 *) ac_try_echo=$ac_try;;
34139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34140 (eval "$ac_compile") 2>conftest.er1
34142 grep -v '^ *+' conftest.er1 >conftest.err
34144 cat conftest.err >&5
34145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34146 (exit $ac_status); } && {
34147 test -z "$ac_c_werror_flag" ||
34148 test ! -s conftest.err
34149 } && test -s conftest.$ac_objext; then
34150 ac_cv_type_mode_t=yes
34152 echo "$as_me: failed program was:" >&5
34153 sed 's/^/| /' conftest.$ac_ext >&5
34155 ac_cv_type_mode_t=no
34158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34160 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34161 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34162 if test $ac_cv_type_mode_t = yes; then
34166 cat >>confdefs.h <<_ACEOF
34172 { echo "$as_me:$LINENO: checking for off_t" >&5
34173 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34174 if test "${ac_cv_type_off_t+set}" = set; then
34175 echo $ECHO_N "(cached) $ECHO_C" >&6
34177 cat >conftest.$ac_ext <<_ACEOF
34180 cat confdefs.h >>conftest.$ac_ext
34181 cat >>conftest.$ac_ext <<_ACEOF
34182 /* end confdefs.h. */
34183 $ac_includes_default
34184 typedef off_t ac__type_new_;
34188 if ((ac__type_new_ *) 0)
34190 if (sizeof (ac__type_new_))
34196 rm -f conftest.$ac_objext
34197 if { (ac_try="$ac_compile"
34198 case "(($ac_try" in
34199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34200 *) ac_try_echo
=$ac_try;;
34202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34203 (eval "$ac_compile") 2>conftest.er1
34205 grep -v '^ *+' conftest.er1
>conftest.err
34207 cat conftest.err
>&5
34208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34209 (exit $ac_status); } && {
34210 test -z "$ac_c_werror_flag" ||
34211 test ! -s conftest.err
34212 } && test -s conftest.
$ac_objext; then
34213 ac_cv_type_off_t
=yes
34215 echo "$as_me: failed program was:" >&5
34216 sed 's/^/| /' conftest.
$ac_ext >&5
34218 ac_cv_type_off_t
=no
34221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34223 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34224 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34225 if test $ac_cv_type_off_t = yes; then
34229 cat >>confdefs.h
<<_ACEOF
34230 #define off_t long int
34235 { echo "$as_me:$LINENO: checking for pid_t" >&5
34236 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34237 if test "${ac_cv_type_pid_t+set}" = set; then
34238 echo $ECHO_N "(cached) $ECHO_C" >&6
34240 cat >conftest.
$ac_ext <<_ACEOF
34243 cat confdefs.h
>>conftest.
$ac_ext
34244 cat >>conftest.
$ac_ext <<_ACEOF
34245 /* end confdefs.h. */
34246 $ac_includes_default
34247 typedef pid_t ac__type_new_;
34251 if ((ac__type_new_ *) 0)
34253 if (sizeof (ac__type_new_))
34259 rm -f conftest.
$ac_objext
34260 if { (ac_try
="$ac_compile"
34261 case "(($ac_try" in
34262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34263 *) ac_try_echo=$ac_try;;
34265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34266 (eval "$ac_compile") 2>conftest.er1
34268 grep -v '^ *+' conftest.er1 >conftest.err
34270 cat conftest.err >&5
34271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34272 (exit $ac_status); } && {
34273 test -z "$ac_c_werror_flag" ||
34274 test ! -s conftest.err
34275 } && test -s conftest.$ac_objext; then
34276 ac_cv_type_pid_t=yes
34278 echo "$as_me: failed program was:" >&5
34279 sed 's/^/| /' conftest.$ac_ext >&5
34281 ac_cv_type_pid_t=no
34284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34286 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34287 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34288 if test $ac_cv_type_pid_t = yes; then
34292 cat >>confdefs.h <<_ACEOF
34298 { echo "$as_me:$LINENO: checking for size_t" >&5
34299 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34300 if test "${ac_cv_type_size_t+set}" = set; then
34301 echo $ECHO_N "(cached) $ECHO_C" >&6
34303 cat >conftest.$ac_ext <<_ACEOF
34306 cat confdefs.h >>conftest.$ac_ext
34307 cat >>conftest.$ac_ext <<_ACEOF
34308 /* end confdefs.h. */
34309 $ac_includes_default
34310 typedef size_t ac__type_new_;
34314 if ((ac__type_new_ *) 0)
34316 if (sizeof (ac__type_new_))
34322 rm -f conftest.$ac_objext
34323 if { (ac_try="$ac_compile"
34324 case "(($ac_try" in
34325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34326 *) ac_try_echo
=$ac_try;;
34328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34329 (eval "$ac_compile") 2>conftest.er1
34331 grep -v '^ *+' conftest.er1
>conftest.err
34333 cat conftest.err
>&5
34334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34335 (exit $ac_status); } && {
34336 test -z "$ac_c_werror_flag" ||
34337 test ! -s conftest.err
34338 } && test -s conftest.
$ac_objext; then
34339 ac_cv_type_size_t
=yes
34341 echo "$as_me: failed program was:" >&5
34342 sed 's/^/| /' conftest.
$ac_ext >&5
34344 ac_cv_type_size_t
=no
34347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34349 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34350 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34351 if test $ac_cv_type_size_t = yes; then
34355 cat >>confdefs.h
<<_ACEOF
34356 #define size_t unsigned int
34362 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34363 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34364 if test "${ac_cv_type_ssize_t+set}" = set; then
34365 echo $ECHO_N "(cached) $ECHO_C" >&6
34367 cat >conftest.
$ac_ext <<_ACEOF
34370 cat confdefs.h
>>conftest.
$ac_ext
34371 cat >>conftest.
$ac_ext <<_ACEOF
34372 /* end confdefs.h. */
34373 $ac_includes_default
34374 typedef ssize_t ac__type_new_;
34378 if ((ac__type_new_ *) 0)
34380 if (sizeof (ac__type_new_))
34386 rm -f conftest.
$ac_objext
34387 if { (ac_try
="$ac_compile"
34388 case "(($ac_try" in
34389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34390 *) ac_try_echo=$ac_try;;
34392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34393 (eval "$ac_compile") 2>conftest.er1
34395 grep -v '^ *+' conftest.er1 >conftest.err
34397 cat conftest.err >&5
34398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34399 (exit $ac_status); } && {
34400 test -z "$ac_c_werror_flag" ||
34401 test ! -s conftest.err
34402 } && test -s conftest.$ac_objext; then
34403 ac_cv_type_ssize_t=yes
34405 echo "$as_me: failed program was:" >&5
34406 sed 's/^/| /' conftest.$ac_ext >&5
34408 ac_cv_type_ssize_t=no
34411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34413 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34414 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34415 if test $ac_cv_type_ssize_t = yes; then
34417 cat >>confdefs.h <<_ACEOF
34418 #define HAVE_SSIZE_T 1
34426 ac_cpp='$CXXCPP $CPPFLAGS'
34427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34430 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34431 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34432 if test "${wx_cv_size_t_is_uint+set}" = set; then
34433 echo $ECHO_N "(cached) $ECHO_C" >&6
34436 cat >conftest.$ac_ext <<_ACEOF
34439 cat confdefs.h >>conftest.$ac_ext
34440 cat >>conftest.$ac_ext <<_ACEOF
34441 /* end confdefs.h. */
34442 #include <stddef.h>
34449 struct Foo { void foo(size_t); void foo(unsigned int); };
34457 rm -f conftest.$ac_objext
34458 if { (ac_try="$ac_compile"
34459 case "(($ac_try" in
34460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34461 *) ac_try_echo
=$ac_try;;
34463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34464 (eval "$ac_compile") 2>conftest.er1
34466 grep -v '^ *+' conftest.er1
>conftest.err
34468 cat conftest.err
>&5
34469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470 (exit $ac_status); } && {
34471 test -z "$ac_cxx_werror_flag" ||
34472 test ! -s conftest.err
34473 } && test -s conftest.
$ac_objext; then
34474 wx_cv_size_t_is_uint
=no
34476 echo "$as_me: failed program was:" >&5
34477 sed 's/^/| /' conftest.
$ac_ext >&5
34479 wx_cv_size_t_is_uint
=yes
34483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34487 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34488 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34490 if test "$wx_cv_size_t_is_uint" = "yes"; then
34491 cat >>confdefs.h
<<\_ACEOF
34492 #define wxSIZE_T_IS_UINT 1
34496 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34497 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34498 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34499 echo $ECHO_N "(cached) $ECHO_C" >&6
34501 cat >conftest.
$ac_ext <<_ACEOF
34504 cat confdefs.h
>>conftest.
$ac_ext
34505 cat >>conftest.
$ac_ext <<_ACEOF
34506 /* end confdefs.h. */
34507 #include <stddef.h>
34514 struct Foo { void foo(size_t); void foo(unsigned long); };
34522 rm -f conftest.
$ac_objext
34523 if { (ac_try
="$ac_compile"
34524 case "(($ac_try" in
34525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34526 *) ac_try_echo=$ac_try;;
34528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34529 (eval "$ac_compile") 2>conftest.er1
34531 grep -v '^ *+' conftest.er1 >conftest.err
34533 cat conftest.err >&5
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); } && {
34536 test -z "$ac_cxx_werror_flag" ||
34537 test ! -s conftest.err
34538 } && test -s conftest.$ac_objext; then
34539 wx_cv_size_t_is_ulong=no
34541 echo "$as_me: failed program was:" >&5
34542 sed 's/^/| /' conftest.$ac_ext >&5
34544 wx_cv_size_t_is_ulong=yes
34548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34551 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34552 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34554 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34555 cat >>confdefs.h <<\_ACEOF
34556 #define wxSIZE_T_IS_ULONG 1
34562 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34563 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34564 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34565 echo $ECHO_N "(cached) $ECHO_C" >&6
34567 cat >conftest.$ac_ext <<_ACEOF
34570 cat confdefs.h >>conftest.$ac_ext
34571 cat >>conftest.$ac_ext <<_ACEOF
34572 /* end confdefs.h. */
34580 struct Foo { void foo(wchar_t);
34581 void foo(unsigned short);
34582 void foo(unsigned int);
34583 void foo(unsigned long); };
34591 rm -f conftest.$ac_objext
34592 if { (ac_try="$ac_compile"
34593 case "(($ac_try" in
34594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34595 *) ac_try_echo
=$ac_try;;
34597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34598 (eval "$ac_compile") 2>conftest.er1
34600 grep -v '^ *+' conftest.er1
>conftest.err
34602 cat conftest.err
>&5
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 (exit $ac_status); } && {
34605 test -z "$ac_cxx_werror_flag" ||
34606 test ! -s conftest.err
34607 } && test -s conftest.
$ac_objext; then
34608 wx_cv_wchar_t_is_separate_type
=yes
34610 echo "$as_me: failed program was:" >&5
34611 sed 's/^/| /' conftest.
$ac_ext >&5
34613 wx_cv_wchar_t_is_separate_type
=no
34617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34620 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34621 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34623 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34624 cat >>confdefs.h
<<\_ACEOF
34625 #define wxWCHAR_T_IS_REAL_TYPE 1
34629 cat >>confdefs.h
<<\_ACEOF
34630 #define wxWCHAR_T_IS_REAL_TYPE 0
34636 ac_cpp
='$CPP $CPPFLAGS'
34637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34642 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34643 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34644 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34645 echo $ECHO_N "(cached) $ECHO_C" >&6
34648 cat >conftest.
$ac_ext <<_ACEOF
34651 cat confdefs.h
>>conftest.
$ac_ext
34652 cat >>conftest.
$ac_ext <<_ACEOF
34653 /* end confdefs.h. */
34667 rm -f conftest.
$ac_objext
34668 if { (ac_try
="$ac_compile"
34669 case "(($ac_try" in
34670 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34671 *) ac_try_echo=$ac_try;;
34673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34674 (eval "$ac_compile") 2>conftest.er1
34676 grep -v '^ *+' conftest.er1 >conftest.err
34678 cat conftest.err >&5
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); } && {
34681 test -z "$ac_c_werror_flag" ||
34682 test ! -s conftest.err
34683 } && test -s conftest.$ac_objext; then
34685 wx_cv_struct_pw_gecos=yes
34688 echo "$as_me: failed program was:" >&5
34689 sed 's/^/| /' conftest.$ac_ext >&5
34692 wx_cv_struct_pw_gecos=no
34697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34701 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34702 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34704 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34705 cat >>confdefs.h <<\_ACEOF
34706 #define HAVE_PW_GECOS 1
34712 if test "$wxUSE_WCHAR_T" = "yes"; then
34713 cat >>confdefs.h <<\_ACEOF
34714 #define wxUSE_WCHAR_T 1
34721 for ac_func in wcslen
34723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34727 echo $ECHO_N "(cached) $ECHO_C" >&6
34729 cat >conftest.$ac_ext <<_ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34737 #define $ac_func innocuous_$ac_func
34739 /* System header to define __stub macros and hopefully few prototypes,
34740 which can conflict with char $ac_func (); below.
34741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34742 <limits.h> exists even on freestanding compilers. */
34745 # include <limits.h>
34747 # include <assert.h>
34752 /* Override any GCC internal prototype to avoid an error.
34753 Use char because int might match the return type of a GCC
34754 builtin and then its argument prototype would still apply. */
34759 /* The GNU C library defines this for functions which it implements
34760 to always fail with ENOSYS. Some functions are actually named
34761 something starting with __ and the normal name is an alias. */
34762 #if defined __stub_$ac_func || defined __stub___$ac_func
34769 return $ac_func ();
34774 rm -f conftest.$ac_objext conftest$ac_exeext
34775 if { (ac_try="$ac_link"
34776 case "(($ac_try" in
34777 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34778 *) ac_try_echo
=$ac_try;;
34780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34781 (eval "$ac_link") 2>conftest.er1
34783 grep -v '^ *+' conftest.er1
>conftest.err
34785 cat conftest.err
>&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } && {
34788 test -z "$ac_c_werror_flag" ||
34789 test ! -s conftest.err
34790 } && test -s conftest
$ac_exeext &&
34791 $as_test_x conftest
$ac_exeext; then
34792 eval "$as_ac_var=yes"
34794 echo "$as_me: failed program was:" >&5
34795 sed 's/^/| /' conftest.
$ac_ext >&5
34797 eval "$as_ac_var=no"
34800 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34801 conftest
$ac_exeext conftest.
$ac_ext
34803 ac_res
=`eval echo '${'$as_ac_var'}'`
34804 { echo "$as_me:$LINENO: result: $ac_res" >&5
34805 echo "${ECHO_T}$ac_res" >&6; }
34806 if test `eval echo '${'$as_ac_var'}'` = yes; then
34807 cat >>confdefs.h
<<_ACEOF
34808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34815 if test "$WCSLEN_FOUND" = 0; then
34816 if test "$TOOLKIT" = "MSW"; then
34817 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34818 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34819 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34820 echo $ECHO_N "(cached) $ECHO_C" >&6
34822 ac_check_lib_save_LIBS
=$LIBS
34823 LIBS
="-lmsvcrt $LIBS"
34824 cat >conftest.
$ac_ext <<_ACEOF
34827 cat confdefs.h
>>conftest.
$ac_ext
34828 cat >>conftest.
$ac_ext <<_ACEOF
34829 /* end confdefs.h. */
34831 /* Override any GCC internal prototype to avoid an error.
34832 Use char because int might match the return type of a GCC
34833 builtin and then its argument prototype would still apply. */
34846 rm -f conftest.
$ac_objext conftest
$ac_exeext
34847 if { (ac_try
="$ac_link"
34848 case "(($ac_try" in
34849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34850 *) ac_try_echo=$ac_try;;
34852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34853 (eval "$ac_link") 2>conftest.er1
34855 grep -v '^ *+' conftest.er1 >conftest.err
34857 cat conftest.err >&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } && {
34860 test -z "$ac_c_werror_flag" ||
34861 test ! -s conftest.err
34862 } && test -s conftest$ac_exeext &&
34863 $as_test_x conftest$ac_exeext; then
34864 ac_cv_lib_msvcrt_wcslen=yes
34866 echo "$as_me: failed program was:" >&5
34867 sed 's/^/| /' conftest.$ac_ext >&5
34869 ac_cv_lib_msvcrt_wcslen=no
34872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34873 conftest$ac_exeext conftest.$ac_ext
34874 LIBS=$ac_check_lib_save_LIBS
34876 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34877 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34878 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34883 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34884 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34885 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34886 echo $ECHO_N "(cached) $ECHO_C" >&6
34888 ac_check_lib_save_LIBS=$LIBS
34890 cat >conftest.$ac_ext <<_ACEOF
34893 cat confdefs.h >>conftest.$ac_ext
34894 cat >>conftest.$ac_ext <<_ACEOF
34895 /* end confdefs.h. */
34897 /* Override any GCC internal prototype to avoid an error.
34898 Use char because int might match the return type of a GCC
34899 builtin and then its argument prototype would still apply. */
34912 rm -f conftest.$ac_objext conftest$ac_exeext
34913 if { (ac_try="$ac_link"
34914 case "(($ac_try" in
34915 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34916 *) ac_try_echo
=$ac_try;;
34918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34919 (eval "$ac_link") 2>conftest.er1
34921 grep -v '^ *+' conftest.er1
>conftest.err
34923 cat conftest.err
>&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); } && {
34926 test -z "$ac_c_werror_flag" ||
34927 test ! -s conftest.err
34928 } && test -s conftest
$ac_exeext &&
34929 $as_test_x conftest
$ac_exeext; then
34930 ac_cv_lib_w_wcslen
=yes
34932 echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.
$ac_ext >&5
34935 ac_cv_lib_w_wcslen
=no
34938 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34939 conftest
$ac_exeext conftest.
$ac_ext
34940 LIBS
=$ac_check_lib_save_LIBS
34942 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34943 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34944 if test $ac_cv_lib_w_wcslen = yes; then
34954 if test "$WCSLEN_FOUND" = 1; then
34955 cat >>confdefs.h
<<\_ACEOF
34956 #define HAVE_WCSLEN 1
34966 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
34968 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34969 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34971 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34972 echo $ECHO_N "(cached) $ECHO_C" >&6
34974 cat >conftest.
$ac_ext <<_ACEOF
34977 cat confdefs.h
>>conftest.
$ac_ext
34978 cat >>conftest.
$ac_ext <<_ACEOF
34979 /* end confdefs.h. */
34980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34982 #define $ac_func innocuous_$ac_func
34984 /* System header to define __stub macros and hopefully few prototypes,
34985 which can conflict with char $ac_func (); below.
34986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34987 <limits.h> exists even on freestanding compilers. */
34990 # include <limits.h>
34992 # include <assert.h>
34997 /* Override any GCC internal prototype to avoid an error.
34998 Use char because int might match the return type of a GCC
34999 builtin and then its argument prototype would still apply. */
35004 /* The GNU C library defines this for functions which it implements
35005 to always fail with ENOSYS. Some functions are actually named
35006 something starting with __ and the normal name is an alias. */
35007 #if defined __stub_$ac_func || defined __stub___$ac_func
35014 return $ac_func ();
35019 rm -f conftest.
$ac_objext conftest
$ac_exeext
35020 if { (ac_try
="$ac_link"
35021 case "(($ac_try" in
35022 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35023 *) ac_try_echo=$ac_try;;
35025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35026 (eval "$ac_link") 2>conftest.er1
35028 grep -v '^ *+' conftest.er1 >conftest.err
35030 cat conftest.err >&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); } && {
35033 test -z "$ac_c_werror_flag" ||
35034 test ! -s conftest.err
35035 } && test -s conftest$ac_exeext &&
35036 $as_test_x conftest$ac_exeext; then
35037 eval "$as_ac_var=yes"
35039 echo "$as_me: failed program was:" >&5
35040 sed 's/^/| /' conftest.$ac_ext >&5
35042 eval "$as_ac_var=no"
35045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35046 conftest$ac_exeext conftest.$ac_ext
35048 ac_res=`eval echo '${'$as_ac_var'}'`
35049 { echo "$as_me:$LINENO: result: $ac_res" >&5
35050 echo "${ECHO_T}$ac_res" >&6; }
35051 if test `eval echo '${'$as_ac_var'}'` = yes; then
35052 cat >>confdefs.h <<_ACEOF
35053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35060 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35061 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35064 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35065 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35066 if test "${ac_cv_type_mbstate_t+set}" = set; then
35067 echo $ECHO_N "(cached) $ECHO_C" >&6
35069 cat >conftest.$ac_ext <<_ACEOF
35072 cat confdefs.h >>conftest.$ac_ext
35073 cat >>conftest.$ac_ext <<_ACEOF
35074 /* end confdefs.h. */
35077 typedef mbstate_t ac__type_new_;
35081 if ((ac__type_new_ *) 0)
35083 if (sizeof (ac__type_new_))
35089 rm -f conftest.$ac_objext
35090 if { (ac_try="$ac_compile"
35091 case "(($ac_try" in
35092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35093 *) ac_try_echo
=$ac_try;;
35095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35096 (eval "$ac_compile") 2>conftest.er1
35098 grep -v '^ *+' conftest.er1
>conftest.err
35100 cat conftest.err
>&5
35101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35102 (exit $ac_status); } && {
35103 test -z "$ac_c_werror_flag" ||
35104 test ! -s conftest.err
35105 } && test -s conftest.
$ac_objext; then
35106 ac_cv_type_mbstate_t
=yes
35108 echo "$as_me: failed program was:" >&5
35109 sed 's/^/| /' conftest.
$ac_ext >&5
35111 ac_cv_type_mbstate_t
=no
35114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35116 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35117 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35118 if test $ac_cv_type_mbstate_t = yes; then
35120 cat >>confdefs.h
<<_ACEOF
35121 #define HAVE_MBSTATE_T 1
35125 for ac_func
in wcsrtombs
35127 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35130 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35131 echo $ECHO_N "(cached) $ECHO_C" >&6
35133 cat >conftest.
$ac_ext <<_ACEOF
35136 cat confdefs.h
>>conftest.
$ac_ext
35137 cat >>conftest.
$ac_ext <<_ACEOF
35138 /* end confdefs.h. */
35139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35141 #define $ac_func innocuous_$ac_func
35143 /* System header to define __stub macros and hopefully few prototypes,
35144 which can conflict with char $ac_func (); below.
35145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35146 <limits.h> exists even on freestanding compilers. */
35149 # include <limits.h>
35151 # include <assert.h>
35156 /* Override any GCC internal prototype to avoid an error.
35157 Use char because int might match the return type of a GCC
35158 builtin and then its argument prototype would still apply. */
35163 /* The GNU C library defines this for functions which it implements
35164 to always fail with ENOSYS. Some functions are actually named
35165 something starting with __ and the normal name is an alias. */
35166 #if defined __stub_$ac_func || defined __stub___$ac_func
35173 return $ac_func ();
35178 rm -f conftest.
$ac_objext conftest
$ac_exeext
35179 if { (ac_try
="$ac_link"
35180 case "(($ac_try" in
35181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35182 *) ac_try_echo=$ac_try;;
35184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35185 (eval "$ac_link") 2>conftest.er1
35187 grep -v '^ *+' conftest.er1 >conftest.err
35189 cat conftest.err >&5
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); } && {
35192 test -z "$ac_c_werror_flag" ||
35193 test ! -s conftest.err
35194 } && test -s conftest$ac_exeext &&
35195 $as_test_x conftest$ac_exeext; then
35196 eval "$as_ac_var=yes"
35198 echo "$as_me: failed program was:" >&5
35199 sed 's/^/| /' conftest.$ac_ext >&5
35201 eval "$as_ac_var=no"
35204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35205 conftest$ac_exeext conftest.$ac_ext
35207 ac_res=`eval echo '${'$as_ac_var'}'`
35208 { echo "$as_me:$LINENO: result: $ac_res" >&5
35209 echo "${ECHO_T}$ac_res" >&6; }
35210 if test `eval echo '${'$as_ac_var'}'` = yes; then
35211 cat >>confdefs.h <<_ACEOF
35212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35221 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35222 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35228 for ac_func in snprintf vsnprintf vsscanf
35230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35234 echo $ECHO_N "(cached) $ECHO_C" >&6
35236 cat >conftest.$ac_ext <<_ACEOF
35239 cat confdefs.h >>conftest.$ac_ext
35240 cat >>conftest.$ac_ext <<_ACEOF
35241 /* end confdefs.h. */
35242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35244 #define $ac_func innocuous_$ac_func
35246 /* System header to define __stub macros and hopefully few prototypes,
35247 which can conflict with char $ac_func (); below.
35248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35249 <limits.h> exists even on freestanding compilers. */
35252 # include <limits.h>
35254 # include <assert.h>
35259 /* Override any GCC internal prototype to avoid an error.
35260 Use char because int might match the return type of a GCC
35261 builtin and then its argument prototype would still apply. */
35266 /* The GNU C library defines this for functions which it implements
35267 to always fail with ENOSYS. Some functions are actually named
35268 something starting with __ and the normal name is an alias. */
35269 #if defined __stub_$ac_func || defined __stub___$ac_func
35276 return $ac_func ();
35281 rm -f conftest.$ac_objext conftest$ac_exeext
35282 if { (ac_try="$ac_link"
35283 case "(($ac_try" in
35284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35285 *) ac_try_echo
=$ac_try;;
35287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35288 (eval "$ac_link") 2>conftest.er1
35290 grep -v '^ *+' conftest.er1
>conftest.err
35292 cat conftest.err
>&5
35293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35294 (exit $ac_status); } && {
35295 test -z "$ac_c_werror_flag" ||
35296 test ! -s conftest.err
35297 } && test -s conftest
$ac_exeext &&
35298 $as_test_x conftest
$ac_exeext; then
35299 eval "$as_ac_var=yes"
35301 echo "$as_me: failed program was:" >&5
35302 sed 's/^/| /' conftest.
$ac_ext >&5
35304 eval "$as_ac_var=no"
35307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35308 conftest
$ac_exeext conftest.
$ac_ext
35310 ac_res
=`eval echo '${'$as_ac_var'}'`
35311 { echo "$as_me:$LINENO: result: $ac_res" >&5
35312 echo "${ECHO_T}$ac_res" >&6; }
35313 if test `eval echo '${'$as_ac_var'}'` = yes; then
35314 cat >>confdefs.h
<<_ACEOF
35315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35323 ac_cpp
='$CXXCPP $CPPFLAGS'
35324 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35325 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35326 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35328 if test "$ac_cv_func_vsnprintf" = "yes"; then
35329 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35330 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35331 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35332 echo $ECHO_N "(cached) $ECHO_C" >&6
35335 cat >conftest.
$ac_ext <<_ACEOF
35338 cat confdefs.h
>>conftest.
$ac_ext
35339 cat >>conftest.
$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35343 #include <stdarg.h>
35345 #if __MSL__ >= 0x6000
35347 using namespace std;
35357 vsnprintf(buf, 10u, "%s", ap);
35363 rm -f conftest.
$ac_objext
35364 if { (ac_try
="$ac_compile"
35365 case "(($ac_try" in
35366 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35367 *) ac_try_echo=$ac_try;;
35369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35370 (eval "$ac_compile") 2>conftest.er1
35372 grep -v '^ *+' conftest.er1 >conftest.err
35374 cat conftest.err >&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); } && {
35377 test -z "$ac_cxx_werror_flag" ||
35378 test ! -s conftest.err
35379 } && test -s conftest.$ac_objext; then
35380 wx_cv_func_vsnprintf_decl=yes
35382 echo "$as_me: failed program was:" >&5
35383 sed 's/^/| /' conftest.$ac_ext >&5
35385 wx_cv_func_vsnprintf_decl=no
35389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35393 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35394 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35396 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35397 cat >>confdefs.h <<\_ACEOF
35398 #define HAVE_VSNPRINTF_DECL 1
35402 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35403 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35404 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35405 echo $ECHO_N "(cached) $ECHO_C" >&6
35408 cat >conftest.$ac_ext <<_ACEOF
35411 cat confdefs.h >>conftest.$ac_ext
35412 cat >>conftest.$ac_ext <<_ACEOF
35413 /* end confdefs.h. */
35416 #include <stdarg.h>
35418 #if __MSL__ >= 0x6000
35420 using namespace std;
35430 const char *fmt = "%s";
35431 vsnprintf(buf, 10u, fmt, ap);
35437 rm -f conftest.$ac_objext
35438 if { (ac_try="$ac_compile"
35439 case "(($ac_try" in
35440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35441 *) ac_try_echo
=$ac_try;;
35443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35444 (eval "$ac_compile") 2>conftest.er1
35446 grep -v '^ *+' conftest.er1
>conftest.err
35448 cat conftest.err
>&5
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); } && {
35451 test -z "$ac_cxx_werror_flag" ||
35452 test ! -s conftest.err
35453 } && test -s conftest.
$ac_objext; then
35454 wx_cv_func_broken_vsnprintf_decl
=no
35456 echo "$as_me: failed program was:" >&5
35457 sed 's/^/| /' conftest.
$ac_ext >&5
35459 wx_cv_func_broken_vsnprintf_decl
=yes
35463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35467 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35468 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35470 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35471 cat >>confdefs.h
<<\_ACEOF
35472 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35479 if test "$ac_cv_func_snprintf" = "yes"; then
35480 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35481 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35482 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35483 echo $ECHO_N "(cached) $ECHO_C" >&6
35486 cat >conftest.
$ac_ext <<_ACEOF
35489 cat confdefs.h
>>conftest.
$ac_ext
35490 cat >>conftest.
$ac_ext <<_ACEOF
35491 /* end confdefs.h. */
35494 #include <stdarg.h>
35496 #if __MSL__ >= 0x6000
35498 using namespace std;
35507 snprintf(buf, 10u, "%s", "wx");
35513 rm -f conftest.
$ac_objext
35514 if { (ac_try
="$ac_compile"
35515 case "(($ac_try" in
35516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35517 *) ac_try_echo=$ac_try;;
35519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35520 (eval "$ac_compile") 2>conftest.er1
35522 grep -v '^ *+' conftest.er1 >conftest.err
35524 cat conftest.err >&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); } && {
35527 test -z "$ac_cxx_werror_flag" ||
35528 test ! -s conftest.err
35529 } && test -s conftest.$ac_objext; then
35530 wx_cv_func_snprintf_decl=yes
35532 echo "$as_me: failed program was:" >&5
35533 sed 's/^/| /' conftest.$ac_ext >&5
35535 wx_cv_func_snprintf_decl=no
35539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35543 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35544 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35546 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35547 cat >>confdefs.h <<\_ACEOF
35548 #define HAVE_SNPRINTF_DECL 1
35553 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35555 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35556 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35557 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35561 if test "$cross_compiling" = yes; then
35563 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35564 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35565 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35566 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35567 wx_cv_func_snprintf_pos_params=no
35571 cat >conftest.$ac_ext <<_ACEOF
35574 cat confdefs.h >>conftest.$ac_ext
35575 cat >>conftest.$ac_ext <<_ACEOF
35576 /* end confdefs.h. */
35583 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35584 if (strcmp ("2 3 1", buffer) == 0)
35590 rm -f conftest$ac_exeext
35591 if { (ac_try="$ac_link"
35592 case "(($ac_try" in
35593 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35594 *) ac_try_echo
=$ac_try;;
35596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35597 (eval "$ac_link") 2>&5
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35601 { (case "(($ac_try" in
35602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35603 *) ac_try_echo=$ac_try;;
35605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35606 (eval "$ac_try") 2>&5
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); }; }; then
35610 wx_cv_func_snprintf_pos_params=no
35612 echo "$as_me: program exited with status $ac_status" >&5
35613 echo "$as_me: failed program was:" >&5
35614 sed 's/^/| /' conftest.$ac_ext >&5
35616 ( exit $ac_status )
35617 wx_cv_func_snprintf_pos_params=yes
35619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35626 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35627 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35629 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35630 cat >>confdefs.h <<\_ACEOF
35631 #define HAVE_UNIX98_PRINTF 1
35638 if test "$ac_cv_func_vsscanf" = "yes"; then
35639 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35640 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35641 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35642 echo $ECHO_N "(cached) $ECHO_C" >&6
35645 cat >conftest.$ac_ext <<_ACEOF
35648 cat confdefs.h >>conftest.$ac_ext
35649 cat >>conftest.$ac_ext <<_ACEOF
35650 /* end confdefs.h. */
35653 #include <stdarg.h>
35655 #if __MSL__ >= 0x6000
35657 using namespace std;
35667 vsscanf(buf, "%s", args);
35673 rm -f conftest.$ac_objext
35674 if { (ac_try="$ac_compile"
35675 case "(($ac_try" in
35676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35677 *) ac_try_echo
=$ac_try;;
35679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35680 (eval "$ac_compile") 2>conftest.er1
35682 grep -v '^ *+' conftest.er1
>conftest.err
35684 cat conftest.err
>&5
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); } && {
35687 test -z "$ac_cxx_werror_flag" ||
35688 test ! -s conftest.err
35689 } && test -s conftest.
$ac_objext; then
35690 wx_cv_func_vsscanf_decl
=yes
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.
$ac_ext >&5
35695 wx_cv_func_vsscanf_decl
=no
35699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35703 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35704 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35706 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35707 cat >>confdefs.h
<<\_ACEOF
35708 #define HAVE_VSSCANF_DECL 1
35714 ac_cpp
='$CPP $CPPFLAGS'
35715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35720 if test "$wxUSE_UNICODE" = yes; then
35722 wchar_headers
="#include <stdio.h>
35723 #include <wchar.h>"
35727 for ac_header
in widec.h
35729 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35730 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35732 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35735 cat >conftest.
$ac_ext <<_ACEOF
35738 cat confdefs.h
>>conftest.
$ac_ext
35739 cat >>conftest.
$ac_ext <<_ACEOF
35740 /* end confdefs.h. */
35741 $ac_includes_default
35743 #include <$ac_header>
35745 rm -f conftest.
$ac_objext
35746 if { (ac_try
="$ac_compile"
35747 case "(($ac_try" in
35748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35749 *) ac_try_echo=$ac_try;;
35751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35752 (eval "$ac_compile") 2>conftest.er1
35754 grep -v '^ *+' conftest.er1 >conftest.err
35756 cat conftest.err >&5
35757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758 (exit $ac_status); } && {
35759 test -z "$ac_c_werror_flag" ||
35760 test ! -s conftest.err
35761 } && test -s conftest.$ac_objext; then
35762 eval "$as_ac_Header=yes"
35764 echo "$as_me: failed program was:" >&5
35765 sed 's/^/| /' conftest.$ac_ext >&5
35767 eval "$as_ac_Header=no"
35770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35772 ac_res=`eval echo '${'$as_ac_Header'}'`
35773 { echo "$as_me:$LINENO: result: $ac_res" >&5
35774 echo "${ECHO_T}$ac_res" >&6; }
35775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35776 cat >>confdefs.h <<_ACEOF
35777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35784 if test "$ac_cv_header_widec_h" = "yes"; then
35785 wchar_headers="$wchar_headers
35786 #include <widec.h>"
35791 for wx_func in putws fputws wprintf vswprintf vswscanf
35793 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35794 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35795 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35796 echo $ECHO_N "(cached) $ECHO_C" >&6
35799 cat >conftest.$ac_ext <<_ACEOF
35803 cat confdefs.h >>conftest.$ac_ext
35804 cat >>conftest.$ac_ext <<_ACEOF
35805 /* end confdefs.h. */
35808 $ac_includes_default
35824 rm -f conftest.$ac_objext conftest$ac_exeext
35825 if { (ac_try="$ac_link"
35826 case "(($ac_try" in
35827 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35828 *) ac_try_echo
=$ac_try;;
35830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35831 (eval "$ac_link") 2>conftest.er1
35833 grep -v '^ *+' conftest.er1
>conftest.err
35835 cat conftest.err
>&5
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); } && {
35838 test -z "$ac_c_werror_flag" ||
35839 test ! -s conftest.err
35840 } && test -s conftest
$ac_exeext &&
35841 $as_test_x conftest
$ac_exeext; then
35842 eval wx_cv_func_
$wx_func=yes
35844 echo "$as_me: failed program was:" >&5
35845 sed 's/^/| /' conftest.
$ac_ext >&5
35847 eval wx_cv_func_
$wx_func=no
35850 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35851 conftest
$ac_exeext conftest.
$ac_ext
35854 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35855 { echo "$as_me:$LINENO: result: $ac_res" >&5
35856 echo "${ECHO_T}$ac_res" >&6; }
35858 if eval test \
$wx_cv_func_$wx_func = yes
35860 cat >>confdefs.h
<<_ACEOF
35861 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35872 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35873 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35874 cat >conftest.
$ac_ext <<_ACEOF
35877 cat confdefs.h
>>conftest.
$ac_ext
35878 cat >>conftest.
$ac_ext <<_ACEOF
35879 /* end confdefs.h. */
35889 rm -f conftest.
$ac_objext
35890 if { (ac_try
="$ac_compile"
35891 case "(($ac_try" in
35892 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35893 *) ac_try_echo=$ac_try;;
35895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35896 (eval "$ac_compile") 2>conftest.er1
35898 grep -v '^ *+' conftest.er1 >conftest.err
35900 cat conftest.err >&5
35901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35902 (exit $ac_status); } && {
35903 test -z "$ac_c_werror_flag" ||
35904 test ! -s conftest.err
35905 } && test -s conftest.$ac_objext; then
35906 { echo "$as_me:$LINENO: result: yes" >&5
35907 echo "${ECHO_T}yes" >&6; }
35908 cat >>confdefs.h <<\_ACEOF
35909 #define HAVE__VSNWPRINTF 1
35913 echo "$as_me: failed program was:" >&5
35914 sed 's/^/| /' conftest.$ac_ext >&5
35916 { echo "$as_me:$LINENO: result: no" >&5
35917 echo "${ECHO_T}no" >&6; }
35920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35923 if test "$wxUSE_FILE" = "yes"; then
35925 for wx_func in fsync
35927 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35928 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35929 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35930 echo $ECHO_N "(cached) $ECHO_C" >&6
35933 cat >conftest.$ac_ext <<_ACEOF
35937 cat confdefs.h >>conftest.$ac_ext
35938 cat >>conftest.$ac_ext <<_ACEOF
35939 /* end confdefs.h. */
35942 $ac_includes_default
35958 rm -f conftest.$ac_objext conftest$ac_exeext
35959 if { (ac_try="$ac_link"
35960 case "(($ac_try" in
35961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35962 *) ac_try_echo
=$ac_try;;
35964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35965 (eval "$ac_link") 2>conftest.er1
35967 grep -v '^ *+' conftest.er1
>conftest.err
35969 cat conftest.err
>&5
35970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35971 (exit $ac_status); } && {
35972 test -z "$ac_c_werror_flag" ||
35973 test ! -s conftest.err
35974 } && test -s conftest
$ac_exeext &&
35975 $as_test_x conftest
$ac_exeext; then
35976 eval wx_cv_func_
$wx_func=yes
35978 echo "$as_me: failed program was:" >&5
35979 sed 's/^/| /' conftest.
$ac_ext >&5
35981 eval wx_cv_func_
$wx_func=no
35984 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35985 conftest
$ac_exeext conftest.
$ac_ext
35988 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35989 { echo "$as_me:$LINENO: result: $ac_res" >&5
35990 echo "${ECHO_T}$ac_res" >&6; }
35992 if eval test \
$wx_cv_func_$wx_func = yes
35994 cat >>confdefs.h
<<_ACEOF
35995 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36008 ac_cpp
='$CXXCPP $CPPFLAGS'
36009 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36010 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36011 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36014 for wx_func
in round
36016 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36017 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36018 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36019 echo $ECHO_N "(cached) $ECHO_C" >&6
36022 cat >conftest.
$ac_ext <<_ACEOF
36026 cat confdefs.h
>>conftest.
$ac_ext
36027 cat >>conftest.
$ac_ext <<_ACEOF
36028 /* end confdefs.h. */
36031 $ac_includes_default
36047 rm -f conftest.
$ac_objext conftest
$ac_exeext
36048 if { (ac_try
="$ac_link"
36049 case "(($ac_try" in
36050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36051 *) ac_try_echo=$ac_try;;
36053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36054 (eval "$ac_link") 2>conftest.er1
36056 grep -v '^ *+' conftest.er1 >conftest.err
36058 cat conftest.err >&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } && {
36061 test -z "$ac_cxx_werror_flag" ||
36062 test ! -s conftest.err
36063 } && test -s conftest$ac_exeext &&
36064 $as_test_x conftest$ac_exeext; then
36065 eval wx_cv_func_$wx_func=yes
36067 echo "$as_me: failed program was:" >&5
36068 sed 's/^/| /' conftest.$ac_ext >&5
36070 eval wx_cv_func_$wx_func=no
36073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36074 conftest$ac_exeext conftest.$ac_ext
36077 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36078 { echo "$as_me:$LINENO: result: $ac_res" >&5
36079 echo "${ECHO_T}$ac_res" >&6; }
36081 if eval test \$wx_cv_func_$wx_func = yes
36083 cat >>confdefs.h <<_ACEOF
36084 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36095 ac_cpp='$CPP $CPPFLAGS'
36096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36101 if test "$TOOLKIT" != "MSW"; then
36103 if test "$wxUSE_LIBICONV" != "no" ; then
36107 # Check whether --with-libiconv-prefix was given.
36108 if test "${with_libiconv_prefix+set}" = set; then
36109 withval=$with_libiconv_prefix;
36110 for dir in `echo "$withval" | tr : ' '`; do
36111 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36112 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36118 { echo "$as_me:$LINENO: checking for iconv" >&5
36119 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36120 if test "${am_cv_func_iconv+set}" = set; then
36121 echo $ECHO_N "(cached) $ECHO_C" >&6
36124 am_cv_func_iconv="no, consider installing GNU libiconv"
36126 cat >conftest.$ac_ext <<_ACEOF
36129 cat confdefs.h >>conftest.$ac_ext
36130 cat >>conftest.$ac_ext <<_ACEOF
36131 /* end confdefs.h. */
36132 #include <stdlib.h>
36137 iconv_t cd = iconv_open("","");
36138 iconv(cd,NULL,NULL,NULL,NULL);
36144 rm -f conftest.$ac_objext conftest$ac_exeext
36145 if { (ac_try="$ac_link"
36146 case "(($ac_try" in
36147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36148 *) ac_try_echo
=$ac_try;;
36150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36151 (eval "$ac_link") 2>conftest.er1
36153 grep -v '^ *+' conftest.er1
>conftest.err
36155 cat conftest.err
>&5
36156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36157 (exit $ac_status); } && {
36158 test -z "$ac_c_werror_flag" ||
36159 test ! -s conftest.err
36160 } && test -s conftest
$ac_exeext &&
36161 $as_test_x conftest
$ac_exeext; then
36162 am_cv_func_iconv
=yes
36164 echo "$as_me: failed program was:" >&5
36165 sed 's/^/| /' conftest.
$ac_ext >&5
36170 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36171 conftest
$ac_exeext conftest.
$ac_ext
36172 if test "$am_cv_func_iconv" != yes; then
36173 am_save_LIBS
="$LIBS"
36174 LIBS
="$LIBS -liconv"
36175 cat >conftest.
$ac_ext <<_ACEOF
36178 cat confdefs.h
>>conftest.
$ac_ext
36179 cat >>conftest.
$ac_ext <<_ACEOF
36180 /* end confdefs.h. */
36181 #include <stdlib.h>
36186 iconv_t cd = iconv_open("","");
36187 iconv(cd,NULL,NULL,NULL,NULL);
36193 rm -f conftest.
$ac_objext conftest
$ac_exeext
36194 if { (ac_try
="$ac_link"
36195 case "(($ac_try" in
36196 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36197 *) ac_try_echo=$ac_try;;
36199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36200 (eval "$ac_link") 2>conftest.er1
36202 grep -v '^ *+' conftest.er1 >conftest.err
36204 cat conftest.err >&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); } && {
36207 test -z "$ac_c_werror_flag" ||
36208 test ! -s conftest.err
36209 } && test -s conftest$ac_exeext &&
36210 $as_test_x conftest$ac_exeext; then
36211 am_cv_lib_iconv=yes
36212 am_cv_func_iconv=yes
36214 echo "$as_me: failed program was:" >&5
36215 sed 's/^/| /' conftest.$ac_ext >&5
36220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36221 conftest$ac_exeext conftest.$ac_ext
36222 LIBS="$am_save_LIBS"
36226 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36227 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36228 if test "$am_cv_func_iconv" = yes; then
36230 cat >>confdefs.h <<\_ACEOF
36231 #define HAVE_ICONV 1
36234 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36235 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36236 if test "${wx_cv_func_iconv_const+set}" = set; then
36237 echo $ECHO_N "(cached) $ECHO_C" >&6
36239 cat >conftest.$ac_ext <<_ACEOF
36242 cat confdefs.h >>conftest.$ac_ext
36243 cat >>conftest.$ac_ext <<_ACEOF
36244 /* end confdefs.h. */
36246 #include <stdlib.h>
36252 #if defined(__STDC__) || defined(__cplusplus)
36253 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36266 rm -f conftest.$ac_objext
36267 if { (ac_try="$ac_compile"
36268 case "(($ac_try" in
36269 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36270 *) ac_try_echo
=$ac_try;;
36272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36273 (eval "$ac_compile") 2>conftest.er1
36275 grep -v '^ *+' conftest.er1
>conftest.err
36277 cat conftest.err
>&5
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); } && {
36280 test -z "$ac_c_werror_flag" ||
36281 test ! -s conftest.err
36282 } && test -s conftest.
$ac_objext; then
36283 wx_cv_func_iconv_const
="no"
36285 echo "$as_me: failed program was:" >&5
36286 sed 's/^/| /' conftest.
$ac_ext >&5
36288 wx_cv_func_iconv_const
="yes"
36292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36295 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36296 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36299 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36300 iconv_const
="const"
36304 cat >>confdefs.h
<<_ACEOF
36305 #define ICONV_CONST $iconv_const
36310 if test "$am_cv_lib_iconv" = yes; then
36315 LIBS
="$LIBICONV $LIBS"
36318 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36320 for ac_func
in sigaction
36322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36323 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36325 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36326 echo $ECHO_N "(cached) $ECHO_C" >&6
36328 cat >conftest.
$ac_ext <<_ACEOF
36331 cat confdefs.h
>>conftest.
$ac_ext
36332 cat >>conftest.
$ac_ext <<_ACEOF
36333 /* end confdefs.h. */
36334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36336 #define $ac_func innocuous_$ac_func
36338 /* System header to define __stub macros and hopefully few prototypes,
36339 which can conflict with char $ac_func (); below.
36340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36341 <limits.h> exists even on freestanding compilers. */
36344 # include <limits.h>
36346 # include <assert.h>
36351 /* Override any GCC internal prototype to avoid an error.
36352 Use char because int might match the return type of a GCC
36353 builtin and then its argument prototype would still apply. */
36358 /* The GNU C library defines this for functions which it implements
36359 to always fail with ENOSYS. Some functions are actually named
36360 something starting with __ and the normal name is an alias. */
36361 #if defined __stub_$ac_func || defined __stub___$ac_func
36368 return $ac_func ();
36373 rm -f conftest.
$ac_objext conftest
$ac_exeext
36374 if { (ac_try
="$ac_link"
36375 case "(($ac_try" in
36376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36377 *) ac_try_echo=$ac_try;;
36379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36380 (eval "$ac_link") 2>conftest.er1
36382 grep -v '^ *+' conftest.er1 >conftest.err
36384 cat conftest.err >&5
36385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 (exit $ac_status); } && {
36387 test -z "$ac_c_werror_flag" ||
36388 test ! -s conftest.err
36389 } && test -s conftest$ac_exeext &&
36390 $as_test_x conftest$ac_exeext; then
36391 eval "$as_ac_var=yes"
36393 echo "$as_me: failed program was:" >&5
36394 sed 's/^/| /' conftest.$ac_ext >&5
36396 eval "$as_ac_var=no"
36399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36400 conftest$ac_exeext conftest.$ac_ext
36402 ac_res=`eval echo '${'$as_ac_var'}'`
36403 { echo "$as_me:$LINENO: result: $ac_res" >&5
36404 echo "${ECHO_T}$ac_res" >&6; }
36405 if test `eval echo '${'$as_ac_var'}'` = yes; then
36406 cat >>confdefs.h <<_ACEOF
36407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36414 if test "$ac_cv_func_sigaction" = "no"; then
36415 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36416 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36417 wxUSE_ON_FATAL_EXCEPTION=no
36420 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36421 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36422 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36423 if test "${wx_cv_type_sa_handler+set}" = set; then
36424 echo $ECHO_N "(cached) $ECHO_C" >&6
36428 ac_cpp='$CXXCPP $CPPFLAGS'
36429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36433 cat >conftest.$ac_ext <<_ACEOF
36436 cat confdefs.h >>conftest.$ac_ext
36437 cat >>conftest.$ac_ext <<_ACEOF
36438 /* end confdefs.h. */
36439 #include <signal.h>
36444 extern void testSigHandler(int);
36446 struct sigaction sa;
36447 sa.sa_handler = testSigHandler;
36453 rm -f conftest.$ac_objext
36454 if { (ac_try="$ac_compile"
36455 case "(($ac_try" in
36456 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36457 *) ac_try_echo
=$ac_try;;
36459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36460 (eval "$ac_compile") 2>conftest.er1
36462 grep -v '^ *+' conftest.er1
>conftest.err
36464 cat conftest.err
>&5
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); } && {
36467 test -z "$ac_cxx_werror_flag" ||
36468 test ! -s conftest.err
36469 } && test -s conftest.
$ac_objext; then
36471 wx_cv_type_sa_handler
=int
36474 echo "$as_me: failed program was:" >&5
36475 sed 's/^/| /' conftest.
$ac_ext >&5
36478 wx_cv_type_sa_handler
=void
36482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36484 ac_cpp
='$CPP $CPPFLAGS'
36485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36491 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36492 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36494 cat >>confdefs.h
<<_ACEOF
36495 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36501 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36502 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36503 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36504 if test "${wx_cv_func_backtrace+set}" = set; then
36505 echo $ECHO_N "(cached) $ECHO_C" >&6
36509 ac_cpp
='$CXXCPP $CPPFLAGS'
36510 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36511 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36512 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36514 cat >conftest.
$ac_ext <<_ACEOF
36517 cat confdefs.h
>>conftest.
$ac_ext
36518 cat >>conftest.
$ac_ext <<_ACEOF
36519 /* end confdefs.h. */
36520 #include <execinfo.h>
36528 backtrace(trace, 1);
36529 messages = backtrace_symbols(trace, 1);
36535 rm -f conftest.
$ac_objext
36536 if { (ac_try
="$ac_compile"
36537 case "(($ac_try" in
36538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36539 *) ac_try_echo=$ac_try;;
36541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36542 (eval "$ac_compile") 2>conftest.er1
36544 grep -v '^ *+' conftest.er1 >conftest.err
36546 cat conftest.err >&5
36547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36548 (exit $ac_status); } && {
36549 test -z "$ac_cxx_werror_flag" ||
36550 test ! -s conftest.err
36551 } && test -s conftest.$ac_objext; then
36552 wx_cv_func_backtrace=yes
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.$ac_ext >&5
36557 wx_cv_func_backtrace=no
36561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36563 ac_cpp='$CPP $CPPFLAGS'
36564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36571 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36572 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36575 if test "$wx_cv_func_backtrace" = "no"; then
36576 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36577 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36578 wxUSE_STACKWALKER=no
36580 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36581 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36582 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36583 echo $ECHO_N "(cached) $ECHO_C" >&6
36587 ac_cpp='$CXXCPP $CPPFLAGS'
36588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36592 cat >conftest.$ac_ext <<_ACEOF
36595 cat confdefs.h >>conftest.$ac_ext
36596 cat >>conftest.$ac_ext <<_ACEOF
36597 /* end confdefs.h. */
36598 #include <cxxabi.h>
36604 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36610 rm -f conftest.$ac_objext conftest$ac_exeext
36611 if { (ac_try="$ac_link"
36612 case "(($ac_try" in
36613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36614 *) ac_try_echo
=$ac_try;;
36616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36617 (eval "$ac_link") 2>conftest.er1
36619 grep -v '^ *+' conftest.er1
>conftest.err
36621 cat conftest.err
>&5
36622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36623 (exit $ac_status); } && {
36624 test -z "$ac_cxx_werror_flag" ||
36625 test ! -s conftest.err
36626 } && test -s conftest
$ac_exeext &&
36627 $as_test_x conftest
$ac_exeext; then
36628 wx_cv_func_cxa_demangle
=yes
36630 echo "$as_me: failed program was:" >&5
36631 sed 's/^/| /' conftest.
$ac_ext >&5
36633 wx_cv_func_cxa_demangle
=no
36637 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36638 conftest
$ac_exeext conftest.
$ac_ext
36640 ac_cpp
='$CPP $CPPFLAGS'
36641 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36648 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36649 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36651 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36652 cat >>confdefs.h
<<\_ACEOF
36653 #define HAVE_CXA_DEMANGLE 1
36660 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36661 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36662 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36663 wxUSE_STACKWALKER
=no
36669 for ac_func
in mkstemp mktemp
36671 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36672 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36674 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36677 cat >conftest.
$ac_ext <<_ACEOF
36680 cat confdefs.h
>>conftest.
$ac_ext
36681 cat >>conftest.
$ac_ext <<_ACEOF
36682 /* end confdefs.h. */
36683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36685 #define $ac_func innocuous_$ac_func
36687 /* System header to define __stub macros and hopefully few prototypes,
36688 which can conflict with char $ac_func (); below.
36689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36690 <limits.h> exists even on freestanding compilers. */
36693 # include <limits.h>
36695 # include <assert.h>
36700 /* Override any GCC internal prototype to avoid an error.
36701 Use char because int might match the return type of a GCC
36702 builtin and then its argument prototype would still apply. */
36707 /* The GNU C library defines this for functions which it implements
36708 to always fail with ENOSYS. Some functions are actually named
36709 something starting with __ and the normal name is an alias. */
36710 #if defined __stub_$ac_func || defined __stub___$ac_func
36717 return $ac_func ();
36722 rm -f conftest.
$ac_objext conftest
$ac_exeext
36723 if { (ac_try
="$ac_link"
36724 case "(($ac_try" in
36725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36726 *) ac_try_echo=$ac_try;;
36728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36729 (eval "$ac_link") 2>conftest.er1
36731 grep -v '^ *+' conftest.er1 >conftest.err
36733 cat conftest.err >&5
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); } && {
36736 test -z "$ac_c_werror_flag" ||
36737 test ! -s conftest.err
36738 } && test -s conftest$ac_exeext &&
36739 $as_test_x conftest$ac_exeext; then
36740 eval "$as_ac_var=yes"
36742 echo "$as_me: failed program was:" >&5
36743 sed 's/^/| /' conftest.$ac_ext >&5
36745 eval "$as_ac_var=no"
36748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36749 conftest$ac_exeext conftest.$ac_ext
36751 ac_res=`eval echo '${'$as_ac_var'}'`
36752 { echo "$as_me:$LINENO: result: $ac_res" >&5
36753 echo "${ECHO_T}$ac_res" >&6; }
36754 if test `eval echo '${'$as_ac_var'}'` = yes; then
36755 cat >>confdefs.h <<_ACEOF
36756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36763 { echo "$as_me:$LINENO: checking for statfs" >&5
36764 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36765 if test "${wx_cv_func_statfs+set}" = set; then
36766 echo $ECHO_N "(cached) $ECHO_C" >&6
36768 cat >conftest.$ac_ext <<_ACEOF
36771 cat confdefs.h >>conftest.$ac_ext
36772 cat >>conftest.$ac_ext <<_ACEOF
36773 /* end confdefs.h. */
36775 #if defined(__BSD__)
36776 #include <sys/param.h>
36777 #include <sys/mount.h>
36779 #include <sys/vfs.h>
36797 rm -f conftest.$ac_objext
36798 if { (ac_try="$ac_compile"
36799 case "(($ac_try" in
36800 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36801 *) ac_try_echo
=$ac_try;;
36803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36804 (eval "$ac_compile") 2>conftest.er1
36806 grep -v '^ *+' conftest.er1
>conftest.err
36808 cat conftest.err
>&5
36809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 (exit $ac_status); } && {
36811 test -z "$ac_c_werror_flag" ||
36812 test ! -s conftest.err
36813 } && test -s conftest.
$ac_objext; then
36814 wx_cv_func_statfs
=yes
36816 echo "$as_me: failed program was:" >&5
36817 sed 's/^/| /' conftest.
$ac_ext >&5
36819 wx_cv_func_statfs
=no
36823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36826 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36827 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36829 if test "$wx_cv_func_statfs" = "yes"; then
36830 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36831 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36832 if test "${wx_cv_func_statfs_decl+set}" = set; then
36833 echo $ECHO_N "(cached) $ECHO_C" >&6
36836 ac_cpp
='$CXXCPP $CPPFLAGS'
36837 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36838 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36839 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36841 cat >conftest.
$ac_ext <<_ACEOF
36844 cat confdefs.h
>>conftest.
$ac_ext
36845 cat >>conftest.
$ac_ext <<_ACEOF
36846 /* end confdefs.h. */
36848 #if defined(__BSD__)
36849 #include <sys/param.h>
36850 #include <sys/mount.h>
36852 #include <sys/vfs.h>
36866 rm -f conftest.
$ac_objext
36867 if { (ac_try
="$ac_compile"
36868 case "(($ac_try" in
36869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36870 *) ac_try_echo=$ac_try;;
36872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36873 (eval "$ac_compile") 2>conftest.er1
36875 grep -v '^ *+' conftest.er1 >conftest.err
36877 cat conftest.err >&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); } && {
36880 test -z "$ac_cxx_werror_flag" ||
36881 test ! -s conftest.err
36882 } && test -s conftest.$ac_objext; then
36883 wx_cv_func_statfs_decl=yes
36885 echo "$as_me: failed program was:" >&5
36886 sed 's/^/| /' conftest.$ac_ext >&5
36888 wx_cv_func_statfs_decl=no
36892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36894 ac_cpp='$CPP $CPPFLAGS'
36895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36901 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36902 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36904 if test "$wx_cv_func_statfs_decl" = "yes"; then
36905 cat >>confdefs.h <<\_ACEOF
36906 #define HAVE_STATFS_DECL 1
36911 wx_cv_type_statvfs_t="struct statfs"
36912 cat >>confdefs.h <<\_ACEOF
36913 #define HAVE_STATFS 1
36917 { echo "$as_me:$LINENO: checking for statvfs" >&5
36918 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36919 if test "${wx_cv_func_statvfs+set}" = set; then
36920 echo $ECHO_N "(cached) $ECHO_C" >&6
36922 cat >conftest.$ac_ext <<_ACEOF
36925 cat confdefs.h >>conftest.$ac_ext
36926 cat >>conftest.$ac_ext <<_ACEOF
36927 /* end confdefs.h. */
36929 #include <stddef.h>
36930 #include <sys/statvfs.h>
36936 statvfs("/", NULL);
36942 rm -f conftest.$ac_objext
36943 if { (ac_try="$ac_compile"
36944 case "(($ac_try" in
36945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36946 *) ac_try_echo
=$ac_try;;
36948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36949 (eval "$ac_compile") 2>conftest.er1
36951 grep -v '^ *+' conftest.er1
>conftest.err
36953 cat conftest.err
>&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); } && {
36956 test -z "$ac_c_werror_flag" ||
36957 test ! -s conftest.err
36958 } && test -s conftest.
$ac_objext; then
36959 wx_cv_func_statvfs
=yes
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.
$ac_ext >&5
36964 wx_cv_func_statvfs
=no
36968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36971 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36972 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36974 if test "$wx_cv_func_statvfs" = "yes"; then
36975 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36976 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36977 if test "${wx_cv_type_statvfs_t+set}" = set; then
36978 echo $ECHO_N "(cached) $ECHO_C" >&6
36981 ac_cpp
='$CXXCPP $CPPFLAGS'
36982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36986 cat >conftest.
$ac_ext <<_ACEOF
36989 cat confdefs.h
>>conftest.
$ac_ext
36990 cat >>conftest.
$ac_ext <<_ACEOF
36991 /* end confdefs.h. */
36993 #include <sys/statvfs.h>
37010 rm -f conftest.
$ac_objext
37011 if { (ac_try
="$ac_compile"
37012 case "(($ac_try" in
37013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37014 *) ac_try_echo=$ac_try;;
37016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37017 (eval "$ac_compile") 2>conftest.er1
37019 grep -v '^ *+' conftest.er1 >conftest.err
37021 cat conftest.err >&5
37022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37023 (exit $ac_status); } && {
37024 test -z "$ac_cxx_werror_flag" ||
37025 test ! -s conftest.err
37026 } && test -s conftest.$ac_objext; then
37027 wx_cv_type_statvfs_t=statvfs_t
37029 echo "$as_me: failed program was:" >&5
37030 sed 's/^/| /' conftest.$ac_ext >&5
37033 cat >conftest.$ac_ext <<_ACEOF
37036 cat confdefs.h >>conftest.$ac_ext
37037 cat >>conftest.$ac_ext <<_ACEOF
37038 /* end confdefs.h. */
37040 #include <sys/statvfs.h>
37057 rm -f conftest.$ac_objext
37058 if { (ac_try="$ac_compile"
37059 case "(($ac_try" in
37060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37061 *) ac_try_echo
=$ac_try;;
37063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37064 (eval "$ac_compile") 2>conftest.er1
37066 grep -v '^ *+' conftest.er1
>conftest.err
37068 cat conftest.err
>&5
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); } && {
37071 test -z "$ac_cxx_werror_flag" ||
37072 test ! -s conftest.err
37073 } && test -s conftest.
$ac_objext; then
37074 wx_cv_type_statvfs_t
="struct statvfs"
37076 echo "$as_me: failed program was:" >&5
37077 sed 's/^/| /' conftest.
$ac_ext >&5
37079 wx_cv_type_statvfs_t
="unknown"
37083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37090 ac_cpp
='$CPP $CPPFLAGS'
37091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37097 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37098 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37100 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37101 cat >>confdefs.h
<<\_ACEOF
37102 #define HAVE_STATVFS 1
37107 wx_cv_type_statvfs_t
="unknown"
37111 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37112 cat >>confdefs.h
<<_ACEOF
37113 #define WX_STATFS_T $wx_cv_type_statvfs_t
37117 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37118 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37121 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37124 for ac_func
in fcntl flock
37126 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37127 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37129 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37130 echo $ECHO_N "(cached) $ECHO_C" >&6
37132 cat >conftest.
$ac_ext <<_ACEOF
37135 cat confdefs.h
>>conftest.
$ac_ext
37136 cat >>conftest.
$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37140 #define $ac_func innocuous_$ac_func
37142 /* System header to define __stub macros and hopefully few prototypes,
37143 which can conflict with char $ac_func (); below.
37144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37145 <limits.h> exists even on freestanding compilers. */
37148 # include <limits.h>
37150 # include <assert.h>
37155 /* Override any GCC internal prototype to avoid an error.
37156 Use char because int might match the return type of a GCC
37157 builtin and then its argument prototype would still apply. */
37162 /* The GNU C library defines this for functions which it implements
37163 to always fail with ENOSYS. Some functions are actually named
37164 something starting with __ and the normal name is an alias. */
37165 #if defined __stub_$ac_func || defined __stub___$ac_func
37172 return $ac_func ();
37177 rm -f conftest.
$ac_objext conftest
$ac_exeext
37178 if { (ac_try
="$ac_link"
37179 case "(($ac_try" in
37180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37181 *) ac_try_echo=$ac_try;;
37183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37184 (eval "$ac_link") 2>conftest.er1
37186 grep -v '^ *+' conftest.er1 >conftest.err
37188 cat conftest.err >&5
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); } && {
37191 test -z "$ac_c_werror_flag" ||
37192 test ! -s conftest.err
37193 } && test -s conftest$ac_exeext &&
37194 $as_test_x conftest$ac_exeext; then
37195 eval "$as_ac_var=yes"
37197 echo "$as_me: failed program was:" >&5
37198 sed 's/^/| /' conftest.$ac_ext >&5
37200 eval "$as_ac_var=no"
37203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37204 conftest$ac_exeext conftest.$ac_ext
37206 ac_res=`eval echo '${'$as_ac_var'}'`
37207 { echo "$as_me:$LINENO: result: $ac_res" >&5
37208 echo "${ECHO_T}$ac_res" >&6; }
37209 if test `eval echo '${'$as_ac_var'}'` = yes; then
37210 cat >>confdefs.h <<_ACEOF
37211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37218 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37219 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37220 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37221 wxUSE_SNGLINST_CHECKER=no
37227 for ac_func in setenv putenv
37229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37232 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37233 echo $ECHO_N "(cached) $ECHO_C" >&6
37235 cat >conftest.$ac_ext <<_ACEOF
37238 cat confdefs.h >>conftest.$ac_ext
37239 cat >>conftest.$ac_ext <<_ACEOF
37240 /* end confdefs.h. */
37241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37243 #define $ac_func innocuous_$ac_func
37245 /* System header to define __stub macros and hopefully few prototypes,
37246 which can conflict with char $ac_func (); below.
37247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37248 <limits.h> exists even on freestanding compilers. */
37251 # include <limits.h>
37253 # include <assert.h>
37258 /* Override any GCC internal prototype to avoid an error.
37259 Use char because int might match the return type of a GCC
37260 builtin and then its argument prototype would still apply. */
37265 /* The GNU C library defines this for functions which it implements
37266 to always fail with ENOSYS. Some functions are actually named
37267 something starting with __ and the normal name is an alias. */
37268 #if defined __stub_$ac_func || defined __stub___$ac_func
37275 return $ac_func ();
37280 rm -f conftest.$ac_objext conftest$ac_exeext
37281 if { (ac_try="$ac_link"
37282 case "(($ac_try" in
37283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37284 *) ac_try_echo
=$ac_try;;
37286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37287 (eval "$ac_link") 2>conftest.er1
37289 grep -v '^ *+' conftest.er1
>conftest.err
37291 cat conftest.err
>&5
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); } && {
37294 test -z "$ac_c_werror_flag" ||
37295 test ! -s conftest.err
37296 } && test -s conftest
$ac_exeext &&
37297 $as_test_x conftest
$ac_exeext; then
37298 eval "$as_ac_var=yes"
37300 echo "$as_me: failed program was:" >&5
37301 sed 's/^/| /' conftest.
$ac_ext >&5
37303 eval "$as_ac_var=no"
37306 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37307 conftest
$ac_exeext conftest.
$ac_ext
37309 ac_res
=`eval echo '${'$as_ac_var'}'`
37310 { echo "$as_me:$LINENO: result: $ac_res" >&5
37311 echo "${ECHO_T}$ac_res" >&6; }
37312 if test `eval echo '${'$as_ac_var'}'` = yes; then
37313 cat >>confdefs.h
<<_ACEOF
37314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37320 if test "$ac_cv_func_setenv" = "yes"; then
37322 for ac_func
in unsetenv
37324 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37327 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37328 echo $ECHO_N "(cached) $ECHO_C" >&6
37330 cat >conftest.
$ac_ext <<_ACEOF
37333 cat confdefs.h
>>conftest.
$ac_ext
37334 cat >>conftest.
$ac_ext <<_ACEOF
37335 /* end confdefs.h. */
37336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37338 #define $ac_func innocuous_$ac_func
37340 /* System header to define __stub macros and hopefully few prototypes,
37341 which can conflict with char $ac_func (); below.
37342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37343 <limits.h> exists even on freestanding compilers. */
37346 # include <limits.h>
37348 # include <assert.h>
37353 /* Override any GCC internal prototype to avoid an error.
37354 Use char because int might match the return type of a GCC
37355 builtin and then its argument prototype would still apply. */
37360 /* The GNU C library defines this for functions which it implements
37361 to always fail with ENOSYS. Some functions are actually named
37362 something starting with __ and the normal name is an alias. */
37363 #if defined __stub_$ac_func || defined __stub___$ac_func
37370 return $ac_func ();
37375 rm -f conftest.
$ac_objext conftest
$ac_exeext
37376 if { (ac_try
="$ac_link"
37377 case "(($ac_try" in
37378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37379 *) ac_try_echo=$ac_try;;
37381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37382 (eval "$ac_link") 2>conftest.er1
37384 grep -v '^ *+' conftest.er1 >conftest.err
37386 cat conftest.err >&5
37387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37388 (exit $ac_status); } && {
37389 test -z "$ac_c_werror_flag" ||
37390 test ! -s conftest.err
37391 } && test -s conftest$ac_exeext &&
37392 $as_test_x conftest$ac_exeext; then
37393 eval "$as_ac_var=yes"
37395 echo "$as_me: failed program was:" >&5
37396 sed 's/^/| /' conftest.$ac_ext >&5
37398 eval "$as_ac_var=no"
37401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37402 conftest$ac_exeext conftest.$ac_ext
37404 ac_res=`eval echo '${'$as_ac_var'}'`
37405 { echo "$as_me:$LINENO: result: $ac_res" >&5
37406 echo "${ECHO_T}$ac_res" >&6; }
37407 if test `eval echo '${'$as_ac_var'}'` = yes; then
37408 cat >>confdefs.h <<_ACEOF
37409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37417 HAVE_SOME_SLEEP_FUNC=0
37418 if test "$USE_BEOS" = 1; then
37419 cat >>confdefs.h <<\_ACEOF
37420 #define HAVE_SLEEP 1
37423 HAVE_SOME_SLEEP_FUNC=1
37426 if test "$USE_DARWIN" = 1; then
37427 cat >>confdefs.h <<\_ACEOF
37428 #define HAVE_USLEEP 1
37431 HAVE_SOME_SLEEP_FUNC=1
37434 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37437 for ac_func in nanosleep
37439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37443 echo $ECHO_N "(cached) $ECHO_C" >&6
37445 cat >conftest.$ac_ext <<_ACEOF
37448 cat confdefs.h >>conftest.$ac_ext
37449 cat >>conftest.$ac_ext <<_ACEOF
37450 /* end confdefs.h. */
37451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37453 #define $ac_func innocuous_$ac_func
37455 /* System header to define __stub macros and hopefully few prototypes,
37456 which can conflict with char $ac_func (); below.
37457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37458 <limits.h> exists even on freestanding compilers. */
37461 # include <limits.h>
37463 # include <assert.h>
37468 /* Override any GCC internal prototype to avoid an error.
37469 Use char because int might match the return type of a GCC
37470 builtin and then its argument prototype would still apply. */
37475 /* The GNU C library defines this for functions which it implements
37476 to always fail with ENOSYS. Some functions are actually named
37477 something starting with __ and the normal name is an alias. */
37478 #if defined __stub_$ac_func || defined __stub___$ac_func
37485 return $ac_func ();
37490 rm -f conftest.$ac_objext conftest$ac_exeext
37491 if { (ac_try="$ac_link"
37492 case "(($ac_try" in
37493 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37494 *) ac_try_echo
=$ac_try;;
37496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37497 (eval "$ac_link") 2>conftest.er1
37499 grep -v '^ *+' conftest.er1
>conftest.err
37501 cat conftest.err
>&5
37502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503 (exit $ac_status); } && {
37504 test -z "$ac_c_werror_flag" ||
37505 test ! -s conftest.err
37506 } && test -s conftest
$ac_exeext &&
37507 $as_test_x conftest
$ac_exeext; then
37508 eval "$as_ac_var=yes"
37510 echo "$as_me: failed program was:" >&5
37511 sed 's/^/| /' conftest.
$ac_ext >&5
37513 eval "$as_ac_var=no"
37516 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37517 conftest
$ac_exeext conftest.
$ac_ext
37519 ac_res
=`eval echo '${'$as_ac_var'}'`
37520 { echo "$as_me:$LINENO: result: $ac_res" >&5
37521 echo "${ECHO_T}$ac_res" >&6; }
37522 if test `eval echo '${'$as_ac_var'}'` = yes; then
37523 cat >>confdefs.h
<<_ACEOF
37524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37526 cat >>confdefs.h
<<\_ACEOF
37527 #define HAVE_NANOSLEEP 1
37532 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37533 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37534 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37535 echo $ECHO_N "(cached) $ECHO_C" >&6
37537 ac_check_lib_save_LIBS
=$LIBS
37538 LIBS
="-lposix4 $LIBS"
37539 cat >conftest.
$ac_ext <<_ACEOF
37542 cat confdefs.h
>>conftest.
$ac_ext
37543 cat >>conftest.
$ac_ext <<_ACEOF
37544 /* end confdefs.h. */
37546 /* Override any GCC internal prototype to avoid an error.
37547 Use char because int might match the return type of a GCC
37548 builtin and then its argument prototype would still apply. */
37556 return nanosleep ();
37561 rm -f conftest.
$ac_objext conftest
$ac_exeext
37562 if { (ac_try
="$ac_link"
37563 case "(($ac_try" in
37564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37565 *) ac_try_echo=$ac_try;;
37567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37568 (eval "$ac_link") 2>conftest.er1
37570 grep -v '^ *+' conftest.er1 >conftest.err
37572 cat conftest.err >&5
37573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37574 (exit $ac_status); } && {
37575 test -z "$ac_c_werror_flag" ||
37576 test ! -s conftest.err
37577 } && test -s conftest$ac_exeext &&
37578 $as_test_x conftest$ac_exeext; then
37579 ac_cv_lib_posix4_nanosleep=yes
37581 echo "$as_me: failed program was:" >&5
37582 sed 's/^/| /' conftest.$ac_ext >&5
37584 ac_cv_lib_posix4_nanosleep=no
37587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37588 conftest$ac_exeext conftest.$ac_ext
37589 LIBS=$ac_check_lib_save_LIBS
37591 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37592 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37593 if test $ac_cv_lib_posix4_nanosleep = yes; then
37595 cat >>confdefs.h <<\_ACEOF
37596 #define HAVE_NANOSLEEP 1
37599 POSIX4_LINK=" -lposix4"
37604 for wx_func in usleep
37606 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37607 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37608 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37609 echo $ECHO_N "(cached) $ECHO_C" >&6
37612 cat >conftest.$ac_ext <<_ACEOF
37616 cat confdefs.h >>conftest.$ac_ext
37617 cat >>conftest.$ac_ext <<_ACEOF
37618 /* end confdefs.h. */
37621 $ac_includes_default
37637 rm -f conftest.$ac_objext conftest$ac_exeext
37638 if { (ac_try="$ac_link"
37639 case "(($ac_try" in
37640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37641 *) ac_try_echo
=$ac_try;;
37643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37644 (eval "$ac_link") 2>conftest.er1
37646 grep -v '^ *+' conftest.er1
>conftest.err
37648 cat conftest.err
>&5
37649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650 (exit $ac_status); } && {
37651 test -z "$ac_c_werror_flag" ||
37652 test ! -s conftest.err
37653 } && test -s conftest
$ac_exeext &&
37654 $as_test_x conftest
$ac_exeext; then
37655 eval wx_cv_func_
$wx_func=yes
37657 echo "$as_me: failed program was:" >&5
37658 sed 's/^/| /' conftest.
$ac_ext >&5
37660 eval wx_cv_func_
$wx_func=no
37663 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37664 conftest
$ac_exeext conftest.
$ac_ext
37667 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37668 { echo "$as_me:$LINENO: result: $ac_res" >&5
37669 echo "${ECHO_T}$ac_res" >&6; }
37671 if eval test \
$wx_cv_func_$wx_func = yes
37673 cat >>confdefs.h
<<_ACEOF
37674 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37680 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37681 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37698 for wx_func
in uname
37700 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37701 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37702 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37703 echo $ECHO_N "(cached) $ECHO_C" >&6
37706 cat >conftest.
$ac_ext <<_ACEOF
37710 cat confdefs.h
>>conftest.
$ac_ext
37711 cat >>conftest.
$ac_ext <<_ACEOF
37712 /* end confdefs.h. */
37714 #include <sys/utsname.h>
37715 $ac_includes_default
37731 rm -f conftest.
$ac_objext conftest
$ac_exeext
37732 if { (ac_try
="$ac_link"
37733 case "(($ac_try" in
37734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37735 *) ac_try_echo=$ac_try;;
37737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37738 (eval "$ac_link") 2>conftest.er1
37740 grep -v '^ *+' conftest.er1 >conftest.err
37742 cat conftest.err >&5
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); } && {
37745 test -z "$ac_c_werror_flag" ||
37746 test ! -s conftest.err
37747 } && test -s conftest$ac_exeext &&
37748 $as_test_x conftest$ac_exeext; then
37749 eval wx_cv_func_$wx_func=yes
37751 echo "$as_me: failed program was:" >&5
37752 sed 's/^/| /' conftest.$ac_ext >&5
37754 eval wx_cv_func_$wx_func=no
37757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37758 conftest$ac_exeext conftest.$ac_ext
37761 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37762 { echo "$as_me:$LINENO: result: $ac_res" >&5
37763 echo "${ECHO_T}$ac_res" >&6; }
37765 if eval test \$wx_cv_func_$wx_func = yes
37767 cat >>confdefs.h <<_ACEOF
37768 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37778 if test "$wx_cv_func_uname" != yes; then
37780 for wx_func in gethostname
37782 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37783 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37784 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37785 echo $ECHO_N "(cached) $ECHO_C" >&6
37788 cat >conftest.$ac_ext <<_ACEOF
37792 cat confdefs.h >>conftest.$ac_ext
37793 cat >>conftest.$ac_ext <<_ACEOF
37794 /* end confdefs.h. */
37797 $ac_includes_default
37813 rm -f conftest.$ac_objext conftest$ac_exeext
37814 if { (ac_try="$ac_link"
37815 case "(($ac_try" in
37816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37817 *) ac_try_echo
=$ac_try;;
37819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37820 (eval "$ac_link") 2>conftest.er1
37822 grep -v '^ *+' conftest.er1
>conftest.err
37824 cat conftest.err
>&5
37825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37826 (exit $ac_status); } && {
37827 test -z "$ac_c_werror_flag" ||
37828 test ! -s conftest.err
37829 } && test -s conftest
$ac_exeext &&
37830 $as_test_x conftest
$ac_exeext; then
37831 eval wx_cv_func_
$wx_func=yes
37833 echo "$as_me: failed program was:" >&5
37834 sed 's/^/| /' conftest.
$ac_ext >&5
37836 eval wx_cv_func_
$wx_func=no
37839 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37840 conftest
$ac_exeext conftest.
$ac_ext
37843 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37844 { echo "$as_me:$LINENO: result: $ac_res" >&5
37845 echo "${ECHO_T}$ac_res" >&6; }
37847 if eval test \
$wx_cv_func_$wx_func = yes
37849 cat >>confdefs.h
<<_ACEOF
37850 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37863 for wx_func
in strtok_r
37865 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37866 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37867 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37868 echo $ECHO_N "(cached) $ECHO_C" >&6
37871 cat >conftest.
$ac_ext <<_ACEOF
37875 cat confdefs.h
>>conftest.
$ac_ext
37876 cat >>conftest.
$ac_ext <<_ACEOF
37877 /* end confdefs.h. */
37880 $ac_includes_default
37896 rm -f conftest.
$ac_objext conftest
$ac_exeext
37897 if { (ac_try
="$ac_link"
37898 case "(($ac_try" in
37899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37900 *) ac_try_echo=$ac_try;;
37902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37903 (eval "$ac_link") 2>conftest.er1
37905 grep -v '^ *+' conftest.er1 >conftest.err
37907 cat conftest.err >&5
37908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37909 (exit $ac_status); } && {
37910 test -z "$ac_c_werror_flag" ||
37911 test ! -s conftest.err
37912 } && test -s conftest$ac_exeext &&
37913 $as_test_x conftest$ac_exeext; then
37914 eval wx_cv_func_$wx_func=yes
37916 echo "$as_me: failed program was:" >&5
37917 sed 's/^/| /' conftest.$ac_ext >&5
37919 eval wx_cv_func_$wx_func=no
37922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37923 conftest$ac_exeext conftest.$ac_ext
37926 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37927 { echo "$as_me:$LINENO: result: $ac_res" >&5
37928 echo "${ECHO_T}$ac_res" >&6; }
37930 if eval test \$wx_cv_func_$wx_func = yes
37932 cat >>confdefs.h <<_ACEOF
37933 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37946 for ac_func in inet_addr
37948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37952 echo $ECHO_N "(cached) $ECHO_C" >&6
37954 cat >conftest.$ac_ext <<_ACEOF
37957 cat confdefs.h >>conftest.$ac_ext
37958 cat >>conftest.$ac_ext <<_ACEOF
37959 /* end confdefs.h. */
37960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37962 #define $ac_func innocuous_$ac_func
37964 /* System header to define __stub macros and hopefully few prototypes,
37965 which can conflict with char $ac_func (); below.
37966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37967 <limits.h> exists even on freestanding compilers. */
37970 # include <limits.h>
37972 # include <assert.h>
37977 /* Override any GCC internal prototype to avoid an error.
37978 Use char because int might match the return type of a GCC
37979 builtin and then its argument prototype would still apply. */
37984 /* The GNU C library defines this for functions which it implements
37985 to always fail with ENOSYS. Some functions are actually named
37986 something starting with __ and the normal name is an alias. */
37987 #if defined __stub_$ac_func || defined __stub___$ac_func
37994 return $ac_func ();
37999 rm -f conftest.$ac_objext conftest$ac_exeext
38000 if { (ac_try="$ac_link"
38001 case "(($ac_try" in
38002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38003 *) ac_try_echo
=$ac_try;;
38005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38006 (eval "$ac_link") 2>conftest.er1
38008 grep -v '^ *+' conftest.er1
>conftest.err
38010 cat conftest.err
>&5
38011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012 (exit $ac_status); } && {
38013 test -z "$ac_c_werror_flag" ||
38014 test ! -s conftest.err
38015 } && test -s conftest
$ac_exeext &&
38016 $as_test_x conftest
$ac_exeext; then
38017 eval "$as_ac_var=yes"
38019 echo "$as_me: failed program was:" >&5
38020 sed 's/^/| /' conftest.
$ac_ext >&5
38022 eval "$as_ac_var=no"
38025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38026 conftest
$ac_exeext conftest.
$ac_ext
38028 ac_res
=`eval echo '${'$as_ac_var'}'`
38029 { echo "$as_me:$LINENO: result: $ac_res" >&5
38030 echo "${ECHO_T}$ac_res" >&6; }
38031 if test `eval echo '${'$as_ac_var'}'` = yes; then
38032 cat >>confdefs.h
<<_ACEOF
38033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38035 cat >>confdefs.h
<<\_ACEOF
38036 #define HAVE_INET_ADDR 1
38041 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38042 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38043 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38044 echo $ECHO_N "(cached) $ECHO_C" >&6
38046 ac_check_lib_save_LIBS
=$LIBS
38048 cat >conftest.
$ac_ext <<_ACEOF
38051 cat confdefs.h
>>conftest.
$ac_ext
38052 cat >>conftest.
$ac_ext <<_ACEOF
38053 /* end confdefs.h. */
38055 /* Override any GCC internal prototype to avoid an error.
38056 Use char because int might match the return type of a GCC
38057 builtin and then its argument prototype would still apply. */
38065 return inet_addr ();
38070 rm -f conftest.
$ac_objext conftest
$ac_exeext
38071 if { (ac_try
="$ac_link"
38072 case "(($ac_try" in
38073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38074 *) ac_try_echo=$ac_try;;
38076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38077 (eval "$ac_link") 2>conftest.er1
38079 grep -v '^ *+' conftest.er1 >conftest.err
38081 cat conftest.err >&5
38082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38083 (exit $ac_status); } && {
38084 test -z "$ac_c_werror_flag" ||
38085 test ! -s conftest.err
38086 } && test -s conftest$ac_exeext &&
38087 $as_test_x conftest$ac_exeext; then
38088 ac_cv_lib_nsl_inet_addr=yes
38090 echo "$as_me: failed program was:" >&5
38091 sed 's/^/| /' conftest.$ac_ext >&5
38093 ac_cv_lib_nsl_inet_addr=no
38096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38097 conftest$ac_exeext conftest.$ac_ext
38098 LIBS=$ac_check_lib_save_LIBS
38100 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38101 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38102 if test $ac_cv_lib_nsl_inet_addr = yes; then
38106 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38107 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38108 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38109 echo $ECHO_N "(cached) $ECHO_C" >&6
38111 ac_check_lib_save_LIBS=$LIBS
38112 LIBS="-lresolv $LIBS"
38113 cat >conftest.$ac_ext <<_ACEOF
38116 cat confdefs.h >>conftest.$ac_ext
38117 cat >>conftest.$ac_ext <<_ACEOF
38118 /* end confdefs.h. */
38120 /* Override any GCC internal prototype to avoid an error.
38121 Use char because int might match the return type of a GCC
38122 builtin and then its argument prototype would still apply. */
38130 return inet_addr ();
38135 rm -f conftest.$ac_objext conftest$ac_exeext
38136 if { (ac_try="$ac_link"
38137 case "(($ac_try" in
38138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38139 *) ac_try_echo
=$ac_try;;
38141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38142 (eval "$ac_link") 2>conftest.er1
38144 grep -v '^ *+' conftest.er1
>conftest.err
38146 cat conftest.err
>&5
38147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38148 (exit $ac_status); } && {
38149 test -z "$ac_c_werror_flag" ||
38150 test ! -s conftest.err
38151 } && test -s conftest
$ac_exeext &&
38152 $as_test_x conftest
$ac_exeext; then
38153 ac_cv_lib_resolv_inet_addr
=yes
38155 echo "$as_me: failed program was:" >&5
38156 sed 's/^/| /' conftest.
$ac_ext >&5
38158 ac_cv_lib_resolv_inet_addr
=no
38161 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38162 conftest
$ac_exeext conftest.
$ac_ext
38163 LIBS
=$ac_check_lib_save_LIBS
38165 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38166 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38167 if test $ac_cv_lib_resolv_inet_addr = yes; then
38171 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38172 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38173 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38176 ac_check_lib_save_LIBS
=$LIBS
38177 LIBS
="-lsocket $LIBS"
38178 cat >conftest.
$ac_ext <<_ACEOF
38181 cat confdefs.h
>>conftest.
$ac_ext
38182 cat >>conftest.
$ac_ext <<_ACEOF
38183 /* end confdefs.h. */
38185 /* Override any GCC internal prototype to avoid an error.
38186 Use char because int might match the return type of a GCC
38187 builtin and then its argument prototype would still apply. */
38195 return inet_addr ();
38200 rm -f conftest.
$ac_objext conftest
$ac_exeext
38201 if { (ac_try
="$ac_link"
38202 case "(($ac_try" in
38203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38204 *) ac_try_echo=$ac_try;;
38206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38207 (eval "$ac_link") 2>conftest.er1
38209 grep -v '^ *+' conftest.er1 >conftest.err
38211 cat conftest.err >&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); } && {
38214 test -z "$ac_c_werror_flag" ||
38215 test ! -s conftest.err
38216 } && test -s conftest$ac_exeext &&
38217 $as_test_x conftest$ac_exeext; then
38218 ac_cv_lib_socket_inet_addr=yes
38220 echo "$as_me: failed program was:" >&5
38221 sed 's/^/| /' conftest.$ac_ext >&5
38223 ac_cv_lib_socket_inet_addr=no
38226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38227 conftest$ac_exeext conftest.$ac_ext
38228 LIBS=$ac_check_lib_save_LIBS
38230 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38231 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38232 if test $ac_cv_lib_socket_inet_addr = yes; then
38252 for ac_func in inet_aton
38254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38255 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38257 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38258 echo $ECHO_N "(cached) $ECHO_C" >&6
38260 cat >conftest.$ac_ext <<_ACEOF
38263 cat confdefs.h >>conftest.$ac_ext
38264 cat >>conftest.$ac_ext <<_ACEOF
38265 /* end confdefs.h. */
38266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38268 #define $ac_func innocuous_$ac_func
38270 /* System header to define __stub macros and hopefully few prototypes,
38271 which can conflict with char $ac_func (); below.
38272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38273 <limits.h> exists even on freestanding compilers. */
38276 # include <limits.h>
38278 # include <assert.h>
38283 /* Override any GCC internal prototype to avoid an error.
38284 Use char because int might match the return type of a GCC
38285 builtin and then its argument prototype would still apply. */
38290 /* The GNU C library defines this for functions which it implements
38291 to always fail with ENOSYS. Some functions are actually named
38292 something starting with __ and the normal name is an alias. */
38293 #if defined __stub_$ac_func || defined __stub___$ac_func
38300 return $ac_func ();
38305 rm -f conftest.$ac_objext conftest$ac_exeext
38306 if { (ac_try="$ac_link"
38307 case "(($ac_try" in
38308 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38309 *) ac_try_echo
=$ac_try;;
38311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38312 (eval "$ac_link") 2>conftest.er1
38314 grep -v '^ *+' conftest.er1
>conftest.err
38316 cat conftest.err
>&5
38317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38318 (exit $ac_status); } && {
38319 test -z "$ac_c_werror_flag" ||
38320 test ! -s conftest.err
38321 } && test -s conftest
$ac_exeext &&
38322 $as_test_x conftest
$ac_exeext; then
38323 eval "$as_ac_var=yes"
38325 echo "$as_me: failed program was:" >&5
38326 sed 's/^/| /' conftest.
$ac_ext >&5
38328 eval "$as_ac_var=no"
38331 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38332 conftest
$ac_exeext conftest.
$ac_ext
38334 ac_res
=`eval echo '${'$as_ac_var'}'`
38335 { echo "$as_me:$LINENO: result: $ac_res" >&5
38336 echo "${ECHO_T}$ac_res" >&6; }
38337 if test `eval echo '${'$as_ac_var'}'` = yes; then
38338 cat >>confdefs.h
<<_ACEOF
38339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38341 cat >>confdefs.h
<<\_ACEOF
38342 #define HAVE_INET_ATON 1
38347 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38348 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38349 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38350 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38351 echo $ECHO_N "(cached) $ECHO_C" >&6
38353 ac_check_lib_save_LIBS
=$LIBS
38354 LIBS
="-l$INET_LINK $LIBS"
38355 cat >conftest.
$ac_ext <<_ACEOF
38358 cat confdefs.h
>>conftest.
$ac_ext
38359 cat >>conftest.
$ac_ext <<_ACEOF
38360 /* end confdefs.h. */
38362 /* Override any GCC internal prototype to avoid an error.
38363 Use char because int might match the return type of a GCC
38364 builtin and then its argument prototype would still apply. */
38372 return inet_aton ();
38377 rm -f conftest.
$ac_objext conftest
$ac_exeext
38378 if { (ac_try
="$ac_link"
38379 case "(($ac_try" in
38380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38381 *) ac_try_echo=$ac_try;;
38383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38384 (eval "$ac_link") 2>conftest.er1
38386 grep -v '^ *+' conftest.er1 >conftest.err
38388 cat conftest.err >&5
38389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38390 (exit $ac_status); } && {
38391 test -z "$ac_c_werror_flag" ||
38392 test ! -s conftest.err
38393 } && test -s conftest$ac_exeext &&
38394 $as_test_x conftest$ac_exeext; then
38395 eval "$as_ac_Lib=yes"
38397 echo "$as_me: failed program was:" >&5
38398 sed 's/^/| /' conftest.$ac_ext >&5
38400 eval "$as_ac_Lib=no"
38403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38404 conftest$ac_exeext conftest.$ac_ext
38405 LIBS=$ac_check_lib_save_LIBS
38407 ac_res=`eval echo '${'$as_ac_Lib'}'`
38408 { echo "$as_me:$LINENO: result: $ac_res" >&5
38409 echo "${ECHO_T}$ac_res" >&6; }
38410 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38411 cat >>confdefs.h <<\_ACEOF
38412 #define HAVE_INET_ATON 1
38422 if test "x$INET_LINK" != "x"; then
38423 cat >>confdefs.h <<\_ACEOF
38424 #define HAVE_INET_ADDR 1
38427 INET_LINK=" -l$INET_LINK"
38431 for wx_func in fdopen
38433 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38434 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38435 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38436 echo $ECHO_N "(cached) $ECHO_C" >&6
38439 cat >conftest.$ac_ext <<_ACEOF
38443 cat confdefs.h >>conftest.$ac_ext
38444 cat >>conftest.$ac_ext <<_ACEOF
38445 /* end confdefs.h. */
38448 $ac_includes_default
38464 rm -f conftest.$ac_objext conftest$ac_exeext
38465 if { (ac_try="$ac_link"
38466 case "(($ac_try" in
38467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38468 *) ac_try_echo
=$ac_try;;
38470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38471 (eval "$ac_link") 2>conftest.er1
38473 grep -v '^ *+' conftest.er1
>conftest.err
38475 cat conftest.err
>&5
38476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38477 (exit $ac_status); } && {
38478 test -z "$ac_c_werror_flag" ||
38479 test ! -s conftest.err
38480 } && test -s conftest
$ac_exeext &&
38481 $as_test_x conftest
$ac_exeext; then
38482 eval wx_cv_func_
$wx_func=yes
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.
$ac_ext >&5
38487 eval wx_cv_func_
$wx_func=no
38490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38491 conftest
$ac_exeext conftest.
$ac_ext
38494 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38495 { echo "$as_me:$LINENO: result: $ac_res" >&5
38496 echo "${ECHO_T}$ac_res" >&6; }
38498 if eval test \
$wx_cv_func_$wx_func = yes
38500 cat >>confdefs.h
<<_ACEOF
38501 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38512 if test "$wxUSE_TARSTREAM" = "yes"; then
38514 for wx_func
in sysconf
38516 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38517 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38518 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38519 echo $ECHO_N "(cached) $ECHO_C" >&6
38522 cat >conftest.
$ac_ext <<_ACEOF
38526 cat confdefs.h
>>conftest.
$ac_ext
38527 cat >>conftest.
$ac_ext <<_ACEOF
38528 /* end confdefs.h. */
38531 $ac_includes_default
38547 rm -f conftest.
$ac_objext conftest
$ac_exeext
38548 if { (ac_try
="$ac_link"
38549 case "(($ac_try" in
38550 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38551 *) ac_try_echo=$ac_try;;
38553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38554 (eval "$ac_link") 2>conftest.er1
38556 grep -v '^ *+' conftest.er1 >conftest.err
38558 cat conftest.err >&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); } && {
38561 test -z "$ac_c_werror_flag" ||
38562 test ! -s conftest.err
38563 } && test -s conftest$ac_exeext &&
38564 $as_test_x conftest$ac_exeext; then
38565 eval wx_cv_func_$wx_func=yes
38567 echo "$as_me: failed program was:" >&5
38568 sed 's/^/| /' conftest.$ac_ext >&5
38570 eval wx_cv_func_$wx_func=no
38573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38574 conftest$ac_exeext conftest.$ac_ext
38577 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38578 { echo "$as_me:$LINENO: result: $ac_res" >&5
38579 echo "${ECHO_T}$ac_res" >&6; }
38581 if eval test \$wx_cv_func_$wx_func = yes
38583 cat >>confdefs.h <<_ACEOF
38584 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38596 for wx_func in getpwuid_r
38598 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38599 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38600 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38601 echo $ECHO_N "(cached) $ECHO_C" >&6
38604 cat >conftest.$ac_ext <<_ACEOF
38608 cat confdefs.h >>conftest.$ac_ext
38609 cat >>conftest.$ac_ext <<_ACEOF
38610 /* end confdefs.h. */
38616 $ac_includes_default
38626 struct passwd pw, *ppw;
38628 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38636 rm -f conftest.$ac_objext conftest$ac_exeext
38637 if { (ac_try="$ac_link"
38638 case "(($ac_try" in
38639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38640 *) ac_try_echo
=$ac_try;;
38642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38643 (eval "$ac_link") 2>conftest.er1
38645 grep -v '^ *+' conftest.er1
>conftest.err
38647 cat conftest.err
>&5
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); } && {
38650 test -z "$ac_c_werror_flag" ||
38651 test ! -s conftest.err
38652 } && test -s conftest
$ac_exeext &&
38653 $as_test_x conftest
$ac_exeext; then
38654 eval wx_cv_func_
$wx_func=yes
38656 echo "$as_me: failed program was:" >&5
38657 sed 's/^/| /' conftest.
$ac_ext >&5
38659 eval wx_cv_func_
$wx_func=no
38662 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38663 conftest
$ac_exeext conftest.
$ac_ext
38666 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38667 { echo "$as_me:$LINENO: result: $ac_res" >&5
38668 echo "${ECHO_T}$ac_res" >&6; }
38670 if eval test \
$wx_cv_func_$wx_func = yes
38672 cat >>confdefs.h
<<_ACEOF
38673 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38685 for wx_func
in getgrgid_r
38687 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38688 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38689 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38690 echo $ECHO_N "(cached) $ECHO_C" >&6
38693 cat >conftest.
$ac_ext <<_ACEOF
38697 cat confdefs.h
>>conftest.
$ac_ext
38698 cat >>conftest.
$ac_ext <<_ACEOF
38699 /* end confdefs.h. */
38705 $ac_includes_default
38715 struct group grp, *pgrp;
38717 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38725 rm -f conftest.
$ac_objext conftest
$ac_exeext
38726 if { (ac_try
="$ac_link"
38727 case "(($ac_try" in
38728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38729 *) ac_try_echo=$ac_try;;
38731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38732 (eval "$ac_link") 2>conftest.er1
38734 grep -v '^ *+' conftest.er1 >conftest.err
38736 cat conftest.err >&5
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); } && {
38739 test -z "$ac_c_werror_flag" ||
38740 test ! -s conftest.err
38741 } && test -s conftest$ac_exeext &&
38742 $as_test_x conftest$ac_exeext; then
38743 eval wx_cv_func_$wx_func=yes
38745 echo "$as_me: failed program was:" >&5
38746 sed 's/^/| /' conftest.$ac_ext >&5
38748 eval wx_cv_func_$wx_func=no
38751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38752 conftest$ac_exeext conftest.$ac_ext
38755 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38756 { echo "$as_me:$LINENO: result: $ac_res" >&5
38757 echo "${ECHO_T}$ac_res" >&6; }
38759 if eval test \$wx_cv_func_$wx_func = yes
38761 cat >>confdefs.h <<_ACEOF
38762 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38778 cat >confcache <<\_ACEOF
38779 # This file is a shell script that caches the results of configure
38780 # tests run on this system so they can be shared between configure
38781 # scripts and configure runs, see configure's option --config-cache.
38782 # It is not useful on other systems. If it contains results you don't
38783 # want to keep, you may remove or edit it.
38785 # config.status only pays attention to the cache file if you give it
38786 # the --recheck option to rerun configure.
38788 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38789 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38790 # following values.
38794 # The following way of writing the cache mishandles newlines in values,
38795 # but we know of no workaround that is simple, portable, and efficient.
38796 # So, we kill variables containing newlines.
38797 # Ultrix sh set writes to stderr and can't be redirected directly,
38798 # and sets the high bit in the cache file unless we assign to the vars.
38800 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38801 eval ac_val
=\$
$ac_var
38805 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38806 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38809 _
| IFS
| as_nl
) ;; #(
38810 *) $as_unset $ac_var ;;
38816 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38817 *${as_nl}ac_space
=\
*)
38818 # `set' does not quote correctly, so add quotes (double-quote
38819 # substitution turns \\\\ into \\, and sed turns \\ into \).
38822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38825 # `set' quotes correctly as required by POSIX, so do not add quotes.
38826 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38837 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38839 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38840 if test -w "$cache_file"; then
38841 test "x$cache_file" != "x/dev/null" &&
38842 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38843 echo "$as_me: updating cache $cache_file" >&6;}
38844 cat confcache
>$cache_file
38846 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38847 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38853 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38859 if test "$wxUSE_THREADS" = "yes" ; then
38860 if test "$USE_BEOS" = 1; then
38861 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38862 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38867 if test "$wxUSE_THREADS" = "yes" ; then
38870 THREAD_OPTS
="-pthread"
38871 if test "x$SUNCXX" = xyes
; then
38872 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38876 *-*-solaris2* | *-*-sunos4* )
38877 if test "x$GCC" = "xyes"; then
38878 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38882 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38884 *-*-darwin* | *-*-cygwin* )
38888 THREAD_OPTS
="pthreads"
38891 if test "x$GCC" = "xyes"; then
38892 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38900 if test "x$GCC" = "xyes"; then
38906 if test "x$GCC" != "xyes"; then
38907 THREAD_OPTS
="-Ethread"
38912 THREAD_OPTS
="$THREAD_OPTS pthread none"
38915 for flag
in $THREAD_OPTS; do
38918 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38919 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38923 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38924 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38925 THREADS_CFLAGS
="$flag"
38929 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38930 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38931 THREADS_LINK
="-l$flag"
38936 save_CFLAGS
="$CFLAGS"
38937 LIBS
="$THREADS_LINK $LIBS"
38938 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38940 cat >conftest.
$ac_ext <<_ACEOF
38943 cat confdefs.h
>>conftest.
$ac_ext
38944 cat >>conftest.
$ac_ext <<_ACEOF
38945 /* end confdefs.h. */
38946 #include <pthread.h>
38950 pthread_create(0,0,0,0);
38955 rm -f conftest.
$ac_objext conftest
$ac_exeext
38956 if { (ac_try
="$ac_link"
38957 case "(($ac_try" in
38958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38959 *) ac_try_echo=$ac_try;;
38961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38962 (eval "$ac_link") 2>conftest.er1
38964 grep -v '^ *+' conftest.er1 >conftest.err
38966 cat conftest.err >&5
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); } && {
38969 test -z "$ac_c_werror_flag" ||
38970 test ! -s conftest.err
38971 } && test -s conftest$ac_exeext &&
38972 $as_test_x conftest$ac_exeext; then
38975 echo "$as_me: failed program was:" >&5
38976 sed 's/^/| /' conftest.$ac_ext >&5
38981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38982 conftest$ac_exeext conftest.$ac_ext
38985 CFLAGS="$save_CFLAGS"
38987 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38988 echo "${ECHO_T}$THREADS_OK" >&6; }
38989 if test "x$THREADS_OK" = "xyes"; then
38997 if test "x$THREADS_OK" != "xyes"; then
38999 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39000 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39002 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39003 LIBS="$THREADS_LINK $LIBS"
39005 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39006 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39010 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39011 flag="-D_THREAD_SAFE"
39014 flag="-D_THREAD_SAFE"
39017 flag="-D_REENTRANT"
39018 if test "x$GCC" != "xyes"; then
39019 flag="$flag -D_RWSTD_MULTI_THREAD"
39022 *solaris* | alpha*-osf*)
39023 flag="-D_REENTRANT"
39026 { echo "$as_me:$LINENO: result: ${flag}" >&5
39027 echo "${ECHO_T}${flag}" >&6; }
39028 if test "x$flag" != xno; then
39029 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39032 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39036 if test "$wxUSE_THREADS" = "yes" ; then
39038 for ac_func in thr_setconcurrency
39040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39041 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39043 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39044 echo $ECHO_N "(cached) $ECHO_C" >&6
39046 cat >conftest.$ac_ext <<_ACEOF
39049 cat confdefs.h >>conftest.$ac_ext
39050 cat >>conftest.$ac_ext <<_ACEOF
39051 /* end confdefs.h. */
39052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39054 #define $ac_func innocuous_$ac_func
39056 /* System header to define __stub macros and hopefully few prototypes,
39057 which can conflict with char $ac_func (); below.
39058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39059 <limits.h> exists even on freestanding compilers. */
39062 # include <limits.h>
39064 # include <assert.h>
39069 /* Override any GCC internal prototype to avoid an error.
39070 Use char because int might match the return type of a GCC
39071 builtin and then its argument prototype would still apply. */
39076 /* The GNU C library defines this for functions which it implements
39077 to always fail with ENOSYS. Some functions are actually named
39078 something starting with __ and the normal name is an alias. */
39079 #if defined __stub_$ac_func || defined __stub___$ac_func
39086 return $ac_func ();
39091 rm -f conftest.$ac_objext conftest$ac_exeext
39092 if { (ac_try="$ac_link"
39093 case "(($ac_try" in
39094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39095 *) ac_try_echo
=$ac_try;;
39097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39098 (eval "$ac_link") 2>conftest.er1
39100 grep -v '^ *+' conftest.er1
>conftest.err
39102 cat conftest.err
>&5
39103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39104 (exit $ac_status); } && {
39105 test -z "$ac_c_werror_flag" ||
39106 test ! -s conftest.err
39107 } && test -s conftest
$ac_exeext &&
39108 $as_test_x conftest
$ac_exeext; then
39109 eval "$as_ac_var=yes"
39111 echo "$as_me: failed program was:" >&5
39112 sed 's/^/| /' conftest.
$ac_ext >&5
39114 eval "$as_ac_var=no"
39117 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39118 conftest
$ac_exeext conftest.
$ac_ext
39120 ac_res
=`eval echo '${'$as_ac_var'}'`
39121 { echo "$as_me:$LINENO: result: $ac_res" >&5
39122 echo "${ECHO_T}$ac_res" >&6; }
39123 if test `eval echo '${'$as_ac_var'}'` = yes; then
39124 cat >>confdefs.h
<<_ACEOF
39125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39132 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39133 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39134 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39135 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 ac_cpp
='$CXXCPP $CPPFLAGS'
39140 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39141 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39142 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39144 cat >conftest.
$ac_ext <<_ACEOF
39147 cat confdefs.h
>>conftest.
$ac_ext
39148 cat >>conftest.
$ac_ext <<_ACEOF
39149 /* end confdefs.h. */
39150 #include <pthread.h>
39151 void ThreadCleanupFunc(void *p);
39158 pthread_cleanup_push(ThreadCleanupFunc, p);
39159 pthread_cleanup_pop(0);
39165 rm -f conftest.
$ac_objext
39166 if { (ac_try
="$ac_compile"
39167 case "(($ac_try" in
39168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39169 *) ac_try_echo=$ac_try;;
39171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39172 (eval "$ac_compile") 2>conftest.er1
39174 grep -v '^ *+' conftest.er1 >conftest.err
39176 cat conftest.err >&5
39177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39178 (exit $ac_status); } && {
39179 test -z "$ac_cxx_werror_flag" ||
39180 test ! -s conftest.err
39181 } && test -s conftest.$ac_objext; then
39183 wx_cv_func_pthread_cleanup=yes
39186 echo "$as_me: failed program was:" >&5
39187 sed 's/^/| /' conftest.$ac_ext >&5
39190 wx_cv_func_pthread_cleanup=no
39195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39197 ac_cpp='$CPP $CPPFLAGS'
39198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39204 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39205 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39206 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39207 cat >>confdefs.h <<\_ACEOF
39208 #define wxHAVE_PTHREAD_CLEANUP 1
39214 for ac_header in sched.h
39216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39217 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39220 echo $ECHO_N "(cached) $ECHO_C" >&6
39222 cat >conftest.$ac_ext <<_ACEOF
39225 cat confdefs.h >>conftest.$ac_ext
39226 cat >>conftest.$ac_ext <<_ACEOF
39227 /* end confdefs.h. */
39228 $ac_includes_default
39230 #include <$ac_header>
39232 rm -f conftest.$ac_objext
39233 if { (ac_try="$ac_compile"
39234 case "(($ac_try" in
39235 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39236 *) ac_try_echo
=$ac_try;;
39238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39239 (eval "$ac_compile") 2>conftest.er1
39241 grep -v '^ *+' conftest.er1
>conftest.err
39243 cat conftest.err
>&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } && {
39246 test -z "$ac_c_werror_flag" ||
39247 test ! -s conftest.err
39248 } && test -s conftest.
$ac_objext; then
39249 eval "$as_ac_Header=yes"
39251 echo "$as_me: failed program was:" >&5
39252 sed 's/^/| /' conftest.
$ac_ext >&5
39254 eval "$as_ac_Header=no"
39257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39259 ac_res
=`eval echo '${'$as_ac_Header'}'`
39260 { echo "$as_me:$LINENO: result: $ac_res" >&5
39261 echo "${ECHO_T}$ac_res" >&6; }
39262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39263 cat >>confdefs.h
<<_ACEOF
39264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39271 if test "$ac_cv_header_sched_h" = "yes"; then
39272 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39273 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39274 if test "${ac_cv_func_sched_yield+set}" = set; then
39275 echo $ECHO_N "(cached) $ECHO_C" >&6
39277 cat >conftest.
$ac_ext <<_ACEOF
39280 cat confdefs.h
>>conftest.
$ac_ext
39281 cat >>conftest.
$ac_ext <<_ACEOF
39282 /* end confdefs.h. */
39283 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39285 #define sched_yield innocuous_sched_yield
39287 /* System header to define __stub macros and hopefully few prototypes,
39288 which can conflict with char sched_yield (); below.
39289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39290 <limits.h> exists even on freestanding compilers. */
39293 # include <limits.h>
39295 # include <assert.h>
39300 /* Override any GCC internal prototype to avoid an error.
39301 Use char because int might match the return type of a GCC
39302 builtin and then its argument prototype would still apply. */
39306 char sched_yield ();
39307 /* The GNU C library defines this for functions which it implements
39308 to always fail with ENOSYS. Some functions are actually named
39309 something starting with __ and the normal name is an alias. */
39310 #if defined __stub_sched_yield || defined __stub___sched_yield
39317 return sched_yield ();
39322 rm -f conftest.
$ac_objext conftest
$ac_exeext
39323 if { (ac_try
="$ac_link"
39324 case "(($ac_try" in
39325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39326 *) ac_try_echo=$ac_try;;
39328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39329 (eval "$ac_link") 2>conftest.er1
39331 grep -v '^ *+' conftest.er1 >conftest.err
39333 cat conftest.err >&5
39334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335 (exit $ac_status); } && {
39336 test -z "$ac_c_werror_flag" ||
39337 test ! -s conftest.err
39338 } && test -s conftest$ac_exeext &&
39339 $as_test_x conftest$ac_exeext; then
39340 ac_cv_func_sched_yield=yes
39342 echo "$as_me: failed program was:" >&5
39343 sed 's/^/| /' conftest.$ac_ext >&5
39345 ac_cv_func_sched_yield=no
39348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39349 conftest$ac_exeext conftest.$ac_ext
39351 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39352 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39353 if test $ac_cv_func_sched_yield = yes; then
39354 cat >>confdefs.h <<\_ACEOF
39355 #define HAVE_SCHED_YIELD 1
39360 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39361 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39362 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39363 echo $ECHO_N "(cached) $ECHO_C" >&6
39365 ac_check_lib_save_LIBS=$LIBS
39366 LIBS="-lposix4 $LIBS"
39367 cat >conftest.$ac_ext <<_ACEOF
39370 cat confdefs.h >>conftest.$ac_ext
39371 cat >>conftest.$ac_ext <<_ACEOF
39372 /* end confdefs.h. */
39374 /* Override any GCC internal prototype to avoid an error.
39375 Use char because int might match the return type of a GCC
39376 builtin and then its argument prototype would still apply. */
39380 char sched_yield ();
39384 return sched_yield ();
39389 rm -f conftest.$ac_objext conftest$ac_exeext
39390 if { (ac_try="$ac_link"
39391 case "(($ac_try" in
39392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39393 *) ac_try_echo
=$ac_try;;
39395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39396 (eval "$ac_link") 2>conftest.er1
39398 grep -v '^ *+' conftest.er1
>conftest.err
39400 cat conftest.err
>&5
39401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39402 (exit $ac_status); } && {
39403 test -z "$ac_c_werror_flag" ||
39404 test ! -s conftest.err
39405 } && test -s conftest
$ac_exeext &&
39406 $as_test_x conftest
$ac_exeext; then
39407 ac_cv_lib_posix4_sched_yield
=yes
39409 echo "$as_me: failed program was:" >&5
39410 sed 's/^/| /' conftest.
$ac_ext >&5
39412 ac_cv_lib_posix4_sched_yield
=no
39415 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39416 conftest
$ac_exeext conftest.
$ac_ext
39417 LIBS
=$ac_check_lib_save_LIBS
39419 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39420 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39421 if test $ac_cv_lib_posix4_sched_yield = yes; then
39422 cat >>confdefs.h
<<\_ACEOF
39423 #define HAVE_SCHED_YIELD 1
39425 POSIX4_LINK
=" -lposix4"
39427 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39428 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39439 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39440 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39441 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39442 echo $ECHO_N "(cached) $ECHO_C" >&6
39444 cat >conftest.
$ac_ext <<_ACEOF
39447 cat confdefs.h
>>conftest.
$ac_ext
39448 cat >>conftest.
$ac_ext <<_ACEOF
39449 /* end confdefs.h. */
39450 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39452 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39454 /* System header to define __stub macros and hopefully few prototypes,
39455 which can conflict with char pthread_attr_getschedpolicy (); below.
39456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39457 <limits.h> exists even on freestanding compilers. */
39460 # include <limits.h>
39462 # include <assert.h>
39465 #undef pthread_attr_getschedpolicy
39467 /* Override any GCC internal prototype to avoid an error.
39468 Use char because int might match the return type of a GCC
39469 builtin and then its argument prototype would still apply. */
39473 char pthread_attr_getschedpolicy ();
39474 /* The GNU C library defines this for functions which it implements
39475 to always fail with ENOSYS. Some functions are actually named
39476 something starting with __ and the normal name is an alias. */
39477 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39484 return pthread_attr_getschedpolicy ();
39489 rm -f conftest.
$ac_objext conftest
$ac_exeext
39490 if { (ac_try
="$ac_link"
39491 case "(($ac_try" in
39492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39493 *) ac_try_echo=$ac_try;;
39495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39496 (eval "$ac_link") 2>conftest.er1
39498 grep -v '^ *+' conftest.er1 >conftest.err
39500 cat conftest.err >&5
39501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39502 (exit $ac_status); } && {
39503 test -z "$ac_c_werror_flag" ||
39504 test ! -s conftest.err
39505 } && test -s conftest$ac_exeext &&
39506 $as_test_x conftest$ac_exeext; then
39507 ac_cv_func_pthread_attr_getschedpolicy=yes
39509 echo "$as_me: failed program was:" >&5
39510 sed 's/^/| /' conftest.$ac_ext >&5
39512 ac_cv_func_pthread_attr_getschedpolicy=no
39515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39516 conftest$ac_exeext conftest.$ac_ext
39518 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39519 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39520 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39521 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39522 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39523 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39524 echo $ECHO_N "(cached) $ECHO_C" >&6
39526 cat >conftest.$ac_ext <<_ACEOF
39529 cat confdefs.h >>conftest.$ac_ext
39530 cat >>conftest.$ac_ext <<_ACEOF
39531 /* end confdefs.h. */
39532 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39534 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39536 /* System header to define __stub macros and hopefully few prototypes,
39537 which can conflict with char pthread_attr_setschedparam (); below.
39538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39539 <limits.h> exists even on freestanding compilers. */
39542 # include <limits.h>
39544 # include <assert.h>
39547 #undef pthread_attr_setschedparam
39549 /* Override any GCC internal prototype to avoid an error.
39550 Use char because int might match the return type of a GCC
39551 builtin and then its argument prototype would still apply. */
39555 char pthread_attr_setschedparam ();
39556 /* The GNU C library defines this for functions which it implements
39557 to always fail with ENOSYS. Some functions are actually named
39558 something starting with __ and the normal name is an alias. */
39559 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39566 return pthread_attr_setschedparam ();
39571 rm -f conftest.$ac_objext conftest$ac_exeext
39572 if { (ac_try="$ac_link"
39573 case "(($ac_try" in
39574 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39575 *) ac_try_echo
=$ac_try;;
39577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39578 (eval "$ac_link") 2>conftest.er1
39580 grep -v '^ *+' conftest.er1
>conftest.err
39582 cat conftest.err
>&5
39583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39584 (exit $ac_status); } && {
39585 test -z "$ac_c_werror_flag" ||
39586 test ! -s conftest.err
39587 } && test -s conftest
$ac_exeext &&
39588 $as_test_x conftest
$ac_exeext; then
39589 ac_cv_func_pthread_attr_setschedparam
=yes
39591 echo "$as_me: failed program was:" >&5
39592 sed 's/^/| /' conftest.
$ac_ext >&5
39594 ac_cv_func_pthread_attr_setschedparam
=no
39597 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39598 conftest
$ac_exeext conftest.
$ac_ext
39600 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39601 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39602 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39603 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39604 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39605 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39606 echo $ECHO_N "(cached) $ECHO_C" >&6
39608 cat >conftest.
$ac_ext <<_ACEOF
39611 cat confdefs.h
>>conftest.
$ac_ext
39612 cat >>conftest.
$ac_ext <<_ACEOF
39613 /* end confdefs.h. */
39614 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39616 #define sched_get_priority_max innocuous_sched_get_priority_max
39618 /* System header to define __stub macros and hopefully few prototypes,
39619 which can conflict with char sched_get_priority_max (); below.
39620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39621 <limits.h> exists even on freestanding compilers. */
39624 # include <limits.h>
39626 # include <assert.h>
39629 #undef sched_get_priority_max
39631 /* Override any GCC internal prototype to avoid an error.
39632 Use char because int might match the return type of a GCC
39633 builtin and then its argument prototype would still apply. */
39637 char sched_get_priority_max ();
39638 /* The GNU C library defines this for functions which it implements
39639 to always fail with ENOSYS. Some functions are actually named
39640 something starting with __ and the normal name is an alias. */
39641 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39648 return sched_get_priority_max ();
39653 rm -f conftest.
$ac_objext conftest
$ac_exeext
39654 if { (ac_try
="$ac_link"
39655 case "(($ac_try" in
39656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39657 *) ac_try_echo=$ac_try;;
39659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39660 (eval "$ac_link") 2>conftest.er1
39662 grep -v '^ *+' conftest.er1 >conftest.err
39664 cat conftest.err >&5
39665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39666 (exit $ac_status); } && {
39667 test -z "$ac_c_werror_flag" ||
39668 test ! -s conftest.err
39669 } && test -s conftest$ac_exeext &&
39670 $as_test_x conftest$ac_exeext; then
39671 ac_cv_func_sched_get_priority_max=yes
39673 echo "$as_me: failed program was:" >&5
39674 sed 's/^/| /' conftest.$ac_ext >&5
39676 ac_cv_func_sched_get_priority_max=no
39679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39680 conftest$ac_exeext conftest.$ac_ext
39682 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39683 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39684 if test $ac_cv_func_sched_get_priority_max = yes; then
39687 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39688 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39689 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39690 echo $ECHO_N "(cached) $ECHO_C" >&6
39692 ac_check_lib_save_LIBS=$LIBS
39693 LIBS="-lposix4 $LIBS"
39694 cat >conftest.$ac_ext <<_ACEOF
39697 cat confdefs.h >>conftest.$ac_ext
39698 cat >>conftest.$ac_ext <<_ACEOF
39699 /* end confdefs.h. */
39701 /* Override any GCC internal prototype to avoid an error.
39702 Use char because int might match the return type of a GCC
39703 builtin and then its argument prototype would still apply. */
39707 char sched_get_priority_max ();
39711 return sched_get_priority_max ();
39716 rm -f conftest.$ac_objext conftest$ac_exeext
39717 if { (ac_try="$ac_link"
39718 case "(($ac_try" in
39719 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39720 *) ac_try_echo
=$ac_try;;
39722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39723 (eval "$ac_link") 2>conftest.er1
39725 grep -v '^ *+' conftest.er1
>conftest.err
39727 cat conftest.err
>&5
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); } && {
39730 test -z "$ac_c_werror_flag" ||
39731 test ! -s conftest.err
39732 } && test -s conftest
$ac_exeext &&
39733 $as_test_x conftest
$ac_exeext; then
39734 ac_cv_lib_posix4_sched_get_priority_max
=yes
39736 echo "$as_me: failed program was:" >&5
39737 sed 's/^/| /' conftest.
$ac_ext >&5
39739 ac_cv_lib_posix4_sched_get_priority_max
=no
39742 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39743 conftest
$ac_exeext conftest.
$ac_ext
39744 LIBS
=$ac_check_lib_save_LIBS
39746 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39747 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39748 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39751 POSIX4_LINK
=" -lposix4"
39765 if test "$HAVE_PRIOR_FUNCS" = 1; then
39766 cat >>confdefs.h
<<\_ACEOF
39767 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39771 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39772 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39775 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39776 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39777 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39778 echo $ECHO_N "(cached) $ECHO_C" >&6
39780 cat >conftest.
$ac_ext <<_ACEOF
39783 cat confdefs.h
>>conftest.
$ac_ext
39784 cat >>conftest.
$ac_ext <<_ACEOF
39785 /* end confdefs.h. */
39786 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39788 #define pthread_cancel innocuous_pthread_cancel
39790 /* System header to define __stub macros and hopefully few prototypes,
39791 which can conflict with char pthread_cancel (); below.
39792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39793 <limits.h> exists even on freestanding compilers. */
39796 # include <limits.h>
39798 # include <assert.h>
39801 #undef pthread_cancel
39803 /* Override any GCC internal prototype to avoid an error.
39804 Use char because int might match the return type of a GCC
39805 builtin and then its argument prototype would still apply. */
39809 char pthread_cancel ();
39810 /* The GNU C library defines this for functions which it implements
39811 to always fail with ENOSYS. Some functions are actually named
39812 something starting with __ and the normal name is an alias. */
39813 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39820 return pthread_cancel ();
39825 rm -f conftest.
$ac_objext conftest
$ac_exeext
39826 if { (ac_try
="$ac_link"
39827 case "(($ac_try" in
39828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39829 *) ac_try_echo=$ac_try;;
39831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39832 (eval "$ac_link") 2>conftest.er1
39834 grep -v '^ *+' conftest.er1 >conftest.err
39836 cat conftest.err >&5
39837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39838 (exit $ac_status); } && {
39839 test -z "$ac_c_werror_flag" ||
39840 test ! -s conftest.err
39841 } && test -s conftest$ac_exeext &&
39842 $as_test_x conftest$ac_exeext; then
39843 ac_cv_func_pthread_cancel=yes
39845 echo "$as_me: failed program was:" >&5
39846 sed 's/^/| /' conftest.$ac_ext >&5
39848 ac_cv_func_pthread_cancel=no
39851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39852 conftest$ac_exeext conftest.$ac_ext
39854 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39855 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39856 if test $ac_cv_func_pthread_cancel = yes; then
39857 cat >>confdefs.h <<\_ACEOF
39858 #define HAVE_PTHREAD_CANCEL 1
39862 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39863 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39867 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39868 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39869 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39870 echo $ECHO_N "(cached) $ECHO_C" >&6
39872 cat >conftest.$ac_ext <<_ACEOF
39875 cat confdefs.h >>conftest.$ac_ext
39876 cat >>conftest.$ac_ext <<_ACEOF
39877 /* end confdefs.h. */
39878 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39880 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39882 /* System header to define __stub macros and hopefully few prototypes,
39883 which can conflict with char pthread_mutex_timedlock (); below.
39884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39885 <limits.h> exists even on freestanding compilers. */
39888 # include <limits.h>
39890 # include <assert.h>
39893 #undef pthread_mutex_timedlock
39895 /* Override any GCC internal prototype to avoid an error.
39896 Use char because int might match the return type of a GCC
39897 builtin and then its argument prototype would still apply. */
39901 char pthread_mutex_timedlock ();
39902 /* The GNU C library defines this for functions which it implements
39903 to always fail with ENOSYS. Some functions are actually named
39904 something starting with __ and the normal name is an alias. */
39905 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39912 return pthread_mutex_timedlock ();
39917 rm -f conftest.$ac_objext conftest$ac_exeext
39918 if { (ac_try="$ac_link"
39919 case "(($ac_try" in
39920 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39921 *) ac_try_echo
=$ac_try;;
39923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39924 (eval "$ac_link") 2>conftest.er1
39926 grep -v '^ *+' conftest.er1
>conftest.err
39928 cat conftest.err
>&5
39929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39930 (exit $ac_status); } && {
39931 test -z "$ac_c_werror_flag" ||
39932 test ! -s conftest.err
39933 } && test -s conftest
$ac_exeext &&
39934 $as_test_x conftest
$ac_exeext; then
39935 ac_cv_func_pthread_mutex_timedlock
=yes
39937 echo "$as_me: failed program was:" >&5
39938 sed 's/^/| /' conftest.
$ac_ext >&5
39940 ac_cv_func_pthread_mutex_timedlock
=no
39943 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39944 conftest
$ac_exeext conftest.
$ac_ext
39946 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39947 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39948 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39949 cat >>confdefs.h
<<\_ACEOF
39950 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39954 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39955 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39959 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39960 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39961 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39962 echo $ECHO_N "(cached) $ECHO_C" >&6
39964 cat >conftest.
$ac_ext <<_ACEOF
39967 cat confdefs.h
>>conftest.
$ac_ext
39968 cat >>conftest.
$ac_ext <<_ACEOF
39969 /* end confdefs.h. */
39970 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39972 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39974 /* System header to define __stub macros and hopefully few prototypes,
39975 which can conflict with char pthread_attr_setstacksize (); below.
39976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39977 <limits.h> exists even on freestanding compilers. */
39980 # include <limits.h>
39982 # include <assert.h>
39985 #undef pthread_attr_setstacksize
39987 /* Override any GCC internal prototype to avoid an error.
39988 Use char because int might match the return type of a GCC
39989 builtin and then its argument prototype would still apply. */
39993 char pthread_attr_setstacksize ();
39994 /* The GNU C library defines this for functions which it implements
39995 to always fail with ENOSYS. Some functions are actually named
39996 something starting with __ and the normal name is an alias. */
39997 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40004 return pthread_attr_setstacksize ();
40009 rm -f conftest.
$ac_objext conftest
$ac_exeext
40010 if { (ac_try
="$ac_link"
40011 case "(($ac_try" in
40012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40013 *) ac_try_echo=$ac_try;;
40015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40016 (eval "$ac_link") 2>conftest.er1
40018 grep -v '^ *+' conftest.er1 >conftest.err
40020 cat conftest.err >&5
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); } && {
40023 test -z "$ac_c_werror_flag" ||
40024 test ! -s conftest.err
40025 } && test -s conftest$ac_exeext &&
40026 $as_test_x conftest$ac_exeext; then
40027 ac_cv_func_pthread_attr_setstacksize=yes
40029 echo "$as_me: failed program was:" >&5
40030 sed 's/^/| /' conftest.$ac_ext >&5
40032 ac_cv_func_pthread_attr_setstacksize=no
40035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40036 conftest$ac_exeext conftest.$ac_ext
40038 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40039 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40040 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40041 cat >>confdefs.h <<\_ACEOF
40042 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40049 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40050 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40051 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40052 echo $ECHO_N "(cached) $ECHO_C" >&6
40055 cat >conftest.$ac_ext <<_ACEOF
40058 cat confdefs.h >>conftest.$ac_ext
40059 cat >>conftest.$ac_ext <<_ACEOF
40060 /* end confdefs.h. */
40061 #include <pthread.h>
40066 pthread_mutexattr_t attr;
40067 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40073 rm -f conftest.$ac_objext
40074 if { (ac_try="$ac_compile"
40075 case "(($ac_try" in
40076 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40077 *) ac_try_echo
=$ac_try;;
40079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40080 (eval "$ac_compile") 2>conftest.er1
40082 grep -v '^ *+' conftest.er1
>conftest.err
40084 cat conftest.err
>&5
40085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086 (exit $ac_status); } && {
40087 test -z "$ac_c_werror_flag" ||
40088 test ! -s conftest.err
40089 } && test -s conftest.
$ac_objext; then
40090 wx_cv_type_pthread_mutexattr_t
=yes
40092 echo "$as_me: failed program was:" >&5
40093 sed 's/^/| /' conftest.
$ac_ext >&5
40095 wx_cv_type_pthread_mutexattr_t
=no
40099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40102 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40103 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40105 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40106 cat >>confdefs.h
<<\_ACEOF
40107 #define HAVE_PTHREAD_MUTEXATTR_T 1
40111 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40112 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40113 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40114 echo $ECHO_N "(cached) $ECHO_C" >&6
40117 cat >conftest.
$ac_ext <<_ACEOF
40120 cat confdefs.h
>>conftest.
$ac_ext
40121 cat >>conftest.
$ac_ext <<_ACEOF
40122 /* end confdefs.h. */
40123 #include <pthread.h>
40128 pthread_mutexattr_t attr;
40129 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40135 rm -f conftest.
$ac_objext
40136 if { (ac_try
="$ac_compile"
40137 case "(($ac_try" in
40138 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40139 *) ac_try_echo=$ac_try;;
40141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40142 (eval "$ac_compile") 2>conftest.er1
40144 grep -v '^ *+' conftest.er1 >conftest.err
40146 cat conftest.err >&5
40147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40148 (exit $ac_status); } && {
40149 test -z "$ac_c_werror_flag" ||
40150 test ! -s conftest.err
40151 } && test -s conftest.$ac_objext; then
40152 wx_cv_func_pthread_mutexattr_settype_decl=yes
40154 echo "$as_me: failed program was:" >&5
40155 sed 's/^/| /' conftest.$ac_ext >&5
40157 wx_cv_func_pthread_mutexattr_settype_decl=no
40161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40164 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40165 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40166 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40167 cat >>confdefs.h <<\_ACEOF
40168 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40173 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40174 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40175 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40176 echo $ECHO_N "(cached) $ECHO_C" >&6
40179 cat >conftest.$ac_ext <<_ACEOF
40182 cat confdefs.h >>conftest.$ac_ext
40183 cat >>conftest.$ac_ext <<_ACEOF
40184 /* end confdefs.h. */
40185 #include <pthread.h>
40190 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40196 rm -f conftest.$ac_objext
40197 if { (ac_try="$ac_compile"
40198 case "(($ac_try" in
40199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40200 *) ac_try_echo
=$ac_try;;
40202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40203 (eval "$ac_compile") 2>conftest.er1
40205 grep -v '^ *+' conftest.er1
>conftest.err
40207 cat conftest.err
>&5
40208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40209 (exit $ac_status); } && {
40210 test -z "$ac_c_werror_flag" ||
40211 test ! -s conftest.err
40212 } && test -s conftest.
$ac_objext; then
40214 wx_cv_type_pthread_rec_mutex_init
=yes
40217 echo "$as_me: failed program was:" >&5
40218 sed 's/^/| /' conftest.
$ac_ext >&5
40221 wx_cv_type_pthread_rec_mutex_init
=no
40226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40229 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40230 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40231 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40232 cat >>confdefs.h
<<\_ACEOF
40233 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40237 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40238 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40242 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40243 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40244 if test "${wx_cv_cc___thread+set}" = set; then
40245 echo $ECHO_N "(cached) $ECHO_C" >&6
40248 cat >conftest.
$ac_ext <<_ACEOF
40251 cat confdefs.h
>>conftest.
$ac_ext
40252 cat >>conftest.
$ac_ext <<_ACEOF
40253 /* end confdefs.h. */
40254 #include <pthread.h>
40259 static __thread int n = 0;
40260 static __thread int *p = 0;
40266 rm -f conftest.
$ac_objext
40267 if { (ac_try
="$ac_compile"
40268 case "(($ac_try" in
40269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40270 *) ac_try_echo=$ac_try;;
40272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40273 (eval "$ac_compile") 2>conftest.er1
40275 grep -v '^ *+' conftest.er1 >conftest.err
40277 cat conftest.err >&5
40278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40279 (exit $ac_status); } && {
40280 test -z "$ac_c_werror_flag" ||
40281 test ! -s conftest.err
40282 } && test -s conftest.$ac_objext; then
40283 wx_cv_cc___thread=yes
40285 echo "$as_me: failed program was:" >&5
40286 sed 's/^/| /' conftest.$ac_ext >&5
40288 wx_cv_cc___thread=no
40292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40296 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40297 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40299 if test "$wx_cv_cc___thread" = "yes"; then
40305 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40306 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40308 if test "x$GCC" = "xyes" ; then
40310 if test -z "" ; then
40312 ax_gcc_option_test="int main()
40319 ax_gcc_option_test=""
40324 # Dump the test program to file
40325 cat <<EOF > conftest.c
40326 $ax_gcc_option_test
40329 # Dump back the file to the log, useful for debugging purposes
40330 { ac_try='cat conftest.c 1>&5'
40331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40332 (eval $ac_try) 2>&5
40334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335 (exit $ac_status); }; }
40337 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40339 (eval $ac_try) 2>&5
40341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342 (exit $ac_status); }; } ; then
40344 { echo "$as_me:$LINENO: result: yes" >&5
40345 echo "${ECHO_T}yes" >&6; }
40347 ax_gcc_version_option=yes
40352 { echo "$as_me:$LINENO: result: no" >&5
40353 echo "${ECHO_T}no" >&6; }
40355 ax_gcc_version_option=no
40363 { echo "$as_me:$LINENO: result: no gcc available" >&5
40364 echo "${ECHO_T}no gcc available" >&6; }
40369 if test "x$GXX" = "xyes"; then
40371 if test "x$ax_gxx_version_option" != "no"; then
40373 { echo "$as_me:$LINENO: checking gxx version" >&5
40374 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40375 if test "${ax_cv_gxx_version+set}" = set; then
40376 echo $ECHO_N "(cached) $ECHO_C" >&6
40379 ax_cv_gxx_version="`$CXX -dumpversion`"
40380 if test "x$ax_cv_gxx_version" = "x"; then
40382 ax_cv_gxx_version=""
40388 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40389 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40390 GXX_VERSION=$ax_cv_gxx_version
40399 if test -n "$ax_cv_gxx_version"; then
40400 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40401 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40402 case "$ax_cv_gxx_version" in
40404 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40405 echo "${ECHO_T}no, it's broken" >&6; }
40406 wx_cv_cc___thread=no
40409 { echo "$as_me:$LINENO: result: yes, it works" >&5
40410 echo "${ECHO_T}yes, it works" >&6; }
40416 if test "$wx_cv_cc___thread" = "yes"; then
40417 cat >>confdefs.h <<\_ACEOF
40418 #define HAVE___THREAD_KEYWORD 1
40425 if test "$wxUSE_THREADS" = "yes" ; then
40427 x86_64-*-mingw32* )
40430 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40431 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40432 if test "${wx_cv_cflags_mthread+set}" = set; then
40433 echo $ECHO_N "(cached) $ECHO_C" >&6
40436 CFLAGS_OLD="$CFLAGS"
40437 CFLAGS="-mthreads $CFLAGS"
40438 cat >conftest.$ac_ext <<_ACEOF
40441 cat confdefs.h >>conftest.$ac_ext
40442 cat >>conftest.$ac_ext <<_ACEOF
40443 /* end confdefs.h. */
40453 rm -f conftest.$ac_objext
40454 if { (ac_try="$ac_compile"
40455 case "(($ac_try" in
40456 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40457 *) ac_try_echo
=$ac_try;;
40459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40460 (eval "$ac_compile") 2>conftest.er1
40462 grep -v '^ *+' conftest.er1
>conftest.err
40464 cat conftest.err
>&5
40465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466 (exit $ac_status); } && {
40467 test -z "$ac_c_werror_flag" ||
40468 test ! -s conftest.err
40469 } && test -s conftest.
$ac_objext; then
40470 wx_cv_cflags_mthread
=yes
40472 echo "$as_me: failed program was:" >&5
40473 sed 's/^/| /' conftest.
$ac_ext >&5
40475 wx_cv_cflags_mthread
=no
40479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40483 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40484 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40486 if test "$wx_cv_cflags_mthread" = "yes"; then
40487 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40488 LDFLAGS
="$LDFLAGS -mthreads"
40490 CFLAGS
="$CFLAGS_OLD"
40494 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40495 LDFLAGS
="$LDFLAGS -Zmt"
40501 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40502 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40503 if test "${ac_cv_func_localtime_r+set}" = set; then
40504 echo $ECHO_N "(cached) $ECHO_C" >&6
40506 cat >conftest.
$ac_ext <<_ACEOF
40509 cat confdefs.h
>>conftest.
$ac_ext
40510 cat >>conftest.
$ac_ext <<_ACEOF
40511 /* end confdefs.h. */
40512 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40514 #define localtime_r innocuous_localtime_r
40516 /* System header to define __stub macros and hopefully few prototypes,
40517 which can conflict with char localtime_r (); below.
40518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40519 <limits.h> exists even on freestanding compilers. */
40522 # include <limits.h>
40524 # include <assert.h>
40529 /* Override any GCC internal prototype to avoid an error.
40530 Use char because int might match the return type of a GCC
40531 builtin and then its argument prototype would still apply. */
40535 char localtime_r ();
40536 /* The GNU C library defines this for functions which it implements
40537 to always fail with ENOSYS. Some functions are actually named
40538 something starting with __ and the normal name is an alias. */
40539 #if defined __stub_localtime_r || defined __stub___localtime_r
40546 return localtime_r ();
40551 rm -f conftest.
$ac_objext conftest
$ac_exeext
40552 if { (ac_try
="$ac_link"
40553 case "(($ac_try" in
40554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40555 *) ac_try_echo=$ac_try;;
40557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40558 (eval "$ac_link") 2>conftest.er1
40560 grep -v '^ *+' conftest.er1 >conftest.err
40562 cat conftest.err >&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); } && {
40565 test -z "$ac_c_werror_flag" ||
40566 test ! -s conftest.err
40567 } && test -s conftest$ac_exeext &&
40568 $as_test_x conftest$ac_exeext; then
40569 ac_cv_func_localtime_r=yes
40571 echo "$as_me: failed program was:" >&5
40572 sed 's/^/| /' conftest.$ac_ext >&5
40574 ac_cv_func_localtime_r=no
40577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40578 conftest$ac_exeext conftest.$ac_ext
40580 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40581 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40582 if test $ac_cv_func_localtime_r = yes; then
40583 cat >>confdefs.h <<\_ACEOF
40584 #define HAVE_LOCALTIME_R 1
40589 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40590 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40591 if test "${ac_cv_func_gmtime_r+set}" = set; then
40592 echo $ECHO_N "(cached) $ECHO_C" >&6
40594 cat >conftest.$ac_ext <<_ACEOF
40597 cat confdefs.h >>conftest.$ac_ext
40598 cat >>conftest.$ac_ext <<_ACEOF
40599 /* end confdefs.h. */
40600 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40602 #define gmtime_r innocuous_gmtime_r
40604 /* System header to define __stub macros and hopefully few prototypes,
40605 which can conflict with char gmtime_r (); below.
40606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40607 <limits.h> exists even on freestanding compilers. */
40610 # include <limits.h>
40612 # include <assert.h>
40617 /* Override any GCC internal prototype to avoid an error.
40618 Use char because int might match the return type of a GCC
40619 builtin and then its argument prototype would still apply. */
40624 /* The GNU C library defines this for functions which it implements
40625 to always fail with ENOSYS. Some functions are actually named
40626 something starting with __ and the normal name is an alias. */
40627 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40634 return gmtime_r ();
40639 rm -f conftest.$ac_objext conftest$ac_exeext
40640 if { (ac_try="$ac_link"
40641 case "(($ac_try" in
40642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40643 *) ac_try_echo
=$ac_try;;
40645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40646 (eval "$ac_link") 2>conftest.er1
40648 grep -v '^ *+' conftest.er1
>conftest.err
40650 cat conftest.err
>&5
40651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40652 (exit $ac_status); } && {
40653 test -z "$ac_c_werror_flag" ||
40654 test ! -s conftest.err
40655 } && test -s conftest
$ac_exeext &&
40656 $as_test_x conftest
$ac_exeext; then
40657 ac_cv_func_gmtime_r
=yes
40659 echo "$as_me: failed program was:" >&5
40660 sed 's/^/| /' conftest.
$ac_ext >&5
40662 ac_cv_func_gmtime_r
=no
40665 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40666 conftest
$ac_exeext conftest.
$ac_ext
40668 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40669 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40670 if test $ac_cv_func_gmtime_r = yes; then
40671 cat >>confdefs.h
<<\_ACEOF
40672 #define HAVE_GMTIME_R 1
40681 ac_cpp
='$CPP $CPPFLAGS'
40682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40686 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40687 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40689 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40690 echo $ECHO_N "(cached) $ECHO_C" >&6
40694 ################################################################
40696 ac_cv_func_which_gethostbyname_r
=unknown
40699 # ONE ARGUMENT (sanity check)
40702 # This should fail, as there is no variant of gethostbyname_r() that takes
40703 # a single argument. If it actually compiles, then we can assume that
40704 # netdb.h is not declaring the function, and the compiler is thereby
40705 # assuming an implicit prototype. In which case, we're out of luck.
40707 cat >conftest.
$ac_ext <<_ACEOF
40710 cat confdefs.h
>>conftest.
$ac_ext
40711 cat >>conftest.
$ac_ext <<_ACEOF
40712 /* end confdefs.h. */
40718 char *name = "www.gnu.org";
40719 (void)gethostbyname_r(name) /* ; */
40725 rm -f conftest.
$ac_objext
40726 if { (ac_try
="$ac_compile"
40727 case "(($ac_try" in
40728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40729 *) ac_try_echo=$ac_try;;
40731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40732 (eval "$ac_compile") 2>conftest.er1
40734 grep -v '^ *+' conftest.er1 >conftest.err
40736 cat conftest.err >&5
40737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40738 (exit $ac_status); } && {
40739 test -z "$ac_c_werror_flag" ||
40740 test ! -s conftest.err
40741 } && test -s conftest.$ac_objext; then
40742 ac_cv_func_which_gethostbyname_r=no
40744 echo "$as_me: failed program was:" >&5
40745 sed 's/^/| /' conftest.$ac_ext >&5
40750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40757 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40759 cat >conftest.$ac_ext <<_ACEOF
40762 cat confdefs.h >>conftest.$ac_ext
40763 cat >>conftest.$ac_ext <<_ACEOF
40764 /* end confdefs.h. */
40770 char *name = "www.gnu.org";
40771 struct hostent ret, *retp;
40775 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40781 rm -f conftest.$ac_objext
40782 if { (ac_try="$ac_compile"
40783 case "(($ac_try" in
40784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40785 *) ac_try_echo
=$ac_try;;
40787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40788 (eval "$ac_compile") 2>conftest.er1
40790 grep -v '^ *+' conftest.er1
>conftest.err
40792 cat conftest.err
>&5
40793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40794 (exit $ac_status); } && {
40795 test -z "$ac_c_werror_flag" ||
40796 test ! -s conftest.err
40797 } && test -s conftest.
$ac_objext; then
40798 ac_cv_func_which_gethostbyname_r
=six
40800 echo "$as_me: failed program was:" >&5
40801 sed 's/^/| /' conftest.
$ac_ext >&5
40806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40815 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40817 cat >conftest.
$ac_ext <<_ACEOF
40820 cat confdefs.h
>>conftest.
$ac_ext
40821 cat >>conftest.
$ac_ext <<_ACEOF
40822 /* end confdefs.h. */
40828 char *name = "www.gnu.org";
40829 struct hostent ret;
40833 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40839 rm -f conftest.
$ac_objext
40840 if { (ac_try
="$ac_compile"
40841 case "(($ac_try" in
40842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40843 *) ac_try_echo=$ac_try;;
40845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40846 (eval "$ac_compile") 2>conftest.er1
40848 grep -v '^ *+' conftest.er1 >conftest.err
40850 cat conftest.err >&5
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); } && {
40853 test -z "$ac_c_werror_flag" ||
40854 test ! -s conftest.err
40855 } && test -s conftest.$ac_objext; then
40856 ac_cv_func_which_gethostbyname_r=five
40858 echo "$as_me: failed program was:" >&5
40859 sed 's/^/| /' conftest.$ac_ext >&5
40864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40870 # (e.g. AIX, HP-UX, Tru64)
40873 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40875 cat >conftest.$ac_ext <<_ACEOF
40878 cat confdefs.h >>conftest.$ac_ext
40879 cat >>conftest.$ac_ext <<_ACEOF
40880 /* end confdefs.h. */
40886 char *name = "www.gnu.org";
40887 struct hostent ret;
40888 struct hostent_data data;
40889 (void)gethostbyname_r(name, &ret, &data) /* ; */
40895 rm -f conftest.$ac_objext
40896 if { (ac_try="$ac_compile"
40897 case "(($ac_try" in
40898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40899 *) ac_try_echo
=$ac_try;;
40901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40902 (eval "$ac_compile") 2>conftest.er1
40904 grep -v '^ *+' conftest.er1
>conftest.err
40906 cat conftest.err
>&5
40907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40908 (exit $ac_status); } && {
40909 test -z "$ac_c_werror_flag" ||
40910 test ! -s conftest.err
40911 } && test -s conftest.
$ac_objext; then
40912 ac_cv_func_which_gethostbyname_r
=three
40914 echo "$as_me: failed program was:" >&5
40915 sed 's/^/| /' conftest.
$ac_ext >&5
40920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40924 ################################################################
40929 case "$ac_cv_func_which_gethostbyname_r" in
40931 { echo "$as_me:$LINENO: result: three" >&5
40932 echo "${ECHO_T}three" >&6; }
40933 cat >>confdefs.h
<<\_ACEOF
40934 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40940 { echo "$as_me:$LINENO: result: five" >&5
40941 echo "${ECHO_T}five" >&6; }
40942 cat >>confdefs.h
<<\_ACEOF
40943 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40949 { echo "$as_me:$LINENO: result: six" >&5
40950 echo "${ECHO_T}six" >&6; }
40951 cat >>confdefs.h
<<\_ACEOF
40952 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40958 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40959 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40963 { echo "$as_me:$LINENO: result: can't tell" >&5
40964 echo "${ECHO_T}can't tell" >&6; }
40968 { { echo "$as_me:$LINENO: error: internal error" >&5
40969 echo "$as_me: error: internal error" >&2;}
40970 { (exit 1); exit 1; }; }
40975 ac_cpp
='$CPP $CPPFLAGS'
40976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40982 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40983 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40984 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40985 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40986 if test "${ac_cv_func_gethostbyname+set}" = set; then
40987 echo $ECHO_N "(cached) $ECHO_C" >&6
40989 cat >conftest.
$ac_ext <<_ACEOF
40992 cat confdefs.h
>>conftest.
$ac_ext
40993 cat >>conftest.
$ac_ext <<_ACEOF
40994 /* end confdefs.h. */
40995 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40997 #define gethostbyname innocuous_gethostbyname
40999 /* System header to define __stub macros and hopefully few prototypes,
41000 which can conflict with char gethostbyname (); below.
41001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41002 <limits.h> exists even on freestanding compilers. */
41005 # include <limits.h>
41007 # include <assert.h>
41010 #undef gethostbyname
41012 /* Override any GCC internal prototype to avoid an error.
41013 Use char because int might match the return type of a GCC
41014 builtin and then its argument prototype would still apply. */
41018 char gethostbyname ();
41019 /* The GNU C library defines this for functions which it implements
41020 to always fail with ENOSYS. Some functions are actually named
41021 something starting with __ and the normal name is an alias. */
41022 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41029 return gethostbyname ();
41034 rm -f conftest.
$ac_objext conftest
$ac_exeext
41035 if { (ac_try
="$ac_link"
41036 case "(($ac_try" in
41037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41038 *) ac_try_echo=$ac_try;;
41040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41041 (eval "$ac_link") 2>conftest.er1
41043 grep -v '^ *+' conftest.er1 >conftest.err
41045 cat conftest.err >&5
41046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41047 (exit $ac_status); } && {
41048 test -z "$ac_c_werror_flag" ||
41049 test ! -s conftest.err
41050 } && test -s conftest$ac_exeext &&
41051 $as_test_x conftest$ac_exeext; then
41052 ac_cv_func_gethostbyname=yes
41054 echo "$as_me: failed program was:" >&5
41055 sed 's/^/| /' conftest.$ac_ext >&5
41057 ac_cv_func_gethostbyname=no
41060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41061 conftest$ac_exeext conftest.$ac_ext
41063 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41064 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41065 if test $ac_cv_func_gethostbyname = yes; then
41066 cat >>confdefs.h <<\_ACEOF
41067 #define HAVE_GETHOSTBYNAME 1
41074 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41075 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41076 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41077 echo $ECHO_N "(cached) $ECHO_C" >&6
41081 ac_cpp='$CXXCPP $CPPFLAGS'
41082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41087 cat >conftest.$ac_ext <<_ACEOF
41090 cat confdefs.h >>conftest.$ac_ext
41091 cat >>conftest.$ac_ext <<_ACEOF
41092 /* end confdefs.h. */
41100 struct servent *se, *res;
41103 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41109 rm -f conftest.$ac_objext
41110 if { (ac_try="$ac_compile"
41111 case "(($ac_try" in
41112 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41113 *) ac_try_echo
=$ac_try;;
41115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41116 (eval "$ac_compile") 2>conftest.er1
41118 grep -v '^ *+' conftest.er1
>conftest.err
41120 cat conftest.err
>&5
41121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41122 (exit $ac_status); } && {
41123 test -z "$ac_cxx_werror_flag" ||
41124 test ! -s conftest.err
41125 } && test -s conftest.
$ac_objext; then
41126 ac_cv_func_which_getservbyname_r
=six
41128 echo "$as_me: failed program was:" >&5
41129 sed 's/^/| /' conftest.
$ac_ext >&5
41132 cat >conftest.
$ac_ext <<_ACEOF
41135 cat confdefs.h
>>conftest.
$ac_ext
41136 cat >>conftest.
$ac_ext <<_ACEOF
41137 /* end confdefs.h. */
41145 struct servent *se;
41148 (void) getservbyname_r(name, proto, se, buffer, buflen)
41154 rm -f conftest.
$ac_objext
41155 if { (ac_try
="$ac_compile"
41156 case "(($ac_try" in
41157 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41158 *) ac_try_echo=$ac_try;;
41160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41161 (eval "$ac_compile") 2>conftest.er1
41163 grep -v '^ *+' conftest.er1 >conftest.err
41165 cat conftest.err >&5
41166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41167 (exit $ac_status); } && {
41168 test -z "$ac_cxx_werror_flag" ||
41169 test ! -s conftest.err
41170 } && test -s conftest.$ac_objext; then
41171 ac_cv_func_which_getservbyname_r=five
41173 echo "$as_me: failed program was:" >&5
41174 sed 's/^/| /' conftest.$ac_ext >&5
41177 cat >conftest.$ac_ext <<_ACEOF
41180 cat confdefs.h >>conftest.$ac_ext
41181 cat >>conftest.$ac_ext <<_ACEOF
41182 /* end confdefs.h. */
41190 struct servent *se;
41191 struct servent_data data;
41192 (void) getservbyname_r(name, proto, se, &data);
41198 rm -f conftest.$ac_objext
41199 if { (ac_try="$ac_compile"
41200 case "(($ac_try" in
41201 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41202 *) ac_try_echo
=$ac_try;;
41204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41205 (eval "$ac_compile") 2>conftest.er1
41207 grep -v '^ *+' conftest.er1
>conftest.err
41209 cat conftest.err
>&5
41210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41211 (exit $ac_status); } && {
41212 test -z "$ac_cxx_werror_flag" ||
41213 test ! -s conftest.err
41214 } && test -s conftest.
$ac_objext; then
41215 ac_cv_func_which_getservbyname_r
=four
41217 echo "$as_me: failed program was:" >&5
41218 sed 's/^/| /' conftest.
$ac_ext >&5
41220 ac_cv_func_which_getservbyname_r
=no
41224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41236 ac_cpp
='$CPP $CPPFLAGS'
41237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41244 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41245 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41247 if test $ac_cv_func_which_getservbyname_r = six
; then
41248 cat >>confdefs.h
<<\_ACEOF
41249 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41252 elif test $ac_cv_func_which_getservbyname_r = five
; then
41253 cat >>confdefs.h
<<\_ACEOF
41254 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41257 elif test $ac_cv_func_which_getservbyname_r = four
; then
41258 cat >>confdefs.h
<<\_ACEOF
41259 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41265 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41266 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41268 for ac_func
in getservbyname
41270 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41271 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41273 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41274 echo $ECHO_N "(cached) $ECHO_C" >&6
41276 cat >conftest.
$ac_ext <<_ACEOF
41279 cat confdefs.h
>>conftest.
$ac_ext
41280 cat >>conftest.
$ac_ext <<_ACEOF
41281 /* end confdefs.h. */
41282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41284 #define $ac_func innocuous_$ac_func
41286 /* System header to define __stub macros and hopefully few prototypes,
41287 which can conflict with char $ac_func (); below.
41288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41289 <limits.h> exists even on freestanding compilers. */
41292 # include <limits.h>
41294 # include <assert.h>
41299 /* Override any GCC internal prototype to avoid an error.
41300 Use char because int might match the return type of a GCC
41301 builtin and then its argument prototype would still apply. */
41306 /* The GNU C library defines this for functions which it implements
41307 to always fail with ENOSYS. Some functions are actually named
41308 something starting with __ and the normal name is an alias. */
41309 #if defined __stub_$ac_func || defined __stub___$ac_func
41316 return $ac_func ();
41321 rm -f conftest.
$ac_objext conftest
$ac_exeext
41322 if { (ac_try
="$ac_link"
41323 case "(($ac_try" in
41324 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41325 *) ac_try_echo=$ac_try;;
41327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41328 (eval "$ac_link") 2>conftest.er1
41330 grep -v '^ *+' conftest.er1 >conftest.err
41332 cat conftest.err >&5
41333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41334 (exit $ac_status); } && {
41335 test -z "$ac_c_werror_flag" ||
41336 test ! -s conftest.err
41337 } && test -s conftest$ac_exeext &&
41338 $as_test_x conftest$ac_exeext; then
41339 eval "$as_ac_var=yes"
41341 echo "$as_me: failed program was:" >&5
41342 sed 's/^/| /' conftest.$ac_ext >&5
41344 eval "$as_ac_var=no"
41347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41348 conftest$ac_exeext conftest.$ac_ext
41350 ac_res=`eval echo '${'$as_ac_var'}'`
41351 { echo "$as_me:$LINENO: result: $ac_res" >&5
41352 echo "${ECHO_T}$ac_res" >&6; }
41353 if test `eval echo '${'$as_ac_var'}'` = yes; then
41354 cat >>confdefs.h <<_ACEOF
41355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41357 cat >>confdefs.h <<\_ACEOF
41358 #define HAVE_GETSERVBYNAME 1
41366 if test "$wxUSE_THREADS" = "yes"; then
41367 cat >>confdefs.h <<\_ACEOF
41368 #define wxUSE_THREADS 1
41372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41374 if test "$wx_cv_func_strtok_r" = "yes"; then
41375 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41376 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41377 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41378 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41379 { echo "$as_me:$LINENO: result: yes" >&5
41380 echo "${ECHO_T}yes" >&6; }
41382 { echo "$as_me:$LINENO: result: no" >&5
41383 echo "${ECHO_T}no" >&6; }
41388 if test "$WXGTK2" = 1 ; then
41389 cat >>confdefs.h <<_ACEOF
41390 #define __WXGTK20__ $WXGTK2
41396 if test "$WXGTK12" = 1 ; then
41397 cat >>confdefs.h <<_ACEOF
41398 #define __WXGTK12__ $WXGTK12
41403 if test "$WXGTK127" = 1 ; then
41404 cat >>confdefs.h <<_ACEOF
41405 #define __WXGTK127__ $WXGTK127
41410 if test "$WXGPE" = 1 ; then
41411 cat >>confdefs.h <<_ACEOF
41412 #define __WXGPE__ $WXGPE
41418 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41422 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41423 wxUSE_DEBUG_INFO=yes
41424 if test "$GCC" = yes; then
41425 DEBUG_CFLAGS="-ggdb"
41429 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41430 cat >>confdefs.h <<\_ACEOF
41434 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41436 if test "$wxUSE_GTK" = 1 ; then
41437 if test "x$wxGTK_VERSION" = "x1" ; then
41438 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41443 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41444 cat >>confdefs.h <<\_ACEOF
41445 #define wxUSE_MEMORY_TRACING 1
41448 cat >>confdefs.h <<\_ACEOF
41449 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41452 cat >>confdefs.h <<\_ACEOF
41453 #define wxUSE_DEBUG_NEW_ALWAYS 1
41456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41459 if test "$wxUSE_DMALLOC" = "yes" ; then
41460 DMALLOC_LIBS="-ldmallocthcxx"
41464 if test "$wxUSE_PROFILE" = "yes" ; then
41465 PROFILE_FLAGS=" -pg"
41468 if test "$GCC" = "yes" ; then
41469 if test "$wxUSE_NO_RTTI" = "yes" ; then
41470 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41472 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41473 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41475 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41476 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41481 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41484 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41490 if test "$wxUSE_OPTIMISE" = "no" ; then
41491 if test "$GCC" = yes ; then
41492 OPTIMISE_CFLAGS="-O0"
41495 if test "$GCC" = yes ; then
41497 *-pc-os2_emx | *-pc-os2-emx )
41498 OPTIMISE_CFLAGS="-O2"
41501 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41505 OPTIMISE_CFLAGS="-O"
41510 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41511 cat >>confdefs.h <<\_ACEOF
41512 #define WXWIN_COMPATIBILITY_2_6 1
41516 WXWIN_COMPATIBILITY_2_8="yes"
41519 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41520 cat >>confdefs.h <<\_ACEOF
41521 #define WXWIN_COMPATIBILITY_2_8 1
41527 if test "$wxUSE_GUI" = "yes"; then
41528 cat >>confdefs.h <<\_ACEOF
41529 #define wxUSE_GUI 1
41536 if test "$wxUSE_UNIX" = "yes"; then
41537 cat >>confdefs.h <<\_ACEOF
41538 #define wxUSE_UNIX 1
41544 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41548 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41549 if test "$USE_DOS" = 1; then
41553 for ac_func in dlopen
41555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41556 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41558 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41559 echo $ECHO_N "(cached) $ECHO_C" >&6
41561 cat >conftest.$ac_ext <<_ACEOF
41564 cat confdefs.h >>conftest.$ac_ext
41565 cat >>conftest.$ac_ext <<_ACEOF
41566 /* end confdefs.h. */
41567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41569 #define $ac_func innocuous_$ac_func
41571 /* System header to define __stub macros and hopefully few prototypes,
41572 which can conflict with char $ac_func (); below.
41573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41574 <limits.h> exists even on freestanding compilers. */
41577 # include <limits.h>
41579 # include <assert.h>
41584 /* Override any GCC internal prototype to avoid an error.
41585 Use char because int might match the return type of a GCC
41586 builtin and then its argument prototype would still apply. */
41591 /* The GNU C library defines this for functions which it implements
41592 to always fail with ENOSYS. Some functions are actually named
41593 something starting with __ and the normal name is an alias. */
41594 #if defined __stub_$ac_func || defined __stub___$ac_func
41601 return $ac_func ();
41606 rm -f conftest.$ac_objext conftest$ac_exeext
41607 if { (ac_try="$ac_link"
41608 case "(($ac_try" in
41609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41610 *) ac_try_echo
=$ac_try;;
41612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41613 (eval "$ac_link") 2>conftest.er1
41615 grep -v '^ *+' conftest.er1
>conftest.err
41617 cat conftest.err
>&5
41618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41619 (exit $ac_status); } && {
41620 test -z "$ac_c_werror_flag" ||
41621 test ! -s conftest.err
41622 } && test -s conftest
$ac_exeext &&
41623 $as_test_x conftest
$ac_exeext; then
41624 eval "$as_ac_var=yes"
41626 echo "$as_me: failed program was:" >&5
41627 sed 's/^/| /' conftest.
$ac_ext >&5
41629 eval "$as_ac_var=no"
41632 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41633 conftest
$ac_exeext conftest.
$ac_ext
41635 ac_res
=`eval echo '${'$as_ac_var'}'`
41636 { echo "$as_me:$LINENO: result: $ac_res" >&5
41637 echo "${ECHO_T}$ac_res" >&6; }
41638 if test `eval echo '${'$as_ac_var'}'` = yes; then
41639 cat >>confdefs.h
<<_ACEOF
41640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41643 cat >>confdefs.h
<<\_ACEOF
41644 #define HAVE_DLOPEN 1
41651 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41652 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41653 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41654 echo $ECHO_N "(cached) $ECHO_C" >&6
41656 ac_check_lib_save_LIBS
=$LIBS
41658 cat >conftest.
$ac_ext <<_ACEOF
41661 cat confdefs.h
>>conftest.
$ac_ext
41662 cat >>conftest.
$ac_ext <<_ACEOF
41663 /* end confdefs.h. */
41665 /* Override any GCC internal prototype to avoid an error.
41666 Use char because int might match the return type of a GCC
41667 builtin and then its argument prototype would still apply. */
41680 rm -f conftest.
$ac_objext conftest
$ac_exeext
41681 if { (ac_try
="$ac_link"
41682 case "(($ac_try" in
41683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41684 *) ac_try_echo=$ac_try;;
41686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41687 (eval "$ac_link") 2>conftest.er1
41689 grep -v '^ *+' conftest.er1 >conftest.err
41691 cat conftest.err >&5
41692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41693 (exit $ac_status); } && {
41694 test -z "$ac_c_werror_flag" ||
41695 test ! -s conftest.err
41696 } && test -s conftest$ac_exeext &&
41697 $as_test_x conftest$ac_exeext; then
41698 ac_cv_lib_dl_dlopen=yes
41700 echo "$as_me: failed program was:" >&5
41701 sed 's/^/| /' conftest.$ac_ext >&5
41703 ac_cv_lib_dl_dlopen=no
41706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41707 conftest$ac_exeext conftest.$ac_ext
41708 LIBS=$ac_check_lib_save_LIBS
41710 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41711 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41712 if test $ac_cv_lib_dl_dlopen = yes; then
41714 cat >>confdefs.h <<\_ACEOF
41715 #define HAVE_DLOPEN 1
41719 DL_LINK=" -ldl$DL_LINK"
41724 for ac_func in shl_load
41726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41727 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41729 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41730 echo $ECHO_N "(cached) $ECHO_C" >&6
41732 cat >conftest.$ac_ext <<_ACEOF
41735 cat confdefs.h >>conftest.$ac_ext
41736 cat >>conftest.$ac_ext <<_ACEOF
41737 /* end confdefs.h. */
41738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41740 #define $ac_func innocuous_$ac_func
41742 /* System header to define __stub macros and hopefully few prototypes,
41743 which can conflict with char $ac_func (); below.
41744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41745 <limits.h> exists even on freestanding compilers. */
41748 # include <limits.h>
41750 # include <assert.h>
41755 /* Override any GCC internal prototype to avoid an error.
41756 Use char because int might match the return type of a GCC
41757 builtin and then its argument prototype would still apply. */
41762 /* The GNU C library defines this for functions which it implements
41763 to always fail with ENOSYS. Some functions are actually named
41764 something starting with __ and the normal name is an alias. */
41765 #if defined __stub_$ac_func || defined __stub___$ac_func
41772 return $ac_func ();
41777 rm -f conftest.$ac_objext conftest$ac_exeext
41778 if { (ac_try="$ac_link"
41779 case "(($ac_try" in
41780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41781 *) ac_try_echo
=$ac_try;;
41783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41784 (eval "$ac_link") 2>conftest.er1
41786 grep -v '^ *+' conftest.er1
>conftest.err
41788 cat conftest.err
>&5
41789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41790 (exit $ac_status); } && {
41791 test -z "$ac_c_werror_flag" ||
41792 test ! -s conftest.err
41793 } && test -s conftest
$ac_exeext &&
41794 $as_test_x conftest
$ac_exeext; then
41795 eval "$as_ac_var=yes"
41797 echo "$as_me: failed program was:" >&5
41798 sed 's/^/| /' conftest.
$ac_ext >&5
41800 eval "$as_ac_var=no"
41803 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41804 conftest
$ac_exeext conftest.
$ac_ext
41806 ac_res
=`eval echo '${'$as_ac_var'}'`
41807 { echo "$as_me:$LINENO: result: $ac_res" >&5
41808 echo "${ECHO_T}$ac_res" >&6; }
41809 if test `eval echo '${'$as_ac_var'}'` = yes; then
41810 cat >>confdefs.h
<<_ACEOF
41811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41814 cat >>confdefs.h
<<\_ACEOF
41815 #define HAVE_SHL_LOAD 1
41822 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41823 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41824 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41825 echo $ECHO_N "(cached) $ECHO_C" >&6
41827 ac_check_lib_save_LIBS
=$LIBS
41828 LIBS
="-lshl_load $LIBS"
41829 cat >conftest.
$ac_ext <<_ACEOF
41832 cat confdefs.h
>>conftest.
$ac_ext
41833 cat >>conftest.
$ac_ext <<_ACEOF
41834 /* end confdefs.h. */
41836 /* Override any GCC internal prototype to avoid an error.
41837 Use char because int might match the return type of a GCC
41838 builtin and then its argument prototype would still apply. */
41851 rm -f conftest.
$ac_objext conftest
$ac_exeext
41852 if { (ac_try
="$ac_link"
41853 case "(($ac_try" in
41854 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41855 *) ac_try_echo=$ac_try;;
41857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41858 (eval "$ac_link") 2>conftest.er1
41860 grep -v '^ *+' conftest.er1 >conftest.err
41862 cat conftest.err >&5
41863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41864 (exit $ac_status); } && {
41865 test -z "$ac_c_werror_flag" ||
41866 test ! -s conftest.err
41867 } && test -s conftest$ac_exeext &&
41868 $as_test_x conftest$ac_exeext; then
41869 ac_cv_lib_shl_load_dld=yes
41871 echo "$as_me: failed program was:" >&5
41872 sed 's/^/| /' conftest.$ac_ext >&5
41874 ac_cv_lib_shl_load_dld=no
41877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41878 conftest$ac_exeext conftest.$ac_ext
41879 LIBS=$ac_check_lib_save_LIBS
41881 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41882 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41883 if test $ac_cv_lib_shl_load_dld = yes; then
41886 DL_LINK=" -ldld$DL_LINK"
41902 if test "$HAVE_DL_FUNCS" = 1; then
41904 for ac_func in dlerror
41906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41907 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41909 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41910 echo $ECHO_N "(cached) $ECHO_C" >&6
41912 cat >conftest.$ac_ext <<_ACEOF
41915 cat confdefs.h >>conftest.$ac_ext
41916 cat >>conftest.$ac_ext <<_ACEOF
41917 /* end confdefs.h. */
41918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41920 #define $ac_func innocuous_$ac_func
41922 /* System header to define __stub macros and hopefully few prototypes,
41923 which can conflict with char $ac_func (); below.
41924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41925 <limits.h> exists even on freestanding compilers. */
41928 # include <limits.h>
41930 # include <assert.h>
41935 /* Override any GCC internal prototype to avoid an error.
41936 Use char because int might match the return type of a GCC
41937 builtin and then its argument prototype would still apply. */
41942 /* The GNU C library defines this for functions which it implements
41943 to always fail with ENOSYS. Some functions are actually named
41944 something starting with __ and the normal name is an alias. */
41945 #if defined __stub_$ac_func || defined __stub___$ac_func
41952 return $ac_func ();
41957 rm -f conftest.$ac_objext conftest$ac_exeext
41958 if { (ac_try="$ac_link"
41959 case "(($ac_try" in
41960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41961 *) ac_try_echo
=$ac_try;;
41963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41964 (eval "$ac_link") 2>conftest.er1
41966 grep -v '^ *+' conftest.er1
>conftest.err
41968 cat conftest.err
>&5
41969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970 (exit $ac_status); } && {
41971 test -z "$ac_c_werror_flag" ||
41972 test ! -s conftest.err
41973 } && test -s conftest
$ac_exeext &&
41974 $as_test_x conftest
$ac_exeext; then
41975 eval "$as_ac_var=yes"
41977 echo "$as_me: failed program was:" >&5
41978 sed 's/^/| /' conftest.
$ac_ext >&5
41980 eval "$as_ac_var=no"
41983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41984 conftest
$ac_exeext conftest.
$ac_ext
41986 ac_res
=`eval echo '${'$as_ac_var'}'`
41987 { echo "$as_me:$LINENO: result: $ac_res" >&5
41988 echo "${ECHO_T}$ac_res" >&6; }
41989 if test `eval echo '${'$as_ac_var'}'` = yes; then
41990 cat >>confdefs.h
<<_ACEOF
41991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41993 cat >>confdefs.h
<<\_ACEOF
41994 #define HAVE_DLERROR 1
41999 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42000 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42001 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42002 echo $ECHO_N "(cached) $ECHO_C" >&6
42004 ac_check_lib_save_LIBS
=$LIBS
42006 cat >conftest.
$ac_ext <<_ACEOF
42009 cat confdefs.h
>>conftest.
$ac_ext
42010 cat >>conftest.
$ac_ext <<_ACEOF
42011 /* end confdefs.h. */
42013 /* Override any GCC internal prototype to avoid an error.
42014 Use char because int might match the return type of a GCC
42015 builtin and then its argument prototype would still apply. */
42028 rm -f conftest.
$ac_objext conftest
$ac_exeext
42029 if { (ac_try
="$ac_link"
42030 case "(($ac_try" in
42031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42032 *) ac_try_echo=$ac_try;;
42034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42035 (eval "$ac_link") 2>conftest.er1
42037 grep -v '^ *+' conftest.er1 >conftest.err
42039 cat conftest.err >&5
42040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42041 (exit $ac_status); } && {
42042 test -z "$ac_c_werror_flag" ||
42043 test ! -s conftest.err
42044 } && test -s conftest$ac_exeext &&
42045 $as_test_x conftest$ac_exeext; then
42046 ac_cv_lib_dl_dlerror=yes
42048 echo "$as_me: failed program was:" >&5
42049 sed 's/^/| /' conftest.$ac_ext >&5
42051 ac_cv_lib_dl_dlerror=no
42054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42055 conftest$ac_exeext conftest.$ac_ext
42056 LIBS=$ac_check_lib_save_LIBS
42058 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42059 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42060 if test $ac_cv_lib_dl_dlerror = yes; then
42061 cat >>confdefs.h <<\_ACEOF
42062 #define HAVE_DLERROR 1
42075 if test "$USE_DARWIN" = 1; then
42079 if test "$HAVE_DL_FUNCS" = 0; then
42080 if test "$HAVE_SHL_FUNCS" = 0; then
42081 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42082 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42083 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42084 wxUSE_DYNAMIC_LOADER=no
42085 wxUSE_DYNLIB_CLASS=no
42087 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42088 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42095 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42096 cat >>confdefs.h <<\_ACEOF
42097 #define wxUSE_DYNAMIC_LOADER 1
42101 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42102 cat >>confdefs.h <<\_ACEOF
42103 #define wxUSE_DYNLIB_CLASS 1
42110 if test "$wxUSE_PLUGINS" = "yes" ; then
42111 if test "$wxUSE_SHARED" = "no" ; then
42112 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42113 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42116 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42117 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42118 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42121 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42122 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42123 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42126 if test "$wxUSE_PLUGINS" = "yes" ; then
42127 cat >>confdefs.h <<\_ACEOF
42128 #define wxUSE_PLUGINS 1
42135 if test "$wxUSE_STL" = "yes"; then
42136 cat >>confdefs.h <<\_ACEOF
42137 #define wxUSE_STL 1
42142 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42143 cat >>confdefs.h <<\_ACEOF
42144 #define wxUSE_EXTENDED_RTTI 1
42149 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42150 cat >>confdefs.h <<\_ACEOF
42151 #define wxUSE_APPLE_IEEE 1
42156 if test "$wxUSE_TIMER" = "yes"; then
42157 cat >>confdefs.h <<\_ACEOF
42158 #define wxUSE_TIMER 1
42163 if test "$USE_UNIX" = 1 ; then
42164 if test "$wxUSE_MGL" != 1; then
42165 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42166 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42167 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42168 echo $ECHO_N "(cached) $ECHO_C" >&6
42171 cat >conftest.$ac_ext <<_ACEOF
42174 cat confdefs.h >>conftest.$ac_ext
42175 cat >>conftest.$ac_ext <<_ACEOF
42176 /* end confdefs.h. */
42178 #include <sys/ioctl.h>
42179 #include <sys/soundcard.h>
42185 ioctl(0, SNDCTL_DSP_SPEED, 0);
42191 rm -f conftest.$ac_objext conftest$ac_exeext
42192 if { (ac_try="$ac_link"
42193 case "(($ac_try" in
42194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42195 *) ac_try_echo
=$ac_try;;
42197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42198 (eval "$ac_link") 2>conftest.er1
42200 grep -v '^ *+' conftest.er1
>conftest.err
42202 cat conftest.err
>&5
42203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42204 (exit $ac_status); } && {
42205 test -z "$ac_c_werror_flag" ||
42206 test ! -s conftest.err
42207 } && test -s conftest
$ac_exeext &&
42208 $as_test_x conftest
$ac_exeext; then
42209 ac_cv_header_sys_soundcard
=yes
42211 echo "$as_me: failed program was:" >&5
42212 sed 's/^/| /' conftest.
$ac_ext >&5
42216 LIBS
="$saveLibs -lossaudio"
42217 cat >conftest.
$ac_ext <<_ACEOF
42220 cat confdefs.h
>>conftest.
$ac_ext
42221 cat >>conftest.
$ac_ext <<_ACEOF
42222 /* end confdefs.h. */
42224 #include <sys/ioctl.h>
42225 #include <sys/soundcard.h>
42231 ioctl(0, SNDCTL_DSP_SPEED, 0);
42237 rm -f conftest.
$ac_objext conftest
$ac_exeext
42238 if { (ac_try
="$ac_link"
42239 case "(($ac_try" in
42240 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42241 *) ac_try_echo=$ac_try;;
42243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42244 (eval "$ac_link") 2>conftest.er1
42246 grep -v '^ *+' conftest.er1 >conftest.err
42248 cat conftest.err >&5
42249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42250 (exit $ac_status); } && {
42251 test -z "$ac_c_werror_flag" ||
42252 test ! -s conftest.err
42253 } && test -s conftest$ac_exeext &&
42254 $as_test_x conftest$ac_exeext; then
42255 ac_cv_header_sys_soundcard=yes
42257 echo "$as_me: failed program was:" >&5
42258 sed 's/^/| /' conftest.$ac_ext >&5
42262 ac_cv_header_sys_soundcard=no
42267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42268 conftest$ac_exeext conftest.$ac_ext
42273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42274 conftest$ac_exeext conftest.$ac_ext
42277 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42278 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42281 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42282 cat >>confdefs.h <<\_ACEOF
42283 #define HAVE_SYS_SOUNDCARD_H 1
42290 if test "$wxUSE_SOUND" = "yes"; then
42291 if test "$USE_UNIX" = 1 ; then
42292 if test "$wxUSE_LIBSDL" != "no"; then
42294 # Check whether --with-sdl-prefix was given.
42295 if test "${with_sdl_prefix+set}" = set; then
42296 withval=$with_sdl_prefix; sdl_prefix="$withval"
42302 # Check whether --with-sdl-exec-prefix was given.
42303 if test "${with_sdl_exec_prefix+set}" = set; then
42304 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42309 # Check whether --enable-sdltest was given.
42310 if test "${enable_sdltest+set}" = set; then
42311 enableval=$enable_sdltest;
42317 if test x$sdl_exec_prefix != x ; then
42318 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42319 if test x${SDL_CONFIG+set} != xset ; then
42320 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42323 if test x$sdl_prefix != x ; then
42324 sdl_args="$sdl_args --prefix=$sdl_prefix"
42325 if test x${SDL_CONFIG+set} != xset ; then
42326 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42330 if test "x$prefix" != xNONE; then
42331 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42333 # Extract the first word of "sdl-config", so it can be a program name with args.
42334 set dummy sdl-config; ac_word=$2
42335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42337 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42338 echo $ECHO_N "(cached) $ECHO_C" >&6
42340 case $SDL_CONFIG in
42342 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42346 for as_dir in $PATH
42349 test -z "$as_dir" && as_dir=.
42350 for ac_exec_ext in '' $ac_executable_extensions; do
42351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42352 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42360 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42364 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42365 if test -n "$SDL_CONFIG"; then
42366 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42367 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42369 { echo "$as_me:$LINENO: result: no" >&5
42370 echo "${ECHO_T}no" >&6; }
42374 min_sdl_version=1.2.0
42375 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42376 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42378 if test "$SDL_CONFIG" = "no" ; then
42381 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42382 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42384 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42385 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42386 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42387 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42388 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42389 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42390 if test "x$enable_sdltest" = "xyes" ; then
42391 ac_save_CFLAGS="$CFLAGS"
42392 ac_save_CXXFLAGS="$CXXFLAGS"
42393 ac_save_LIBS="$LIBS"
42394 CFLAGS="$CFLAGS $SDL_CFLAGS"
42395 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42396 LIBS="$LIBS $SDL_LIBS"
42398 if test "$cross_compiling" = yes; then
42399 echo $ac_n "cross compiling; assumed OK... $ac_c"
42401 cat >conftest.$ac_ext <<_ACEOF
42404 cat confdefs.h >>conftest.$ac_ext
42405 cat >>conftest.$ac_ext <<_ACEOF
42406 /* end confdefs.h. */
42409 #include <stdlib.h>
42410 #include <string.h>
42414 my_strdup (char *str)
42420 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42421 strcpy (new_str, str);
42429 int main (int argc, char *argv[])
42431 int major, minor, micro;
42434 /* This hangs on some systems (?)
42435 system ("touch conf.sdltest");
42437 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42439 /* HP/UX 9 (%@#!) writes to sscanf strings */
42440 tmp_version = my_strdup("$min_sdl_version");
42441 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42442 printf("%s, bad version string\n", "$min_sdl_version");
42446 if (($sdl_major_version > major) ||
42447 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42448 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42454 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42455 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42456 printf("*** best to upgrade to the required version.\n");
42457 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42458 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42459 printf("*** config.cache before re-running configure\n");
42466 rm -f conftest$ac_exeext
42467 if { (ac_try="$ac_link"
42468 case "(($ac_try" in
42469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42470 *) ac_try_echo
=$ac_try;;
42472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42473 (eval "$ac_link") 2>&5
42475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42476 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42477 { (case "(($ac_try" in
42478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42479 *) ac_try_echo=$ac_try;;
42481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42482 (eval "$ac_try") 2>&5
42484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485 (exit $ac_status); }; }; then
42488 echo "$as_me: program exited with status $ac_status" >&5
42489 echo "$as_me: failed program was:" >&5
42490 sed 's/^/| /' conftest.$ac_ext >&5
42492 ( exit $ac_status )
42495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42499 CFLAGS="$ac_save_CFLAGS"
42500 CXXFLAGS="$ac_save_CXXFLAGS"
42501 LIBS="$ac_save_LIBS"
42504 if test "x$no_sdl" = x ; then
42505 { echo "$as_me:$LINENO: result: yes" >&5
42506 echo "${ECHO_T}yes" >&6; }
42508 EXTRALIBS_SDL="$SDL_LIBS"
42509 CFLAGS="$SDL_CFLAGS $CFLAGS"
42510 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42511 cat >>confdefs.h <<\_ACEOF
42512 #define wxUSE_LIBSDL 1
42517 { echo "$as_me:$LINENO: result: no" >&5
42518 echo "${ECHO_T}no" >&6; }
42519 if test "$SDL_CONFIG" = "no" ; then
42520 echo "*** The sdl-config script installed by SDL could not be found"
42521 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42522 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42523 echo "*** full path to sdl-config."
42525 if test -f conf.sdltest ; then
42528 echo "*** Could not run SDL test program, checking why..."
42529 CFLAGS="$CFLAGS $SDL_CFLAGS"
42530 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42531 LIBS="$LIBS $SDL_LIBS"
42532 cat >conftest.$ac_ext <<_ACEOF
42535 cat confdefs.h >>conftest.$ac_ext
42536 cat >>conftest.$ac_ext <<_ACEOF
42537 /* end confdefs.h. */
42542 int main(int argc, char *argv[])
42545 #define main K_and_R_C_main
42555 rm -f conftest.$ac_objext conftest$ac_exeext
42556 if { (ac_try="$ac_link"
42557 case "(($ac_try" in
42558 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42559 *) ac_try_echo
=$ac_try;;
42561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42562 (eval "$ac_link") 2>conftest.er1
42564 grep -v '^ *+' conftest.er1
>conftest.err
42566 cat conftest.err
>&5
42567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42568 (exit $ac_status); } && {
42569 test -z "$ac_c_werror_flag" ||
42570 test ! -s conftest.err
42571 } && test -s conftest
$ac_exeext &&
42572 $as_test_x conftest
$ac_exeext; then
42573 echo "*** The test program compiled, but did not run. This usually means"
42574 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42575 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42576 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42577 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42578 echo "*** is required on your system"
42580 echo "*** If you have an old version installed, it is best to remove it, although"
42581 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42583 echo "$as_me: failed program was:" >&5
42584 sed 's/^/| /' conftest.
$ac_ext >&5
42586 echo "*** The test program failed to compile or link. See the file config.log for the"
42587 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42588 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42589 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42592 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42593 conftest
$ac_exeext conftest.
$ac_ext
42594 CFLAGS
="$ac_save_CFLAGS"
42595 CXXFLAGS
="$ac_save_CXXFLAGS"
42596 LIBS
="$ac_save_LIBS"
42607 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42612 if test "$wxUSE_MGL" = 1; then
42613 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42614 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42620 if test "$wxUSE_SOUND" = "yes"; then
42621 cat >>confdefs.h
<<\_ACEOF
42622 #define wxUSE_SOUND 1
42625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42628 if test "$WXGTK2" = 1; then
42631 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42632 if test -n "$ac_tool_prefix"; then
42633 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42634 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42637 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42638 echo $ECHO_N "(cached) $ECHO_C" >&6
42640 case $PKG_CONFIG in
42642 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42646 for as_dir
in $PATH
42649 test -z "$as_dir" && as_dir
=.
42650 for ac_exec_ext
in '' $ac_executable_extensions; do
42651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42652 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42663 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42664 if test -n "$PKG_CONFIG"; then
42665 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42666 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42668 { echo "$as_me:$LINENO: result: no" >&5
42669 echo "${ECHO_T}no" >&6; }
42674 if test -z "$ac_cv_path_PKG_CONFIG"; then
42675 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42676 # Extract the first word of "pkg-config", so it can be a program name with args.
42677 set dummy pkg
-config; ac_word
=$2
42678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42680 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42681 echo $ECHO_N "(cached) $ECHO_C" >&6
42683 case $ac_pt_PKG_CONFIG in
42685 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42689 for as_dir
in $PATH
42692 test -z "$as_dir" && as_dir
=.
42693 for ac_exec_ext
in '' $ac_executable_extensions; do
42694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42695 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42706 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42707 if test -n "$ac_pt_PKG_CONFIG"; then
42708 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42709 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42711 { echo "$as_me:$LINENO: result: no" >&5
42712 echo "${ECHO_T}no" >&6; }
42715 if test "x$ac_pt_PKG_CONFIG" = x
; then
42718 case $cross_compiling:$ac_tool_warned in
42720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42721 whose name does not start with the host triplet. If you think this
42722 configuration is useful to you, please write to autoconf@gnu.org." >&5
42723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42724 whose name does not start with the host triplet. If you think this
42725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42726 ac_tool_warned
=yes ;;
42728 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42731 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42735 if test -n "$PKG_CONFIG"; then
42736 _pkg_min_version
=0.9.0
42737 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42738 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42739 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42740 { echo "$as_me:$LINENO: result: yes" >&5
42741 echo "${ECHO_T}yes" >&6; }
42743 { echo "$as_me:$LINENO: result: no" >&5
42744 echo "${ECHO_T}no" >&6; }
42750 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42752 if test "$wxUSE_GTKPRINT" = "yes" ; then
42756 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42757 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42759 if test -n "$PKG_CONFIG"; then
42760 if test -n "$GTKPRINT_CFLAGS"; then
42761 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42763 if test -n "$PKG_CONFIG" && \
42764 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42765 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42768 (exit $ac_status); }; then
42769 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42777 if test -n "$PKG_CONFIG"; then
42778 if test -n "$GTKPRINT_LIBS"; then
42779 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42781 if test -n "$PKG_CONFIG" && \
42782 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42783 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42786 (exit $ac_status); }; then
42787 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42798 if test $pkg_failed = yes; then
42800 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42801 _pkg_short_errors_supported
=yes
42803 _pkg_short_errors_supported
=no
42805 if test $_pkg_short_errors_supported = yes; then
42806 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42808 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42810 # Put the nasty error message in config.log where it belongs
42811 echo "$GTKPRINT_PKG_ERRORS" >&5
42814 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42815 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42816 wxUSE_GTKPRINT
="no"
42819 elif test $pkg_failed = untried
; then
42821 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42822 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42823 wxUSE_GTKPRINT
="no"
42827 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42828 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42829 { echo "$as_me:$LINENO: result: yes" >&5
42830 echo "${ECHO_T}yes" >&6; }
42832 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42833 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42834 cat >>confdefs.h
<<\_ACEOF
42835 #define wxUSE_GTKPRINT 1
42842 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42846 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42847 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42849 if test -n "$PKG_CONFIG"; then
42850 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42851 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42853 if test -n "$PKG_CONFIG" && \
42854 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42855 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42858 (exit $ac_status); }; then
42859 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42867 if test -n "$PKG_CONFIG"; then
42868 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42869 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42871 if test -n "$PKG_CONFIG" && \
42872 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42873 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42876 (exit $ac_status); }; then
42877 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42888 if test $pkg_failed = yes; then
42890 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42891 _pkg_short_errors_supported
=yes
42893 _pkg_short_errors_supported
=no
42895 if test $_pkg_short_errors_supported = yes; then
42896 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42898 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42900 # Put the nasty error message in config.log where it belongs
42901 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42904 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42905 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42906 wxUSE_LIBGNOMEPRINT
="no"
42909 elif test $pkg_failed = untried
; then
42911 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42912 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42913 wxUSE_LIBGNOMEPRINT
="no"
42917 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42918 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42919 { echo "$as_me:$LINENO: result: yes" >&5
42920 echo "${ECHO_T}yes" >&6; }
42922 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42923 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42924 cat >>confdefs.h
<<\_ACEOF
42925 #define wxUSE_LIBGNOMEPRINT 1
42933 if test "$wxUSE_MIMETYPE" = "yes" ; then
42934 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42938 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42939 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42941 if test -n "$PKG_CONFIG"; then
42942 if test -n "$GNOMEVFS_CFLAGS"; then
42943 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42945 if test -n "$PKG_CONFIG" && \
42946 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42947 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42950 (exit $ac_status); }; then
42951 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42959 if test -n "$PKG_CONFIG"; then
42960 if test -n "$GNOMEVFS_LIBS"; then
42961 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42963 if test -n "$PKG_CONFIG" && \
42964 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42965 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42968 (exit $ac_status); }; then
42969 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42980 if test $pkg_failed = yes; then
42982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42983 _pkg_short_errors_supported
=yes
42985 _pkg_short_errors_supported
=no
42987 if test $_pkg_short_errors_supported = yes; then
42988 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42990 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42992 # Put the nasty error message in config.log where it belongs
42993 echo "$GNOMEVFS_PKG_ERRORS" >&5
42996 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42997 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42998 wxUSE_LIBGNOMEVFS
="no"
43001 elif test $pkg_failed = untried
; then
43003 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43004 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43005 wxUSE_LIBGNOMEVFS
="no"
43009 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43010 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43011 { echo "$as_me:$LINENO: result: yes" >&5
43012 echo "${ECHO_T}yes" >&6; }
43014 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43015 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43016 cat >>confdefs.h
<<\_ACEOF
43017 #define wxUSE_LIBGNOMEVFS 1
43025 if test "$wxUSE_LIBHILDON" = "yes" ; then
43028 { echo "$as_me:$LINENO: checking for HILDON" >&5
43029 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43031 if test -n "$PKG_CONFIG"; then
43032 if test -n "$HILDON_CFLAGS"; then
43033 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43035 if test -n "$PKG_CONFIG" && \
43036 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43037 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); }; then
43041 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43049 if test -n "$PKG_CONFIG"; then
43050 if test -n "$HILDON_LIBS"; then
43051 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43053 if test -n "$PKG_CONFIG" && \
43054 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43055 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058 (exit $ac_status); }; then
43059 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43070 if test $pkg_failed = yes; then
43072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43073 _pkg_short_errors_supported
=yes
43075 _pkg_short_errors_supported
=no
43077 if test $_pkg_short_errors_supported = yes; then
43078 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43080 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43082 # Put the nasty error message in config.log where it belongs
43083 echo "$HILDON_PKG_ERRORS" >&5
43086 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43087 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43088 wxUSE_LIBHILDON
="no"
43091 elif test $pkg_failed = untried
; then
43093 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43094 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43095 wxUSE_LIBHILDON
="no"
43099 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43100 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43101 { echo "$as_me:$LINENO: result: yes" >&5
43102 echo "${ECHO_T}yes" >&6; }
43104 EXTRALIBS_HILDON
="$HILDON_LIBS"
43105 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43106 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43107 cat >>confdefs.h
<<\_ACEOF
43108 #define wxUSE_LIBHILDON 1
43116 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43117 cat >>confdefs.h
<<\_ACEOF
43118 #define wxUSE_CMDLINE_PARSER 1
43123 if test "$wxUSE_STOPWATCH" = "yes"; then
43124 cat >>confdefs.h
<<\_ACEOF
43125 #define wxUSE_STOPWATCH 1
43130 if test "$wxUSE_DATETIME" = "yes"; then
43131 cat >>confdefs.h
<<\_ACEOF
43132 #define wxUSE_DATETIME 1
43137 if test "$wxUSE_FILE" = "yes"; then
43138 cat >>confdefs.h
<<\_ACEOF
43139 #define wxUSE_FILE 1
43144 if test "$wxUSE_FFILE" = "yes"; then
43145 cat >>confdefs.h
<<\_ACEOF
43146 #define wxUSE_FFILE 1
43151 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43152 if test "$wxUSE_STREAMS" != yes; then
43153 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43154 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43155 wxUSE_ARCHIVE_STREAMS
=no
43157 cat >>confdefs.h
<<\_ACEOF
43158 #define wxUSE_ARCHIVE_STREAMS 1
43164 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43165 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43166 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43167 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43168 elif test "$wxUSE_ZLIB" = "no"; then
43169 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43170 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43172 cat >>confdefs.h
<<\_ACEOF
43173 #define wxUSE_ZIPSTREAM 1
43179 if test "$wxUSE_TARSTREAM" = "yes"; then
43180 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43181 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43182 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43184 cat >>confdefs.h
<<\_ACEOF
43185 #define wxUSE_TARSTREAM 1
43191 if test "$wxUSE_FILESYSTEM" = "yes"; then
43192 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43193 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43194 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43195 wxUSE_FILESYSTEM
=no
43197 cat >>confdefs.h
<<\_ACEOF
43198 #define wxUSE_FILESYSTEM 1
43204 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43205 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43206 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43207 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43209 cat >>confdefs.h
<<\_ACEOF
43210 #define wxUSE_FS_ARCHIVE 1
43216 if test "$wxUSE_FS_ZIP" = "yes"; then
43217 if test "$wxUSE_FS_ARCHIVE" != yes; then
43218 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43219 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43221 cat >>confdefs.h
<<\_ACEOF
43222 #define wxUSE_FS_ZIP 1
43228 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43229 if test "$USE_UNIX" != 1; then
43230 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43231 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43232 wxUSE_ON_FATAL_EXCEPTION
=no
43234 cat >>confdefs.h
<<\_ACEOF
43235 #define wxUSE_ON_FATAL_EXCEPTION 1
43241 if test "$wxUSE_STACKWALKER" = "yes"; then
43242 cat >>confdefs.h
<<\_ACEOF
43243 #define wxUSE_STACKWALKER 1
43248 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43249 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43250 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43251 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43252 wxUSE_DEBUGREPORT
=no
43254 cat >>confdefs.h
<<\_ACEOF
43255 #define wxUSE_DEBUGREPORT 1
43258 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43264 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43265 cat >>confdefs.h
<<\_ACEOF
43266 #define wxUSE_SNGLINST_CHECKER 1
43271 if test "$wxUSE_BUSYINFO" = "yes"; then
43272 cat >>confdefs.h
<<\_ACEOF
43273 #define wxUSE_BUSYINFO 1
43278 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43279 cat >>confdefs.h
<<\_ACEOF
43280 #define wxUSE_STD_IOSTREAM 1
43285 if test "$wxUSE_STD_STRING" = "yes"; then
43286 cat >>confdefs.h
<<\_ACEOF
43287 #define wxUSE_STD_STRING 1
43292 if test "$wxUSE_STDPATHS" = "yes"; then
43293 cat >>confdefs.h
<<\_ACEOF
43294 #define wxUSE_STDPATHS 1
43299 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43300 cat >>confdefs.h
<<\_ACEOF
43301 #define wxUSE_TEXTBUFFER 1
43306 if test "$wxUSE_TEXTFILE" = "yes"; then
43307 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43308 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43309 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43311 cat >>confdefs.h
<<\_ACEOF
43312 #define wxUSE_TEXTFILE 1
43318 if test "$wxUSE_CONFIG" = "yes" ; then
43319 if test "$wxUSE_TEXTFILE" != "yes"; then
43320 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43321 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43323 cat >>confdefs.h
<<\_ACEOF
43324 #define wxUSE_CONFIG 1
43327 cat >>confdefs.h
<<\_ACEOF
43328 #define wxUSE_CONFIG_NATIVE 1
43331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43335 if test "$wxUSE_INTL" = "yes" ; then
43336 if test "$wxUSE_FILE" != "yes"; then
43337 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43338 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43340 cat >>confdefs.h
<<\_ACEOF
43341 #define wxUSE_INTL 1
43344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43345 GUIDIST
="$GUIDIST INTL_DIST"
43349 if test "$wxUSE_XLOCALE" = "yes" ; then
43350 cat >>confdefs.h
<<\_ACEOF
43351 #define wxUSE_XLOCALE 1
43354 { echo "$as_me:$LINENO: checking for locale_t" >&5
43355 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43356 if test "${ac_cv_type_locale_t+set}" = set; then
43357 echo $ECHO_N "(cached) $ECHO_C" >&6
43359 cat >conftest.
$ac_ext <<_ACEOF
43362 cat confdefs.h
>>conftest.
$ac_ext
43363 cat >>conftest.
$ac_ext <<_ACEOF
43364 /* end confdefs.h. */
43365 #include <xlocale.h>
43366 #include <locale.h>
43368 typedef locale_t ac__type_new_;
43372 if ((ac__type_new_ *) 0)
43374 if (sizeof (ac__type_new_))
43380 rm -f conftest.
$ac_objext
43381 if { (ac_try
="$ac_compile"
43382 case "(($ac_try" in
43383 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43384 *) ac_try_echo=$ac_try;;
43386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43387 (eval "$ac_compile") 2>conftest.er1
43389 grep -v '^ *+' conftest.er1 >conftest.err
43391 cat conftest.err >&5
43392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43393 (exit $ac_status); } && {
43394 test -z "$ac_c_werror_flag" ||
43395 test ! -s conftest.err
43396 } && test -s conftest.$ac_objext; then
43397 ac_cv_type_locale_t=yes
43399 echo "$as_me: failed program was:" >&5
43400 sed 's/^/| /' conftest.$ac_ext >&5
43402 ac_cv_type_locale_t=no
43405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43407 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43408 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43409 if test $ac_cv_type_locale_t = yes; then
43411 cat >>confdefs.h <<_ACEOF
43412 #define HAVE_LOCALE_T 1
43420 if test "$wxUSE_LOG" = "yes"; then
43421 cat >>confdefs.h <<\_ACEOF
43422 #define wxUSE_LOG 1
43426 if test "$wxUSE_LOGGUI" = "yes"; then
43427 cat >>confdefs.h <<\_ACEOF
43428 #define wxUSE_LOGGUI 1
43433 if test "$wxUSE_LOGWINDOW" = "yes"; then
43434 cat >>confdefs.h <<\_ACEOF
43435 #define wxUSE_LOGWINDOW 1
43440 if test "$wxUSE_LOGDIALOG" = "yes"; then
43441 cat >>confdefs.h <<\_ACEOF
43442 #define wxUSE_LOG_DIALOG 1
43447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43450 if test "$wxUSE_LONGLONG" = "yes"; then
43451 cat >>confdefs.h <<\_ACEOF
43452 #define wxUSE_LONGLONG 1
43457 if test "$wxUSE_GEOMETRY" = "yes"; then
43458 cat >>confdefs.h <<\_ACEOF
43459 #define wxUSE_GEOMETRY 1
43464 if test "$wxUSE_BASE64" = "yes"; then
43465 cat >>confdefs.h <<\_ACEOF
43466 #define wxUSE_BASE64 1
43471 if test "$wxUSE_STREAMS" = "yes" ; then
43472 cat >>confdefs.h <<\_ACEOF
43473 #define wxUSE_STREAMS 1
43478 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43479 cat >>confdefs.h <<\_ACEOF
43480 #define wxUSE_PRINTF_POS_PARAMS 1
43485 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43486 cat >>confdefs.h <<\_ACEOF
43487 #define wxUSE_OBJC_UNIQUIFYING 1
43493 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_CONSOLE_EVENTLOOP 1
43499 if test "$wxUSE_UNIX" = "yes"; then
43500 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43501 cat >>confdefs.h <<\_ACEOF
43502 #define wxUSE_SELECT_DISPATCHER 1
43507 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43509 for ac_header in sys/epoll.h
43511 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43512 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43515 echo $ECHO_N "(cached) $ECHO_C" >&6
43517 cat >conftest.$ac_ext <<_ACEOF
43520 cat confdefs.h >>conftest.$ac_ext
43521 cat >>conftest.$ac_ext <<_ACEOF
43522 /* end confdefs.h. */
43523 $ac_includes_default
43525 #include <$ac_header>
43527 rm -f conftest.$ac_objext
43528 if { (ac_try="$ac_compile"
43529 case "(($ac_try" in
43530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43531 *) ac_try_echo
=$ac_try;;
43533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43534 (eval "$ac_compile") 2>conftest.er1
43536 grep -v '^ *+' conftest.er1
>conftest.err
43538 cat conftest.err
>&5
43539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43540 (exit $ac_status); } && {
43541 test -z "$ac_c_werror_flag" ||
43542 test ! -s conftest.err
43543 } && test -s conftest.
$ac_objext; then
43544 eval "$as_ac_Header=yes"
43546 echo "$as_me: failed program was:" >&5
43547 sed 's/^/| /' conftest.
$ac_ext >&5
43549 eval "$as_ac_Header=no"
43552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43554 ac_res
=`eval echo '${'$as_ac_Header'}'`
43555 { echo "$as_me:$LINENO: result: $ac_res" >&5
43556 echo "${ECHO_T}$ac_res" >&6; }
43557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43558 cat >>confdefs.h
<<_ACEOF
43559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43566 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43567 cat >>confdefs.h
<<\_ACEOF
43568 #define wxUSE_EPOLL_DISPATCHER 1
43572 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43573 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43582 for ac_func
in gettimeofday ftime
43584 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43585 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43587 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43588 echo $ECHO_N "(cached) $ECHO_C" >&6
43590 cat >conftest.
$ac_ext <<_ACEOF
43593 cat confdefs.h
>>conftest.
$ac_ext
43594 cat >>conftest.
$ac_ext <<_ACEOF
43595 /* end confdefs.h. */
43596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43598 #define $ac_func innocuous_$ac_func
43600 /* System header to define __stub macros and hopefully few prototypes,
43601 which can conflict with char $ac_func (); below.
43602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43603 <limits.h> exists even on freestanding compilers. */
43606 # include <limits.h>
43608 # include <assert.h>
43613 /* Override any GCC internal prototype to avoid an error.
43614 Use char because int might match the return type of a GCC
43615 builtin and then its argument prototype would still apply. */
43620 /* The GNU C library defines this for functions which it implements
43621 to always fail with ENOSYS. Some functions are actually named
43622 something starting with __ and the normal name is an alias. */
43623 #if defined __stub_$ac_func || defined __stub___$ac_func
43630 return $ac_func ();
43635 rm -f conftest.
$ac_objext conftest
$ac_exeext
43636 if { (ac_try
="$ac_link"
43637 case "(($ac_try" in
43638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43639 *) ac_try_echo=$ac_try;;
43641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43642 (eval "$ac_link") 2>conftest.er1
43644 grep -v '^ *+' conftest.er1 >conftest.err
43646 cat conftest.err >&5
43647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43648 (exit $ac_status); } && {
43649 test -z "$ac_c_werror_flag" ||
43650 test ! -s conftest.err
43651 } && test -s conftest$ac_exeext &&
43652 $as_test_x conftest$ac_exeext; then
43653 eval "$as_ac_var=yes"
43655 echo "$as_me: failed program was:" >&5
43656 sed 's/^/| /' conftest.$ac_ext >&5
43658 eval "$as_ac_var=no"
43661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43662 conftest$ac_exeext conftest.$ac_ext
43664 ac_res=`eval echo '${'$as_ac_var'}'`
43665 { echo "$as_me:$LINENO: result: $ac_res" >&5
43666 echo "${ECHO_T}$ac_res" >&6; }
43667 if test `eval echo '${'$as_ac_var'}'` = yes; then
43668 cat >>confdefs.h <<_ACEOF
43669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43676 if test "$ac_cv_func_gettimeofday" = "yes"; then
43677 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43678 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43679 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43680 echo $ECHO_N "(cached) $ECHO_C" >&6
43683 cat >conftest.$ac_ext <<_ACEOF
43686 cat confdefs.h >>conftest.$ac_ext
43687 cat >>conftest.$ac_ext <<_ACEOF
43688 /* end confdefs.h. */
43690 #include <sys/time.h>
43691 #include <unistd.h>
43698 gettimeofday(&tv, NULL);
43704 rm -f conftest.$ac_objext
43705 if { (ac_try="$ac_compile"
43706 case "(($ac_try" in
43707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43708 *) ac_try_echo
=$ac_try;;
43710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43711 (eval "$ac_compile") 2>conftest.er1
43713 grep -v '^ *+' conftest.er1
>conftest.err
43715 cat conftest.err
>&5
43716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43717 (exit $ac_status); } && {
43718 test -z "$ac_c_werror_flag" ||
43719 test ! -s conftest.err
43720 } && test -s conftest.
$ac_objext; then
43721 wx_cv_func_gettimeofday_has_2_args
=yes
43723 echo "$as_me: failed program was:" >&5
43724 sed 's/^/| /' conftest.
$ac_ext >&5
43726 cat >conftest.
$ac_ext <<_ACEOF
43729 cat confdefs.h
>>conftest.
$ac_ext
43730 cat >>conftest.
$ac_ext <<_ACEOF
43731 /* end confdefs.h. */
43733 #include <sys/time.h>
43734 #include <unistd.h>
43747 rm -f conftest.
$ac_objext
43748 if { (ac_try
="$ac_compile"
43749 case "(($ac_try" in
43750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43751 *) ac_try_echo=$ac_try;;
43753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43754 (eval "$ac_compile") 2>conftest.er1
43756 grep -v '^ *+' conftest.er1 >conftest.err
43758 cat conftest.err >&5
43759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760 (exit $ac_status); } && {
43761 test -z "$ac_c_werror_flag" ||
43762 test ! -s conftest.err
43763 } && test -s conftest.$ac_objext; then
43764 wx_cv_func_gettimeofday_has_2_args=no
43766 echo "$as_me: failed program was:" >&5
43767 sed 's/^/| /' conftest.$ac_ext >&5
43770 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43771 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43772 wx_cv_func_gettimeofday_has_2_args=unknown
43777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43784 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43785 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43787 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43788 cat >>confdefs.h <<\_ACEOF
43789 #define WX_GETTIMEOFDAY_NO_TZ 1
43795 if test "$wxUSE_DATETIME" = "yes"; then
43796 { echo "$as_me:$LINENO: checking for strptime" >&5
43797 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43798 if test "${ac_cv_func_strptime+set}" = set; then
43799 echo $ECHO_N "(cached) $ECHO_C" >&6
43801 cat >conftest.$ac_ext <<_ACEOF
43804 cat confdefs.h >>conftest.$ac_ext
43805 cat >>conftest.$ac_ext <<_ACEOF
43806 /* end confdefs.h. */
43807 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43809 #define strptime innocuous_strptime
43811 /* System header to define __stub macros and hopefully few prototypes,
43812 which can conflict with char strptime (); below.
43813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43814 <limits.h> exists even on freestanding compilers. */
43817 # include <limits.h>
43819 # include <assert.h>
43824 /* Override any GCC internal prototype to avoid an error.
43825 Use char because int might match the return type of a GCC
43826 builtin and then its argument prototype would still apply. */
43831 /* The GNU C library defines this for functions which it implements
43832 to always fail with ENOSYS. Some functions are actually named
43833 something starting with __ and the normal name is an alias. */
43834 #if defined __stub_strptime || defined __stub___strptime
43841 return strptime ();
43846 rm -f conftest.$ac_objext conftest$ac_exeext
43847 if { (ac_try="$ac_link"
43848 case "(($ac_try" in
43849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43850 *) ac_try_echo
=$ac_try;;
43852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43853 (eval "$ac_link") 2>conftest.er1
43855 grep -v '^ *+' conftest.er1
>conftest.err
43857 cat conftest.err
>&5
43858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859 (exit $ac_status); } && {
43860 test -z "$ac_c_werror_flag" ||
43861 test ! -s conftest.err
43862 } && test -s conftest
$ac_exeext &&
43863 $as_test_x conftest
$ac_exeext; then
43864 ac_cv_func_strptime
=yes
43866 echo "$as_me: failed program was:" >&5
43867 sed 's/^/| /' conftest.
$ac_ext >&5
43869 ac_cv_func_strptime
=no
43872 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43873 conftest
$ac_exeext conftest.
$ac_ext
43875 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43876 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43878 if test "$ac_cv_func_strptime" = "yes"; then
43879 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43880 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43881 if test "${wx_cv_func_strptime_decl+set}" = set; then
43882 echo $ECHO_N "(cached) $ECHO_C" >&6
43886 ac_cpp
='$CXXCPP $CPPFLAGS'
43887 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43888 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43889 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43891 cat >conftest.
$ac_ext <<_ACEOF
43894 cat confdefs.h
>>conftest.
$ac_ext
43895 cat >>conftest.
$ac_ext <<_ACEOF
43896 /* end confdefs.h. */
43905 strptime("foo", "bar", &t);
43911 rm -f conftest.
$ac_objext
43912 if { (ac_try
="$ac_compile"
43913 case "(($ac_try" in
43914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43915 *) ac_try_echo=$ac_try;;
43917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43918 (eval "$ac_compile") 2>conftest.er1
43920 grep -v '^ *+' conftest.er1 >conftest.err
43922 cat conftest.err >&5
43923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43924 (exit $ac_status); } && {
43925 test -z "$ac_cxx_werror_flag" ||
43926 test ! -s conftest.err
43927 } && test -s conftest.$ac_objext; then
43928 wx_cv_func_strptime_decl=yes
43930 echo "$as_me: failed program was:" >&5
43931 sed 's/^/| /' conftest.$ac_ext >&5
43933 wx_cv_func_strptime_decl=no
43937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43939 ac_cpp='$CPP $CPPFLAGS'
43940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43947 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43948 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43950 if test "$wx_cv_func_strptime_decl" = "yes"; then
43951 cat >>confdefs.h <<\_ACEOF
43952 #define HAVE_STRPTIME_DECL 1
43956 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43958 if test "$ac_cv_func_strptime" = "yes"; then
43959 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43960 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43961 if test "${wx_cv_func_strptime_ok+set}" = set; then
43962 echo $ECHO_N "(cached) $ECHO_C" >&6
43964 if test "$cross_compiling" = yes; then
43965 wx_cv_func_strptime_ok=no
43968 cat >conftest.$ac_ext <<_ACEOF
43970 #include <stdlib.h>
43972 #include "confdefs.h"
43979 return !!strptime("", "%x", &t);
43983 rm -f conftest$ac_exeext
43984 if { (ac_try="$ac_link"
43985 case "(($ac_try" in
43986 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43987 *) ac_try_echo
=$ac_try;;
43989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43990 (eval "$ac_link") 2>&5
43992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43994 { (case "(($ac_try" in
43995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43996 *) ac_try_echo=$ac_try;;
43998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43999 (eval "$ac_try") 2>&5
44001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44002 (exit $ac_status); }; }; then
44003 wx_cv_func_strptime_ok=yes
44005 echo "$as_me: program exited with status $ac_status" >&5
44006 echo "$as_me: failed program was:" >&5
44007 sed 's/^/| /' conftest.$ac_ext >&5
44009 ( exit $ac_status )
44010 wx_cv_func_strptime_ok=no
44012 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44018 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44019 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44021 if test "$wx_cv_func_strptime_ok" = "yes"; then
44022 cat >>confdefs.h <<\_ACEOF
44023 #define HAVE_STRPTIME 1
44029 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44030 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44031 if test "${wx_cv_var_timezone+set}" = set; then
44032 echo $ECHO_N "(cached) $ECHO_C" >&6
44036 ac_cpp='$CXXCPP $CPPFLAGS'
44037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44041 cat >conftest.$ac_ext <<_ACEOF
44044 cat confdefs.h >>conftest.$ac_ext
44045 cat >>conftest.$ac_ext <<_ACEOF
44046 /* end confdefs.h. */
44061 rm -f conftest.$ac_objext
44062 if { (ac_try="$ac_compile"
44063 case "(($ac_try" in
44064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44065 *) ac_try_echo
=$ac_try;;
44067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44068 (eval "$ac_compile") 2>conftest.er1
44070 grep -v '^ *+' conftest.er1
>conftest.err
44072 cat conftest.err
>&5
44073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074 (exit $ac_status); } && {
44075 test -z "$ac_cxx_werror_flag" ||
44076 test ! -s conftest.err
44077 } && test -s conftest.
$ac_objext; then
44079 wx_cv_var_timezone
=timezone
44082 echo "$as_me: failed program was:" >&5
44083 sed 's/^/| /' conftest.
$ac_ext >&5
44086 cat >conftest.
$ac_ext <<_ACEOF
44089 cat confdefs.h
>>conftest.
$ac_ext
44090 cat >>conftest.
$ac_ext <<_ACEOF
44091 /* end confdefs.h. */
44106 rm -f conftest.
$ac_objext
44107 if { (ac_try
="$ac_compile"
44108 case "(($ac_try" in
44109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44110 *) ac_try_echo=$ac_try;;
44112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44113 (eval "$ac_compile") 2>conftest.er1
44115 grep -v '^ *+' conftest.er1 >conftest.err
44117 cat conftest.err >&5
44118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44119 (exit $ac_status); } && {
44120 test -z "$ac_cxx_werror_flag" ||
44121 test ! -s conftest.err
44122 } && test -s conftest.$ac_objext; then
44124 wx_cv_var_timezone=_timezone
44127 echo "$as_me: failed program was:" >&5
44128 sed 's/^/| /' conftest.$ac_ext >&5
44131 cat >conftest.$ac_ext <<_ACEOF
44134 cat confdefs.h >>conftest.$ac_ext
44135 cat >>conftest.$ac_ext <<_ACEOF
44136 /* end confdefs.h. */
44151 rm -f conftest.$ac_objext
44152 if { (ac_try="$ac_compile"
44153 case "(($ac_try" in
44154 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44155 *) ac_try_echo
=$ac_try;;
44157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44158 (eval "$ac_compile") 2>conftest.er1
44160 grep -v '^ *+' conftest.er1
>conftest.err
44162 cat conftest.err
>&5
44163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164 (exit $ac_status); } && {
44165 test -z "$ac_cxx_werror_flag" ||
44166 test ! -s conftest.err
44167 } && test -s conftest.
$ac_objext; then
44169 wx_cv_var_timezone
=__timezone
44172 echo "$as_me: failed program was:" >&5
44173 sed 's/^/| /' conftest.
$ac_ext >&5
44176 if test "$USE_DOS" = 0 ; then
44177 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44178 echo "$as_me: WARNING: no timezone variable" >&2;}
44184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44196 ac_cpp
='$CPP $CPPFLAGS'
44197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44204 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44205 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44207 if test "x$wx_cv_var_timezone" != x
; then
44208 cat >>confdefs.h
<<_ACEOF
44209 #define WX_TIMEZONE $wx_cv_var_timezone
44215 for ac_func
in localtime
44217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44220 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44221 echo $ECHO_N "(cached) $ECHO_C" >&6
44223 cat >conftest.
$ac_ext <<_ACEOF
44226 cat confdefs.h
>>conftest.
$ac_ext
44227 cat >>conftest.
$ac_ext <<_ACEOF
44228 /* end confdefs.h. */
44229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44231 #define $ac_func innocuous_$ac_func
44233 /* System header to define __stub macros and hopefully few prototypes,
44234 which can conflict with char $ac_func (); below.
44235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44236 <limits.h> exists even on freestanding compilers. */
44239 # include <limits.h>
44241 # include <assert.h>
44246 /* Override any GCC internal prototype to avoid an error.
44247 Use char because int might match the return type of a GCC
44248 builtin and then its argument prototype would still apply. */
44253 /* The GNU C library defines this for functions which it implements
44254 to always fail with ENOSYS. Some functions are actually named
44255 something starting with __ and the normal name is an alias. */
44256 #if defined __stub_$ac_func || defined __stub___$ac_func
44263 return $ac_func ();
44268 rm -f conftest.
$ac_objext conftest
$ac_exeext
44269 if { (ac_try
="$ac_link"
44270 case "(($ac_try" in
44271 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44272 *) ac_try_echo=$ac_try;;
44274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44275 (eval "$ac_link") 2>conftest.er1
44277 grep -v '^ *+' conftest.er1 >conftest.err
44279 cat conftest.err >&5
44280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281 (exit $ac_status); } && {
44282 test -z "$ac_c_werror_flag" ||
44283 test ! -s conftest.err
44284 } && test -s conftest$ac_exeext &&
44285 $as_test_x conftest$ac_exeext; then
44286 eval "$as_ac_var=yes"
44288 echo "$as_me: failed program was:" >&5
44289 sed 's/^/| /' conftest.$ac_ext >&5
44291 eval "$as_ac_var=no"
44294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44295 conftest$ac_exeext conftest.$ac_ext
44297 ac_res=`eval echo '${'$as_ac_var'}'`
44298 { echo "$as_me:$LINENO: result: $ac_res" >&5
44299 echo "${ECHO_T}$ac_res" >&6; }
44300 if test `eval echo '${'$as_ac_var'}'` = yes; then
44301 cat >>confdefs.h <<_ACEOF
44302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44309 if test "$ac_cv_func_localtime" = "yes"; then
44310 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44311 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44312 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44313 echo $ECHO_N "(cached) $ECHO_C" >&6
44316 cat >conftest.$ac_ext <<_ACEOF
44319 cat confdefs.h >>conftest.$ac_ext
44320 cat >>conftest.$ac_ext <<_ACEOF
44321 /* end confdefs.h. */
44336 rm -f conftest.$ac_objext
44337 if { (ac_try="$ac_compile"
44338 case "(($ac_try" in
44339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44340 *) ac_try_echo
=$ac_try;;
44342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44343 (eval "$ac_compile") 2>conftest.er1
44345 grep -v '^ *+' conftest.er1
>conftest.err
44347 cat conftest.err
>&5
44348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44349 (exit $ac_status); } && {
44350 test -z "$ac_c_werror_flag" ||
44351 test ! -s conftest.err
44352 } && test -s conftest.
$ac_objext; then
44354 wx_cv_struct_tm_has_gmtoff
=yes
44357 echo "$as_me: failed program was:" >&5
44358 sed 's/^/| /' conftest.
$ac_ext >&5
44360 wx_cv_struct_tm_has_gmtoff
=no
44364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44367 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44368 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44371 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44372 cat >>confdefs.h
<<\_ACEOF
44373 #define WX_GMTOFF_IN_TM 1
44378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44382 if test "$wxUSE_SOCKETS" = "yes"; then
44383 if test "$wxUSE_MGL" = 1; then
44384 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44385 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44390 if test "$wxUSE_SOCKETS" = "yes"; then
44391 if test "$TOOLKIT" != "MSW"; then
44392 { echo "$as_me:$LINENO: checking for socket" >&5
44393 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44394 if test "${ac_cv_func_socket+set}" = set; then
44395 echo $ECHO_N "(cached) $ECHO_C" >&6
44397 cat >conftest.
$ac_ext <<_ACEOF
44400 cat confdefs.h
>>conftest.
$ac_ext
44401 cat >>conftest.
$ac_ext <<_ACEOF
44402 /* end confdefs.h. */
44403 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44405 #define socket innocuous_socket
44407 /* System header to define __stub macros and hopefully few prototypes,
44408 which can conflict with char socket (); below.
44409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44410 <limits.h> exists even on freestanding compilers. */
44413 # include <limits.h>
44415 # include <assert.h>
44420 /* Override any GCC internal prototype to avoid an error.
44421 Use char because int might match the return type of a GCC
44422 builtin and then its argument prototype would still apply. */
44427 /* The GNU C library defines this for functions which it implements
44428 to always fail with ENOSYS. Some functions are actually named
44429 something starting with __ and the normal name is an alias. */
44430 #if defined __stub_socket || defined __stub___socket
44442 rm -f conftest.
$ac_objext conftest
$ac_exeext
44443 if { (ac_try
="$ac_link"
44444 case "(($ac_try" in
44445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44446 *) ac_try_echo=$ac_try;;
44448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44449 (eval "$ac_link") 2>conftest.er1
44451 grep -v '^ *+' conftest.er1 >conftest.err
44453 cat conftest.err >&5
44454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44455 (exit $ac_status); } && {
44456 test -z "$ac_c_werror_flag" ||
44457 test ! -s conftest.err
44458 } && test -s conftest$ac_exeext &&
44459 $as_test_x conftest$ac_exeext; then
44460 ac_cv_func_socket=yes
44462 echo "$as_me: failed program was:" >&5
44463 sed 's/^/| /' conftest.$ac_ext >&5
44465 ac_cv_func_socket=no
44468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44469 conftest$ac_exeext conftest.$ac_ext
44471 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44472 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44473 if test $ac_cv_func_socket = yes; then
44477 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44478 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44479 if test "${ac_cv_lib_socket_socket+set}" = set; then
44480 echo $ECHO_N "(cached) $ECHO_C" >&6
44482 ac_check_lib_save_LIBS=$LIBS
44483 LIBS="-lsocket $LIBS"
44484 cat >conftest.$ac_ext <<_ACEOF
44487 cat confdefs.h >>conftest.$ac_ext
44488 cat >>conftest.$ac_ext <<_ACEOF
44489 /* end confdefs.h. */
44491 /* Override any GCC internal prototype to avoid an error.
44492 Use char because int might match the return type of a GCC
44493 builtin and then its argument prototype would still apply. */
44506 rm -f conftest.$ac_objext conftest$ac_exeext
44507 if { (ac_try="$ac_link"
44508 case "(($ac_try" in
44509 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44510 *) ac_try_echo
=$ac_try;;
44512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44513 (eval "$ac_link") 2>conftest.er1
44515 grep -v '^ *+' conftest.er1
>conftest.err
44517 cat conftest.err
>&5
44518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519 (exit $ac_status); } && {
44520 test -z "$ac_c_werror_flag" ||
44521 test ! -s conftest.err
44522 } && test -s conftest
$ac_exeext &&
44523 $as_test_x conftest
$ac_exeext; then
44524 ac_cv_lib_socket_socket
=yes
44526 echo "$as_me: failed program was:" >&5
44527 sed 's/^/| /' conftest.
$ac_ext >&5
44529 ac_cv_lib_socket_socket
=no
44532 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44533 conftest
$ac_exeext conftest.
$ac_ext
44534 LIBS
=$ac_check_lib_save_LIBS
44536 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44537 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44538 if test $ac_cv_lib_socket_socket = yes; then
44539 if test "$INET_LINK" != " -lsocket"; then
44540 INET_LINK
="$INET_LINK -lsocket"
44544 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44545 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44558 if test "$wxUSE_SOCKETS" = "yes" ; then
44559 if test "$TOOLKIT" != "MSW"; then
44560 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44561 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44562 if test "${wx_cv_type_getsockname3+set}" = set; then
44563 echo $ECHO_N "(cached) $ECHO_C" >&6
44567 ac_cpp
='$CXXCPP $CPPFLAGS'
44568 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44569 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44570 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44572 cat >conftest.
$ac_ext <<_ACEOF
44575 cat confdefs.h
>>conftest.
$ac_ext
44576 cat >>conftest.
$ac_ext <<_ACEOF
44577 /* end confdefs.h. */
44579 #include <sys/types.h>
44580 #include <sys/socket.h>
44587 getsockname(0, 0, &len);
44593 rm -f conftest.
$ac_objext
44594 if { (ac_try
="$ac_compile"
44595 case "(($ac_try" in
44596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44597 *) ac_try_echo=$ac_try;;
44599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44600 (eval "$ac_compile") 2>conftest.er1
44602 grep -v '^ *+' conftest.er1 >conftest.err
44604 cat conftest.err >&5
44605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44606 (exit $ac_status); } && {
44607 test -z "$ac_cxx_werror_flag" ||
44608 test ! -s conftest.err
44609 } && test -s conftest.$ac_objext; then
44610 wx_cv_type_getsockname3=socklen_t
44612 echo "$as_me: failed program was:" >&5
44613 sed 's/^/| /' conftest.$ac_ext >&5
44616 CFLAGS_OLD="$CFLAGS"
44617 if test "$GCC" = yes ; then
44618 CFLAGS="-Werror $CFLAGS"
44621 cat >conftest.$ac_ext <<_ACEOF
44624 cat confdefs.h >>conftest.$ac_ext
44625 cat >>conftest.$ac_ext <<_ACEOF
44626 /* end confdefs.h. */
44628 #include <sys/types.h>
44629 #include <sys/socket.h>
44636 getsockname(0, 0, &len);
44642 rm -f conftest.$ac_objext
44643 if { (ac_try="$ac_compile"
44644 case "(($ac_try" in
44645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44646 *) ac_try_echo
=$ac_try;;
44648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44649 (eval "$ac_compile") 2>conftest.er1
44651 grep -v '^ *+' conftest.er1
>conftest.err
44653 cat conftest.err
>&5
44654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44655 (exit $ac_status); } && {
44656 test -z "$ac_cxx_werror_flag" ||
44657 test ! -s conftest.err
44658 } && test -s conftest.
$ac_objext; then
44659 wx_cv_type_getsockname3
=size_t
44661 echo "$as_me: failed program was:" >&5
44662 sed 's/^/| /' conftest.
$ac_ext >&5
44664 cat >conftest.
$ac_ext <<_ACEOF
44667 cat confdefs.h
>>conftest.
$ac_ext
44668 cat >>conftest.
$ac_ext <<_ACEOF
44669 /* end confdefs.h. */
44671 #include <sys/types.h>
44672 #include <sys/socket.h>
44679 getsockname(0, 0, &len);
44685 rm -f conftest.
$ac_objext
44686 if { (ac_try
="$ac_compile"
44687 case "(($ac_try" in
44688 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44689 *) ac_try_echo=$ac_try;;
44691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44692 (eval "$ac_compile") 2>conftest.er1
44694 grep -v '^ *+' conftest.er1 >conftest.err
44696 cat conftest.err >&5
44697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698 (exit $ac_status); } && {
44699 test -z "$ac_cxx_werror_flag" ||
44700 test ! -s conftest.err
44701 } && test -s conftest.$ac_objext; then
44702 wx_cv_type_getsockname3=int
44704 echo "$as_me: failed program was:" >&5
44705 sed 's/^/| /' conftest.$ac_ext >&5
44707 wx_cv_type_getsockname3=unknown
44711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44717 CFLAGS="$CFLAGS_OLD"
44722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44724 ac_cpp='$CPP $CPPFLAGS'
44725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44731 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44732 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44734 if test "$wx_cv_type_getsockname3" = "unknown"; then
44736 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44737 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44739 cat >>confdefs.h <<_ACEOF
44740 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44744 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44745 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44746 if test "${wx_cv_type_getsockopt5+set}" = set; then
44747 echo $ECHO_N "(cached) $ECHO_C" >&6
44751 ac_cpp='$CXXCPP $CPPFLAGS'
44752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44756 cat >conftest.$ac_ext <<_ACEOF
44759 cat confdefs.h >>conftest.$ac_ext
44760 cat >>conftest.$ac_ext <<_ACEOF
44761 /* end confdefs.h. */
44763 #include <sys/types.h>
44764 #include <sys/socket.h>
44771 getsockopt(0, 0, 0, 0, &len);
44777 rm -f conftest.$ac_objext
44778 if { (ac_try="$ac_compile"
44779 case "(($ac_try" in
44780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44781 *) ac_try_echo
=$ac_try;;
44783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44784 (eval "$ac_compile") 2>conftest.er1
44786 grep -v '^ *+' conftest.er1
>conftest.err
44788 cat conftest.err
>&5
44789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44790 (exit $ac_status); } && {
44791 test -z "$ac_cxx_werror_flag" ||
44792 test ! -s conftest.err
44793 } && test -s conftest.
$ac_objext; then
44794 wx_cv_type_getsockopt5
=socklen_t
44796 echo "$as_me: failed program was:" >&5
44797 sed 's/^/| /' conftest.
$ac_ext >&5
44800 cat >conftest.
$ac_ext <<_ACEOF
44803 cat confdefs.h
>>conftest.
$ac_ext
44804 cat >>conftest.
$ac_ext <<_ACEOF
44805 /* end confdefs.h. */
44807 #include <sys/types.h>
44808 #include <sys/socket.h>
44815 getsockopt(0, 0, 0, 0, &len);
44821 rm -f conftest.
$ac_objext
44822 if { (ac_try
="$ac_compile"
44823 case "(($ac_try" in
44824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44825 *) ac_try_echo=$ac_try;;
44827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44828 (eval "$ac_compile") 2>conftest.er1
44830 grep -v '^ *+' conftest.er1 >conftest.err
44832 cat conftest.err >&5
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); } && {
44835 test -z "$ac_cxx_werror_flag" ||
44836 test ! -s conftest.err
44837 } && test -s conftest.$ac_objext; then
44838 wx_cv_type_getsockopt5=size_t
44840 echo "$as_me: failed program was:" >&5
44841 sed 's/^/| /' conftest.$ac_ext >&5
44843 cat >conftest.$ac_ext <<_ACEOF
44846 cat confdefs.h >>conftest.$ac_ext
44847 cat >>conftest.$ac_ext <<_ACEOF
44848 /* end confdefs.h. */
44850 #include <sys/types.h>
44851 #include <sys/socket.h>
44858 getsockopt(0, 0, 0, 0, &len);
44864 rm -f conftest.$ac_objext
44865 if { (ac_try="$ac_compile"
44866 case "(($ac_try" in
44867 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44868 *) ac_try_echo
=$ac_try;;
44870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44871 (eval "$ac_compile") 2>conftest.er1
44873 grep -v '^ *+' conftest.er1
>conftest.err
44875 cat conftest.err
>&5
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); } && {
44878 test -z "$ac_cxx_werror_flag" ||
44879 test ! -s conftest.err
44880 } && test -s conftest.
$ac_objext; then
44881 wx_cv_type_getsockopt5
=int
44883 echo "$as_me: failed program was:" >&5
44884 sed 's/^/| /' conftest.
$ac_ext >&5
44886 wx_cv_type_getsockopt5
=unknown
44890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44901 ac_cpp
='$CPP $CPPFLAGS'
44902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44908 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44909 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44911 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44913 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44914 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44916 cat >>confdefs.h
<<_ACEOF
44917 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44924 if test "$wxUSE_SOCKETS" = "yes" ; then
44925 if test "$wxUSE_IPV6" = "yes"; then
44926 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44927 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44928 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44929 echo $ECHO_N "(cached) $ECHO_C" >&6
44932 cat >conftest.
$ac_ext <<_ACEOF
44935 cat confdefs.h
>>conftest.
$ac_ext
44936 cat >>conftest.
$ac_ext <<_ACEOF
44937 /* end confdefs.h. */
44939 #include <sys/types.h>
44940 #include <sys/socket.h>
44941 #include <netinet/in.h>
44947 struct sockaddr_in6 sa6;
44953 rm -f conftest.
$ac_objext
44954 if { (ac_try
="$ac_compile"
44955 case "(($ac_try" in
44956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44957 *) ac_try_echo=$ac_try;;
44959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44960 (eval "$ac_compile") 2>conftest.er1
44962 grep -v '^ *+' conftest.er1 >conftest.err
44964 cat conftest.err >&5
44965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44966 (exit $ac_status); } && {
44967 test -z "$ac_c_werror_flag" ||
44968 test ! -s conftest.err
44969 } && test -s conftest.$ac_objext; then
44970 wx_cv_type_sockaddr_in6=yes
44972 echo "$as_me: failed program was:" >&5
44973 sed 's/^/| /' conftest.$ac_ext >&5
44975 wx_cv_type_sockaddr_in6=no
44979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44983 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44984 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44986 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44987 cat >>confdefs.h <<\_ACEOF
44988 #define wxUSE_IPV6 1
44992 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44993 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44997 cat >>confdefs.h <<\_ACEOF
44998 #define wxUSE_SOCKETS 1
45001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45004 if test "$wxUSE_PROTOCOL" = "yes"; then
45005 if test "$wxUSE_SOCKETS" != "yes"; then
45006 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45007 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45012 if test "$wxUSE_PROTOCOL" = "yes"; then
45013 cat >>confdefs.h <<\_ACEOF
45014 #define wxUSE_PROTOCOL 1
45018 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_PROTOCOL_HTTP 1
45024 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45025 cat >>confdefs.h <<\_ACEOF
45026 #define wxUSE_PROTOCOL_FTP 1
45030 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45031 cat >>confdefs.h <<\_ACEOF
45032 #define wxUSE_PROTOCOL_FILE 1
45037 if test "$wxUSE_FS_INET" = "yes"; then
45038 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45039 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45044 if test "$wxUSE_URL" = "yes"; then
45045 if test "$wxUSE_PROTOCOL" != "yes"; then
45046 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45047 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45050 if test "$wxUSE_URL" = "yes"; then
45051 cat >>confdefs.h <<\_ACEOF
45052 #define wxUSE_URL 1
45058 if test "$wxUSE_VARIANT" = "yes"; then
45059 cat >>confdefs.h <<\_ACEOF
45060 #define wxUSE_VARIANT 1
45065 if test "$wxUSE_FS_INET" = "yes"; then
45066 cat >>confdefs.h <<\_ACEOF
45067 #define wxUSE_FS_INET 1
45073 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45076 if test "$TOOLKIT" = "MSW"; then
45079 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45080 if test "$USE_DARWIN" = 1; then
45081 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45082 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45084 ac_cpp='$CXXCPP $CPPFLAGS'
45085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45089 cat >conftest.$ac_ext <<_ACEOF
45092 cat confdefs.h >>conftest.$ac_ext
45093 cat >>conftest.$ac_ext <<_ACEOF
45094 /* end confdefs.h. */
45095 #include <IOKit/hid/IOHIDLib.h>
45099 IOHIDQueueInterface *qi = NULL;
45100 IOHIDCallbackFunction cb = NULL;
45101 qi->setEventCallout(NULL, cb, NULL, NULL);
45106 rm -f conftest.$ac_objext
45107 if { (ac_try="$ac_compile"
45108 case "(($ac_try" in
45109 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45110 *) ac_try_echo
=$ac_try;;
45112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45113 (eval "$ac_compile") 2>conftest.er1
45115 grep -v '^ *+' conftest.er1
>conftest.err
45117 cat conftest.err
>&5
45118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45119 (exit $ac_status); } && {
45120 test -z "$ac_cxx_werror_flag" ||
45121 test ! -s conftest.err
45122 } && test -s conftest.
$ac_objext; then
45126 echo "$as_me: failed program was:" >&5
45127 sed 's/^/| /' conftest.
$ac_ext >&5
45132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45134 ac_cpp
='$CPP $CPPFLAGS'
45135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45139 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45140 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45144 if test "$wxUSE_MGL" != 1; then
45146 for ac_header
in linux
/joystick.h
45148 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45149 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45151 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45152 echo $ECHO_N "(cached) $ECHO_C" >&6
45154 cat >conftest.
$ac_ext <<_ACEOF
45157 cat confdefs.h
>>conftest.
$ac_ext
45158 cat >>conftest.
$ac_ext <<_ACEOF
45159 /* end confdefs.h. */
45160 $ac_includes_default
45162 #include <$ac_header>
45164 rm -f conftest.
$ac_objext
45165 if { (ac_try
="$ac_compile"
45166 case "(($ac_try" in
45167 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45168 *) ac_try_echo=$ac_try;;
45170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45171 (eval "$ac_compile") 2>conftest.er1
45173 grep -v '^ *+' conftest.er1 >conftest.err
45175 cat conftest.err >&5
45176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45177 (exit $ac_status); } && {
45178 test -z "$ac_c_werror_flag" ||
45179 test ! -s conftest.err
45180 } && test -s conftest.$ac_objext; then
45181 eval "$as_ac_Header=yes"
45183 echo "$as_me: failed program was:" >&5
45184 sed 's/^/| /' conftest.$ac_ext >&5
45186 eval "$as_ac_Header=no"
45189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45191 ac_res=`eval echo '${'$as_ac_Header'}'`
45192 { echo "$as_me:$LINENO: result: $ac_res" >&5
45193 echo "${ECHO_T}$ac_res" >&6; }
45194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45195 cat >>confdefs.h <<_ACEOF
45196 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45206 if test "$wxUSE_JOYSTICK" = "yes"; then
45207 cat >>confdefs.h <<\_ACEOF
45208 #define wxUSE_JOYSTICK 1
45211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45213 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45214 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45220 if test "$wxUSE_FONTENUM" = "yes" ; then
45221 cat >>confdefs.h <<\_ACEOF
45222 #define wxUSE_FONTENUM 1
45227 if test "$wxUSE_FONTMAP" = "yes" ; then
45228 cat >>confdefs.h <<\_ACEOF
45229 #define wxUSE_FONTMAP 1
45234 if test "$wxUSE_UNICODE" = "yes" ; then
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_UNICODE 1
45240 if test "$USE_WIN32" != 1; then
45241 wxUSE_UNICODE_MSLU=no
45244 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45245 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45246 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45247 if test "${ac_cv_lib_unicows_main+set}" = set; then
45248 echo $ECHO_N "(cached) $ECHO_C" >&6
45250 ac_check_lib_save_LIBS=$LIBS
45251 LIBS="-lunicows $LIBS"
45252 cat >conftest.$ac_ext <<_ACEOF
45255 cat confdefs.h >>conftest.$ac_ext
45256 cat >>conftest.$ac_ext <<_ACEOF
45257 /* end confdefs.h. */
45268 rm -f conftest.$ac_objext conftest$ac_exeext
45269 if { (ac_try="$ac_link"
45270 case "(($ac_try" in
45271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45272 *) ac_try_echo
=$ac_try;;
45274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45275 (eval "$ac_link") 2>conftest.er1
45277 grep -v '^ *+' conftest.er1
>conftest.err
45279 cat conftest.err
>&5
45280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45281 (exit $ac_status); } && {
45282 test -z "$ac_c_werror_flag" ||
45283 test ! -s conftest.err
45284 } && test -s conftest
$ac_exeext &&
45285 $as_test_x conftest
$ac_exeext; then
45286 ac_cv_lib_unicows_main
=yes
45288 echo "$as_me: failed program was:" >&5
45289 sed 's/^/| /' conftest.
$ac_ext >&5
45291 ac_cv_lib_unicows_main
=no
45294 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45295 conftest
$ac_exeext conftest.
$ac_ext
45296 LIBS
=$ac_check_lib_save_LIBS
45298 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45299 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45300 if test $ac_cv_lib_unicows_main = yes; then
45302 cat >>confdefs.h
<<\_ACEOF
45303 #define wxUSE_UNICODE_MSLU 1
45309 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45310 Applications will only run on Windows NT/2000/XP!" >&5
45311 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45312 Applications will only run on Windows NT/2000/XP!" >&2;}
45313 wxUSE_UNICODE_MSLU
=no
45320 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45321 cat >>confdefs.h
<<\_ACEOF
45322 #define wxUSE_UNICODE_UTF8 1
45326 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45327 cat >>confdefs.h
<<\_ACEOF
45328 #define wxUSE_UTF8_LOCALE_ONLY 1
45335 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45336 cat >>confdefs.h
<<\_ACEOF
45337 #define wxUSE_CONSTRAINTS 1
45340 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45343 if test "$wxUSE_MDI" = "yes"; then
45344 cat >>confdefs.h
<<\_ACEOF
45345 #define wxUSE_MDI 1
45349 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45350 cat >>confdefs.h
<<\_ACEOF
45351 #define wxUSE_MDI_ARCHITECTURE 1
45354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45358 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45359 cat >>confdefs.h
<<\_ACEOF
45360 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45366 if test "$wxUSE_HELP" = "yes"; then
45367 cat >>confdefs.h
<<\_ACEOF
45368 #define wxUSE_HELP 1
45371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45373 if test "$wxUSE_MSW" = 1; then
45374 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45375 cat >>confdefs.h
<<\_ACEOF
45376 #define wxUSE_MS_HTML_HELP 1
45382 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45383 if test "$wxUSE_HTML" = "yes"; then
45384 cat >>confdefs.h
<<\_ACEOF
45385 #define wxUSE_WXHTML_HELP 1
45389 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45390 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45391 wxUSE_WXHTML_HELP
=no
45396 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45397 cat >>confdefs.h
<<\_ACEOF
45398 #define wxUSE_PRINTING_ARCHITECTURE 1
45401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45404 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45405 cat >>confdefs.h
<<\_ACEOF
45406 #define wxUSE_POSTSCRIPT 1
45411 cat >>confdefs.h
<<\_ACEOF
45412 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45416 if test "$wxUSE_SVG" = "yes"; then
45417 cat >>confdefs.h
<<\_ACEOF
45418 #define wxUSE_SVG 1
45424 if test "$wxUSE_METAFILE" = "yes"; then
45425 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45426 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45427 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45433 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45434 -o "$wxUSE_CLIPBOARD" = "yes" \
45435 -o "$wxUSE_OLE" = "yes" \
45436 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45437 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45438 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45439 if test "${ac_cv_header_ole2_h+set}" = set; then
45440 echo $ECHO_N "(cached) $ECHO_C" >&6
45442 cat >conftest.
$ac_ext <<_ACEOF
45445 cat confdefs.h
>>conftest.
$ac_ext
45446 cat >>conftest.
$ac_ext <<_ACEOF
45447 /* end confdefs.h. */
45452 rm -f conftest.
$ac_objext
45453 if { (ac_try
="$ac_compile"
45454 case "(($ac_try" in
45455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45456 *) ac_try_echo=$ac_try;;
45458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45459 (eval "$ac_compile") 2>conftest.er1
45461 grep -v '^ *+' conftest.er1 >conftest.err
45463 cat conftest.err >&5
45464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45465 (exit $ac_status); } && {
45466 test -z "$ac_c_werror_flag" ||
45467 test ! -s conftest.err
45468 } && test -s conftest.$ac_objext; then
45469 ac_cv_header_ole2_h=yes
45471 echo "$as_me: failed program was:" >&5
45472 sed 's/^/| /' conftest.$ac_ext >&5
45474 ac_cv_header_ole2_h=no
45477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45479 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45480 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45484 if test "$ac_cv_header_ole2_h" = "yes" ; then
45485 if test "$GCC" = yes ; then
45486 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45487 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45488 cat >conftest.$ac_ext <<_ACEOF
45491 cat confdefs.h >>conftest.$ac_ext
45492 cat >>conftest.$ac_ext <<_ACEOF
45493 /* end confdefs.h. */
45494 #include <windows.h>
45504 rm -f conftest.$ac_objext
45505 if { (ac_try="$ac_compile"
45506 case "(($ac_try" in
45507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45508 *) ac_try_echo
=$ac_try;;
45510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45511 (eval "$ac_compile") 2>conftest.er1
45513 grep -v '^ *+' conftest.er1
>conftest.err
45515 cat conftest.err
>&5
45516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45517 (exit $ac_status); } && {
45518 test -z "$ac_c_werror_flag" ||
45519 test ! -s conftest.err
45520 } && test -s conftest.
$ac_objext; then
45521 { echo "$as_me:$LINENO: result: no" >&5
45522 echo "${ECHO_T}no" >&6; }
45524 echo "$as_me: failed program was:" >&5
45525 sed 's/^/| /' conftest.
$ac_ext >&5
45527 { echo "$as_me:$LINENO: result: yes" >&5
45528 echo "${ECHO_T}yes" >&6; }
45529 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45533 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45534 if test "$wxUSE_OLE" = "yes" ; then
45535 cat >>confdefs.h
<<\_ACEOF
45536 #define wxUSE_OLE 1
45539 cat >>confdefs.h
<<\_ACEOF
45540 #define wxUSE_OLE_AUTOMATION 1
45543 cat >>confdefs.h
<<\_ACEOF
45544 #define wxUSE_ACTIVEX 1
45547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45551 if test "$wxUSE_DATAOBJ" = "yes" ; then
45552 cat >>confdefs.h
<<\_ACEOF
45553 #define wxUSE_DATAOBJ 1
45558 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45559 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45562 wxUSE_DRAG_AND_DROP
=no
45567 if test "$wxUSE_METAFILE" = "yes"; then
45568 cat >>confdefs.h
<<\_ACEOF
45569 #define wxUSE_METAFILE 1
45573 cat >>confdefs.h
<<\_ACEOF
45574 #define wxUSE_ENH_METAFILE 1
45580 if test "$wxUSE_IPC" = "yes"; then
45581 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45582 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45583 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45587 if test "$wxUSE_IPC" = "yes"; then
45588 cat >>confdefs.h
<<\_ACEOF
45589 #define wxUSE_IPC 1
45592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45596 if test "$wxUSE_DATAOBJ" = "yes"; then
45597 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45598 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45599 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45602 cat >>confdefs.h
<<\_ACEOF
45603 #define wxUSE_DATAOBJ 1
45608 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45609 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45611 wxUSE_DRAG_AND_DROP
=no
45614 if test "$wxUSE_CLIPBOARD" = "yes"; then
45615 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45616 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45617 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45621 if test "$wxUSE_CLIPBOARD" = "yes"; then
45622 cat >>confdefs.h
<<\_ACEOF
45623 #define wxUSE_CLIPBOARD 1
45629 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45630 if test "$wxUSE_GTK" = 1; then
45631 if test "$WXGTK12" != 1; then
45632 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45633 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45634 wxUSE_DRAG_AND_DROP
=no
45638 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45639 "$wxUSE_DFB" = 1; then
45640 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45641 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45642 wxUSE_DRAG_AND_DROP
=no
45645 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45646 cat >>confdefs.h
<<\_ACEOF
45647 #define wxUSE_DRAG_AND_DROP 1
45654 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45658 if test "$wxUSE_CLIPBOARD" = "yes"; then
45659 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
45662 if test "$wxUSE_SPLINES" = "yes" ; then
45663 cat >>confdefs.h
<<\_ACEOF
45664 #define wxUSE_SPLINES 1
45669 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45670 cat >>confdefs.h
<<\_ACEOF
45671 #define wxUSE_MOUSEWHEEL 1
45678 if test "$wxUSE_CONTROLS" = "yes"; then
45682 if test "$wxUSE_ACCEL" = "yes"; then
45683 cat >>confdefs.h
<<\_ACEOF
45684 #define wxUSE_ACCEL 1
45690 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45691 cat >>confdefs.h
<<\_ACEOF
45692 #define wxUSE_ANIMATIONCTRL 1
45696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45699 if test "$wxUSE_BUTTON" = "yes"; then
45700 cat >>confdefs.h
<<\_ACEOF
45701 #define wxUSE_BUTTON 1
45707 if test "$wxUSE_BMPBUTTON" = "yes"; then
45708 cat >>confdefs.h
<<\_ACEOF
45709 #define wxUSE_BMPBUTTON 1
45715 if test "$wxUSE_CALCTRL" = "yes"; then
45716 cat >>confdefs.h
<<\_ACEOF
45717 #define wxUSE_CALENDARCTRL 1
45721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45724 if test "$wxUSE_CARET" = "yes"; then
45725 cat >>confdefs.h
<<\_ACEOF
45726 #define wxUSE_CARET 1
45730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45733 if test "$wxUSE_COLLPANE" = "yes"; then
45734 cat >>confdefs.h
<<\_ACEOF
45735 #define wxUSE_COLLPANE 1
45739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45742 if test "$wxUSE_COMBOBOX" = "yes"; then
45743 cat >>confdefs.h
<<\_ACEOF
45744 #define wxUSE_COMBOBOX 1
45750 if test "$wxUSE_COMBOCTRL" = "yes"; then
45751 cat >>confdefs.h
<<\_ACEOF
45752 #define wxUSE_COMBOCTRL 1
45758 if test "$wxUSE_CHOICE" = "yes"; then
45759 cat >>confdefs.h
<<\_ACEOF
45760 #define wxUSE_CHOICE 1
45766 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45767 cat >>confdefs.h
<<\_ACEOF
45768 #define wxUSE_CHOICEBOOK 1
45774 if test "$wxUSE_CHECKBOX" = "yes"; then
45775 cat >>confdefs.h
<<\_ACEOF
45776 #define wxUSE_CHECKBOX 1
45782 if test "$wxUSE_CHECKLST" = "yes"; then
45783 cat >>confdefs.h
<<\_ACEOF
45784 #define wxUSE_CHECKLISTBOX 1
45790 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45791 cat >>confdefs.h
<<\_ACEOF
45792 #define wxUSE_COLOURPICKERCTRL 1
45798 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45799 cat >>confdefs.h
<<\_ACEOF
45800 #define wxUSE_DATEPICKCTRL 1
45806 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45807 cat >>confdefs.h
<<\_ACEOF
45808 #define wxUSE_DIRPICKERCTRL 1
45814 if test "$wxUSE_FILECTRL" = "yes"; then
45815 cat >>confdefs.h
<<\_ACEOF
45816 #define wxUSE_FILECTRL 1
45822 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45823 cat >>confdefs.h
<<\_ACEOF
45824 #define wxUSE_FILEPICKERCTRL 1
45830 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45831 cat >>confdefs.h
<<\_ACEOF
45832 #define wxUSE_FONTPICKERCTRL 1
45838 if test "$wxUSE_DISPLAY" = "yes"; then
45839 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45840 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45841 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45844 cat >>confdefs.h
<<\_ACEOF
45845 #define wxUSE_DISPLAY 1
45848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45852 if test "$wxUSE_DETECT_SM" = "yes"; then
45853 cat >>confdefs.h
<<\_ACEOF
45854 #define wxUSE_DETECT_SM 1
45859 if test "$wxUSE_GAUGE" = "yes"; then
45860 cat >>confdefs.h
<<\_ACEOF
45861 #define wxUSE_GAUGE 1
45867 if test "$wxUSE_GRID" = "yes"; then
45868 cat >>confdefs.h
<<\_ACEOF
45869 #define wxUSE_GRID 1
45873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45876 if test "$wxUSE_HEADERCTRL" = "yes"; then
45877 cat >>confdefs.h
<<\_ACEOF
45878 #define wxUSE_HEADERCTRL 1
45884 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45885 cat >>confdefs.h
<<\_ACEOF
45886 #define wxUSE_HYPERLINKCTRL 1
45892 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45893 cat >>confdefs.h
<<\_ACEOF
45894 #define wxUSE_BITMAPCOMBOBOX 1
45900 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45901 cat >>confdefs.h
<<\_ACEOF
45902 #define wxUSE_DATAVIEWCTRL 1
45906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45909 if test "$wxUSE_IMAGLIST" = "yes"; then
45910 cat >>confdefs.h
<<\_ACEOF
45911 #define wxUSE_IMAGLIST 1
45916 if test "$wxUSE_LISTBOOK" = "yes"; then
45917 cat >>confdefs.h
<<\_ACEOF
45918 #define wxUSE_LISTBOOK 1
45924 if test "$wxUSE_LISTBOX" = "yes"; then
45925 cat >>confdefs.h
<<\_ACEOF
45926 #define wxUSE_LISTBOX 1
45932 if test "$wxUSE_LISTCTRL" = "yes"; then
45933 if test "$wxUSE_IMAGLIST" = "yes"; then
45934 cat >>confdefs.h
<<\_ACEOF
45935 #define wxUSE_LISTCTRL 1
45939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45941 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45942 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45946 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45947 cat >>confdefs.h
<<\_ACEOF
45948 #define wxUSE_EDITABLELISTBOX 1
45952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45955 if test "$wxUSE_NOTEBOOK" = "yes"; then
45956 cat >>confdefs.h
<<\_ACEOF
45957 #define wxUSE_NOTEBOOK 1
45961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45964 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45965 cat >>confdefs.h
<<\_ACEOF
45966 #define wxUSE_NOTIFICATION_MESSAGE 1
45971 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45972 cat >>confdefs.h
<<\_ACEOF
45973 #define wxUSE_ODCOMBOBOX 1
45977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45980 if test "$wxUSE_RADIOBOX" = "yes"; then
45981 cat >>confdefs.h
<<\_ACEOF
45982 #define wxUSE_RADIOBOX 1
45988 if test "$wxUSE_RADIOBTN" = "yes"; then
45989 cat >>confdefs.h
<<\_ACEOF
45990 #define wxUSE_RADIOBTN 1
45996 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45997 cat >>confdefs.h
<<\_ACEOF
45998 #define wxUSE_REARRANGECTRL 1
46003 if test "$wxUSE_SASH" = "yes"; then
46004 cat >>confdefs.h
<<\_ACEOF
46005 #define wxUSE_SASH 1
46008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46011 if test "$wxUSE_SCROLLBAR" = "yes"; then
46012 cat >>confdefs.h
<<\_ACEOF
46013 #define wxUSE_SCROLLBAR 1
46017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
46020 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46021 cat >>confdefs.h
<<\_ACEOF
46022 #define wxUSE_SEARCHCTRL 1
46028 if test "$wxUSE_SLIDER" = "yes"; then
46029 cat >>confdefs.h
<<\_ACEOF
46030 #define wxUSE_SLIDER 1
46036 if test "$wxUSE_SPINBTN" = "yes"; then
46037 cat >>confdefs.h
<<\_ACEOF
46038 #define wxUSE_SPINBTN 1
46044 if test "$wxUSE_SPINCTRL" = "yes"; then
46045 cat >>confdefs.h
<<\_ACEOF
46046 #define wxUSE_SPINCTRL 1
46052 if test "$wxUSE_SPLITTER" = "yes"; then
46053 cat >>confdefs.h
<<\_ACEOF
46054 #define wxUSE_SPLITTER 1
46057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46060 if test "$wxUSE_STATBMP" = "yes"; then
46061 cat >>confdefs.h
<<\_ACEOF
46062 #define wxUSE_STATBMP 1
46068 if test "$wxUSE_STATBOX" = "yes"; then
46069 cat >>confdefs.h
<<\_ACEOF
46070 #define wxUSE_STATBOX 1
46076 if test "$wxUSE_STATTEXT" = "yes"; then
46077 cat >>confdefs.h
<<\_ACEOF
46078 #define wxUSE_STATTEXT 1
46084 if test "$wxUSE_STATLINE" = "yes"; then
46085 cat >>confdefs.h
<<\_ACEOF
46086 #define wxUSE_STATLINE 1
46092 if test "$wxUSE_STATUSBAR" = "yes"; then
46093 cat >>confdefs.h
<<\_ACEOF
46094 #define wxUSE_NATIVE_STATUSBAR 1
46097 cat >>confdefs.h
<<\_ACEOF
46098 #define wxUSE_STATUSBAR 1
46103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46106 if test "$wxUSE_TEXTCTRL" = "yes"; then
46107 cat >>confdefs.h
<<\_ACEOF
46108 #define wxUSE_TEXTCTRL 1
46112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46114 cat >>confdefs.h
<<\_ACEOF
46115 #define wxUSE_RICHEDIT 1
46118 cat >>confdefs.h
<<\_ACEOF
46119 #define wxUSE_RICHEDIT2 1
46124 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46125 if test "$wxUSE_COCOA" = 1 ; then
46126 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46127 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46131 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46132 cat >>confdefs.h
<<\_ACEOF
46133 #define wxUSE_TOGGLEBTN 1
46140 if test "$wxUSE_TOOLBAR" = "yes"; then
46141 cat >>confdefs.h
<<\_ACEOF
46142 #define wxUSE_TOOLBAR 1
46147 if test "$wxUSE_UNIVERSAL" = "yes"; then
46148 wxUSE_TOOLBAR_NATIVE
="no"
46150 wxUSE_TOOLBAR_NATIVE
="yes"
46151 cat >>confdefs.h
<<\_ACEOF
46152 #define wxUSE_TOOLBAR_NATIVE 1
46157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46160 if test "$wxUSE_TOOLTIPS" = "yes"; then
46161 if test "$wxUSE_MOTIF" = 1; then
46162 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46163 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46165 if test "$wxUSE_UNIVERSAL" = "yes"; then
46166 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46167 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46169 cat >>confdefs.h
<<\_ACEOF
46170 #define wxUSE_TOOLTIPS 1
46177 if test "$wxUSE_TREEBOOK" = "yes"; then
46178 cat >>confdefs.h
<<\_ACEOF
46179 #define wxUSE_TREEBOOK 1
46185 if test "$wxUSE_TOOLBOOK" = "yes"; then
46186 cat >>confdefs.h
<<\_ACEOF
46187 #define wxUSE_TOOLBOOK 1
46193 if test "$wxUSE_TREECTRL" = "yes"; then
46194 if test "$wxUSE_IMAGLIST" = "yes"; then
46195 cat >>confdefs.h
<<\_ACEOF
46196 #define wxUSE_TREECTRL 1
46200 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46202 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46203 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46207 if test "$wxUSE_POPUPWIN" = "yes"; then
46208 if test "$wxUSE_COCOA" = 1 ; then
46209 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46210 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46212 if test "$wxUSE_PM" = 1; then
46213 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46214 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46216 cat >>confdefs.h
<<\_ACEOF
46217 #define wxUSE_POPUPWIN 1
46220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46227 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46228 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46229 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46230 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46232 cat >>confdefs.h
<<\_ACEOF
46233 #define wxUSE_DIALUP_MANAGER 1
46236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46240 if test "$wxUSE_TIPWINDOW" = "yes"; then
46241 if test "$wxUSE_PM" = 1; then
46242 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46243 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46245 cat >>confdefs.h
<<\_ACEOF
46246 #define wxUSE_TIPWINDOW 1
46252 if test "$USES_CONTROLS" = 1; then
46253 cat >>confdefs.h
<<\_ACEOF
46254 #define wxUSE_CONTROLS 1
46260 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46261 cat >>confdefs.h
<<\_ACEOF
46262 #define wxUSE_ACCESSIBILITY 1
46265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46268 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46269 cat >>confdefs.h
<<\_ACEOF
46270 #define wxUSE_DRAGIMAGE 1
46273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46276 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46277 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46278 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46279 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46281 cat >>confdefs.h
<<\_ACEOF
46282 #define wxUSE_EXCEPTIONS 1
46285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46290 if test "$wxUSE_HTML" = "yes"; then
46291 cat >>confdefs.h
<<\_ACEOF
46292 #define wxUSE_HTML 1
46296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46298 if test "$wxUSE_WEBKIT" = "yes"; then
46299 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46300 old_CPPFLAGS
="$CPPFLAGS"
46301 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46302 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46303 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46304 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46305 echo $ECHO_N "(cached) $ECHO_C" >&6
46307 cat >conftest.
$ac_ext <<_ACEOF
46310 cat confdefs.h
>>conftest.
$ac_ext
46311 cat >>conftest.
$ac_ext <<_ACEOF
46312 /* end confdefs.h. */
46314 #include <Carbon/Carbon.h>
46315 #include <WebKit/WebKit.h>
46318 #include <WebKit/HIWebView.h>
46320 rm -f conftest.
$ac_objext
46321 if { (ac_try
="$ac_compile"
46322 case "(($ac_try" in
46323 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46324 *) ac_try_echo=$ac_try;;
46326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46327 (eval "$ac_compile") 2>conftest.er1
46329 grep -v '^ *+' conftest.er1 >conftest.err
46331 cat conftest.err >&5
46332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46333 (exit $ac_status); } && {
46334 test -z "$ac_c_werror_flag" ||
46335 test ! -s conftest.err
46336 } && test -s conftest.$ac_objext; then
46337 ac_cv_header_WebKit_HIWebView_h=yes
46339 echo "$as_me: failed program was:" >&5
46340 sed 's/^/| /' conftest.$ac_ext >&5
46342 ac_cv_header_WebKit_HIWebView_h=no
46345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46347 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46348 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46349 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46351 cat >>confdefs.h <<\_ACEOF
46352 #define wxUSE_WEBKIT 1
46355 WEBKIT_LINK="-framework WebKit"
46359 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46360 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46366 CPPFLAGS="$old_CPPFLAGS"
46367 elif test "$wxUSE_COCOA" = 1; then
46368 cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_WEBKIT 1
46375 if test "$wxUSE_WEBKIT" = "yes"; then
46376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46381 if test "$wxUSE_XRC" = "yes"; then
46382 if test "$wxUSE_XML" != "yes"; then
46383 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46384 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46387 cat >>confdefs.h <<\_ACEOF
46388 #define wxUSE_XRC 1
46392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46397 if test "$wxUSE_AUI" = "yes"; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_AUI 1
46403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46407 if test "$wxUSE_PROPGRID" = "yes"; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_PROPGRID 1
46413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46417 if test "$wxUSE_STC" = "yes"; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_STC 1
46423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46426 if test "$wxUSE_MENUS" = "yes"; then
46427 cat >>confdefs.h <<\_ACEOF
46428 #define wxUSE_MENUS 1
46431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46434 if test "$wxUSE_METAFILE" = "yes"; then
46435 cat >>confdefs.h <<\_ACEOF
46436 #define wxUSE_METAFILE 1
46441 if test "$wxUSE_MIMETYPE" = "yes"; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_MIMETYPE 1
46448 if test "$wxUSE_MINIFRAME" = "yes"; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_MINIFRAME 1
46455 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46456 cat >>confdefs.h <<\_ACEOF
46457 #define wxUSE_SYSTEM_OPTIONS 1
46462 if test "$wxUSE_TASKBARICON" = "yes"; then
46463 cat >>confdefs.h <<\_ACEOF
46464 #define wxUSE_TASKBARICON 1
46467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46471 if test "$wxUSE_VALIDATORS" = "yes"; then
46472 cat >>confdefs.h <<\_ACEOF
46473 #define wxUSE_VALIDATORS 1
46476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46479 if test "$wxUSE_PALETTE" = "yes" ; then
46480 if test "$wxUSE_DFB" = 1; then
46481 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46482 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46485 cat >>confdefs.h <<\_ACEOF
46486 #define wxUSE_PALETTE 1
46492 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46493 LIBS=" -lunicows $LIBS"
46497 if test "$wxUSE_RICHTEXT" = "yes"; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_RICHTEXT 1
46503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46507 if test "$wxUSE_IMAGE" = "yes" ; then
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_IMAGE 1
46513 if test "$wxUSE_GIF" = "yes" ; then
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_GIF 1
46520 if test "$wxUSE_PCX" = "yes" ; then
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_PCX 1
46527 if test "$wxUSE_TGA" = "yes" ; then
46528 cat >>confdefs.h <<\_ACEOF
46529 #define wxUSE_TGA 1
46534 if test "$wxUSE_IFF" = "yes" ; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define wxUSE_IFF 1
46541 if test "$wxUSE_PNM" = "yes" ; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_PNM 1
46548 if test "$wxUSE_XPM" = "yes" ; then
46549 cat >>confdefs.h <<\_ACEOF
46550 #define wxUSE_XPM 1
46555 if test "$wxUSE_ICO_CUR" = "yes" ; then
46556 cat >>confdefs.h <<\_ACEOF
46557 #define wxUSE_ICO_CUR 1
46564 if test "$wxUSE_ABOUTDLG" = "yes"; then
46565 cat >>confdefs.h <<\_ACEOF
46566 #define wxUSE_ABOUTDLG 1
46571 if test "$wxUSE_CHOICEDLG" = "yes"; then
46572 cat >>confdefs.h <<\_ACEOF
46573 #define wxUSE_CHOICEDLG 1
46578 if test "$wxUSE_COLOURDLG" = "yes"; then
46579 cat >>confdefs.h <<\_ACEOF
46580 #define wxUSE_COLOURDLG 1
46585 if test "$wxUSE_FILEDLG" = "yes"; then
46586 cat >>confdefs.h <<\_ACEOF
46587 #define wxUSE_FILEDLG 1
46592 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46593 cat >>confdefs.h <<\_ACEOF
46594 #define wxUSE_FINDREPLDLG 1
46599 if test "$wxUSE_FONTDLG" = "yes"; then
46600 cat >>confdefs.h <<\_ACEOF
46601 #define wxUSE_FONTDLG 1
46606 if test "$wxUSE_DIRDLG" = "yes"; then
46607 if test "$wxUSE_TREECTRL" != "yes"; then
46608 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46609 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46611 cat >>confdefs.h <<\_ACEOF
46612 #define wxUSE_DIRDLG 1
46618 if test "$wxUSE_MSGDLG" = "yes"; then
46619 cat >>confdefs.h <<\_ACEOF
46620 #define wxUSE_MSGDLG 1
46625 if test "$wxUSE_NUMBERDLG" = "yes"; then
46626 cat >>confdefs.h <<\_ACEOF
46627 #define wxUSE_NUMBERDLG 1
46632 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46633 cat >>confdefs.h <<\_ACEOF
46634 #define wxUSE_PROGRESSDLG 1
46639 if test "$wxUSE_SPLASH" = "yes"; then
46640 cat >>confdefs.h <<\_ACEOF
46641 #define wxUSE_SPLASH 1
46644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46647 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_STARTUP_TIPS 1
46654 if test "$wxUSE_TEXTDLG" = "yes"; then
46655 cat >>confdefs.h <<\_ACEOF
46656 #define wxUSE_TEXTDLG 1
46661 if test "$wxUSE_WIZARDDLG" = "yes"; then
46662 cat >>confdefs.h <<\_ACEOF
46663 #define wxUSE_WIZARDDLG 1
46666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46670 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46671 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46672 cat >>confdefs.h <<\_ACEOF
46673 #define wxUSE_OWNER_DRAWN 1
46680 if test "$wxUSE_MSW" = 1 ; then
46682 if test "$wxUSE_DC_CACHEING" = "yes"; then
46683 cat >>confdefs.h <<\_ACEOF
46684 #define wxUSE_DC_CACHEING 1
46689 if test "$wxUSE_DIB" = "yes"; then
46690 cat >>confdefs.h <<\_ACEOF
46691 #define wxUSE_WXDIB 1
46696 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46697 cat >>confdefs.h <<\_ACEOF
46698 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46703 if test "$wxUSE_UXTHEME" = "yes"; then
46704 cat >>confdefs.h <<\_ACEOF
46705 #define wxUSE_UXTHEME 1
46712 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46713 cat >>confdefs.h <<\_ACEOF
46714 #define wxUSE_AUTOID_MANAGEMENT 1
46719 if test "$USE_WIN32" = 1 ; then
46720 if test "$wxUSE_INICONF" = "yes"; then
46721 cat >>confdefs.h <<\_ACEOF
46722 #define wxUSE_INICONF 1
46727 if test "$wxUSE_REGKEY" = "yes"; then
46728 cat >>confdefs.h <<\_ACEOF
46729 #define wxUSE_REGKEY 1
46736 if test "$wxUSE_MAC" = 1; then
46737 wxUSE_GRAPHICS_CONTEXT="yes"
46740 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46741 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46742 cat >>confdefs.h <<\_ACEOF
46743 #define wxUSE_GRAPHICS_CONTEXT 1
46746 elif test "$wxUSE_GTK" != 1; then
46747 cat >>confdefs.h <<\_ACEOF
46748 #define wxUSE_GRAPHICS_CONTEXT 1
46754 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46755 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46757 if test -n "$PKG_CONFIG"; then
46758 if test -n "$CAIRO_CFLAGS"; then
46759 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46761 if test -n "$PKG_CONFIG" && \
46762 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46763 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46766 (exit $ac_status); }; then
46767 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46775 if test -n "$PKG_CONFIG"; then
46776 if test -n "$CAIRO_LIBS"; then
46777 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46779 if test -n "$PKG_CONFIG" && \
46780 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46781 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46784 (exit $ac_status); }; then
46785 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46796 if test $pkg_failed = yes; then
46798 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46799 _pkg_short_errors_supported=yes
46801 _pkg_short_errors_supported=no
46803 if test $_pkg_short_errors_supported = yes; then
46804 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46806 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46808 # Put the nasty error message in config.log where it belongs
46809 echo "$CAIRO_PKG_ERRORS" >&5
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;}
46814 elif test $pkg_failed = untried; then
46815 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46816 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46819 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46820 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46821 { echo "$as_me:$LINENO: result: yes" >&5
46822 echo "${ECHO_T}yes" >&6; }
46823 cat >>confdefs.h <<\_ACEOF
46824 #define wxUSE_GRAPHICS_CONTEXT 1
46834 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46837 if test "$wxUSE_GTK" = 1; then
46838 wxUSE_GSTREAMER="no"
46840 GST_VERSION_MAJOR=0
46841 GST_VERSION_MINOR=10
46842 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46844 if test "$wxUSE_GSTREAMER8" = "no"; then
46847 { echo "$as_me:$LINENO: checking for GST" >&5
46848 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46850 if test -n "$PKG_CONFIG"; then
46851 if test -n "$GST_CFLAGS"; then
46852 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46854 if test -n "$PKG_CONFIG" && \
46855 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46856 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46859 (exit $ac_status); }; then
46860 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46868 if test -n "$PKG_CONFIG"; then
46869 if test -n "$GST_LIBS"; then
46870 pkg_cv_GST_LIBS="$GST_LIBS"
46872 if test -n "$PKG_CONFIG" && \
46873 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46874 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46877 (exit $ac_status); }; then
46878 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46889 if test $pkg_failed = yes; then
46891 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46892 _pkg_short_errors_supported=yes
46894 _pkg_short_errors_supported=no
46896 if test $_pkg_short_errors_supported = yes; then
46897 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46899 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46901 # Put the nasty error message in config.log where it belongs
46902 echo "$GST_PKG_ERRORS" >&5
46905 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46906 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46907 GST_VERSION_MINOR=8
46910 elif test $pkg_failed = untried; then
46912 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46913 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46914 GST_VERSION_MINOR=8
46918 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46919 GST_LIBS=$pkg_cv_GST_LIBS
46920 { echo "$as_me:$LINENO: result: yes" >&5
46921 echo "${ECHO_T}yes" >&6; }
46923 wxUSE_GSTREAMER="yes"
46924 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46928 GST_VERSION_MINOR=8
46931 if test $GST_VERSION_MINOR = "8"; then
46932 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46935 { echo "$as_me:$LINENO: checking for GST" >&5
46936 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46938 if test -n "$PKG_CONFIG"; then
46939 if test -n "$GST_CFLAGS"; then
46940 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46942 if test -n "$PKG_CONFIG" && \
46943 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46944 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46947 (exit $ac_status); }; then
46948 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46956 if test -n "$PKG_CONFIG"; then
46957 if test -n "$GST_LIBS"; then
46958 pkg_cv_GST_LIBS="$GST_LIBS"
46960 if test -n "$PKG_CONFIG" && \
46961 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46962 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46965 (exit $ac_status); }; then
46966 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46977 if test $pkg_failed = yes; then
46979 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46980 _pkg_short_errors_supported=yes
46982 _pkg_short_errors_supported=no
46984 if test $_pkg_short_errors_supported = yes; then
46985 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46987 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46989 # Put the nasty error message in config.log where it belongs
46990 echo "$GST_PKG_ERRORS" >&5
46993 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46994 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46996 elif test $pkg_failed = untried; then
46998 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46999 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47002 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47003 GST_LIBS=$pkg_cv_GST_LIBS
47004 { echo "$as_me:$LINENO: result: yes" >&5
47005 echo "${ECHO_T}yes" >&6; }
47006 wxUSE_GSTREAMER="yes"
47011 if test "$wxUSE_GSTREAMER" = "yes"; then
47012 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47013 EXTRALIBS_MEDIA="$GST_LIBS"
47015 cat >>confdefs.h <<\_ACEOF
47016 #define wxUSE_GSTREAMER 1
47024 if test $USE_MEDIA = 1; then
47025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47026 cat >>confdefs.h <<\_ACEOF
47027 #define wxUSE_MEDIACTRL 1
47031 if test "$wxUSE_MEDIACTRL" = "yes"; then
47032 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47033 echo "$as_me: error: GStreamer not available" >&2;}
47034 { (exit 1); exit 1; }; }
47036 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47037 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47043 if test "$cross_compiling" = "yes"; then
47046 OSINFO=`uname
-s -r -m`
47047 OSINFO="\"$OSINFO\""
47050 cat >>confdefs.h <<_ACEOF
47051 #define WXWIN_OS_DESCRIPTION $OSINFO
47056 if test "x$prefix" != "xNONE"; then
47059 wxPREFIX=$ac_default_prefix
47062 cat >>confdefs.h <<_ACEOF
47063 #define wxINSTALL_PREFIX "$wxPREFIX"
47069 STD_BASE_LIBS="base"
47071 BUILT_WX_LIBS="base"
47072 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47074 if test "$wxUSE_SOCKETS" = "yes" ; then
47075 STD_BASE_LIBS="net $STD_BASE_LIBS"
47076 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47078 if test "$wxUSE_XML" = "yes" ; then
47079 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47080 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47083 if test "$wxUSE_GUI" = "yes"; then
47084 STD_GUI_LIBS="adv core"
47085 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47087 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47088 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47089 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47091 if test "$wxUSE_HTML" = "yes" ; then
47092 STD_GUI_LIBS="html $STD_GUI_LIBS"
47093 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47095 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47096 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47098 if test "$wxUSE_OPENGL" = "yes" ; then
47099 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47101 if test "$wxUSE_AUI" = "yes" ; then
47102 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47104 if test "$wxUSE_PROPGRID" = "yes" ; then
47105 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47107 if test "$wxUSE_RICHTEXT" = "yes" ; then
47108 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47110 if test "$wxUSE_STC" = "yes" ; then
47111 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47113 if test "$wxUSE_XRC" = "yes" ; then
47114 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47115 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47126 if test "$wxUSE_MAC" = 1 ; then
47127 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47128 if test "$USE_DARWIN" = 1; then
47129 LDFLAGS="$LDFLAGS -framework QuickTime"
47132 if test "$USE_DARWIN" = 1; then
47133 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47136 if test "$wxUSE_COCOA" = 1 ; then
47137 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47138 if test "$wxUSE_MEDIACTRL" = "yes"; then
47139 LDFLAGS="$LDFLAGS -framework QuickTime"
47142 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47143 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47146 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47148 if test "$wxUSE_GUI" = "yes"; then
47151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47152 erase event exec font image minimal mobile \
47153 mobile/wxedit mobile/styles render \
47154 shaped svg taborder vscroll widgets"
47156 if test "$wxUSE_MONOLITHIC" != "yes"; then
47157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47159 if test "$TOOLKIT" = "MSW"; then
47160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47161 if test "$wxUSE_UNIVERSAL" != "yes"; then
47162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47165 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47169 SAMPLES_SUBDIRS="console"
47170 if test "$wxUSE_SOCKETS" = "yes" ; then
47171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47173 if test "$wxUSE_IPC" = "yes" ; then
47174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47179 if test "x$INTELCC" = "xyes" ; then
47180 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47181 elif test "$GCC" = yes ; then
47182 CWARNINGS="-Wall -Wundef"
47185 if test "x$INTELCXX" = "xyes" ; then
47186 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47187 elif test "$GXX" = yes ; then
47188 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47189 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47190 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47191 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47192 echo $ECHO_N "(cached) $ECHO_C" >&6
47194 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47197 ac_cpp='$CXXCPP $CPPFLAGS'
47198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47202 ac_save_CXXFLAGS="$CXXFLAGS"
47203 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47204 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47205 cat >conftest.$ac_ext <<_ACEOF
47208 cat confdefs.h >>conftest.$ac_ext
47209 cat >>conftest.$ac_ext <<_ACEOF
47210 /* end confdefs.h. */
47220 rm -f conftest.$ac_objext
47221 if { (ac_try="$ac_compile"
47222 case "(($ac_try" in
47223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47224 *) ac_try_echo
=$ac_try;;
47226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47227 (eval "$ac_compile") 2>conftest.er1
47229 grep -v '^ *+' conftest.er1
>conftest.err
47231 cat conftest.err
>&5
47232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47233 (exit $ac_status); } && {
47234 test -z "$ac_cxx_werror_flag" ||
47235 test ! -s conftest.err
47236 } && test -s conftest.
$ac_objext; then
47237 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47239 echo "$as_me: failed program was:" >&5
47240 sed 's/^/| /' conftest.
$ac_ext >&5
47245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47247 CXXFLAGS
="$ac_save_CXXFLAGS"
47249 ac_cpp
='$CPP $CPPFLAGS'
47250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47256 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47257 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47258 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47262 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47263 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47264 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47267 (exit $ac_status); }
47268 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47269 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47272 (exit $ac_status); }
47273 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47281 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47282 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47285 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47286 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47287 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47290 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47291 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47292 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47293 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47294 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47296 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47299 if test "x$MWCC" = "xyes"; then
47301 CC
="$CC -cwd source -I-"
47302 CXX
="$CXX -cwd source -I-"
47307 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47308 EXTRALIBS_XML
="$EXPAT_LINK"
47309 EXTRALIBS_HTML
="$MSPACK_LINK"
47310 EXTRALIBS_MEDIA
="$GST_LIBS"
47311 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47312 if test "$wxUSE_GUI" = "yes"; then
47313 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47315 if test "$wxUSE_OPENGL" = "yes"; then
47316 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47319 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47321 WXCONFIG_LIBS
="$LIBS"
47323 if test "$wxUSE_REGEX" = "builtin" ; then
47324 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47326 if test "$wxUSE_EXPAT" = "builtin" ; then
47327 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47329 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47330 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47332 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47333 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47335 if test "$wxUSE_LIBPNG" = "builtin" ; then
47336 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47338 if test "$wxUSE_ZLIB" = "builtin" ; then
47339 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47342 for i
in $wxconfig_3rdparty ; do
47343 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47347 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47350 case "$wxUNIV_THEMES" in
47352 cat >>confdefs.h
<<\_ACEOF
47353 #define wxUSE_ALL_THEMES 1
47359 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47360 cat >>confdefs.h
<<_ACEOF
47361 #define wxUSE_THEME_$t 1
47377 if test $wxUSE_MONOLITHIC = "yes" ; then
47383 if test $wxUSE_PLUGINS = "yes" ; then
47389 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47395 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47428 TOOLKIT_LOWERCASE
=xxx
47429 if test "$TOOLKIT" = "MAC"; then
47430 TOOLKIT_LOWERCASE
=osx_carbon
47432 if test "$TOOLKIT" = "OSX_CARBON"; then
47433 TOOLKIT_LOWERCASE
=osx_carbon
47435 if test "$TOOLKIT" = "OSX_COCOA"; then
47436 TOOLKIT_LOWERCASE
=osx_cocoa
47438 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47439 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47452 TOOLKIT_DESC
="GTK+"
47453 if test "$WXGTK2" = 1; then
47454 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47455 if test "$wxUSE_GTKPRINT" = "yes" ; then
47456 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47458 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47459 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47461 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47462 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47464 if test "$wxUSE_LIBHILDON" = "yes"; then
47465 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47468 if test "$TOOLKIT_EXTRA" != ""; then
47469 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47475 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47479 TOOLKIT_DESC
="base only"
47483 if test "$wxUSE_WINE" = "yes"; then
47484 BAKEFILE_FORCE_PLATFORM
=win32
47487 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47489 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47490 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47491 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47492 echo $ECHO_N "(cached) $ECHO_C" >&6
47495 echo '#include <stdio.h>
47496 const wchar_t test_var[] = L"awidetest";' > conftest.h
47498 echo '#include "conftest.h"
47501 printf("%ls", test_var);
47505 wx_cv_gcc_pch_bug
="pch not supported"
47507 if $CXX conftest.h
>/dev
/null
2>&1
47511 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47513 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47514 grep awidetest
>/dev
/null
47516 wx_cv_gcc_pch_bug
=no
47518 wx_cv_gcc_pch_bug
=yes
47523 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47526 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47527 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47529 if test "$wx_cv_gcc_pch_bug" = yes; then
47540 if test "x$BAKEFILE_HOST" = "x"; then
47541 if test "x${host}" = "x" ; then
47542 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47543 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47544 { (exit 1); exit 1; }; }
47547 BAKEFILE_HOST
="${host}"
47550 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47552 if test -n "$ac_tool_prefix"; then
47553 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47554 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47557 if test "${ac_cv_prog_RANLIB+set}" = set; then
47558 echo $ECHO_N "(cached) $ECHO_C" >&6
47560 if test -n "$RANLIB"; then
47561 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47564 for as_dir
in $PATH
47567 test -z "$as_dir" && as_dir
=.
47568 for ac_exec_ext
in '' $ac_executable_extensions; do
47569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47570 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47580 RANLIB
=$ac_cv_prog_RANLIB
47581 if test -n "$RANLIB"; then
47582 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47583 echo "${ECHO_T}$RANLIB" >&6; }
47585 { echo "$as_me:$LINENO: result: no" >&5
47586 echo "${ECHO_T}no" >&6; }
47591 if test -z "$ac_cv_prog_RANLIB"; then
47592 ac_ct_RANLIB
=$RANLIB
47593 # Extract the first word of "ranlib", so it can be a program name with args.
47594 set dummy ranlib
; ac_word
=$2
47595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47597 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47598 echo $ECHO_N "(cached) $ECHO_C" >&6
47600 if test -n "$ac_ct_RANLIB"; then
47601 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47604 for as_dir
in $PATH
47607 test -z "$as_dir" && as_dir
=.
47608 for ac_exec_ext
in '' $ac_executable_extensions; do
47609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47610 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47620 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47621 if test -n "$ac_ct_RANLIB"; then
47622 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47623 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47625 { echo "$as_me:$LINENO: result: no" >&5
47626 echo "${ECHO_T}no" >&6; }
47629 if test "x$ac_ct_RANLIB" = x
; then
47632 case $cross_compiling:$ac_tool_warned in
47634 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47635 whose name does not start with the host triplet. If you think this
47636 configuration is useful to you, please write to autoconf@gnu.org." >&5
47637 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47638 whose name does not start with the host triplet. If you think this
47639 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47640 ac_tool_warned
=yes ;;
47642 RANLIB
=$ac_ct_RANLIB
47645 RANLIB
="$ac_cv_prog_RANLIB"
47648 # Find a good install program. We prefer a C program (faster),
47649 # so one script is as good as another. But avoid the broken or
47650 # incompatible versions:
47651 # SysV /etc/install, /usr/sbin/install
47652 # SunOS /usr/etc/install
47653 # IRIX /sbin/install
47655 # AmigaOS /C/install, which installs bootblocks on floppy discs
47656 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47657 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47658 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47659 # OS/2's system install, which has a completely different semantic
47660 # ./install, which can be erroneously created by make from ./install.sh.
47661 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47662 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47663 if test -z "$INSTALL"; then
47664 if test "${ac_cv_path_install+set}" = set; then
47665 echo $ECHO_N "(cached) $ECHO_C" >&6
47667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47668 for as_dir
in $PATH
47671 test -z "$as_dir" && as_dir
=.
47672 # Account for people who put trailing slashes in PATH elements.
47674 .
/ | .
// | /cC
/* | \
47675 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47676 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47679 # OSF1 and SCO ODT 3.0 have their own names for install.
47680 # Don't use installbsd from OSF since it installs stuff as root
47682 for ac_prog
in ginstall scoinst
install; do
47683 for ac_exec_ext
in '' $ac_executable_extensions; do
47684 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47685 if test $ac_prog = install &&
47686 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47687 # AIX install. It has an incompatible calling convention.
47689 elif test $ac_prog = install &&
47690 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47691 # program-specific install script used by HP pwplus--don't use.
47694 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47707 if test "${ac_cv_path_install+set}" = set; then
47708 INSTALL
=$ac_cv_path_install
47710 # As a last resort, use the slow shell script. Don't cache a
47711 # value for INSTALL within a source directory, because that will
47712 # break other packages using the cache if that directory is
47713 # removed, or if the value is a relative name.
47714 INSTALL
=$ac_install_sh
47717 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47718 echo "${ECHO_T}$INSTALL" >&6; }
47720 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47721 # It thinks the first close brace ends the variable substitution.
47722 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47724 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47726 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47728 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47729 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47731 if test "$LN_S" = "ln -s"; then
47732 { echo "$as_me:$LINENO: result: yes" >&5
47733 echo "${ECHO_T}yes" >&6; }
47735 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47736 echo "${ECHO_T}no, using $LN_S" >&6; }
47740 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47741 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47742 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47743 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47744 echo $ECHO_N "(cached) $ECHO_C" >&6
47746 cat >conftest.
make <<\_ACEOF
47749 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47751 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47752 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47753 *@@@
%%%=?
*=@@@
%%%*)
47754 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47756 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47758 rm -f conftest.
make
47760 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47761 { echo "$as_me:$LINENO: result: yes" >&5
47762 echo "${ECHO_T}yes" >&6; }
47765 { echo "$as_me:$LINENO: result: no" >&5
47766 echo "${ECHO_T}no" >&6; }
47767 SET_MAKE
="MAKE=${MAKE-make}"
47772 if test "x$SUNCXX" = "xyes"; then
47774 AROPTIONS
="-xar -o"
47776 elif test "x$SGICC" = "xyes"; then
47781 if test -n "$ac_tool_prefix"; then
47782 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47783 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47786 if test "${ac_cv_prog_AR+set}" = set; then
47787 echo $ECHO_N "(cached) $ECHO_C" >&6
47789 if test -n "$AR"; then
47790 ac_cv_prog_AR
="$AR" # Let the user override the test.
47792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47793 for as_dir
in $PATH
47796 test -z "$as_dir" && as_dir
=.
47797 for ac_exec_ext
in '' $ac_executable_extensions; do
47798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47799 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47810 if test -n "$AR"; then
47811 { echo "$as_me:$LINENO: result: $AR" >&5
47812 echo "${ECHO_T}$AR" >&6; }
47814 { echo "$as_me:$LINENO: result: no" >&5
47815 echo "${ECHO_T}no" >&6; }
47820 if test -z "$ac_cv_prog_AR"; then
47822 # Extract the first word of "ar", so it can be a program name with args.
47823 set dummy
ar; ac_word
=$2
47824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47826 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47827 echo $ECHO_N "(cached) $ECHO_C" >&6
47829 if test -n "$ac_ct_AR"; then
47830 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47833 for as_dir
in $PATH
47836 test -z "$as_dir" && as_dir
=.
47837 for ac_exec_ext
in '' $ac_executable_extensions; do
47838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47839 ac_cv_prog_ac_ct_AR
="ar"
47840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47849 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47850 if test -n "$ac_ct_AR"; then
47851 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47852 echo "${ECHO_T}$ac_ct_AR" >&6; }
47854 { echo "$as_me:$LINENO: result: no" >&5
47855 echo "${ECHO_T}no" >&6; }
47858 if test "x$ac_ct_AR" = x
; then
47861 case $cross_compiling:$ac_tool_warned in
47863 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47864 whose name does not start with the host triplet. If you think this
47865 configuration is useful to you, please write to autoconf@gnu.org." >&5
47866 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47867 whose name does not start with the host triplet. If you think this
47868 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47869 ac_tool_warned
=yes ;;
47874 AR
="$ac_cv_prog_AR"
47881 if test -n "$ac_tool_prefix"; then
47882 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47883 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47886 if test "${ac_cv_prog_STRIP+set}" = set; then
47887 echo $ECHO_N "(cached) $ECHO_C" >&6
47889 if test -n "$STRIP"; then
47890 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47893 for as_dir
in $PATH
47896 test -z "$as_dir" && as_dir
=.
47897 for ac_exec_ext
in '' $ac_executable_extensions; do
47898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47899 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47909 STRIP
=$ac_cv_prog_STRIP
47910 if test -n "$STRIP"; then
47911 { echo "$as_me:$LINENO: result: $STRIP" >&5
47912 echo "${ECHO_T}$STRIP" >&6; }
47914 { echo "$as_me:$LINENO: result: no" >&5
47915 echo "${ECHO_T}no" >&6; }
47920 if test -z "$ac_cv_prog_STRIP"; then
47922 # Extract the first word of "strip", so it can be a program name with args.
47923 set dummy strip
; ac_word
=$2
47924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47926 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47927 echo $ECHO_N "(cached) $ECHO_C" >&6
47929 if test -n "$ac_ct_STRIP"; then
47930 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47933 for as_dir
in $PATH
47936 test -z "$as_dir" && as_dir
=.
47937 for ac_exec_ext
in '' $ac_executable_extensions; do
47938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47939 ac_cv_prog_ac_ct_STRIP
="strip"
47940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47949 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47950 if test -n "$ac_ct_STRIP"; then
47951 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47952 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47954 { echo "$as_me:$LINENO: result: no" >&5
47955 echo "${ECHO_T}no" >&6; }
47958 if test "x$ac_ct_STRIP" = x
; then
47961 case $cross_compiling:$ac_tool_warned in
47963 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47964 whose name does not start with the host triplet. If you think this
47965 configuration is useful to you, please write to autoconf@gnu.org." >&5
47966 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47967 whose name does not start with the host triplet. If you think this
47968 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47969 ac_tool_warned
=yes ;;
47974 STRIP
="$ac_cv_prog_STRIP"
47977 if test -n "$ac_tool_prefix"; then
47978 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47979 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47982 if test "${ac_cv_prog_NM+set}" = set; then
47983 echo $ECHO_N "(cached) $ECHO_C" >&6
47985 if test -n "$NM"; then
47986 ac_cv_prog_NM
="$NM" # Let the user override the test.
47988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47989 for as_dir
in $PATH
47992 test -z "$as_dir" && as_dir
=.
47993 for ac_exec_ext
in '' $ac_executable_extensions; do
47994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47995 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48006 if test -n "$NM"; then
48007 { echo "$as_me:$LINENO: result: $NM" >&5
48008 echo "${ECHO_T}$NM" >&6; }
48010 { echo "$as_me:$LINENO: result: no" >&5
48011 echo "${ECHO_T}no" >&6; }
48016 if test -z "$ac_cv_prog_NM"; then
48018 # Extract the first word of "nm", so it can be a program name with args.
48019 set dummy nm
; ac_word
=$2
48020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48022 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48023 echo $ECHO_N "(cached) $ECHO_C" >&6
48025 if test -n "$ac_ct_NM"; then
48026 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48029 for as_dir
in $PATH
48032 test -z "$as_dir" && as_dir
=.
48033 for ac_exec_ext
in '' $ac_executable_extensions; do
48034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48035 ac_cv_prog_ac_ct_NM
="nm"
48036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48045 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48046 if test -n "$ac_ct_NM"; then
48047 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48048 echo "${ECHO_T}$ac_ct_NM" >&6; }
48050 { echo "$as_me:$LINENO: result: no" >&5
48051 echo "${ECHO_T}no" >&6; }
48054 if test "x$ac_ct_NM" = x
; then
48057 case $cross_compiling:$ac_tool_warned in
48059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48060 whose name does not start with the host triplet. If you think this
48061 configuration is useful to you, please write to autoconf@gnu.org." >&5
48062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48063 whose name does not start with the host triplet. If you think this
48064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48065 ac_tool_warned
=yes ;;
48070 NM
="$ac_cv_prog_NM"
48074 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48075 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48076 INSTALL_TEST_DIR
=acbftest$$
48077 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
48078 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
48079 rmdir $INSTALL_TEST_DIR
48080 INSTALL_DIR
='$(INSTALL) -d'
48081 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48082 echo "${ECHO_T}$INSTALL -d" >&6; }
48084 INSTALL_DIR
="mkdir -p"
48085 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48086 echo "${ECHO_T}mkdir -p" >&6; }
48091 case ${BAKEFILE_HOST} in
48092 *-*-cygwin* | *-*-mingw32* )
48093 LDFLAGS_GUI
="-mwindows"
48099 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48100 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48101 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48102 echo $ECHO_N "(cached) $ECHO_C" >&6
48105 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48106 egrep -s GNU
> /dev
/null
); then
48107 bakefile_cv_prog_makeisgnu
="yes"
48109 bakefile_cv_prog_makeisgnu
="no"
48113 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48114 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48116 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48133 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48134 case "${BAKEFILE_HOST}" in
48141 *-pc-os2_emx | *-pc-os2-emx )
48151 powerpc
-apple-macos* )
48160 case "$BAKEFILE_FORCE_PLATFORM" in
48195 # Check whether --enable-omf was given.
48196 if test "${enable_omf+set}" = set; then
48197 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48201 case "${BAKEFILE_HOST}" in
48203 if test "x$GCC" = "xyes"; then
48204 CFLAGS
="$CFLAGS -fno-common"
48205 CXXFLAGS
="$CXXFLAGS -fno-common"
48207 if test "x$XLCC" = "xyes"; then
48208 CFLAGS
="$CFLAGS -qnocommon"
48209 CXXFLAGS
="$CXXFLAGS -qnocommon"
48213 *-pc-os2_emx | *-pc-os2-emx )
48214 if test "x$bk_os2_use_omf" = "xyes" ; then
48217 LDFLAGS
="-Zomf $LDFLAGS"
48218 CFLAGS
="-Zomf $CFLAGS"
48219 CXXFLAGS
="-Zomf $CXXFLAGS"
48227 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48233 SO_SUFFIX_MODULE
="so"
48238 DLLPREFIX_MODULE
=""
48242 case "${BAKEFILE_HOST}" in
48247 SO_SUFFIX_MODULE
="sl"
48251 SO_SUFFIX_MODULE
="a"
48255 SO_SUFFIX_MODULE
="dll"
48256 DLLIMP_SUFFIX
="dll.a"
48263 SO_SUFFIX_MODULE
="dll"
48264 DLLIMP_SUFFIX
="dll.a"
48274 *-pc-os2_emx | *-pc-os2-emx )
48276 SO_SUFFIX_MODULE
="dll"
48277 DLLIMP_SUFFIX
=$OS2_LIBEXT
48281 LIBEXT
=".$OS2_LIBEXT"
48286 SO_SUFFIX_MODULE
="bundle"
48290 if test "x$DLLIMP_SUFFIX" = "x" ; then
48291 DLLIMP_SUFFIX
="$SO_SUFFIX"
48306 if test "x$GCC" = "xyes"; then
48310 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48311 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48314 case "${BAKEFILE_HOST}" in
48316 if test "x$GCC" != "xyes"; then
48317 LDFLAGS
="$LDFLAGS -L/usr/lib"
48319 SHARED_LD_CC
="${CC} -b -o"
48320 SHARED_LD_CXX
="${CXX} -b -o"
48326 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48328 elif test "x$SUNCXX" = "xyes"; then
48329 SHARED_LD_CC
="${CC} -G -o"
48330 SHARED_LD_CXX
="${CXX} -G -o"
48336 if test "x$SUNCXX" = xyes
; then
48337 SHARED_LD_CC
="${CC} -G -o"
48338 SHARED_LD_CXX
="${CXX} -G -o"
48346 cat <<EOF >shared-ld-sh
48348 #-----------------------------------------------------------------------------
48349 #-- Name: distrib/mac/shared-ld-sh
48350 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48351 #-- Author: Gilles Depeyrot
48352 #-- Copyright: (c) 2002 Gilles Depeyrot
48353 #-- Licence: any use permitted
48354 #-----------------------------------------------------------------------------
48359 linking_flag="-dynamiclib"
48360 ldargs="-r -keep_private_externs -nostdlib"
48362 if test "x${D}CXX" = "x"; then
48366 while test ${D}# -gt 0; do
48373 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48374 # collect these options and values
48375 args="${D}{args} ${D}1 ${D}2"
48380 # collect these options and values
48381 ldargs="${D}{ldargs} ${D}1 ${D}2"
48386 # collect these load args
48387 ldargs="${D}{ldargs} ${D}1"
48390 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48391 # collect these options
48392 args="${D}{args} ${D}1"
48395 -dynamiclib|-bundle)
48396 linking_flag="${D}1"
48400 echo "shared-ld: unhandled option '${D}1'"
48404 *.o | *.a | *.dylib)
48405 # collect object files
48406 objects="${D}{objects} ${D}1"
48410 echo "shared-ld: unhandled argument '${D}1'"
48421 # Link one module containing all the others
48423 if test ${D}{verbose} = 1; then
48424 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48426 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48430 # Link the shared library from the single module created, but only if the
48431 # previous command didn't fail:
48433 if test ${D}{status} = 0; then
48434 if test ${D}{verbose} = 1; then
48435 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48437 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48442 # Remove intermediate module
48444 rm -f master.${D}${D}.o
48449 chmod +x shared
-ld-sh
48451 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48452 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48455 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48456 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48457 if test "${bakefile_cv_gcc31+set}" = set; then
48458 echo $ECHO_N "(cached) $ECHO_C" >&6
48461 cat >conftest.
$ac_ext <<_ACEOF
48464 cat confdefs.h
>>conftest.
$ac_ext
48465 cat >>conftest.
$ac_ext <<_ACEOF
48466 /* end confdefs.h. */
48472 #if (__GNUC__ < 3) || \
48473 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48481 rm -f conftest.
$ac_objext
48482 if { (ac_try
="$ac_compile"
48483 case "(($ac_try" in
48484 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48485 *) ac_try_echo=$ac_try;;
48487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48488 (eval "$ac_compile") 2>conftest.er1
48490 grep -v '^ *+' conftest.er1 >conftest.err
48492 cat conftest.err >&5
48493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48494 (exit $ac_status); } && {
48495 test -z "$ac_c_werror_flag" ||
48496 test ! -s conftest.err
48497 } && test -s conftest.$ac_objext; then
48499 bakefile_cv_gcc31=yes
48502 echo "$as_me: failed program was:" >&5
48503 sed 's/^/| /' conftest.$ac_ext >&5
48506 bakefile_cv_gcc31=no
48511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48514 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48515 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48516 if test "$bakefile_cv_gcc31" = "no"; then
48517 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48518 SHARED_LD_CXX="$SHARED_LD_CC"
48520 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48521 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48524 if test "x$GCC" == "xyes"; then
48525 PIC_FLAG="-dynamic -fPIC"
48527 if test "x$XLCC" = "xyes"; then
48528 PIC_FLAG="-dynamic -DPIC"
48533 if test "x$GCC" = "xyes"; then
48536 case "${BAKEFILE_HOST}" in
48538 LD_EXPFULL="-Wl,-bexpfull"
48542 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48543 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48545 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48546 set dummy makeC++SharedLib; ac_word=$2
48547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48549 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48550 echo $ECHO_N "(cached) $ECHO_C" >&6
48552 if test -n "$AIX_CXX_LD"; then
48553 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48556 for as_dir in $PATH
48559 test -z "$as_dir" && as_dir=.
48560 for ac_exec_ext in '' $ac_executable_extensions; do
48561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48562 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48570 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48573 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48574 if test -n "$AIX_CXX_LD"; then
48575 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48576 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48578 { echo "$as_me:$LINENO: result: no" >&5
48579 echo "${ECHO_T}no" >&6; }
48583 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48584 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48589 SHARED_LD_CC="${LD} -nostart -o"
48590 SHARED_LD_CXX="${LD} -nostart -o"
48594 if test "x$GCC" != "xyes"; then
48599 *-*-cygwin* | *-*-mingw32* )
48601 SHARED_LD_CC="\$(CC) -shared -o"
48602 SHARED_LD_CXX="\$(CXX) -shared -o"
48606 *-pc-os2_emx | *-pc-os2-emx )
48607 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48608 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48612 cat <<EOF >dllar.sh
48615 # dllar - a tool to build both a .dll and an .a file
48616 # from a set of object (.o) files for EMX/OS2.
48618 # Written by Andrew Zabolotny, bit@freya.etu.ru
48619 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48621 # This script will accept a set of files on the command line.
48622 # All the public symbols from the .o files will be exported into
48623 # a .DEF file, then linker will be run (through gcc) against them to
48624 # build a shared library consisting of all given .o files. All libraries
48625 # (.a) will be first decompressed into component .o files then act as
48626 # described above. You can optionally give a description (-d "description")
48627 # which will be put into .DLL. To see the list of accepted options (as well
48628 # as command-line format) simply run this program without options. The .DLL
48629 # is built to be imported by name (there is no guarantee that new versions
48630 # of the library you build will have same ordinals for same symbols).
48632 # dllar is free software; you can redistribute it and/or modify
48633 # it under the terms of the GNU General Public License as published by
48634 # the Free Software Foundation; either version 2, or (at your option)
48635 # any later version.
48637 # dllar is distributed in the hope that it will be useful,
48638 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48639 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48640 # GNU General Public License for more details.
48642 # You should have received a copy of the GNU General Public License
48643 # along with dllar; see the file COPYING. If not, write to the Free
48644 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48647 # To successfuly run this program you will need:
48648 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48649 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48651 # (used to build the .dll)
48653 # (used to create .def file from .o files)
48655 # (used to create .a file from .def file)
48656 # - GNU text utilites (cat, sort, uniq)
48657 # used to process emxexp output
48658 # - GNU file utilities (mv, rm)
48660 # - lxlite (optional, see flag below)
48661 # (used for general .dll cleanup)
48668 # basnam, variant of basename, which does _not_ remove the path, _iff_
48669 # second argument (suffix to remove) is given
48673 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48676 echo ${D}1 | sed 's/'${D}2'${D}//'
48679 echo "error in basnam ${D}*"
48685 # Cleanup temporary files and output
48688 for i in ${D}inputFiles ; do
48691 rm -rf \`basnam
${D}i
!\
`
48698 # Kill result in case of failure as there is just to many stupid make/nmake
48699 # things out there which doesn't do this.
48700 if [ ${D}# -eq 0 ]; then
48701 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48705 # Print usage and exit script with rc=1.
48707 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48708 echo ' [-name-mangler-script script.sh]'
48709 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48710 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48711 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48712 echo ' [*.o] [*.a]'
48713 echo '*> "output_file" should have no extension.'
48714 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48715 echo ' The import library name is derived from this and is set to "name".a,'
48716 echo ' unless overridden by -import'
48717 echo '*> "importlib_name" should have no extension.'
48718 echo ' If it has the .o, or .a extension, it is automatically removed.'
48719 echo ' This name is used as the import library name and may be longer and'
48720 echo ' more descriptive than the DLL name which has to follow the old '
48721 echo ' 8.3 convention of FAT.'
48722 echo '*> "script.sh may be given to override the output_file name by a'
48723 echo ' different name. It is mainly useful if the regular make process'
48724 echo ' of some package does not take into account OS/2 restriction of'
48725 echo ' DLL name lengths. It takes the importlib name as input and is'
48726 echo ' supposed to procude a shorter name as output. The script should'
48727 echo ' expect to get importlib_name without extension and should produce'
48728 echo ' a (max.) 8 letter name without extension.'
48729 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48730 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48731 echo ' These flags will be put at the start of GCC command line.'
48732 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48733 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48734 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48735 echo ' If the last character of a symbol is "*", all symbols beginning'
48736 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48737 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48738 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48739 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48740 echo ' C runtime DLLs.'
48741 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48742 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48743 echo ' unchanged to GCC at the end of command line.'
48744 echo '*> If you create a DLL from a library and you do not specify -o,'
48745 echo ' the basename for DLL and import library will be set to library name,'
48746 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48747 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48748 echo ' library will be renamed into gcc_s.a.'
48751 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48752 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48757 # Execute a command.
48758 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48759 # @Uses Whatever CleanUp() uses.
48765 if [ ${D}rcCmd -ne 0 ]; then
48766 echo "command failed, exit code="${D}rcCmd
48781 CFLAGS="-s -Zcrtdll"
48783 EXPORT_BY_ORDINALS=0
48788 case ${D}curDirS in
48792 curDirS=${D}{curDirS}"/"
48795 # Parse commandline
48798 while [ ${D}1 ]; do
48801 EXPORT_BY_ORDINALS=1;
48811 -name-mangler-script)
48832 exclude_symbols=${D}{exclude_symbols}${D}1" "
48836 library_flags=${D}{library_flags}${D}1" "
48855 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48858 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48859 if [ ${D}omfLinking -eq 1 ]; then
48860 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48862 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48867 if [ ${D}libsToLink -ne 0 ]; then
48868 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48870 for file in ${D}1 ; do
48871 if [ -f ${D}file ]; then
48872 inputFiles="${D}{inputFiles} ${D}file"
48876 if [ ${D}found -eq 0 ]; then
48877 echo "ERROR: No file(s) found: "${D}1
48884 done # iterate cmdline words
48887 if [ -z "${D}inputFiles" ]; then
48888 echo "dllar: no input files"
48892 # Now extract all .o files from .a files
48894 for file in ${D}inputFiles ; do
48905 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48910 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48912 if [ ${D}? -ne 0 ]; then
48913 echo "Failed to create subdirectory ./${D}dirname"
48917 # Append '!' to indicate archive
48918 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48919 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48922 for subfile in ${D}dirname/*.o* ; do
48923 if [ -f ${D}subfile ]; then
48925 if [ -s ${D}subfile ]; then
48926 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48927 newInputFiles="${D}newInputFiles ${D}subfile"
48931 if [ ${D}found -eq 0 ]; then
48932 echo "WARNING: there are no files in archive \\'${D}file\\'"
48936 newInputFiles="${D}{newInputFiles} ${D}file"
48940 inputFiles="${D}newInputFiles"
48942 # Output filename(s).
48944 if [ -z ${D}outFile ]; then
48946 set outFile ${D}inputFiles; outFile=${D}2
48949 # If it is an archive, remove the '!' and the '_%' suffixes
48950 case ${D}outFile in
48952 outFile=\`basnam
${D}outFile _
%!\
`
48957 case ${D}outFile in
48959 outFile=\`basnam
${D}outFile .dll\
`
48962 outFile=\`basnam
${D}outFile .DLL\
`
48965 outFile=\`basnam
${D}outFile .o\
`
48968 outFile=\`basnam
${D}outFile .obj\
`
48971 outFile=\`basnam
${D}outFile .a\
`
48974 outFile=\`basnam
${D}outFile .lib\
`
48979 case ${D}outimpFile in
48981 outimpFile=\`basnam
${D}outimpFile .a\
`
48984 outimpFile=\`basnam
${D}outimpFile .lib\
`
48989 if [ -z ${D}outimpFile ]; then
48990 outimpFile=${D}outFile
48992 defFile="${D}{outFile}.def"
48993 arcFile="${D}{outimpFile}.a"
48994 arcFile2="${D}{outimpFile}.lib"
48996 #create ${D}dllFile as something matching 8.3 restrictions,
48997 if [ -z ${D}renameScript ] ; then
48998 dllFile="${D}outFile"
49000 dllFile=\`${D}renameScript
${D}outimpFile\
`
49003 if [ ${D}do_backup -ne 0 ] ; then
49004 if [ -f ${D}arcFile ] ; then
49005 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49007 if [ -f ${D}arcFile2 ] ; then
49008 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49012 # Extract public symbols from all the object files.
49013 tmpdefFile=${D}{defFile}_%
49014 rm -f ${D}tmpdefFile
49015 for file in ${D}inputFiles ; do
49020 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49025 # Create the def file.
49027 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
49028 dllFile="${D}{dllFile}.dll"
49029 if [ ! -z ${D}description ]; then
49030 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49032 echo "EXPORTS" >> ${D}defFile
49034 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49035 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49037 # Checks if the export is ok or not.
49038 for word in ${D}exclude_symbols; do
49039 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49040 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49044 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49045 sed "=" < ${D}tmpdefFile | \\
49049 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49051 ' > ${D}{tmpdefFile}%
49052 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49054 rm -f ${D}{tmpdefFile}%
49056 cat ${D}tmpdefFile >> ${D}defFile
49057 rm -f ${D}tmpdefFile
49059 # Do linking, create implib, and apply lxlite.
49061 for file in ${D}inputFiles ; do
49066 gccCmdl="${D}gccCmdl ${D}file"
49070 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49071 touch "${D}{outFile}.dll"
49073 doCommand "emximp -o ${D}arcFile ${D}defFile"
49074 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49076 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49079 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49081 doCommand "emxomf -s -l ${D}arcFile"
49091 powerpc-apple-macos* | \
49092 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49102 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49103 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49104 { (exit 1); exit 1; }; }
49107 if test "x$PIC_FLAG" != "x" ; then
49108 PIC_FLAG="$PIC_FLAG -DPIC"
49111 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49112 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49114 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49115 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49134 case "${BAKEFILE_HOST}" in
49135 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49136 *-*-k*bsd*-gnu | *-*-mirbsd* )
49137 if test "x$SUNCXX" = "xyes"; then
49140 SONAME_FLAG="-Wl,-soname,"
49175 # Check whether --enable-dependency-tracking was given.
49176 if test "${enable_dependency_tracking+set}" = set; then
49177 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49181 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49182 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49185 if test "x$bk_use_trackdeps" = "xno" ; then
49187 { echo "$as_me:$LINENO: result: disabled" >&5
49188 echo "${ECHO_T}disabled" >&6; }
49192 if test "x$GCC" = "xyes"; then
49194 case "${BAKEFILE_HOST}" in
49196 DEPSFLAG="-no-cpp-precomp -MMD"
49202 { echo "$as_me:$LINENO: result: gcc" >&5
49203 echo "${ECHO_T}gcc" >&6; }
49204 elif test "x$MWCC" = "xyes"; then
49207 { echo "$as_me:$LINENO: result: mwcc" >&5
49208 echo "${ECHO_T}mwcc" >&6; }
49209 elif test "x$SUNCC" = "xyes"; then
49212 { echo "$as_me:$LINENO: result: Sun cc" >&5
49213 echo "${ECHO_T}Sun cc" >&6; }
49214 elif test "x$SGICC" = "xyes"; then
49217 { echo "$as_me:$LINENO: result: SGI cc" >&5
49218 echo "${ECHO_T}SGI cc" >&6; }
49219 elif test "x$HPCC" = "xyes"; then
49222 { echo "$as_me:$LINENO: result: HP cc" >&5
49223 echo "${ECHO_T}HP cc" >&6; }
49224 elif test "x$COMPAQCC" = "xyes"; then
49227 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49228 echo "${ECHO_T}Compaq cc" >&6; }
49231 { echo "$as_me:$LINENO: result: none" >&5
49232 echo "${ECHO_T}none" >&6; }
49235 if test $DEPS_TRACKING = 1 ; then
49241 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49242 # script. It is used to track C/C++ files dependencies in portable way.
49244 # Permission is given to use this file in any way.
49246 DEPSMODE=${DEPSMODE}
49247 DEPSFLAG="${DEPSFLAG}"
49250 if test ${D}DEPSMODE = gcc ; then
49251 ${D}* ${D}{DEPSFLAG}
49254 # determine location of created files:
49255 while test ${D}# -gt 0; do
49269 objfilebase=\`basename ${D}objfile\
`
49270 builddir=\`dirname ${D}objfile\
`
49271 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49272 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49273 depsdir=${D}builddir/${D}DEPSDIRBASE
49274 mkdir -p ${D}depsdir
49276 # if the compiler failed, we're done:
49277 if test ${D}{status} != 0 ; then
49282 # move created file to the location we want it in:
49283 if test -f ${D}depfile ; then
49284 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49287 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49288 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49289 if test ! -f ${D}depfile ; then
49290 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49291 depfile="${D}objfile.d"
49293 if test -f ${D}depfile ; then
49294 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49300 elif test ${D}DEPSMODE = mwcc ; then
49301 ${D}* || exit ${D}?
49302 # Run mwcc again with -MM and redirect into the dep file we want
49303 # NOTE: We can't use shift here because we need ${D}* to be valid
49305 for arg in ${D}* ; do
49306 if test "${D}prevarg" = "-o"; then
49320 objfilebase=\`basename ${D}objfile\
`
49321 builddir=\`dirname ${D}objfile\
`
49322 depsdir=${D}builddir/${D}DEPSDIRBASE
49323 mkdir -p ${D}depsdir
49325 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49328 elif test ${D}DEPSMODE = unixcc; then
49329 ${D}* || exit ${D}?
49330 # Run compiler again with deps flag and redirect into the dep file.
49331 # It doesn't work if the '-o FILE' option is used, but without it the
49332 # dependency file will contain the wrong name for the object. So it is
49333 # removed from the command line, and the dep file is fixed with sed.
49335 while test ${D}# -gt 0; do
49342 eval arg${D}#=\\${D}1
49343 cmd="${D}cmd \\${D}arg${D}#"
49349 objfilebase=\`basename ${D}objfile\
`
49350 builddir=\`dirname ${D}objfile\
`
49351 depsdir=${D}builddir/${D}DEPSDIRBASE
49352 mkdir -p ${D}depsdir
49354 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49364 BK_DEPS="`pwd`/bk-deps"
49372 case ${BAKEFILE_HOST} in
49373 *-*-cygwin* | *-*-mingw32* )
49374 if test -n "$ac_tool_prefix"; then
49375 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49376 set dummy ${ac_tool_prefix}windres; ac_word=$2
49377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49379 if test "${ac_cv_prog_WINDRES+set}" = set; then
49380 echo $ECHO_N "(cached) $ECHO_C" >&6
49382 if test -n "$WINDRES"; then
49383 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49386 for as_dir in $PATH
49389 test -z "$as_dir" && as_dir=.
49390 for ac_exec_ext in '' $ac_executable_extensions; do
49391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49392 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49402 WINDRES=$ac_cv_prog_WINDRES
49403 if test -n "$WINDRES"; then
49404 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49405 echo "${ECHO_T}$WINDRES" >&6; }
49407 { echo "$as_me:$LINENO: result: no" >&5
49408 echo "${ECHO_T}no" >&6; }
49413 if test -z "$ac_cv_prog_WINDRES"; then
49414 ac_ct_WINDRES=$WINDRES
49415 # Extract the first word of "windres", so it can be a program name with args.
49416 set dummy windres; ac_word=$2
49417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49419 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49420 echo $ECHO_N "(cached) $ECHO_C" >&6
49422 if test -n "$ac_ct_WINDRES"; then
49423 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49426 for as_dir in $PATH
49429 test -z "$as_dir" && as_dir=.
49430 for ac_exec_ext in '' $ac_executable_extensions; do
49431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49432 ac_cv_prog_ac_ct_WINDRES="windres"
49433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49442 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49443 if test -n "$ac_ct_WINDRES"; then
49444 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49445 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49447 { echo "$as_me:$LINENO: result: no" >&5
49448 echo "${ECHO_T}no" >&6; }
49451 if test "x$ac_ct_WINDRES" = x; then
49454 case $cross_compiling:$ac_tool_warned in
49456 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49457 whose name does not start with the host triplet. If you think this
49458 configuration is useful to you, please write to autoconf@gnu.org." >&5
49459 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49460 whose name does not start with the host triplet. If you think this
49461 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49462 ac_tool_warned=yes ;;
49464 WINDRES=$ac_ct_WINDRES
49467 WINDRES="$ac_cv_prog_WINDRES"
49472 *-*-darwin* | powerpc-apple-macos* )
49473 # Extract the first word of "Rez", so it can be a program name with args.
49474 set dummy Rez; ac_word=$2
49475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49477 if test "${ac_cv_prog_REZ+set}" = set; then
49478 echo $ECHO_N "(cached) $ECHO_C" >&6
49480 if test -n "$REZ"; then
49481 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49484 for as_dir in $PATH
49487 test -z "$as_dir" && as_dir=.
49488 for ac_exec_ext in '' $ac_executable_extensions; do
49489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49490 ac_cv_prog_REZ="Rez"
49491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49498 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49501 REZ=$ac_cv_prog_REZ
49502 if test -n "$REZ"; then
49503 { echo "$as_me:$LINENO: result: $REZ" >&5
49504 echo "${ECHO_T}$REZ" >&6; }
49506 { echo "$as_me:$LINENO: result: no" >&5
49507 echo "${ECHO_T}no" >&6; }
49511 # Extract the first word of "SetFile", so it can be a program name with args.
49512 set dummy SetFile; ac_word=$2
49513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49515 if test "${ac_cv_prog_SETFILE+set}" = set; then
49516 echo $ECHO_N "(cached) $ECHO_C" >&6
49518 if test -n "$SETFILE"; then
49519 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49522 for as_dir in $PATH
49525 test -z "$as_dir" && as_dir=.
49526 for ac_exec_ext in '' $ac_executable_extensions; do
49527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49528 ac_cv_prog_SETFILE="SetFile"
49529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49536 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49539 SETFILE=$ac_cv_prog_SETFILE
49540 if test -n "$SETFILE"; then
49541 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49542 echo "${ECHO_T}$SETFILE" >&6; }
49544 { echo "$as_me:$LINENO: result: no" >&5
49545 echo "${ECHO_T}no" >&6; }
49560 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49563 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49567 # Check whether --enable-precomp-headers was given.
49568 if test "${enable_precomp_headers+set}" = set; then
49569 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49578 case ${BAKEFILE_HOST} in
49584 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49585 if test "x$GCC" = "xyes"; then
49586 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49587 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49588 cat >conftest.$ac_ext <<_ACEOF
49591 cat confdefs.h >>conftest.$ac_ext
49592 cat >>conftest.$ac_ext <<_ACEOF
49593 /* end confdefs.h. */
49599 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49600 There is no PCH support
49603 There is no PCH support
49605 #if (__GNUC__ == 3) && \
49606 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49607 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49608 ( defined(__INTEL_COMPILER) )
49609 There is no PCH support
49616 rm -f conftest.$ac_objext
49617 if { (ac_try="$ac_compile"
49618 case "(($ac_try" in
49619 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49620 *) ac_try_echo
=$ac_try;;
49622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49623 (eval "$ac_compile") 2>conftest.er1
49625 grep -v '^ *+' conftest.er1
>conftest.err
49627 cat conftest.err
>&5
49628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49629 (exit $ac_status); } && {
49630 test -z "$ac_c_werror_flag" ||
49631 test ! -s conftest.err
49632 } && test -s conftest.
$ac_objext; then
49634 { echo "$as_me:$LINENO: result: yes" >&5
49635 echo "${ECHO_T}yes" >&6; }
49639 echo "$as_me: failed program was:" >&5
49640 sed 's/^/| /' conftest.
$ac_ext >&5
49643 if test "$INTELCXX8" = "yes"; then
49644 { echo "$as_me:$LINENO: result: yes" >&5
49645 echo "${ECHO_T}yes" >&6; }
49647 if test "$INTELCXX10" = "yes"; then
49648 ICC_PCH_CREATE_SWITCH
="-pch-create"
49649 ICC_PCH_USE_SWITCH
="-pch-use"
49651 ICC_PCH_CREATE_SWITCH
="-create-pch"
49652 ICC_PCH_USE_SWITCH
="-use-pch"
49655 { echo "$as_me:$LINENO: result: no" >&5
49656 echo "${ECHO_T}no" >&6; }
49661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49662 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49666 cat <<EOF >bk-make-pch
49669 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49670 # script. It is used to generated precompiled headers.
49672 # Permission is given to use this file in any way.
49679 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49684 while test ${D}{#} -gt 0; do
49688 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49689 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49690 headerfile="${D}{incdir}/${D}{header}"
49693 -use-pch|-use_pch|-pch-use )
49698 if test ${D}add_to_cmdline = 1 ; then
49699 compiler="${D}{compiler} ${D}{1}"
49704 if test "x${D}{headerfile}" = "x" ; then
49705 echo "error: can't find header ${D}{header} in include paths" >&2
49707 if test -f ${D}{outfile} ; then
49708 rm -f ${D}{outfile}
49710 mkdir -p \`dirname ${D}{outfile}\`
49712 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49713 mkdir -p ${D}{builddir}/.deps
49714 if test "x${GCC_PCH}" = "x1" ; then
49715 # can do this because gcc is >= 3.4:
49716 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49717 elif test "x${ICC_PCH}" = "x1" ; then
49718 filename=pch_gen-${D}${D}
49719 file=${D}{filename}.c
49720 dfile=${D}{filename}.d
49721 cat > ${D}file <<EOT
49722 #include "${D}header"
49724 # using -MF icc complains about differing command lines in creation/use
49725 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49726 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49727 rm -f ${D}file ${D}dfile ${D}{filename}.o
49733 chmod +x bk
-make-pch
49734 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49745 COND_BUILD_DEBUG
="#"
49746 if test "x$BUILD" = "xdebug" ; then
49747 COND_BUILD_DEBUG
=""
49750 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49751 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49752 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49755 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49756 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49757 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49760 COND_BUILD_DEBUG_UNICODE_0
="#"
49761 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49762 COND_BUILD_DEBUG_UNICODE_0
=""
49765 COND_BUILD_DEBUG_UNICODE_1
="#"
49766 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49767 COND_BUILD_DEBUG_UNICODE_1
=""
49770 COND_BUILD_RELEASE
="#"
49771 if test "x$BUILD" = "xrelease" ; then
49772 COND_BUILD_RELEASE
=""
49775 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49776 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49777 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49780 COND_BUILD_RELEASE_UNICODE_0
="#"
49781 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49782 COND_BUILD_RELEASE_UNICODE_0
=""
49785 COND_BUILD_RELEASE_UNICODE_1
="#"
49786 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49787 COND_BUILD_RELEASE_UNICODE_1
=""
49790 COND_BUILD_debug
="#"
49791 if test "x$BUILD" = "xdebug" ; then
49792 COND_BUILD_debug
=""
49795 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49796 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49797 COND_BUILD_debug_DEBUG_FLAG_default
=""
49800 COND_BUILD_debug_DEBUG_INFO_default
="#"
49801 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49802 COND_BUILD_debug_DEBUG_INFO_default
=""
49805 COND_BUILD_debug_UNICODE_0
="#"
49806 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49807 COND_BUILD_debug_UNICODE_0
=""
49810 COND_BUILD_debug_UNICODE_1
="#"
49811 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49812 COND_BUILD_debug_UNICODE_1
=""
49815 COND_BUILD_release
="#"
49816 if test "x$BUILD" = "xrelease" ; then
49817 COND_BUILD_release
=""
49820 COND_BUILD_release_DEBUG_INFO_default
="#"
49821 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49822 COND_BUILD_release_DEBUG_INFO_default
=""
49825 COND_BUILD_release_UNICODE_0
="#"
49826 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49827 COND_BUILD_release_UNICODE_0
=""
49830 COND_BUILD_release_UNICODE_1
="#"
49831 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49832 COND_BUILD_release_UNICODE_1
=""
49835 COND_DEBUG_FLAG_1
="#"
49836 if test "x$DEBUG_FLAG" = "x1" ; then
49837 COND_DEBUG_FLAG_1
=""
49840 COND_DEBUG_INFO_0
="#"
49841 if test "x$DEBUG_INFO" = "x0" ; then
49842 COND_DEBUG_INFO_0
=""
49845 COND_DEBUG_INFO_1
="#"
49846 if test "x$DEBUG_INFO" = "x1" ; then
49847 COND_DEBUG_INFO_1
=""
49850 COND_DEPS_TRACKING_0
="#"
49851 if test "x$DEPS_TRACKING" = "x0" ; then
49852 COND_DEPS_TRACKING_0
=""
49855 COND_DEPS_TRACKING_1
="#"
49856 if test "x$DEPS_TRACKING" = "x1" ; then
49857 COND_DEPS_TRACKING_1
=""
49861 if test "x$GCC_PCH" = "x1" ; then
49866 if test "x$ICC_PCH" = "x1" ; then
49870 COND_MONOLITHIC_0
="#"
49871 if test "x$MONOLITHIC" = "x0" ; then
49872 COND_MONOLITHIC_0
=""
49875 COND_MONOLITHIC_0_SHARED_0
="#"
49876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49877 COND_MONOLITHIC_0_SHARED_0
=""
49880 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49882 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49885 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49887 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49890 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49892 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49895 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49897 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49900 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49905 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49907 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49910 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49912 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49915 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49917 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49920 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49921 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49922 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49925 COND_MONOLITHIC_0_SHARED_1
="#"
49926 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49927 COND_MONOLITHIC_0_SHARED_1
=""
49930 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49931 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49932 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49935 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49936 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49937 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49940 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49941 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49942 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49945 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49946 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49950 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49951 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49952 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49955 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49956 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49957 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49960 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49961 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49962 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49965 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49966 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49967 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49970 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49971 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49972 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49975 COND_MONOLITHIC_0_USE_AUI_1
="#"
49976 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49977 COND_MONOLITHIC_0_USE_AUI_1
=""
49980 COND_MONOLITHIC_0_USE_GUI_1
="#"
49981 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49982 COND_MONOLITHIC_0_USE_GUI_1
=""
49985 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49986 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49987 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49990 COND_MONOLITHIC_0_USE_HTML_1
="#"
49991 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49992 COND_MONOLITHIC_0_USE_HTML_1
=""
49995 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49996 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49997 COND_MONOLITHIC_0_USE_MEDIA_1
=""
50000 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
50001 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50002 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
50005 COND_MONOLITHIC_0_USE_QA_1
="#"
50006 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50007 COND_MONOLITHIC_0_USE_QA_1
=""
50010 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
50011 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50012 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
50015 COND_MONOLITHIC_0_USE_STC_1
="#"
50016 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50017 COND_MONOLITHIC_0_USE_STC_1
=""
50020 COND_MONOLITHIC_0_USE_XRC_1
="#"
50021 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50022 COND_MONOLITHIC_0_USE_XRC_1
=""
50025 COND_MONOLITHIC_1
="#"
50026 if test "x$MONOLITHIC" = "x1" ; then
50027 COND_MONOLITHIC_1
=""
50030 COND_MONOLITHIC_1_SHARED_0
="#"
50031 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50032 COND_MONOLITHIC_1_SHARED_0
=""
50035 COND_MONOLITHIC_1_SHARED_1
="#"
50036 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50037 COND_MONOLITHIC_1_SHARED_1
=""
50040 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50041 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50042 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50045 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50046 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50047 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50050 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50051 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50052 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50055 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50056 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50057 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50060 COND_PLATFORM_MACOSX_1
="#"
50061 if test "x$PLATFORM_MACOSX" = "x1" ; then
50062 COND_PLATFORM_MACOSX_1
=""
50065 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
50066 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50067 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
50070 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50071 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50072 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50075 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50076 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50077 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50080 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50081 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50082 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50085 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50086 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50087 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50090 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50091 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50092 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50095 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
50096 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50097 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
50100 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50101 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50102 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50105 COND_PLATFORM_MACOS_1
="#"
50106 if test "x$PLATFORM_MACOS" = "x1" ; then
50107 COND_PLATFORM_MACOS_1
=""
50110 COND_PLATFORM_MAC_0
="#"
50111 if test "x$PLATFORM_MAC" = "x0" ; then
50112 COND_PLATFORM_MAC_0
=""
50115 COND_PLATFORM_MAC_1
="#"
50116 if test "x$PLATFORM_MAC" = "x1" ; then
50117 COND_PLATFORM_MAC_1
=""
50120 COND_PLATFORM_MSDOS_0
="#"
50121 if test "x$PLATFORM_MSDOS" = "x0" ; then
50122 COND_PLATFORM_MSDOS_0
=""
50125 COND_PLATFORM_MSDOS_1
="#"
50126 if test "x$PLATFORM_MSDOS" = "x1" ; then
50127 COND_PLATFORM_MSDOS_1
=""
50130 COND_PLATFORM_OS2_1
="#"
50131 if test "x$PLATFORM_OS2" = "x1" ; then
50132 COND_PLATFORM_OS2_1
=""
50135 COND_PLATFORM_UNIX_0
="#"
50136 if test "x$PLATFORM_UNIX" = "x0" ; then
50137 COND_PLATFORM_UNIX_0
=""
50140 COND_PLATFORM_UNIX_1
="#"
50141 if test "x$PLATFORM_UNIX" = "x1" ; then
50142 COND_PLATFORM_UNIX_1
=""
50145 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50146 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50147 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50150 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50151 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50152 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50155 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50156 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50157 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50160 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50161 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50162 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50165 COND_PLATFORM_WIN32_0
="#"
50166 if test "x$PLATFORM_WIN32" = "x0" ; then
50167 COND_PLATFORM_WIN32_0
=""
50170 COND_PLATFORM_WIN32_1
="#"
50171 if test "x$PLATFORM_WIN32" = "x1" ; then
50172 COND_PLATFORM_WIN32_1
=""
50176 if test "x$SHARED" = "x0" ; then
50180 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50181 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50182 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50185 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50186 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50187 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50190 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50191 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50192 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50195 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50196 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50197 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50200 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50201 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50202 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50205 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50206 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50207 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50210 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50211 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50212 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50215 COND_SHARED_0_USE_STC_1
="#"
50216 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50217 COND_SHARED_0_USE_STC_1
=""
50220 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50221 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50222 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50225 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50226 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50227 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50230 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50231 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50232 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50236 if test "x$SHARED" = "x1" ; then
50240 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50241 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50242 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50246 if test "x$TOOLKIT" = "x" ; then
50250 COND_TOOLKIT_COCOA
="#"
50251 if test "x$TOOLKIT" = "xCOCOA" ; then
50252 COND_TOOLKIT_COCOA
=""
50255 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50256 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50257 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50260 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50261 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50262 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50265 COND_TOOLKIT_DFB
="#"
50266 if test "x$TOOLKIT" = "xDFB" ; then
50267 COND_TOOLKIT_DFB
=""
50270 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50271 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50272 COND_TOOLKIT_DFB_USE_GUI_1
=""
50275 COND_TOOLKIT_GTK
="#"
50276 if test "x$TOOLKIT" = "xGTK" ; then
50277 COND_TOOLKIT_GTK
=""
50280 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50281 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50282 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50285 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50286 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50287 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50290 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50291 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50292 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50295 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50296 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50297 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50300 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50301 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50302 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50305 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50306 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50307 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50310 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50311 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50312 COND_TOOLKIT_GTK_USE_GUI_1
=""
50315 COND_TOOLKIT_MAC
="#"
50316 if test "x$TOOLKIT" = "xMAC" ; then
50317 COND_TOOLKIT_MAC
=""
50320 COND_TOOLKIT_MGL
="#"
50321 if test "x$TOOLKIT" = "xMGL" ; then
50322 COND_TOOLKIT_MGL
=""
50325 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50326 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50327 COND_TOOLKIT_MGL_USE_GUI_1
=""
50330 COND_TOOLKIT_MOTIF
="#"
50331 if test "x$TOOLKIT" = "xMOTIF" ; then
50332 COND_TOOLKIT_MOTIF
=""
50335 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50336 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50337 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50340 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50341 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50342 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50345 COND_TOOLKIT_MSW
="#"
50346 if test "x$TOOLKIT" = "xMSW" ; then
50347 COND_TOOLKIT_MSW
=""
50350 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50351 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50352 COND_TOOLKIT_MSW_USE_GUI_1
=""
50355 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50356 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50357 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50360 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50361 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50362 COND_TOOLKIT_MSW_WXUNIV_0
=""
50365 COND_TOOLKIT_OSX_CARBON
="#"
50366 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50367 COND_TOOLKIT_OSX_CARBON
=""
50370 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50371 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50372 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50375 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50376 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50377 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50380 COND_TOOLKIT_OSX_COCOA
="#"
50381 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50382 COND_TOOLKIT_OSX_COCOA
=""
50385 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50386 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50387 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50390 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50391 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50392 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50395 COND_TOOLKIT_OSX_IPHONE
="#"
50396 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50397 COND_TOOLKIT_OSX_IPHONE
=""
50400 COND_TOOLKIT_PM
="#"
50401 if test "x$TOOLKIT" = "xPM" ; then
50405 COND_TOOLKIT_PM_USE_GUI_1
="#"
50406 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50407 COND_TOOLKIT_PM_USE_GUI_1
=""
50410 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50411 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50412 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50415 COND_TOOLKIT_WINCE
="#"
50416 if test "x$TOOLKIT" = "xWINCE" ; then
50417 COND_TOOLKIT_WINCE
=""
50420 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50421 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50422 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50425 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50426 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50427 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50430 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50431 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50432 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50435 COND_TOOLKIT_X11
="#"
50436 if test "x$TOOLKIT" = "xX11" ; then
50437 COND_TOOLKIT_X11
=""
50440 COND_TOOLKIT_X11_USE_GUI_1
="#"
50441 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50442 COND_TOOLKIT_X11_USE_GUI_1
=""
50446 if test "x$UNICODE" = "x1" ; then
50450 COND_USE_EXCEPTIONS_0
="#"
50451 if test "x$USE_EXCEPTIONS" = "x0" ; then
50452 COND_USE_EXCEPTIONS_0
=""
50455 COND_USE_EXCEPTIONS_1
="#"
50456 if test "x$USE_EXCEPTIONS" = "x1" ; then
50457 COND_USE_EXCEPTIONS_1
=""
50461 if test "x$USE_GUI" = "x0" ; then
50466 if test "x$USE_GUI" = "x1" ; then
50470 COND_USE_GUI_1_USE_OPENGL_1
="#"
50471 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50472 COND_USE_GUI_1_USE_OPENGL_1
=""
50475 COND_USE_GUI_1_WXUNIV_0
="#"
50476 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50477 COND_USE_GUI_1_WXUNIV_0
=""
50480 COND_USE_GUI_1_WXUNIV_1
="#"
50481 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50482 COND_USE_GUI_1_WXUNIV_1
=""
50485 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50486 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50487 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50490 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50491 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50492 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50495 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50496 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50497 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50500 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50501 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50502 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50505 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50506 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50507 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50510 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50511 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50512 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50515 COND_USE_OPENGL_1
="#"
50516 if test "x$USE_OPENGL" = "x1" ; then
50517 COND_USE_OPENGL_1
=""
50521 if test "x$USE_PCH" = "x1" ; then
50525 COND_USE_PLUGINS_0
="#"
50526 if test "x$USE_PLUGINS" = "x0" ; then
50527 COND_USE_PLUGINS_0
=""
50530 COND_USE_RTTI_0
="#"
50531 if test "x$USE_RTTI" = "x0" ; then
50535 COND_USE_RTTI_1
="#"
50536 if test "x$USE_RTTI" = "x1" ; then
50540 COND_USE_SOSYMLINKS_1
="#"
50541 if test "x$USE_SOSYMLINKS" = "x1" ; then
50542 COND_USE_SOSYMLINKS_1
=""
50545 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50546 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50547 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50550 COND_USE_SOVERLINUX_1
="#"
50551 if test "x$USE_SOVERLINUX" = "x1" ; then
50552 COND_USE_SOVERLINUX_1
=""
50555 COND_USE_SOVERSION_0
="#"
50556 if test "x$USE_SOVERSION" = "x0" ; then
50557 COND_USE_SOVERSION_0
=""
50560 COND_USE_SOVERSOLARIS_1
="#"
50561 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50562 COND_USE_SOVERSOLARIS_1
=""
50566 if test "x$USE_STC" = "x1" ; then
50570 COND_USE_THREADS_0
="#"
50571 if test "x$USE_THREADS" = "x0" ; then
50572 COND_USE_THREADS_0
=""
50575 COND_USE_THREADS_1
="#"
50576 if test "x$USE_THREADS" = "x1" ; then
50577 COND_USE_THREADS_1
=""
50581 if test "x$USE_XRC" = "x1" ; then
50585 COND_WINDOWS_IMPLIB_1
="#"
50586 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50587 COND_WINDOWS_IMPLIB_1
=""
50590 COND_WITH_PLUGIN_SDL_1
="#"
50591 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50592 COND_WITH_PLUGIN_SDL_1
=""
50596 if test "x$WXUNIV" = "x0" ; then
50601 if test "x$WXUNIV" = "x1" ; then
50605 COND_WXUSE_EXPAT_BUILTIN
="#"
50606 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50607 COND_WXUSE_EXPAT_BUILTIN
=""
50610 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50611 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50612 COND_WXUSE_LIBJPEG_BUILTIN
=""
50615 COND_WXUSE_LIBPNG_BUILTIN
="#"
50616 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50617 COND_WXUSE_LIBPNG_BUILTIN
=""
50620 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50621 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50622 COND_WXUSE_LIBTIFF_BUILTIN
=""
50625 COND_WXUSE_REGEX_BUILTIN
="#"
50626 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50627 COND_WXUSE_REGEX_BUILTIN
=""
50630 COND_WXUSE_ZLIB_BUILTIN
="#"
50631 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50632 COND_WXUSE_ZLIB_BUILTIN
=""
50635 COND_wxUSE_EXPAT_builtin
="#"
50636 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50637 COND_wxUSE_EXPAT_builtin
=""
50640 COND_wxUSE_LIBJPEG_builtin
="#"
50641 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50642 COND_wxUSE_LIBJPEG_builtin
=""
50645 COND_wxUSE_LIBPNG_builtin
="#"
50646 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50647 COND_wxUSE_LIBPNG_builtin
=""
50650 COND_wxUSE_LIBTIFF_builtin
="#"
50651 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50652 COND_wxUSE_LIBTIFF_builtin
=""
50655 COND_wxUSE_REGEX_builtin
="#"
50656 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50657 COND_wxUSE_REGEX_builtin
=""
50660 COND_wxUSE_ZLIB_builtin
="#"
50661 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50662 COND_wxUSE_ZLIB_builtin
=""
50667 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50668 { { 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
50669 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;}
50670 { (exit 1); exit 1; }; }
50673 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50674 { { 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
50675 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;}
50676 { (exit 1); exit 1; }; }
50683 ?
:* ) # Drive letter, considered as absolute.
50686 INSTALL
=`pwd`/${INSTALL} ;;
50689 if test "$wxUSE_GUI" = "yes"; then
50691 if test "$wxUSE_MSW" = 1 ; then
50692 if test "x$WINDRES" = "x"; then
50693 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50694 echo "$as_me: error: Required windres program not found" >&2;}
50695 { (exit 1); exit 1; }; }
50701 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50702 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50703 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50705 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50707 # Extract the first word of "DeRez", so it can be a program name with args.
50708 set dummy DeRez
; ac_word
=$2
50709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50711 if test "${ac_cv_prog_DEREZ+set}" = set; then
50712 echo $ECHO_N "(cached) $ECHO_C" >&6
50714 if test -n "$DEREZ"; then
50715 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50718 for as_dir
in $PATH
50721 test -z "$as_dir" && as_dir
=.
50722 for ac_exec_ext
in '' $ac_executable_extensions; do
50723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50724 ac_cv_prog_DEREZ
="DeRez"
50725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50732 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50735 DEREZ
=$ac_cv_prog_DEREZ
50736 if test -n "$DEREZ"; then
50737 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50738 echo "${ECHO_T}$DEREZ" >&6; }
50740 { echo "$as_me:$LINENO: result: no" >&5
50741 echo "${ECHO_T}no" >&6; }
50746 MACSETFILE
="\$(SETFILE)"
50748 if test "$wxUSE_OSX_CARBON" = 1; then
50749 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50751 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50753 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50754 RESCOMP
="cat /dev/null \| $REZ"
50755 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50761 if test "$wxUSE_PM" = 1; then
50763 WXCONFIG_RESFLAGS
="-ep"
50765 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50767 POSTLINK_COMMAND
="@true"
50774 if test $GCC_PCH = 1
50776 if test "$wx_cv_gcc_pch_bug" = yes; then
50777 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50778 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50779 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50780 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50781 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50782 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50785 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50786 # the headers that benefit from precompilation are mostly C++ headers.
50787 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50788 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50789 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50793 if test "$wxUSE_MAC" = 1 ; then
50794 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50795 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50801 if test "$wxUSE_SHARED" = "yes"; then
50803 *-pc-os2_emx | *-pc-os2-emx )
50804 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50805 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50806 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50807 cp -p ${srcdir}/src
/os
2/dllar.sh .
50811 if test "$wxUSE_OMF" = "yes"; then
50813 *-pc-os2_emx | *-pc-os2-emx )
50814 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50815 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50816 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50821 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50826 if test "$GCC" = yes; then
50827 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50828 LIBS
=`echo $LIBS | sed 's/-mt//'`
50829 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50834 if test "x$SUNCXX" = xyes
; then
50835 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50836 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50837 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50842 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50843 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50844 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50845 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50847 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50908 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50909 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50910 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50911 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50912 echo $ECHO_N "(cached) $ECHO_C" >&6
50914 cat >conftest.
make <<\_ACEOF
50917 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50919 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50920 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50921 *@@@
%%%=?
*=@@@
%%%*)
50922 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50924 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50926 rm -f conftest.
make
50928 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50929 { echo "$as_me:$LINENO: result: yes" >&5
50930 echo "${ECHO_T}yes" >&6; }
50933 { echo "$as_me:$LINENO: result: no" >&5
50934 echo "${ECHO_T}no" >&6; }
50935 SET_MAKE
="MAKE=${MAKE-make}"
50940 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50943 if test "$USE_WIN32" = 1; then
50944 ac_config_commands
="$ac_config_commands
50950 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50953 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50956 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50959 if test "$wx_cv_version_script" = "yes"; then
50960 ac_config_files
="$ac_config_files version-script"
50963 ac_config_files
="$ac_config_files Makefile"
50966 ac_config_commands
="$ac_config_commands wx-config"
50970 if test "$wxWITH_SUBDIRS" != "no"; then
50971 if test "$wxUSE_GUI" = "yes"; then
50972 SUBDIRS
="samples demos utils"
50974 SUBDIRS
="samples utils"
50979 # Check whether --with-cppunit-prefix was given.
50980 if test "${with_cppunit_prefix+set}" = set; then
50981 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50983 cppunit_config_prefix
=""
50987 # Check whether --with-cppunit-exec-prefix was given.
50988 if test "${with_cppunit_exec_prefix+set}" = set; then
50989 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50991 cppunit_config_exec_prefix
=""
50995 if test x
$cppunit_config_exec_prefix != x
; then
50996 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50997 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50998 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
51001 if test x
$cppunit_config_prefix != x
; then
51002 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
51003 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51004 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
51008 # Extract the first word of "cppunit-config", so it can be a program name with args.
51009 set dummy cppunit
-config; ac_word
=$2
51010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51012 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51013 echo $ECHO_N "(cached) $ECHO_C" >&6
51015 case $CPPUNIT_CONFIG in
51017 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51021 for as_dir
in $PATH
51024 test -z "$as_dir" && as_dir
=.
51025 for ac_exec_ext
in '' $ac_executable_extensions; do
51026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51027 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
51028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51035 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
51039 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
51040 if test -n "$CPPUNIT_CONFIG"; then
51041 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51042 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51044 { echo "$as_me:$LINENO: result: no" >&5
51045 echo "${ECHO_T}no" >&6; }
51049 cppunit_version_min
=1.8.0
51051 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51052 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51054 if test "$CPPUNIT_CONFIG" = "no" ; then
51055 { echo "$as_me:$LINENO: result: no" >&5
51056 echo "${ECHO_T}no" >&6; }
51059 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
51060 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
51061 cppunit_version
=`$CPPUNIT_CONFIG --version`
51063 cppunit_major_version
=`echo $cppunit_version | \
51064 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51065 cppunit_minor_version
=`echo $cppunit_version | \
51066 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51067 cppunit_micro_version
=`echo $cppunit_version | \
51068 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51070 cppunit_major_min
=`echo $cppunit_version_min | \
51071 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51072 cppunit_minor_min
=`echo $cppunit_version_min | \
51073 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51074 cppunit_micro_min
=`echo $cppunit_version_min | \
51075 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51077 cppunit_version_proper
=`expr \
51078 $cppunit_major_version \> $cppunit_major_min \| \
51079 $cppunit_major_version \= $cppunit_major_min \& \
51080 $cppunit_minor_version \> $cppunit_minor_min \| \
51081 $cppunit_major_version \= $cppunit_major_min \& \
51082 $cppunit_minor_version \= $cppunit_minor_min \& \
51083 $cppunit_micro_version \>= $cppunit_micro_min `
51085 if test "$cppunit_version_proper" = "1" ; then
51086 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51087 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51089 { echo "$as_me:$LINENO: result: no" >&5
51090 echo "${ECHO_T}no" >&6; }
51095 if test "x$no_cppunit" = x
; then
51096 SUBDIRS
="$SUBDIRS tests"
51107 for subdir
in $SUBDIRS; do
51108 if test -d ${srcdir}/${subdir} ; then
51109 if test "$wxUSE_GUI" = "yes"; then
51110 if test ${subdir} = "samples"; then
51111 makefiles
="samples/Makefile.in $makefiles"
51112 for sample
in $SAMPLES_SUBDIRS; do
51113 if test -d $srcdir/samples
/$sample; then
51114 makefiles
="samples/$sample/Makefile.in $makefiles"
51118 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
51119 eval "disabled=\$$disabled_var"
51120 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51121 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51124 if test ${subdir} = "samples"; then
51125 makefiles
="samples/Makefile.in $makefiles"
51126 for sample
in `echo $SAMPLES_SUBDIRS`; do
51127 if test -d $srcdir/samples
/$sample; then
51128 makefiles
="samples/$sample/Makefile.in $makefiles"
51131 elif test ${subdir} = "utils"; then
51133 for util
in ifacecheck
; do
51134 if test -d $srcdir/utils
/$util ; then
51135 makefiles
="utils/$util/src/Makefile.in \
51140 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51144 for mkin
in $makefiles ; do
51145 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51146 ac_config_files
="$ac_config_files $mk"
51152 cat >confcache
<<\_ACEOF
51153 # This file is a shell script that caches the results of configure
51154 # tests run on this system so they can be shared between configure
51155 # scripts and configure runs, see configure's option --config-cache.
51156 # It is not useful on other systems. If it contains results you don't
51157 # want to keep, you may remove or edit it.
51159 # config.status only pays attention to the cache file if you give it
51160 # the --recheck option to rerun configure.
51162 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51163 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51164 # following values.
51168 # The following way of writing the cache mishandles newlines in values,
51169 # but we know of no workaround that is simple, portable, and efficient.
51170 # So, we kill variables containing newlines.
51171 # Ultrix sh set writes to stderr and can't be redirected directly,
51172 # and sets the high bit in the cache file unless we assign to the vars.
51174 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51175 eval ac_val
=\$
$ac_var
51179 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51180 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51183 _
| IFS
| as_nl
) ;; #(
51184 *) $as_unset $ac_var ;;
51190 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51191 *${as_nl}ac_space
=\
*)
51192 # `set' does not quote correctly, so add quotes (double-quote
51193 # substitution turns \\\\ into \\, and sed turns \\ into \).
51196 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51199 # `set' quotes correctly as required by POSIX, so do not add quotes.
51200 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51209 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51211 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51213 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51214 if test -w "$cache_file"; then
51215 test "x$cache_file" != "x/dev/null" &&
51216 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51217 echo "$as_me: updating cache $cache_file" >&6;}
51218 cat confcache
>$cache_file
51220 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51221 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51226 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51227 # Let make expand exec_prefix.
51228 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51230 DEFS
=-DHAVE_CONFIG_H
51234 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51235 # 1. Remove the extension, and $U if already installed.
51236 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51237 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51238 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51239 # will be set to the directory where LIBOBJS objects are built.
51240 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51241 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51243 LIBOBJS
=$ac_libobjs
51245 LTLIBOBJS
=$ac_ltlibobjs
51249 : ${CONFIG_STATUS=./config.status}
51250 ac_clean_files_save
=$ac_clean_files
51251 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51252 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51253 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51254 cat >$CONFIG_STATUS <<_ACEOF
51256 # Generated by $as_me.
51257 # Run this file to recreate the current configuration.
51258 # Compiler output produced by configure, useful for debugging
51259 # configure, is in config.log if it exists.
51262 ac_cs_recheck=false
51264 SHELL=\${CONFIG_SHELL-$SHELL}
51267 cat >>$CONFIG_STATUS <<\_ACEOF
51268 ## --------------------- ##
51269 ## M4sh Initialization. ##
51270 ## --------------------- ##
51272 # Be more Bourne compatible
51273 DUALCASE
=1; export DUALCASE
# for MKS sh
51274 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51277 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51278 # is contrary to our usage. Disable this feature.
51279 alias -g '${1+"$@"}'='"$@"'
51280 setopt NO_GLOB_SUBST
51282 case `(set -o) 2>/dev/null` in
51283 *posix
*) set -o posix
;;
51292 # Avoid depending upon Character Ranges.
51293 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51294 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51295 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51296 as_cr_digits
='0123456789'
51297 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51299 # The user is always right.
51300 if test "${PATH_SEPARATOR+set}" != set; then
51301 echo "#! /bin/sh" >conf$$.sh
51302 echo "exit 0" >>conf$$.sh
51304 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51312 # Support unset when possible.
51313 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51321 # We need space, tab and new line, in precisely that order. Quoting is
51322 # there to prevent editors from complaining about space-tab.
51323 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51324 # splitting by setting IFS to empty value.)
51329 # Find who we are. Look in the path if we contain no directory separator.
51331 *[\\/]* ) as_myself
=$0 ;;
51332 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51333 for as_dir
in $PATH
51336 test -z "$as_dir" && as_dir
=.
51337 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51343 # We did not find ourselves, most probably we were run as `sh COMMAND'
51344 # in which case we are not to be found in the path.
51345 if test "x$as_myself" = x
; then
51348 if test ! -f "$as_myself"; then
51349 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51350 { (exit 1); exit 1; }
51353 # Work around bugs in pre-3.0 UWIN ksh.
51354 for as_var
in ENV MAIL MAILPATH
51355 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51363 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51364 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51365 LC_TELEPHONE LC_TIME
51367 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51368 eval $as_var=C
; export $as_var
51370 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51374 # Required to use basename.
51375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51383 as_basename
=basename
51389 # Name of the executable.
51390 as_me
=`$as_basename -- "$0" ||
51391 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51392 X"$0" : 'X\(//\)$' \| \
51393 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51395 sed '/^.*\/\([^/][^/]*\)\/*$/{
51414 as_lineno_1
=$LINENO
51415 as_lineno_2
=$LINENO
51416 test "x$as_lineno_1" != "x$as_lineno_2" &&
51417 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51419 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51420 # uniformly replaced by the line number. The first 'sed' inserts a
51421 # line-number line after each line using $LINENO; the second 'sed'
51422 # does the real work. The second script uses 'N' to pair each
51423 # line-number line with the line containing $LINENO, and appends
51424 # trailing '-' during substitution so that $LINENO is not a special
51425 # case at line end.
51426 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51427 # scripts with optimization help from Paolo Bonzini. Blame Lee
51428 # E. McMahon (1931-1989) for sed's syntax. :-)
51440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51443 ' >$as_me.lineno
&&
51444 chmod +x
"$as_me.lineno" ||
51445 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51446 { (exit 1); exit 1; }; }
51448 # Don't try to exec as it changes $[0], causing all sort of problems
51449 # (the dirname of $[0] is not the place where we might find the
51450 # original and so on. Autoconf is especially sensitive to this).
51451 .
"./$as_me.lineno"
51452 # Exit status is that of the last command.
51457 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51463 ECHO_C
= ECHO_N
= ECHO_T
=
51464 case `echo -n x` in
51466 case `echo 'x\c'` in
51467 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51474 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51475 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51481 rm -f conf$$ conf$$.exe conf$$.
file
51482 if test -d conf$$.dir
; then
51483 rm -f conf$$.dir
/conf$$.
file
51489 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51491 # ... but there are two gotchas:
51492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51494 # In both cases, we have to default to `cp -p'.
51495 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51497 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51502 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51503 rmdir conf$$.dir
2>/dev
/null
51505 if mkdir -p .
2>/dev
/null
; then
51508 test -d .
/-p && rmdir .
/-p
51512 if test -x / >/dev
/null
2>&1; then
51513 as_test_x
='test -x'
51515 if ls -dL / >/dev
/null
2>&1; then
51522 if test -d "$1"; then
51528 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51529 ???[sx]*):;;*)false;;esac;fi
51533 as_executable_p
=$as_test_x
51535 # Sed expression to map a string onto a valid CPP name.
51536 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51538 # Sed expression to map a string onto a valid variable name.
51539 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51544 # Save the log message, to keep $[0] and so on meaningful, and to
51545 # report actual input values of CONFIG_FILES etc. instead of their
51546 # values after options handling.
51548 This file was extended by wxWidgets $as_me 2.9.0, which was
51549 generated by GNU Autoconf 2.61. Invocation command line was
51551 CONFIG_FILES = $CONFIG_FILES
51552 CONFIG_HEADERS = $CONFIG_HEADERS
51553 CONFIG_LINKS = $CONFIG_LINKS
51554 CONFIG_COMMANDS = $CONFIG_COMMANDS
51557 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51562 cat >>$CONFIG_STATUS <<_ACEOF
51563 # Files that config.status was made for.
51564 config_files="$ac_config_files"
51565 config_headers="$ac_config_headers"
51566 config_commands="$ac_config_commands"
51570 cat >>$CONFIG_STATUS <<\_ACEOF
51572 \`$as_me' instantiates files from templates according to the
51573 current configuration.
51575 Usage: $0 [OPTIONS] [FILE]...
51577 -h, --help print this help, then exit
51578 -V, --version print version number and configuration settings, then exit
51579 -q, --quiet do not print progress messages
51580 -d, --debug don't remove temporary files
51581 --recheck update $as_me by reconfiguring in the same conditions
51582 --file=FILE[:TEMPLATE]
51583 instantiate the configuration file FILE
51584 --header=FILE[:TEMPLATE]
51585 instantiate the configuration header FILE
51587 Configuration files:
51590 Configuration headers:
51593 Configuration commands:
51596 Report bugs to <bug-autoconf@gnu.org>."
51599 cat >>$CONFIG_STATUS <<_ACEOF
51601 wxWidgets config.status 2.9.0
51602 configured by $0, generated by GNU Autoconf 2.61,
51603 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51605 Copyright (C) 2006 Free Software Foundation, Inc.
51606 This config.status script is free software; the Free Software Foundation
51607 gives unlimited permission to copy, distribute and modify it."
51614 cat >>$CONFIG_STATUS <<\_ACEOF
51615 # If no file are specified by the user, then we need to provide default
51616 # value. By we need to know if files were specified by the user.
51622 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51623 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51634 # Handling of the options.
51635 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51637 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51638 echo "$ac_cs_version"; exit ;;
51639 --debug | --debu | --deb | --de | --d | -d )
51641 --file | --fil | --fi | --f )
51643 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51644 ac_need_defaults
=false
;;
51645 --header | --heade | --head | --hea )
51647 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51648 ac_need_defaults
=false
;;
51650 # Conflict between --help and --header
51651 { echo "$as_me: error: ambiguous option: $1
51652 Try \`$0 --help' for more information." >&2
51653 { (exit 1); exit 1; }; };;
51654 --help | --hel | -h )
51655 echo "$ac_cs_usage"; exit ;;
51656 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51657 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51660 # This is an error.
51661 -*) { echo "$as_me: error: unrecognized option: $1
51662 Try \`$0 --help' for more information." >&2
51663 { (exit 1); exit 1; }; } ;;
51665 *) ac_config_targets
="$ac_config_targets $1"
51666 ac_need_defaults
=false
;;
51672 ac_configure_extra_args
=
51674 if $ac_cs_silent; then
51676 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51680 cat >>$CONFIG_STATUS <<_ACEOF
51681 if \$ac_cs_recheck; then
51682 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51683 CONFIG_SHELL=$SHELL
51684 export CONFIG_SHELL
51685 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51689 cat >>$CONFIG_STATUS <<\_ACEOF
51693 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51694 ## Running $as_me. ##
51700 cat >>$CONFIG_STATUS <<_ACEOF
51706 infile="$srcdir/include/wx/msw/genrcdefs.h"
51707 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51710 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51711 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51712 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51718 cat >>$CONFIG_STATUS <<\_ACEOF
51720 # Handling of arguments.
51721 for ac_config_target
in $ac_config_targets
51723 case $ac_config_target in
51724 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51725 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51726 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51727 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51728 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51729 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51730 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51731 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51732 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51734 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51735 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51736 { (exit 1); exit 1; }; };;
51741 # If the user did not use the arguments to specify the items to instantiate,
51742 # then the envvar interface is used. Set only those that are not.
51743 # We use the long form for the default assignment because of an extremely
51744 # bizarre bug on SunOS 4.1.3.
51745 if $ac_need_defaults; then
51746 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51747 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51748 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51751 # Have a temporary directory for convenience. Make it in the build tree
51752 # simply because there is no reason against having it here, and in addition,
51753 # creating and moving files from /tmp can sometimes cause problems.
51754 # Hook for its removal unless debugging.
51755 # Note that there is a small window in which the directory will not be cleaned:
51756 # after its creation but before its name has been assigned to `$tmp'.
51760 trap 'exit_status=$?
51761 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51763 trap '{ (exit 1); exit 1; }' 1 2 13 15
51765 # Create a (secure) tmp directory for tmp files.
51768 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51769 test -n "$tmp" && test -d "$tmp"
51772 tmp
=.
/conf$$
-$RANDOM
51773 (umask 077 && mkdir "$tmp")
51776 echo "$me: cannot create a temporary directory in ." >&2
51777 { (exit 1); exit 1; }
51781 # Set up the sed scripts for CONFIG_FILES section.
51784 # No need to generate the scripts if there are no CONFIG_FILES.
51785 # This happens for instance when ./config.status config.h
51786 if test -n "$CONFIG_FILES"; then
51793 for ac_last_try
in false false false false false
:; do
51794 cat >conf$
$subs.
sed <<_ACEOF
51795 SHELL!$SHELL$ac_delim
51796 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51797 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51798 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51799 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51800 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51801 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51802 exec_prefix!$exec_prefix$ac_delim
51803 prefix!$prefix$ac_delim
51804 program_transform_name!$program_transform_name$ac_delim
51805 bindir!$bindir$ac_delim
51806 sbindir!$sbindir$ac_delim
51807 libexecdir!$libexecdir$ac_delim
51808 datarootdir!$datarootdir$ac_delim
51809 datadir!$datadir$ac_delim
51810 sysconfdir!$sysconfdir$ac_delim
51811 sharedstatedir!$sharedstatedir$ac_delim
51812 localstatedir!$localstatedir$ac_delim
51813 includedir!$includedir$ac_delim
51814 oldincludedir!$oldincludedir$ac_delim
51815 docdir!$docdir$ac_delim
51816 infodir!$infodir$ac_delim
51817 htmldir!$htmldir$ac_delim
51818 dvidir!$dvidir$ac_delim
51819 pdfdir!$pdfdir$ac_delim
51820 psdir!$psdir$ac_delim
51821 libdir!$libdir$ac_delim
51822 localedir!$localedir$ac_delim
51823 mandir!$mandir$ac_delim
51824 DEFS!$DEFS$ac_delim
51825 ECHO_C!$ECHO_C$ac_delim
51826 ECHO_N!$ECHO_N$ac_delim
51827 ECHO_T!$ECHO_T$ac_delim
51828 LIBS!$LIBS$ac_delim
51829 build_alias!$build_alias$ac_delim
51830 host_alias!$host_alias$ac_delim
51831 target_alias!$target_alias$ac_delim
51832 build!$build$ac_delim
51833 build_cpu!$build_cpu$ac_delim
51834 build_vendor!$build_vendor$ac_delim
51835 build_os!$build_os$ac_delim
51836 host!$host$ac_delim
51837 host_cpu!$host_cpu$ac_delim
51838 host_vendor!$host_vendor$ac_delim
51839 host_os!$host_os$ac_delim
51840 wx_top_builddir!$wx_top_builddir$ac_delim
51842 CFLAGS!$CFLAGS$ac_delim
51843 LDFLAGS!$LDFLAGS$ac_delim
51844 CPPFLAGS!$CPPFLAGS$ac_delim
51845 ac_ct_CC!$ac_ct_CC$ac_delim
51846 EXEEXT!$EXEEXT$ac_delim
51847 OBJEXT!$OBJEXT$ac_delim
51849 GREP!$GREP$ac_delim
51850 EGREP!$EGREP$ac_delim
51852 CXXFLAGS!$CXXFLAGS$ac_delim
51853 ac_ct_CXX!$ac_ct_CXX$ac_delim
51855 subdirs!$subdirs$ac_delim
51856 PKG_CONFIG!$PKG_CONFIG$ac_delim
51857 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51858 GTK_LIBS!$GTK_LIBS$ac_delim
51859 GTK_CONFIG!$GTK_CONFIG$ac_delim
51860 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51861 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51862 XMKMF!$XMKMF$ac_delim
51863 X_CFLAGS!$X_CFLAGS$ac_delim
51864 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51865 X_LIBS!$X_LIBS$ac_delim
51866 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51867 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51868 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51869 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51870 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51871 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51872 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51873 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51874 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51875 LIBICONV!$LIBICONV$ac_delim
51876 GXX_VERSION!$GXX_VERSION$ac_delim
51877 SDL_CONFIG!$SDL_CONFIG$ac_delim
51878 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51879 SDL_LIBS!$SDL_LIBS$ac_delim
51880 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51881 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51882 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51883 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51884 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51885 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51886 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51887 HILDON_LIBS!$HILDON_LIBS$ac_delim
51888 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51889 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51890 GST_CFLAGS!$GST_CFLAGS$ac_delim
51891 GST_LIBS!$GST_LIBS$ac_delim
51894 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51896 elif $ac_last_try; then
51897 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51898 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51899 { (exit 1); exit 1; }; }
51901 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51905 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51906 if test -n "$ac_eof"; then
51907 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51908 ac_eof
=`expr $ac_eof + 1`
51911 cat >>$CONFIG_STATUS <<_ACEOF
51912 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51916 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51917 s/^/s,@/; s/!/@,|#_!!_#|/
51920 s/'"$ac_delim"'$/,g/; t
51922 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51923 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51924 rm -f conf$
$subs.
sed
51925 cat >>$CONFIG_STATUS <<_ACEOF
51931 for ac_last_try
in false false false false false
:; do
51932 cat >conf$
$subs.
sed <<_ACEOF
51933 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51934 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51935 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51936 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51937 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51938 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51939 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51940 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51941 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51942 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51943 VENDOR!$VENDOR$ac_delim
51944 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51945 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51946 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51947 WXUNIV!$WXUNIV$ac_delim
51948 MONOLITHIC!$MONOLITHIC$ac_delim
51949 USE_PLUGINS!$USE_PLUGINS$ac_delim
51950 CXXWARNINGS!$CXXWARNINGS$ac_delim
51951 EXTRALIBS!$EXTRALIBS$ac_delim
51952 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51953 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51954 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51955 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51956 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51957 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51958 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51959 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51960 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51961 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51962 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51963 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51964 UNICODE!$UNICODE$ac_delim
51965 BUILD!$BUILD$ac_delim
51966 DEBUG_INFO!$DEBUG_INFO$ac_delim
51967 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51968 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51969 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51970 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51971 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51972 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51973 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51974 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51975 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51976 RANLIB!$RANLIB$ac_delim
51977 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51978 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51979 INSTALL_DATA!$INSTALL_DATA$ac_delim
51980 LN_S!$LN_S$ac_delim
51981 SET_MAKE!$SET_MAKE$ac_delim
51982 MAKE_SET!$MAKE_SET$ac_delim
51983 AROPTIONS!$AROPTIONS$ac_delim
51984 STRIP!$STRIP$ac_delim
51986 INSTALL_DIR!$INSTALL_DIR$ac_delim
51987 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51988 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51989 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51990 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51991 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51992 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51993 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51994 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51995 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51996 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51997 SO_SUFFIX!$SO_SUFFIX$ac_delim
51998 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51999 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52000 LIBPREFIX!$LIBPREFIX$ac_delim
52001 LIBEXT!$LIBEXT$ac_delim
52002 DLLPREFIX!$DLLPREFIX$ac_delim
52003 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52004 dlldir!$dlldir$ac_delim
52005 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52006 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52007 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52008 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52009 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52010 PIC_FLAG!$PIC_FLAG$ac_delim
52011 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52012 USE_SOVERSION!$USE_SOVERSION$ac_delim
52013 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52014 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52015 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52016 USE_MACVERSION!$USE_MACVERSION$ac_delim
52017 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52018 SONAME_FLAG!$SONAME_FLAG$ac_delim
52019 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52020 BK_DEPS!$BK_DEPS$ac_delim
52021 WINDRES!$WINDRES$ac_delim
52023 SETFILE!$SETFILE$ac_delim
52024 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52025 GCC_PCH!$GCC_PCH$ac_delim
52026 ICC_PCH!$ICC_PCH$ac_delim
52027 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52028 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52029 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52032 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52034 elif $ac_last_try; then
52035 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52036 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52037 { (exit 1); exit 1; }; }
52039 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52043 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52044 if test -n "$ac_eof"; then
52045 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52046 ac_eof
=`expr $ac_eof + 1`
52049 cat >>$CONFIG_STATUS <<_ACEOF
52050 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52051 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52054 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52055 s/^/s,@/; s/!/@,|#_!!_#|/
52058 s/'"$ac_delim"'$/,g/; t
52060 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52061 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52062 rm -f conf$
$subs.
sed
52063 cat >>$CONFIG_STATUS <<_ACEOF
52069 for ac_last_try
in false false false false false
:; do
52070 cat >conf$
$subs.
sed <<_ACEOF
52071 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52072 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52073 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52074 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52075 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52076 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52077 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52078 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52079 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52080 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52081 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52082 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52083 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52084 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52085 COND_BUILD_release!$COND_BUILD_release$ac_delim
52086 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52087 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52088 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52089 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52090 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52091 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52092 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52093 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52094 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52095 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52096 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52097 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52098 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52099 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52100 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52101 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52103 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52104 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52105 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52106 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52107 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52108 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52109 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52110 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52111 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52112 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52113 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52114 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52115 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52116 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52117 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52118 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52119 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52120 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52121 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52122 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52123 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52124 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52125 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52126 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52127 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52128 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52129 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52130 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52131 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52132 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52133 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52134 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52135 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52136 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52137 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
52138 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52139 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
52140 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52141 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52142 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52143 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52144 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52145 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52146 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52147 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52148 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52149 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52150 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52151 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52152 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52153 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52154 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52155 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52156 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52157 COND_SHARED_0!$COND_SHARED_0$ac_delim
52158 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52159 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52160 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52161 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52162 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52163 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52164 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52165 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52166 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52167 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52170 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52172 elif $ac_last_try; then
52173 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52174 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52175 { (exit 1); exit 1; }; }
52177 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52181 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52182 if test -n "$ac_eof"; then
52183 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52184 ac_eof
=`expr $ac_eof + 1`
52187 cat >>$CONFIG_STATUS <<_ACEOF
52188 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52189 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52192 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52193 s/^/s,@/; s/!/@,|#_!!_#|/
52196 s/'"$ac_delim"'$/,g/; t
52198 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52199 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52200 rm -f conf$
$subs.
sed
52201 cat >>$CONFIG_STATUS <<_ACEOF
52207 for ac_last_try
in false false false false false
:; do
52208 cat >conf$
$subs.
sed <<_ACEOF
52209 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52210 COND_SHARED_1!$COND_SHARED_1$ac_delim
52211 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52212 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52213 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52214 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52215 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52216 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52217 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52218 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52219 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52221 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52222 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52223 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52224 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52225 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52226 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52227 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52228 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52229 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52230 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52231 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52232 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52233 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52234 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52235 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52236 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52237 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52238 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52239 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52240 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52241 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52242 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52243 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52244 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52245 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52246 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52247 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52248 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52249 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52250 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52251 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52252 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52253 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52254 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52255 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52256 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52257 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52258 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52259 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52260 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52261 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52262 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52263 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52264 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52265 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52266 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52267 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52268 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52269 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52270 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52271 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52272 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52273 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52274 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52275 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52276 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52277 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52278 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52279 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52280 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52281 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52282 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52283 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52284 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52285 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52286 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52287 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52288 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52289 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52290 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52291 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52292 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52293 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52294 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52295 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52296 DEREZ!$DEREZ$ac_delim
52297 SHARED!$SHARED$ac_delim
52298 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52299 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52300 USE_GUI!$USE_GUI$ac_delim
52301 AFMINSTALL!$AFMINSTALL$ac_delim
52302 WIN32INSTALL!$WIN32INSTALL$ac_delim
52303 TOOLKIT!$TOOLKIT$ac_delim
52304 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52305 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52308 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52310 elif $ac_last_try; then
52311 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52312 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52313 { (exit 1); exit 1; }; }
52315 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52319 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52320 if test -n "$ac_eof"; then
52321 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52322 ac_eof
=`expr $ac_eof + 1`
52325 cat >>$CONFIG_STATUS <<_ACEOF
52326 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52330 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52331 s/^/s,@/; s/!/@,|#_!!_#|/
52334 s/'"$ac_delim"'$/,g/; t
52336 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52337 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52338 rm -f conf$
$subs.
sed
52339 cat >>$CONFIG_STATUS <<_ACEOF
52345 for ac_last_try
in false false false false false
:; do
52346 cat >conf$
$subs.
sed <<_ACEOF
52347 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52348 cross_compiling!$cross_compiling$ac_delim
52349 WIDGET_SET!$WIDGET_SET$ac_delim
52350 WX_RELEASE!$WX_RELEASE$ac_delim
52351 WX_VERSION!$WX_VERSION$ac_delim
52352 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52353 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52354 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52355 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52356 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52357 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52358 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52359 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52360 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52361 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52362 GUIDIST!$GUIDIST$ac_delim
52363 DISTDIR!$DISTDIR$ac_delim
52364 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52365 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52366 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52367 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52368 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52369 RESCOMP!$RESCOMP$ac_delim
52370 RESFLAGS!$RESFLAGS$ac_delim
52371 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52372 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52373 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52374 LIBWXMACRES!$LIBWXMACRES$ac_delim
52375 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52376 MACSETFILE!$MACSETFILE$ac_delim
52378 DLLTOOL!$DLLTOOL$ac_delim
52379 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52380 LIBOBJS!$LIBOBJS$ac_delim
52381 LTLIBOBJS!$LTLIBOBJS$ac_delim
52384 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
52386 elif $ac_last_try; then
52387 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52388 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52389 { (exit 1); exit 1; }; }
52391 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52395 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52396 if test -n "$ac_eof"; then
52397 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52398 ac_eof
=`expr $ac_eof + 1`
52401 cat >>$CONFIG_STATUS <<_ACEOF
52402 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52403 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52406 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52407 s/^/s,@/; s/!/@,|#_!!_#|/
52410 s/'"$ac_delim"'$/,g/; t
52412 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52413 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52414 rm -f conf$
$subs.
sed
52415 cat >>$CONFIG_STATUS <<_ACEOF
52422 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52423 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52424 # trailing colons and then remove the whole line if VPATH becomes empty
52425 # (actually we leave an empty line to preserve line numbers).
52426 if test "x$srcdir" = x.
; then
52427 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52428 s/:*\$(srcdir):*/:/
52429 s/:*\${srcdir}:*/:/
52431 s/^\([^=]*=[ ]*\):*/\1/
52437 cat >>$CONFIG_STATUS <<\_ACEOF
52438 fi # test -n "$CONFIG_FILES"
52441 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52444 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52446 case $ac_mode$ac_tag in
52448 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52449 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52450 { (exit 1); exit 1; }; };;
52451 :[FH
]-) ac_tag
=-:-;;
52452 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52469 -) ac_f
="$tmp/stdin";;
52470 *) # Look for the file first in the build tree, then in the source tree
52471 # (if the path is not absolute). The absolute path cannot be DOS-style,
52472 # because $ac_f cannot contain `:'.
52476 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52478 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52479 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52480 { (exit 1); exit 1; }; };;
52482 ac_file_inputs
="$ac_file_inputs $ac_f"
52485 # Let's still pretend it is `configure' which instantiates (i.e., don't
52486 # use $as_me), people would be surprised to read:
52487 # /* config.h. Generated by config.status. */
52488 configure_input
="Generated from "`IFS=:
52489 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52490 if test x
"$ac_file" != x
-; then
52491 configure_input
="$ac_file. $configure_input"
52492 { echo "$as_me:$LINENO: creating $ac_file" >&5
52493 echo "$as_me: creating $ac_file" >&6;}
52497 *:-:* | *:-) cat >"$tmp/stdin";;
52502 ac_dir
=`$as_dirname -- "$ac_file" ||
52503 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52504 X"$ac_file" : 'X\(//\)[^/]' \| \
52505 X"$ac_file" : 'X\(//\)$' \| \
52506 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52512 /^X\(\/\/\)[^/].*/{
52527 -*) as_dir
=.
/$as_dir;;
52529 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52533 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52534 *) as_qdir
=$as_dir;;
52536 as_dirs
="'$as_qdir' $as_dirs"
52537 as_dir
=`$as_dirname -- "$as_dir" ||
52538 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52539 X"$as_dir" : 'X\(//\)[^/]' \| \
52540 X"$as_dir" : 'X\(//\)$' \| \
52541 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52547 /^X\(\/\/\)[^/].*/{
52560 test -d "$as_dir" && break
52562 test -z "$as_dirs" || eval "mkdir $as_dirs"
52563 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52564 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52565 { (exit 1); exit 1; }; }; }
52569 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52571 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52572 # A ".." for each directory in $ac_dir_suffix.
52573 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52574 case $ac_top_builddir_sub in
52575 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52576 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52579 ac_abs_top_builddir
=$ac_pwd
52580 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52581 # for backward compatibility:
52582 ac_top_builddir
=$ac_top_build_prefix
52585 .
) # We are building in place.
52587 ac_top_srcdir
=$ac_top_builddir_sub
52588 ac_abs_top_srcdir
=$ac_pwd ;;
52589 [\\/]* | ?
:[\\/]* ) # Absolute name.
52590 ac_srcdir
=$srcdir$ac_dir_suffix;
52591 ac_top_srcdir
=$srcdir
52592 ac_abs_top_srcdir
=$srcdir ;;
52593 *) # Relative name.
52594 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52595 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52596 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52598 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52608 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52609 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52613 cat >>$CONFIG_STATUS <<\_ACEOF
52614 # If the template does not know about datarootdir, expand it.
52615 # FIXME: This hack should be removed a few years after 2.60.
52616 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52618 case `sed -n '/datarootdir/ {
52627 ' $ac_file_inputs` in
52628 *datarootdir
*) ac_datarootdir_seen
=yes;;
52629 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52630 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52631 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52633 cat >>$CONFIG_STATUS <<_ACEOF
52634 ac_datarootdir_hack='
52635 s&@datadir@&$datadir&g
52636 s&@docdir@&$docdir&g
52637 s&@infodir@&$infodir&g
52638 s&@localedir@&$localedir&g
52639 s&@mandir@&$mandir&g
52640 s&\\\${datarootdir}&$datarootdir&g' ;;
52644 # Neutralize VPATH when `$srcdir' = `.'.
52645 # Shell code in configure.ac might set extrasub.
52646 # FIXME: do we really want to maintain this feature?
52647 cat >>$CONFIG_STATUS <<_ACEOF
52651 cat >>$CONFIG_STATUS <<\_ACEOF
52653 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52654 s
&@configure_input@
&$configure_input&;t t
52655 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52656 s
&@srcdir@
&$ac_srcdir&;t t
52657 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52658 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52659 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52660 s
&@builddir@
&$ac_builddir&;t t
52661 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52662 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52663 s
&@INSTALL@
&$ac_INSTALL&;t t
52664 $ac_datarootdir_hack
52665 " $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
52667 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52668 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52669 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52670 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52671 which seems to be undefined. Please make sure it is defined." >&5
52672 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52673 which seems to be undefined. Please make sure it is defined." >&2;}
52677 -) cat "$tmp/out"; rm -f "$tmp/out";;
52678 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52687 # Transform confdefs.h into a sed script `conftest.defines', that
52688 # substitutes the proper values into config.h.in to produce config.h.
52689 rm -f conftest.defines conftest.
tail
52690 # First, append a space to every undef/define line, to ease matching.
52691 echo 's/$/ /' >conftest.defines
52692 # Then, protect against being on the right side of a sed subst, or in
52693 # an unquoted here document, in config.status. If some macros were
52694 # called several times there might be several #defines for the same
52695 # symbol, which is useless. But do not sort them, since the last
52696 # AC_DEFINE must be honored.
52697 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52698 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52699 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52700 # PARAMS is the parameter list in the macro definition--in most cases, it's
52701 # just an empty string.
52702 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52703 ac_dB
='\\)[ (].*,\\1define\\2'
52711 s/^[ ]*#[ ]*define[ ][ ]*//
52716 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52717 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52718 ' >>conftest.defines
52720 # Remove the space that was appended to ease matching.
52721 # Then replace #undef with comments. This is necessary, for
52722 # example, in the case of _POSIX_SOURCE, which is predefined and required
52723 # on some systems where configure will not decide to define it.
52724 # (The regexp can be short, since the line contains either #define or #undef.)
52726 s,^[ #]*u.*,/* & */,' >>conftest.defines
52728 # Break up conftest.defines:
52729 ac_max_sed_lines
=50
52731 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52732 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52733 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52735 ac_in
='$ac_file_inputs'
52736 ac_out
='"$tmp/out1"'
52737 ac_nxt
='"$tmp/out2"'
52741 # Write a here document:
52742 cat >>$CONFIG_STATUS <<_ACEOF
52743 # First, check the format of the line:
52744 cat >"\$tmp/defines.sed" <<\\CEOF
52745 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52746 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52750 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52752 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52753 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52754 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52755 grep . conftest.
tail >/dev
/null
|| break
52756 rm -f conftest.defines
52757 mv conftest.
tail conftest.defines
52759 rm -f conftest.defines conftest.
tail
52761 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52762 cat >>$CONFIG_STATUS <<\_ACEOF
52763 if test x
"$ac_file" != x
-; then
52764 echo "/* $configure_input */" >"$tmp/config.h"
52765 cat "$ac_result" >>"$tmp/config.h"
52766 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52767 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52768 echo "$as_me: $ac_file is unchanged" >&6;}
52771 mv "$tmp/config.h" $ac_file
52774 echo "/* $configure_input */"
52780 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52781 echo "$as_me: executing $ac_file commands" >&6;}
52786 case $ac_file$ac_mode in
52788 mkdir -p $outdir &&
52789 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52791 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52792 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52793 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52794 "wx-config":C
) rm -f wx
-config
52795 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52802 { (exit 0); exit 0; }
52804 chmod +x
$CONFIG_STATUS
52805 ac_clean_files
=$ac_clean_files_save
52808 # configure is writing to config.log, and then calls config.status.
52809 # config.status does its own redirection, appending to config.log.
52810 # Unfortunately, on DOS this fails, as config.log is still kept open
52811 # by configure, so config.status won't be able to write to it; its
52812 # output is simply discarded. So we exec the FD to /dev/null,
52813 # effectively closing config.log, so it can be properly (re)opened and
52814 # appended to by config.status. When coming back to configure, we
52815 # need to make the FD available again.
52816 if test "$no_create" != yes; then
52818 ac_config_status_args
=
52819 test "$silent" = yes &&
52820 ac_config_status_args
="$ac_config_status_args --quiet"
52822 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52824 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52825 # would make configure fail if this is the last instruction.
52826 $ac_cs_success || { (exit 1); exit 1; }
52830 # CONFIG_SUBDIRS section.
52832 if test "$no_recursion" != yes; then
52834 # Remove --cache-file and --srcdir arguments so they do not pile up.
52835 ac_sub_configure_args
=
52837 eval "set x $ac_configure_args"
52841 if test -n "$ac_prev"; then
52846 -cache-file | --cache-file | --cache-fil | --cache-fi \
52847 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52848 ac_prev
=cache_file
;;
52849 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52850 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52853 --config-cache | -C)
52855 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52857 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52859 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52861 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52865 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52867 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52871 # Always prepend --prefix to ensure using the same prefix
52872 # in subdir configurations.
52873 ac_arg
="--prefix=$prefix"
52875 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52877 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52880 if test "$silent" = yes; then
52881 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52885 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52887 # Do not complain, so a configure script can configure whichever
52888 # parts of a large source tree are present.
52889 test -d "$srcdir/$ac_dir" || continue
52891 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52892 echo "$as_me:$LINENO: $ac_msg" >&5
52896 -*) as_dir
=.
/$as_dir;;
52898 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52902 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52903 *) as_qdir
=$as_dir;;
52905 as_dirs
="'$as_qdir' $as_dirs"
52906 as_dir
=`$as_dirname -- "$as_dir" ||
52907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52908 X"$as_dir" : 'X\(//\)[^/]' \| \
52909 X"$as_dir" : 'X\(//\)$' \| \
52910 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52916 /^X\(\/\/\)[^/].*/{
52929 test -d "$as_dir" && break
52931 test -z "$as_dirs" || eval "mkdir $as_dirs"
52932 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52933 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52934 { (exit 1); exit 1; }; }; }
52938 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52940 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52941 # A ".." for each directory in $ac_dir_suffix.
52942 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52943 case $ac_top_builddir_sub in
52944 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52945 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52948 ac_abs_top_builddir
=$ac_pwd
52949 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52950 # for backward compatibility:
52951 ac_top_builddir
=$ac_top_build_prefix
52954 .
) # We are building in place.
52956 ac_top_srcdir
=$ac_top_builddir_sub
52957 ac_abs_top_srcdir
=$ac_pwd ;;
52958 [\\/]* | ?
:[\\/]* ) # Absolute name.
52959 ac_srcdir
=$srcdir$ac_dir_suffix;
52960 ac_top_srcdir
=$srcdir
52961 ac_abs_top_srcdir
=$srcdir ;;
52962 *) # Relative name.
52963 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52964 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52965 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52967 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52972 # Check for guested configure; otherwise get Cygnus style configure.
52973 if test -f "$ac_srcdir/configure.gnu"; then
52974 ac_sub_configure
=$ac_srcdir/configure.gnu
52975 elif test -f "$ac_srcdir/configure"; then
52976 ac_sub_configure
=$ac_srcdir/configure
52977 elif test -f "$ac_srcdir/configure.in"; then
52978 # This should be Cygnus configure.
52979 ac_sub_configure
=$ac_aux_dir/configure
52981 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52982 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52986 # The recursion is here.
52987 if test -n "$ac_sub_configure"; then
52988 # Make the cache file name correct relative to the subdirectory.
52989 case $cache_file in
52990 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52991 *) # Relative name.
52992 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52995 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52996 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52997 # The eval makes quoting arguments work.
52998 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52999 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53000 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53001 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53002 { (exit 1); exit 1; }; }
53011 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53013 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53014 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53016 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53017 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53018 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53019 if test "$wxUSE_UNICODE" = "yes"; then
53020 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53021 echo " (using UTF-8)"
53023 echo " (using wchar_t)"
53029 echo " What level of wxWidgets compatibility should be enabled?"
53030 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53031 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53033 echo " Which libraries should wxWidgets use?"
53034 echo " STL ${wxUSE_STL}"
53035 echo " jpeg ${wxUSE_LIBJPEG-none}"
53036 echo " png ${wxUSE_LIBPNG-none}"
53037 echo " regex ${wxUSE_REGEX}"
53038 echo " tiff ${wxUSE_LIBTIFF-none}"
53039 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53040 echo " xpm ${wxUSE_LIBXPM-none}"
53042 echo " zlib ${wxUSE_ZLIB}"
53043 echo " expat ${wxUSE_EXPAT}"
53044 echo " libmspack ${wxUSE_LIBMSPACK}"
53045 echo " sdl ${wxUSE_LIBSDL}"