2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.3.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.3'
579 PACKAGE_STRING
='wxWidgets 2.9.3'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
720 LIBGNOMEPRINTUI_CFLAGS
828 ICC_PCH_CREATE_SWITCH
832 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
833 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
834 COND_BUILD_DEBUG_UNICODE_0
835 COND_BUILD_DEBUG_UNICODE_1
837 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
838 COND_BUILD_RELEASE_UNICODE_0
839 COND_BUILD_RELEASE_UNICODE_1
841 COND_BUILD_debug_DEBUG_FLAG_default
842 COND_BUILD_debug_DEBUG_INFO_default
843 COND_BUILD_debug_UNICODE_0
844 COND_BUILD_debug_UNICODE_1
846 COND_BUILD_release_DEBUG_INFO_default
847 COND_BUILD_release_UNICODE_0
848 COND_BUILD_release_UNICODE_1
858 COND_MONOLITHIC_0_SHARED_0
859 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
860 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
862 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
865 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
866 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
867 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
868 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
869 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
870 COND_MONOLITHIC_0_SHARED_1
871 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
872 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
873 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
876 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
877 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
878 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
879 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
880 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
881 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
882 COND_MONOLITHIC_0_USE_AUI_1
883 COND_MONOLITHIC_0_USE_GUI_1
884 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
885 COND_MONOLITHIC_0_USE_HTML_1
886 COND_MONOLITHIC_0_USE_MEDIA_1
887 COND_MONOLITHIC_0_USE_PROPGRID_1
888 COND_MONOLITHIC_0_USE_QA_1
889 COND_MONOLITHIC_0_USE_RIBBON_1
890 COND_MONOLITHIC_0_USE_RICHTEXT_1
891 COND_MONOLITHIC_0_USE_STC_1
892 COND_MONOLITHIC_0_USE_WEBVIEW_1
893 COND_MONOLITHIC_0_USE_XRC_1
895 COND_MONOLITHIC_1_SHARED_0
896 COND_MONOLITHIC_1_SHARED_1
897 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
898 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
899 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
900 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
901 COND_PLATFORM_MACOSX_1
902 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
903 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
904 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
905 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
906 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
907 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
908 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
909 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
910 COND_PLATFORM_MACOSX_1_USE_GUI_1
911 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
912 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
913 COND_PLATFORM_MACOS_1
916 COND_PLATFORM_MSDOS_0
917 COND_PLATFORM_MSDOS_1
921 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
922 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
923 COND_PLATFORM_UNIX_1_USE_GUI_1
924 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
925 COND_PLATFORM_WIN32_0
926 COND_PLATFORM_WIN32_1
927 COND_PLATFORM_WIN32_1_SHARED_0
929 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
930 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
931 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
932 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
933 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
934 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
935 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
936 COND_SHARED_0_USE_STC_1
937 COND_SHARED_0_wxUSE_EXPAT_builtin
938 COND_SHARED_0_wxUSE_REGEX_builtin
939 COND_SHARED_0_wxUSE_ZLIB_builtin
941 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
944 COND_TOOLKIT_COCOA_USE_GUI_1
945 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_DFB_USE_GUI_1
949 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
950 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
951 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
952 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
954 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
955 COND_TOOLKIT_GTK_USE_GUI_1
958 COND_TOOLKIT_MGL_USE_GUI_1
960 COND_TOOLKIT_MOTIF_USE_GUI_1
961 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
963 COND_TOOLKIT_MSW_USE_GUI_1
964 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
965 COND_TOOLKIT_MSW_WXUNIV_0
966 COND_TOOLKIT_OSX_CARBON
967 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
968 COND_TOOLKIT_OSX_COCOA
969 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
970 COND_TOOLKIT_OSX_IPHONE
971 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
972 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
974 COND_TOOLKIT_PM_USE_GUI_1
975 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
977 COND_TOOLKIT_WINCE_USE_GUI_1
978 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
979 COND_TOOLKIT_WINCE_WXUNIV_0
981 COND_TOOLKIT_X11_USE_GUI_1
984 COND_USE_EXCEPTIONS_0
985 COND_USE_EXCEPTIONS_1
988 COND_USE_GUI_1_USE_OPENGL_1
989 COND_USE_GUI_1_WXUNIV_0
990 COND_USE_GUI_1_WXUNIV_1
991 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
992 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
993 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
994 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
995 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
996 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
1002 COND_USE_SOTWOSYMLINKS_1
1003 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
1004 COND_USE_SOVERLINUX_1
1005 COND_USE_SOVERSION_0
1006 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
1007 COND_USE_SOVERSOLARIS_1
1012 COND_WINDOWS_IMPLIB_1
1013 COND_WITH_PLUGIN_SDL_1
1016 COND_WXUSE_EXPAT_BUILTIN
1017 COND_WXUSE_LIBJPEG_BUILTIN
1018 COND_WXUSE_LIBPNG_BUILTIN
1019 COND_WXUSE_LIBTIFF_BUILTIN
1020 COND_WXUSE_REGEX_BUILTIN
1021 COND_WXUSE_ZLIB_BUILTIN
1022 COND_wxUSE_EXPAT_builtin
1023 COND_wxUSE_LIBJPEG_builtin
1024 COND_wxUSE_LIBPNG_builtin
1025 COND_wxUSE_LIBTIFF_builtin
1026 COND_wxUSE_REGEX_builtin
1027 COND_wxUSE_ZLIB_builtin
1030 WX_LIBRARY_BASENAME_NOGUI
1031 WX_LIBRARY_BASENAME_GUI
1051 WXCONFIG_LDFLAGS_GUI
1063 WX_RESOURCES_MACOSX_ASCII
1064 WX_RESOURCES_MACOSX_DATA
1074 ac_precious_vars
='build_alias
1111 LIBGNOMEPRINTUI_CFLAGS
1112 LIBGNOMEPRINTUI_LIBS
1123 ac_subdirs_all
='src/tiff
1126 # Initialize some variables set by options.
1128 ac_init_version
=false
1129 # The variables have the same names as the options, with
1130 # dashes changed to underlines.
1131 cache_file
=/dev
/null
1138 program_transform_name
=s
,x
,x
,
1146 # Installation directory options.
1147 # These are left unexpanded so users can "make install exec_prefix=/foo"
1148 # and all the variables that are supposed to be based on exec_prefix
1149 # by default will actually change.
1150 # Use braces instead of parens because sh, perl, etc. also accept them.
1151 # (The list follows the same order as the GNU Coding Standards.)
1152 bindir
='${exec_prefix}/bin'
1153 sbindir
='${exec_prefix}/sbin'
1154 libexecdir
='${exec_prefix}/libexec'
1155 datarootdir
='${prefix}/share'
1156 datadir
='${datarootdir}'
1157 sysconfdir
='${prefix}/etc'
1158 sharedstatedir
='${prefix}/com'
1159 localstatedir
='${prefix}/var'
1160 includedir
='${prefix}/include'
1161 oldincludedir
='/usr/include'
1162 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1163 infodir
='${datarootdir}/info'
1168 libdir
='${exec_prefix}/lib'
1169 localedir
='${datarootdir}/locale'
1170 mandir
='${datarootdir}/man'
1176 # If the previous option needs an argument, assign it.
1177 if test -n "$ac_prev"; then
1178 eval $ac_prev=\
$ac_option
1184 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1188 # Accept the important Cygnus configure options, so we can diagnose typos.
1190 case $ac_dashdash$ac_option in
1194 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1196 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1197 bindir
=$ac_optarg ;;
1199 -build | --build | --buil | --bui | --bu)
1200 ac_prev
=build_alias
;;
1201 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1202 build_alias
=$ac_optarg ;;
1204 -cache-file | --cache-file | --cache-fil | --cache-fi \
1205 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1206 ac_prev
=cache_file
;;
1207 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1208 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1209 cache_file
=$ac_optarg ;;
1211 --config-cache | -C)
1212 cache_file
=config.cache
;;
1214 -datadir | --datadir | --datadi | --datad)
1216 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1217 datadir
=$ac_optarg ;;
1219 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1220 | --dataroo | --dataro | --datar)
1221 ac_prev
=datarootdir
;;
1222 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1223 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1224 datarootdir
=$ac_optarg ;;
1226 -disable-* | --disable-*)
1227 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1230 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1231 { (exit 1); exit 1; }; }
1232 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1233 eval enable_
$ac_feature=no
;;
1235 -docdir | --docdir | --docdi | --doc | --do)
1237 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1238 docdir
=$ac_optarg ;;
1240 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1242 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1243 dvidir
=$ac_optarg ;;
1245 -enable-* | --enable-*)
1246 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1249 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1250 { (exit 1); exit 1; }; }
1251 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1252 eval enable_
$ac_feature=\
$ac_optarg ;;
1254 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1255 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1256 | --exec | --exe | --ex)
1257 ac_prev
=exec_prefix
;;
1258 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1259 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1260 | --exec=* | --exe=* | --ex=*)
1261 exec_prefix
=$ac_optarg ;;
1263 -gas | --gas | --ga | --g)
1264 # Obsolete; use --with-gas.
1267 -help | --help | --hel | --he | -h)
1268 ac_init_help
=long
;;
1269 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1270 ac_init_help
=recursive
;;
1271 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1272 ac_init_help
=short
;;
1274 -host | --host | --hos | --ho)
1275 ac_prev
=host_alias
;;
1276 -host=* | --host=* | --hos=* | --ho=*)
1277 host_alias
=$ac_optarg ;;
1279 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1281 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1283 htmldir
=$ac_optarg ;;
1285 -includedir | --includedir | --includedi | --included | --include \
1286 | --includ | --inclu | --incl | --inc)
1287 ac_prev
=includedir
;;
1288 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1289 | --includ=* | --inclu=* | --incl=* | --inc=*)
1290 includedir
=$ac_optarg ;;
1292 -infodir | --infodir | --infodi | --infod | --info | --inf)
1294 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1295 infodir
=$ac_optarg ;;
1297 -libdir | --libdir | --libdi | --libd)
1299 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1300 libdir
=$ac_optarg ;;
1302 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1303 | --libexe | --libex | --libe)
1304 ac_prev
=libexecdir
;;
1305 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1306 | --libexe=* | --libex=* | --libe=*)
1307 libexecdir
=$ac_optarg ;;
1309 -localedir | --localedir | --localedi | --localed | --locale)
1310 ac_prev
=localedir
;;
1311 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1312 localedir
=$ac_optarg ;;
1314 -localstatedir | --localstatedir | --localstatedi | --localstated \
1315 | --localstate | --localstat | --localsta | --localst | --locals)
1316 ac_prev
=localstatedir
;;
1317 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1318 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1319 localstatedir
=$ac_optarg ;;
1321 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1323 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1324 mandir
=$ac_optarg ;;
1326 -nfp | --nfp | --nf)
1327 # Obsolete; use --without-fp.
1330 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1331 | --no-cr | --no-c | -n)
1334 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1335 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1338 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1339 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1340 | --oldin | --oldi | --old | --ol | --o)
1341 ac_prev
=oldincludedir
;;
1342 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1343 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1344 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1345 oldincludedir
=$ac_optarg ;;
1347 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1349 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1350 prefix
=$ac_optarg ;;
1352 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1353 | --program-pre | --program-pr | --program-p)
1354 ac_prev
=program_prefix
;;
1355 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1356 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1357 program_prefix
=$ac_optarg ;;
1359 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1360 | --program-suf | --program-su | --program-s)
1361 ac_prev
=program_suffix
;;
1362 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1363 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1364 program_suffix
=$ac_optarg ;;
1366 -program-transform-name | --program-transform-name \
1367 | --program-transform-nam | --program-transform-na \
1368 | --program-transform-n | --program-transform- \
1369 | --program-transform | --program-transfor \
1370 | --program-transfo | --program-transf \
1371 | --program-trans | --program-tran \
1372 | --progr-tra | --program-tr | --program-t)
1373 ac_prev
=program_transform_name
;;
1374 -program-transform-name=* | --program-transform-name=* \
1375 | --program-transform-nam=* | --program-transform-na=* \
1376 | --program-transform-n=* | --program-transform-=* \
1377 | --program-transform=* | --program-transfor=* \
1378 | --program-transfo=* | --program-transf=* \
1379 | --program-trans=* | --program-tran=* \
1380 | --progr-tra=* | --program-tr=* | --program-t=*)
1381 program_transform_name
=$ac_optarg ;;
1383 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1385 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1386 pdfdir
=$ac_optarg ;;
1388 -psdir | --psdir | --psdi | --psd | --ps)
1390 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1394 | -silent | --silent | --silen | --sile | --sil)
1397 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1399 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1401 sbindir
=$ac_optarg ;;
1403 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1404 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1405 | --sharedst | --shareds | --shared | --share | --shar \
1407 ac_prev
=sharedstatedir
;;
1408 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1409 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1410 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1412 sharedstatedir
=$ac_optarg ;;
1414 -site | --site | --sit)
1416 -site=* | --site=* | --sit=*)
1419 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1421 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1422 srcdir
=$ac_optarg ;;
1424 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1425 | --syscon | --sysco | --sysc | --sys | --sy)
1426 ac_prev
=sysconfdir
;;
1427 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1428 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1429 sysconfdir
=$ac_optarg ;;
1431 -target | --target | --targe | --targ | --tar | --ta | --t)
1432 ac_prev
=target_alias
;;
1433 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1434 target_alias
=$ac_optarg ;;
1436 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1439 -version | --version | --versio | --versi | --vers | -V)
1440 ac_init_version
=: ;;
1443 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1444 # Reject names that are not valid shell variable names.
1445 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1446 { echo "$as_me: error: invalid package name: $ac_package" >&2
1447 { (exit 1); exit 1; }; }
1448 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1449 eval with_
$ac_package=\
$ac_optarg ;;
1451 -without-* | --without-*)
1452 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1453 # Reject names that are not valid shell variable names.
1454 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1455 { echo "$as_me: error: invalid package name: $ac_package" >&2
1456 { (exit 1); exit 1; }; }
1457 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1458 eval with_
$ac_package=no
;;
1461 # Obsolete; use --with-x.
1464 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1465 | --x-incl | --x-inc | --x-in | --x-i)
1466 ac_prev
=x_includes
;;
1467 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1468 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1469 x_includes
=$ac_optarg ;;
1471 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1472 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1473 ac_prev
=x_libraries
;;
1474 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1475 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1476 x_libraries
=$ac_optarg ;;
1478 -*) { echo "$as_me: error: unrecognized option: $ac_option
1479 Try \`$0 --help' for more information." >&2
1480 { (exit 1); exit 1; }; }
1484 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1485 # Reject names that are not valid shell variable names.
1486 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1487 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1488 { (exit 1); exit 1; }; }
1489 eval $ac_envvar=\
$ac_optarg
1490 export $ac_envvar ;;
1493 # FIXME: should be removed in autoconf 3.0.
1494 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1495 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1496 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1497 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1503 if test -n "$ac_prev"; then
1504 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1505 { echo "$as_me: error: missing argument to $ac_option" >&2
1506 { (exit 1); exit 1; }; }
1509 # Be sure to have absolute directory names.
1510 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1511 datadir sysconfdir sharedstatedir localstatedir includedir \
1512 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1513 libdir localedir mandir
1515 eval ac_val
=\$
$ac_var
1517 [\\/$
]* | ?
:[\\/]* ) continue;;
1518 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1520 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1521 { (exit 1); exit 1; }; }
1524 # There might be people who depend on the old broken behavior: `$host'
1525 # used to hold the argument of --host etc.
1526 # FIXME: To remove some day.
1529 target
=$target_alias
1531 # FIXME: To remove some day.
1532 if test "x$host_alias" != x
; then
1533 if test "x$build_alias" = x
; then
1534 cross_compiling
=maybe
1535 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1536 If a cross compiler is detected then cross compile mode will be used." >&2
1537 elif test "x$build_alias" != "x$host_alias"; then
1543 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1545 test "$silent" = yes && exec 6>/dev
/null
1548 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1549 ac_ls_di
=`ls -di .` &&
1550 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1551 { echo "$as_me: error: Working directory cannot be determined" >&2
1552 { (exit 1); exit 1; }; }
1553 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1554 { echo "$as_me: error: pwd does not report name of working directory" >&2
1555 { (exit 1); exit 1; }; }
1558 # Find the source files, if location was not specified.
1559 if test -z "$srcdir"; then
1560 ac_srcdir_defaulted
=yes
1561 # Try the directory containing this script, then the parent directory.
1562 ac_confdir
=`$as_dirname -- "$0" ||
1563 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1564 X"$0" : 'X\(//\)[^/]' \| \
1565 X"$0" : 'X\(//\)$' \| \
1566 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1586 if test ! -r "$srcdir/$ac_unique_file"; then
1590 ac_srcdir_defaulted
=no
1592 if test ! -r "$srcdir/$ac_unique_file"; then
1593 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1594 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1595 { (exit 1); exit 1; }; }
1597 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1599 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1600 { (exit 1); exit 1; }; }
1602 # When building in place, set srcdir=.
1603 if test "$ac_abs_confdir" = "$ac_pwd"; then
1606 # Remove unnecessary trailing slashes from srcdir.
1607 # Double slashes in file names in object file debugging info
1608 # mess up M-x gdb in Emacs.
1610 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1612 for ac_var
in $ac_precious_vars; do
1613 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1614 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1615 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1616 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1620 # Report the --help message.
1622 if test "$ac_init_help" = "long"; then
1623 # Omit some internal or obsolete options to make the list less imposing.
1624 # This message is too long to be a string in the A/UX 3.1 sh.
1626 \`configure' configures wxWidgets 2.9.3 to adapt to many kinds of systems.
1628 Usage: $0 [OPTION]... [VAR=VALUE]...
1630 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1631 VAR=VALUE. See below for descriptions of some of the useful variables.
1633 Defaults for the options are specified in brackets.
1636 -h, --help display this help and exit
1637 --help=short display options specific to this package
1638 --help=recursive display the short help of all the included packages
1639 -V, --version display version information and exit
1640 -q, --quiet, --silent do not print \`checking...' messages
1641 --cache-file=FILE cache test results in FILE [disabled]
1642 -C, --config-cache alias for \`--cache-file=config.cache'
1643 -n, --no-create do not create output files
1644 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1646 Installation directories:
1647 --prefix=PREFIX install architecture-independent files in PREFIX
1648 [$ac_default_prefix]
1649 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1652 By default, \`make install' will install all the files in
1653 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1654 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1655 for instance \`--prefix=\$HOME'.
1657 For better control, use the options below.
1659 Fine tuning of the installation directories:
1660 --bindir=DIR user executables [EPREFIX/bin]
1661 --sbindir=DIR system admin executables [EPREFIX/sbin]
1662 --libexecdir=DIR program executables [EPREFIX/libexec]
1663 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1664 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1665 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1666 --libdir=DIR object code libraries [EPREFIX/lib]
1667 --includedir=DIR C header files [PREFIX/include]
1668 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1669 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1670 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1671 --infodir=DIR info documentation [DATAROOTDIR/info]
1672 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1673 --mandir=DIR man documentation [DATAROOTDIR/man]
1674 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1675 --htmldir=DIR html documentation [DOCDIR]
1676 --dvidir=DIR dvi documentation [DOCDIR]
1677 --pdfdir=DIR pdf documentation [DOCDIR]
1678 --psdir=DIR ps documentation [DOCDIR]
1684 --x-includes=DIR X include files are
in DIR
1685 --x-libraries=DIR X library files are
in DIR
1688 --build=BUILD configure
for building on BUILD
[guessed
]
1689 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1693 if test -n "$ac_init_help"; then
1694 case $ac_init_help in
1695 short
| recursive
) echo "Configuration of wxWidgets 2.9.3:";;
1700 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1701 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1702 --disable-gui don
't build GUI parts of the library
1703 --enable-monolithic build wxWidgets as single library
1704 --enable-plugins build parts of wxWidgets as loadable components
1705 --enable-official_build official build of wxWidgets (win32 DLL only)
1706 --enable-vendor=VENDOR vendor name (win32 DLL only)
1707 --disable-all-features disable all optional features to build minimal library
1708 --enable-universal use wxWidgets GUI controls instead of native ones
1709 --enable-nanox use NanoX
1710 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1711 --enable-gpe use GNOME PDA Environment features if possible
1712 --enable-debug build library for debugging
1713 --disable-debug_flag disable all debugging support
1714 --enable-debug_info generate debug information
1715 --enable-debug_gdb create code with extra GDB debugging information
1716 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1717 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1718 --disable-shared create static library instead of shared
1719 --enable-stl use standard C++ classes for everything
1720 --enable-std_containers use standard C++ container classes
1721 --enable-std_iostreams use standard C++ stream classes
1722 --enable-std_string use standard C++ string classes
1723 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1724 --disable-unicode compile without Unicode support
1725 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1726 --enable-utf8 use UTF-8 representation for strings (Unix only)
1727 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1728 --enable-extended_rtti use extended RTTI (XTI)
1729 --enable-omf use OMF object format
1730 --disable-optimise compile without optimisations
1731 --enable-profile create code with profiling information
1732 --enable-no_rtti create code without RTTI information
1733 --enable-no_exceptions create code without C++ exceptions handling
1734 --enable-permissive compile code disregarding strict ANSI
1735 --enable-no_deps create code without dependency information
1736 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1737 --enable-universal_binary create universal binary with Mac PPC and i386
(and x86_64
if using Cocoa
) architectures
1738 --enable-macosx_arch=ARCH build
for just the specified architecture
1739 --enable-compat26 enable wxWidgets
2.6 compatibility
1740 --disable-compat28 disable wxWidgets
2.8 compatibility
1741 --disable-rpath disable use of rpath
for uninstalled builds
1742 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1743 --disable-visibility disable use of ELF symbols visibility even
if supported
1744 --disable-tls disable use of compiler TLS support
1745 --enable-intl use internationalization system
1746 --enable-xlocale use x
-locale support
(requires wxLocale
)
1747 --enable-config use wxConfig
(and derived
) classes
1748 --enable-protocols use wxProtocol and derived classes
1749 --enable-ftp use wxFTP
(requires wxProtocol
1750 --enable-http use wxHTTP
(requires wxProtocol
1751 --enable-fileproto use wxFileProto class
(requires wxProtocol
1752 --enable-sockets use socket
/network classes
1753 --enable-ipv6 enable IPv6 support
in wxSocket
1754 --enable-ole use OLE classes
(Win32 only
)
1755 --enable-dataobj use data object classes
1756 --enable-ipc use interprocess communication
(wxSocket etc.
)
1757 --enable-baseevtloop use event loop
in console programs too
1758 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1759 --enable-selectloop use wxSelectDispatcher class
1760 --enable-any use wxAny class
1761 --enable-apple_ieee use the Apple IEEE codec
1762 --enable-arcstream use wxArchive streams
1763 --enable-base64 use base64 encoding
/decoding functions
1764 --enable-backtrace use wxStackWalker class
for getting backtraces
1765 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1766 --enable-cmdline use wxCmdLineParser class
1767 --enable-datetime use wxDateTime class
1768 --enable-debugreport use wxDebugReport class
1769 --enable-dialupman use dialup network classes
1770 --enable-dynlib use wxLibrary class
for DLL loading
1771 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1772 --enable-exceptions build exception
-safe library
1773 --enable-ffile use wxFFile class
1774 --enable-file use wxFile class
1775 --enable-filehistory use wxFileHistory class
1776 --enable-filesystem use virtual
file systems classes
1777 --enable-fontenum use wxFontEnumerator class
1778 --enable-fontmap use font encodings conversion classes
1779 --enable-fs_archive use virtual archive filesystems
1780 --enable-fs_inet use virtual HTTP
/FTP filesystems
1781 --enable-fs_zip now replaced by fs_archive
1782 --enable-fswatcher use wxFileSystemWatcher class
1783 --enable-geometry use geometry class
1784 --enable-log use logging system
1785 --enable-longlong use wxLongLong class
1786 --enable-mimetype use wxMimeTypesManager
1787 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1788 --enable-snglinst use wxSingleInstanceChecker class
1789 --enable-sound use wxSound class
1790 --enable-stdpaths use wxStandardPaths class
1791 --enable-stopwatch use wxStopWatch class
1792 --enable-streams use wxStream etc classes
1793 --enable-sysoptions use wxSystemOptions
1794 --enable-tarstream use wxTar streams
1795 --enable-textbuf use wxTextBuffer class
1796 --enable-textfile use wxTextFile class
1797 --enable-timer use wxTimer class
1798 --enable-variant use wxVariant class
1799 --enable-zipstream use wxZip streams
1800 --enable-url use wxURL class
1801 --enable-protocol use wxProtocol class
1802 --enable-protocol-http HTTP support
in wxProtocol
1803 --enable-protocol-ftp FTP support
in wxProtocol
1804 --enable-protocol-file FILE support
in wxProtocol
1805 --enable-threads use threads
1806 --enable-iniconf use wxIniConfig
(Win32 only
)
1807 --enable-regkey use wxRegKey class
(Win32 only
)
1808 --enable-docview use document view architecture
1809 --enable-help use
help subsystem
1810 --enable-mshtmlhelp use MS HTML Help
(win32
)
1811 --enable-html use wxHTML sub
-library
1812 --enable-htmlhelp use wxHTML
-based help
1813 --enable-xrc use XRC resources sub
-library
1814 --enable-aui use AUI docking library
1815 --enable-propgrid use wxPropertyGrid library
1816 --enable-ribbon use wxRibbon library
1817 --enable-stc use wxStyledTextCtrl library
1818 --enable-constraints use layout
-constraints system
1819 --enable-loggui use standard GUI logger
1820 --enable-logwin use wxLogWindow
1821 --enable-logdialog use wxLogDialog
1822 --enable-mdi use multiple document interface architecture
1823 --enable-mdidoc use docview architecture with MDI
1824 --enable-mediactrl use wxMediaCtrl class
1825 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1826 --enable-richtext use wxRichTextCtrl
1827 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1828 --enable-printarch use printing architecture
1829 --enable-svg use wxSVGFileDC device context
1830 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
1831 --enable-webview use wxWebView library
1832 --enable-graphics_ctx use graphics context
2D drawing API
1833 --enable-clipboard use wxClipboard class
1834 --enable-dnd use Drag
'n'Drop classes
1835 --disable-controls disable compilation of all standard controls
1836 --enable-markup support wxControl
::SetLabelMarkup
1837 --enable-accel use accelerators
1838 --enable-animatectrl use wxAnimationCtrl class
1839 --enable-bannerwindow use wxBannerWindow class
1840 --enable-artstd use standard XPM icons
in wxArtProvider
1841 --enable-arttango use Tango icons
in wxArtProvider
1842 --enable-bmpbutton use wxBitmapButton class
1843 --enable-bmpcombobox use wxBitmapComboBox class
1844 --enable-button use wxButton class
1845 --enable-calendar use wxCalendarCtrl class
1846 --enable-caret use wxCaret class
1847 --enable-checkbox use wxCheckBox class
1848 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1849 --enable-choice use wxChoice class
1850 --enable-choicebook use wxChoicebook class
1851 --enable-collpane use wxCollapsiblePane class
1852 --enable-colourpicker use wxColourPickerCtrl class
1853 --enable-combobox use wxComboBox class
1854 --enable-comboctrl use wxComboCtrl class
1855 --enable-commandlinkbutton use wxCommmandLinkButton class
1856 --enable-dataviewctrl use wxDataViewCtrl class
1857 --enable-datepick use wxDatePickerCtrl class
1858 --enable-detect_sm use code to detect X11 session manager
1859 --enable-dirpicker use wxDirPickerCtrl class
1860 --enable-display use wxDisplay class
1861 --enable-editablebox use wxEditableListBox class
1862 --enable-filectrl use wxFileCtrl class
1863 --enable-filepicker use wxFilePickerCtrl class
1864 --enable-fontpicker use wxFontPickerCtrl class
1865 --enable-gauge use wxGauge class
1866 --enable-grid use wxGrid class
1867 --enable-headerctrl use wxHeaderCtrl class
1868 --enable-hyperlink use wxHyperlinkCtrl class
1869 --enable-imaglist use wxImageList class
1870 --enable-infobar use wxInfoBar class
1871 --enable-listbook use wxListbook class
1872 --enable-listbox use wxListBox class
1873 --enable-listctrl use wxListCtrl class
1874 --enable-notebook use wxNotebook class
1875 --enable-notifmsg use wxNotificationMessage class
1876 --enable-odcombobox use wxOwnerDrawnComboBox class
1877 --enable-popupwin use wxPopUpWindow class
1878 --enable-radiobox use wxRadioBox class
1879 --enable-radiobtn use wxRadioButton class
1880 --enable-richmsgdlg use wxRichMessageDialog class
1881 --enable-richtooltip use wxRichToolTip class
1882 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1883 --enable-sash use wxSashWindow class
1884 --enable-scrollbar use wxScrollBar class and scrollable windows
1885 --enable-searchctrl use wxSearchCtrl class
1886 --enable-slider use wxSlider class
1887 --enable-spinbtn use wxSpinButton class
1888 --enable-spinctrl use wxSpinCtrl class
1889 --enable-splitter use wxSplitterWindow class
1890 --enable-statbmp use wxStaticBitmap class
1891 --enable-statbox use wxStaticBox class
1892 --enable-statline use wxStaticLine class
1893 --enable-stattext use wxStaticText class
1894 --enable-statusbar use wxStatusBar class
1895 --enable-taskbaricon use wxTaskBarIcon class
1896 --enable-tbarnative use native wxToolBar class
1897 --enable-textctrl use wxTextCtrl class
1898 --enable-timepick use wxTimePickerCtrl class
1899 --enable-tipwindow use wxTipWindow class
1900 --enable-togglebtn use wxToggleButton class
1901 --enable-toolbar use wxToolBar class
1902 --enable-toolbook use wxToolbook class
1903 --enable-treebook use wxTreebook class
1904 --enable-treectrl use wxTreeCtrl class
1905 --enable-treelist use wxTreeListCtrl class
1906 --enable-commondlg use all common dialogs
1907 --enable-aboutdlg use wxAboutBox
1908 --enable-choicedlg use wxChoiceDialog
1909 --enable-coldlg use wxColourDialog
1910 --enable-filedlg use wxFileDialog
1911 --enable-finddlg use wxFindReplaceDialog
1912 --enable-fontdlg use wxFontDialog
1913 --enable-dirdlg use wxDirDialog
1914 --enable-msgdlg use wxMessageDialog
1915 --enable-numberdlg use wxNumberEntryDialog
1916 --enable-splash use wxSplashScreen
1917 --enable-textdlg use wxTextDialog
1918 --enable-tipdlg use startup tips
1919 --enable-progressdlg use wxProgressDialog
1920 --enable-wizarddlg use wxWizard
1921 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1922 --enable-miniframe use wxMiniFrame class
1923 --enable-tooltips use wxToolTip class
1924 --enable-splines use spline drawing code
1925 --enable-mousewheel use mousewheel
1926 --enable-validators use wxValidator and derived classes
1927 --enable-busyinfo use wxBusyInfo
1928 --enable-hotkey use wxWindow
::RegisterHotKey
()
1929 --enable-joystick use wxJoystick
1930 --enable-metafiles use wxMetaFile
1931 --enable-dragimage use wxDragImage
1932 --enable-accessibility enable accessibility support
1933 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1934 --enable-dctransform use wxDC
::SetTransformMatrix and related
1935 --enable-webview-webkit use wxWebView WebKit backend
1936 --enable-palette use wxPalette class
1937 --enable-image use wxImage class
1938 --enable-gif use gif images
(GIF
file format
)
1939 --enable-pcx use pcx images
(PCX
file format
)
1940 --enable-tga use tga images
(TGA
file format
)
1941 --enable-iff use iff images
(IFF
file format
)
1942 --enable-pnm use pnm images
(PNM
file format
)
1943 --enable-xpm use xpm images
(XPM
file format
)
1944 --enable-ico_cur use Windows ICO and CUR formats
1945 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1946 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1947 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1948 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1949 --enable-wxdib use wxDIB class
(Win32 only
)
1950 --enable-webview-ie use wxWebView IE backend
(Win32 only
)
1951 --enable-autoidman use automatic ids management
1952 --disable-largefile omit support
for large files
1953 --disable-gtktest do not try to compile and run a
test GTK
+ program
1954 --disable-gtktest Do not try to compile and run a
test GTK program
1955 --disable-sdltest Do not try to compile and run a
test SDL program
1956 --enable-omf use OMF object format
(OS
/2)
1957 --disable-dependency-tracking
1958 don
't use dependency tracking even if the compiler
1960 --disable-precomp-headers
1961 don't use precompiled headers even
if compiler can
1964 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1965 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1966 --without-subdirs don
't generate makefiles for samples/demos/...
1967 --with-flavour=NAME specify a name to identify this build
1968 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1969 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1970 --with-motif use Motif/Lesstif
1971 --with-osx_carbon use Mac OS X (Carbon)
1972 --with-osx_cocoa use Mac OS X (Cocoa)
1973 --with-osx_iphone use iPhone OS X port
1974 --with-osx use Mac OS X (default port, currently Carbon)
1975 --with-carbon same as --with-osx_carbon
1976 --with-cocoa same as --with-osx_cocoa
1977 --with-iphone same as --with-osx_iphone
1978 --with-mac same as --with-osx
1979 --with-old_cocoa use old, deprecated, Cocoa port
1980 --with-wine use Wine
1981 --with-msw use MS-Windows
1982 --with-pm use OS/2 Presentation Manager
1983 --with-mgl use SciTech MGL
1984 --with-directfb use DirectFB
1985 --with-microwin use MicroWindows
1987 --with-libpng use libpng (PNG image format)
1988 --with-libjpeg use libjpeg (JPEG file format)
1989 --with-libtiff use libtiff (TIFF file format)
1990 --with-libxpm use libxpm (XPM file format)
1991 --with-libiconv use libiconv (character conversion)
1992 --with-libmspack use libmspack (CHM help files loading)
1993 --without-gtkprint don't use GTK printing support
1994 --without-gnomeprint don
't use GNOME printing libraries
1995 --with-gnomevfs use GNOME VFS for associating MIME types
1996 --with-hildon use Hildon framework for Nokia 770/800/810
1997 --with-opengl use OpenGL (or Mesa)
1998 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1999 --with-sdl use SDL for audio on Unix
2000 --with-regex enable support for wxRegEx class
2001 --with-zlib use zlib for LZW compression
2002 --with-expat enable XML support using expat parser
2003 --with-macosx-sdk=PATH use an OS X SDK at PATH
2004 --with-macosx-version-min=VER build binaries which require at least this OS X version
2005 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2006 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2007 --with-x use the X Window System
2008 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2009 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2010 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2011 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2012 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2014 Some influential environment variables:
2015 CC C compiler command
2016 CFLAGS C compiler flags
2017 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2018 nonstandard directory <lib dir>
2019 LIBS libraries to pass to the linker, e.g. -l<library>
2020 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2021 you have headers in a nonstandard directory <include dir>
2023 CXX C++ compiler command
2024 CXXFLAGS C++ compiler flags
2025 CXXCPP C++ preprocessor
2026 PKG_CONFIG path to pkg-config utility
2028 C compiler flags for DIRECTFB, overriding pkg-config
2030 linker flags for DIRECTFB, overriding pkg-config
2031 XMKMF Path to xmkmf, Makefile generator for X Window System
2033 C compiler flags for PANGOX, overriding pkg-config
2034 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2036 C compiler flags for PANGOFT2, overriding pkg-config
2038 linker flags for PANGOFT2, overriding pkg-config
2040 C compiler flags for PANGOXFT, overriding pkg-config
2042 linker flags for PANGOXFT, overriding pkg-config
2044 C compiler flags for Xinerama, overriding pkg-config
2046 linker flags for Xinerama, overriding pkg-config
2048 C compiler flags for Xxf86vm, overriding pkg-config
2050 linker flags for Xxf86vm, overriding pkg-config
2051 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2052 SM_LIBS linker flags for SM, overriding pkg-config
2053 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2054 GL_LIBS linker flags for GL, overriding pkg-config
2055 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2056 GLU_LIBS linker flags for GLU, overriding pkg-config
2058 C compiler flags for MesaGL, overriding pkg-config
2059 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2061 C compiler flags for GTKPRINT, overriding pkg-config
2063 linker flags for GTKPRINT, overriding pkg-config
2064 LIBGNOMEPRINTUI_CFLAGS
2065 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2066 LIBGNOMEPRINTUI_LIBS
2067 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2069 C compiler flags for GNOMEVFS, overriding pkg-config
2071 linker flags for GNOMEVFS, overriding pkg-config
2073 C compiler flags for HILDON, overriding pkg-config
2074 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2076 C compiler flags for HILDON2, overriding pkg-config
2078 linker flags for HILDON2, overriding pkg-config
2080 C compiler flags for CAIRO, overriding pkg-config
2081 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2082 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2083 GST_LIBS linker flags for GST, overriding pkg-config
2085 Use these variables to override the choices made by `configure' or to
help
2086 it to
find libraries and programs with nonstandard names
/locations.
2088 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2093 if test "$ac_init_help" = "recursive"; then
2094 # If there are subdirs, report their specific --help.
2095 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2096 test -d "$ac_dir" || continue
2100 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2102 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2103 # A ".." for each directory in $ac_dir_suffix.
2104 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2105 case $ac_top_builddir_sub in
2106 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2107 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2110 ac_abs_top_builddir
=$ac_pwd
2111 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2112 # for backward compatibility:
2113 ac_top_builddir
=$ac_top_build_prefix
2116 .
) # We are building in place.
2118 ac_top_srcdir
=$ac_top_builddir_sub
2119 ac_abs_top_srcdir
=$ac_pwd ;;
2120 [\\/]* | ?
:[\\/]* ) # Absolute name.
2121 ac_srcdir
=$srcdir$ac_dir_suffix;
2122 ac_top_srcdir
=$srcdir
2123 ac_abs_top_srcdir
=$srcdir ;;
2125 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2126 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2127 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2129 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2131 cd "$ac_dir" || { ac_status
=$?
; continue; }
2132 # Check for guested configure.
2133 if test -f "$ac_srcdir/configure.gnu"; then
2135 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2136 elif test -f "$ac_srcdir/configure"; then
2138 $SHELL "$ac_srcdir/configure" --help=recursive
2140 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2142 cd "$ac_pwd" || { ac_status
=$?
; break; }
2146 test -n "$ac_init_help" && exit $ac_status
2147 if $ac_init_version; then
2149 wxWidgets configure
2.9.3
2150 generated by GNU Autoconf
2.61
2152 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2153 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2154 This configure
script is free software
; the Free Software Foundation
2155 gives unlimited permission to copy
, distribute and modify it.
2159 cat >config.log
<<_ACEOF
2160 This file contains any messages produced by compilers while
2161 running configure, to aid debugging if configure makes a mistake.
2163 It was created by wxWidgets $as_me 2.9.3, which was
2164 generated by GNU Autoconf 2.61. Invocation command line was
2176 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2177 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2178 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2179 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2180 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2182 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2183 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2185 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2186 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2187 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2188 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2189 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2190 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2191 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir
=.
2200 echo "PATH: $as_dir"
2216 # Keep a trace of the command line.
2217 # Strip out --no-create and --no-recursion so they do not pile up.
2218 # Strip out --silent because we don't want to record it for future runs.
2219 # Also quote any args containing shell meta-characters.
2220 # Make two passes to allow for proper duplicate-argument suppression.
2224 ac_must_keep_next
=false
2230 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2232 | -silent | --silent | --silen | --sile | --sil)
2235 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2238 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2240 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2241 if test $ac_must_keep_next = true
; then
2242 ac_must_keep_next
=false
# Got value, back to normal.
2245 *=* | --config-cache | -C | -disable-* | --disable-* \
2246 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2247 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2248 | -with-* | --with-* | -without-* | --without-* | --x)
2249 case "$ac_configure_args0 " in
2250 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2253 -* ) ac_must_keep_next
=true
;;
2256 ac_configure_args
="$ac_configure_args '$ac_arg'"
2261 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2262 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2264 # When interrupted or exit'd, cleanup temporary files, and complete
2265 # config.log. We remove comments because anyway the quotes in there
2266 # would cause problems or look ugly.
2267 # WARNING: Use '\'' to represent an apostrophe within the trap.
2268 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2269 trap 'exit_status=$?
2270 # Save into config.log some information that might help in debugging.
2275 ## ---------------- ##
2276 ## Cache variables. ##
2277 ## ---------------- ##
2280 # The following way of writing the cache mishandles newlines in values,
2282 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2283 eval ac_val=\$$ac_var
2287 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2288 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2291 _ | IFS | as_nl) ;; #(
2292 *) $as_unset $ac_var ;;
2297 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2298 *${as_nl}ac_space=\ *)
2300 "s/'\''/'\''\\\\'\'''\''/g;
2301 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2304 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2312 ## ----------------- ##
2313 ## Output variables. ##
2314 ## ----------------- ##
2317 for ac_var in $ac_subst_vars
2319 eval ac_val=\$$ac_var
2321 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2323 echo "$ac_var='\''$ac_val'\''"
2327 if test -n "$ac_subst_files"; then
2329 ## ------------------- ##
2330 ## File substitutions. ##
2331 ## ------------------- ##
2334 for ac_var
in $ac_subst_files
2336 eval ac_val
=\$
$ac_var
2338 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2340 echo "$ac_var='\''$ac_val'\''"
2345 if test -s confdefs.h; then
2355 test "$ac_signal" != 0 &&
2356 echo "$as_me: caught signal $ac_signal"
2357 echo "$as_me: exit $exit_status"
2359 rm -f core *.core core.conftest.* &&
2360 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2363 for ac_signal
in 1 2 13 15; do
2364 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2368 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2369 rm -f -r conftest
* confdefs.h
2371 # Predefined preprocessor variables.
2373 cat >>confdefs.h
<<_ACEOF
2374 #define PACKAGE_NAME "$PACKAGE_NAME"
2378 cat >>confdefs.h
<<_ACEOF
2379 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2383 cat >>confdefs.h
<<_ACEOF
2384 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2388 cat >>confdefs.h
<<_ACEOF
2389 #define PACKAGE_STRING "$PACKAGE_STRING"
2393 cat >>confdefs.h
<<_ACEOF
2394 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2398 # Let the site file select an alternate cache file if it wants to.
2399 # Prefer explicitly selected file to automatically selected ones.
2400 if test -n "$CONFIG_SITE"; then
2401 set x
"$CONFIG_SITE"
2402 elif test "x$prefix" != xNONE
; then
2403 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2405 set x
"$ac_default_prefix/share/config.site" \
2406 "$ac_default_prefix/etc/config.site"
2411 if test -r "$ac_site_file"; then
2412 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2413 echo "$as_me: loading site script $ac_site_file" >&6;}
2414 sed 's/^/| /' "$ac_site_file" >&5
2419 if test -r "$cache_file"; then
2420 # Some versions of bash will fail to source /dev/null (special
2421 # files actually), so we avoid doing that.
2422 if test -f "$cache_file"; then
2423 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2424 echo "$as_me: loading cache $cache_file" >&6;}
2426 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2427 *) .
"./$cache_file";;
2431 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2432 echo "$as_me: creating cache $cache_file" >&6;}
2436 # Check that the precious variables saved in the cache have kept the same
2438 ac_cache_corrupted
=false
2439 for ac_var
in $ac_precious_vars; do
2440 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2441 eval ac_new_set
=\
$ac_env_${ac_var}_set
2442 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2443 eval ac_new_val
=\
$ac_env_${ac_var}_value
2444 case $ac_old_set,$ac_new_set in
2446 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2447 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2448 ac_cache_corrupted
=: ;;
2450 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2451 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2452 ac_cache_corrupted
=: ;;
2455 if test "x$ac_old_val" != "x$ac_new_val"; then
2456 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2457 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2458 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2459 echo "$as_me: former value: $ac_old_val" >&2;}
2460 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2461 echo "$as_me: current value: $ac_new_val" >&2;}
2462 ac_cache_corrupted
=:
2465 # Pass precious variables to config.status.
2466 if test "$ac_new_set" = set; then
2468 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2469 *) ac_arg
=$ac_var=$ac_new_val ;;
2471 case " $ac_configure_args " in
2472 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2473 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2477 if $ac_cache_corrupted; then
2478 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2479 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2480 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2481 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2482 { (exit 1); exit 1; }; }
2510 ac_cpp
='$CPP $CPPFLAGS'
2511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2520 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2521 if test -f "$ac_dir/install-sh"; then
2523 ac_install_sh
="$ac_aux_dir/install-sh -c"
2525 elif test -f "$ac_dir/install.sh"; then
2527 ac_install_sh
="$ac_aux_dir/install.sh -c"
2529 elif test -f "$ac_dir/shtool"; then
2531 ac_install_sh
="$ac_aux_dir/shtool install -c"
2535 if test -z "$ac_aux_dir"; then
2536 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2537 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2538 { (exit 1); exit 1; }; }
2541 # These three variables are undocumented and unsupported,
2542 # and are intended to be withdrawn in a future Autoconf release.
2543 # They can cause serious problems if a builder's source tree is in a directory
2544 # whose full name contains unusual characters.
2545 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2546 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2547 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2550 # Make sure we can run config.sub.
2551 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2552 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2553 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2554 { (exit 1); exit 1; }; }
2556 { echo "$as_me:$LINENO: checking build system type" >&5
2557 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2558 if test "${ac_cv_build+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2561 ac_build_alias
=$build_alias
2562 test "x$ac_build_alias" = x
&&
2563 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2564 test "x$ac_build_alias" = x
&&
2565 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2566 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2567 { (exit 1); exit 1; }; }
2568 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2569 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2570 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2571 { (exit 1); exit 1; }; }
2574 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2575 echo "${ECHO_T}$ac_cv_build" >&6; }
2576 case $ac_cv_build in
2578 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2579 echo "$as_me: error: invalid value of canonical build" >&2;}
2580 { (exit 1); exit 1; }; };;
2583 ac_save_IFS
=$IFS; IFS
='-'
2589 # Remember, the first character of IFS is used to create $*,
2590 # except with old shells:
2593 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2596 { echo "$as_me:$LINENO: checking host system type" >&5
2597 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2598 if test "${ac_cv_host+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 if test "x$host_alias" = x
; then
2602 ac_cv_host
=$ac_cv_build
2604 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2605 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2606 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2607 { (exit 1); exit 1; }; }
2611 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2612 echo "${ECHO_T}$ac_cv_host" >&6; }
2615 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2616 echo "$as_me: error: invalid value of canonical host" >&2;}
2617 { (exit 1); exit 1; }; };;
2620 ac_save_IFS
=$IFS; IFS
='-'
2626 # Remember, the first character of IFS is used to create $*,
2627 # except with old shells:
2630 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2634 if test "$cross_compiling" != "no"; then
2635 HOST_PREFIX
="${host_alias}-"
2636 HOST_SUFFIX
="-$host_alias"
2643 wx_major_version_number
=2
2644 wx_minor_version_number
=9
2646 wx_subrelease_number
=0
2648 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2649 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2650 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2652 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2655 wx_top_builddir
="`pwd`"
2668 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2674 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2680 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2682 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2684 DEFAULT_wxUSE_OLD_COCOA
=0
2686 DEFAULT_wxUSE_OSX_CARBON
=0
2687 DEFAULT_wxUSE_OSX_COCOA
=0
2688 DEFAULT_wxUSE_OSX_IPHONE
=0
2690 DEFAULT_wxUSE_MICROWIN
=0
2691 DEFAULT_wxUSE_MOTIF
=0
2697 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2698 DEFAULT_DEFAULT_wxUSE_GTK
=0
2699 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2700 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2701 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2702 DEFAULT_DEFAULT_wxUSE_MGL
=0
2703 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2704 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2705 DEFAULT_DEFAULT_wxUSE_MSW
=0
2706 DEFAULT_DEFAULT_wxUSE_PM
=0
2707 DEFAULT_DEFAULT_wxUSE_X11
=0
2708 DEFAULT_DEFAULT_wxUSE_DFB
=0
2712 DYLIB_RPATH_INSTALL
=
2713 DYLIB_RPATH_POSTLINK
=
2715 DEFAULT_STD_FLAG
=yes
2720 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2721 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2722 cat >>confdefs.h
<<\_ACEOF
2727 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2731 cat >>confdefs.h
<<\_ACEOF
2736 if test "x$TMP" = "xalpha"; then
2738 cat >>confdefs.h
<<\_ACEOF
2743 DEFAULT_DEFAULT_wxUSE_GTK
=1
2745 *-*-gnu* | *-*-k*bsd
*-gnu )
2748 if test "x$TMP" = "xalpha"; then
2750 cat >>confdefs.h
<<\_ACEOF
2755 DEFAULT_DEFAULT_wxUSE_GTK
=1
2757 *-*-irix5* | *-*-irix6* )
2760 cat >>confdefs.h
<<\_ACEOF
2764 cat >>confdefs.h
<<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2772 cat >>confdefs.h
<<\_ACEOF
2776 DEFAULT_DEFAULT_wxUSE_X11
=1
2782 cat >>confdefs.h
<<\_ACEOF
2786 cat >>confdefs.h
<<\_ACEOF
2787 #define __SOLARIS__ 1
2790 cat >>confdefs.h
<<\_ACEOF
2794 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2795 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2801 cat >>confdefs.h
<<\_ACEOF
2805 cat >>confdefs.h
<<\_ACEOF
2809 cat >>confdefs.h
<<\_ACEOF
2813 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2818 cat >>confdefs.h
<<\_ACEOF
2819 #define __FREEBSD__ 1
2822 cat >>confdefs.h
<<\_ACEOF
2826 DEFAULT_DEFAULT_wxUSE_GTK
=1
2828 *-*-openbsd*|*-*-mirbsd*)
2831 cat >>confdefs.h
<<\_ACEOF
2832 #define __OPENBSD__ 1
2835 cat >>confdefs.h
<<\_ACEOF
2839 DEFAULT_DEFAULT_wxUSE_GTK
=1
2844 cat >>confdefs.h
<<\_ACEOF
2845 #define __NETBSD__ 1
2848 cat >>confdefs.h
<<\_ACEOF
2852 DEFAULT_DEFAULT_wxUSE_GTK
=1
2853 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2855 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2860 cat >>confdefs.h
<<\_ACEOF
2864 cat >>confdefs.h
<<\_ACEOF
2868 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2869 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2874 cat >>confdefs.h
<<\_ACEOF
2878 cat >>confdefs.h
<<\_ACEOF
2882 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2887 cat >>confdefs.h
<<\_ACEOF
2891 cat >>confdefs.h
<<\_ACEOF
2895 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2901 cat >>confdefs.h
<<\_ACEOF
2905 cat >>confdefs.h
<<\_ACEOF
2909 cat >>confdefs.h
<<\_ACEOF
2913 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2920 cat >>confdefs.h
<<\_ACEOF
2921 #define __UNIXWARE__ 1
2926 *-*-cygwin* | *-*-mingw32* )
2928 DEFAULT_DEFAULT_wxUSE_MSW
=1
2934 cat >>confdefs.h
<<\_ACEOF
2939 DEFAULT_DEFAULT_wxUSE_MGL
=1
2942 *-pc-os2_emx | *-pc-os2-emx )
2943 cat >>confdefs.h
<<\_ACEOF
2948 cat >>confdefs.h
<<\_ACEOF
2953 DEFAULT_DEFAULT_wxUSE_PM
=1
2955 LDFLAGS
="$LDFLAGS -Zcrtdll"
2956 ac_executable_extensions
=".exe"
2957 export ac_executable_extensions
2961 for ac_dir
in $PATH; do
2963 if test -z "$ac_TEMP_PATH"; then
2964 ac_TEMP_PATH
="$ac_dir"
2966 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2969 export PATH
="$ac_TEMP_PATH"
2977 cat >>confdefs.h
<<\_ACEOF
2981 cat >>confdefs.h
<<\_ACEOF
2982 #define __DARWIN__ 1
2985 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2991 cat >>confdefs.h
<<\_ACEOF
2995 cat >>confdefs.h
<<\_ACEOF
2996 #define __DARWIN__ 1
2999 cat >>confdefs.h
<<\_ACEOF
3000 #define TARGET_CARBON 1
3003 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
3008 cat >>confdefs.h
<<\_ACEOF
3015 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
3016 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
3017 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
3018 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
3020 DEFAULT_DEFAULT_wxUSE_X11
=1
3021 DEFAULT_wxUSE_SHARED
=no
3026 DEFAULT_wxUSE_ALL_FEATURES
=yes
3028 DEFAULT_wxUSE_STD_CONTAINERS
=no
3029 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
3030 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
3032 DEFAULT_wxUSE_DMALLOC
=no
3033 DEFAULT_wxUSE_LIBGNOMEVFS
=no
3034 DEFAULT_wxUSE_LIBHILDON
=no
3035 DEFAULT_wxUSE_LIBHILDON2
=no
3036 DEFAULT_wxUSE_LIBMSPACK
=no
3037 DEFAULT_wxUSE_LIBSDL
=no
3039 DEFAULT_wxUSE_ACCESSIBILITY
=no
3040 DEFAULT_wxUSE_IPV6
=no
3041 DEFAULT_wxUSE_GSTREAMER8
=no
3043 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
3044 DEFAULT_wxUSE_UNICODE_UTF8
=auto
3045 DEFAULT_wxUSE_OPENGL
=auto
3046 DEFAULT_wxUSE_MEDIACTRL
=auto
3047 DEFAULT_wxUSE_COMPILER_TLS
=auto
3048 DEFAULT_wxUSE_HOTKEY
=auto
3049 DEFAULT_wxUSE_METAFILE
=auto
3051 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
3053 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
3054 DEFAULT_wxUSE_MAC_ARCH
=no
3056 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
3058 DEFAULT_wxUSE_GTK2
=yes
3060 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3066 enablestring
=disable
3068 if test -z "$defaultval"; then
3069 if test x
"$enablestring" = xdisable
; then
3076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3077 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3078 # Check whether --enable-gui was given.
3079 if test "${enable_gui+set}" = set; then
3080 enableval
=$enable_gui;
3081 if test "$enableval" = yes; then
3082 wx_cv_use_gui
='wxUSE_GUI=yes'
3084 wx_cv_use_gui
='wxUSE_GUI=no'
3089 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3094 eval "$wx_cv_use_gui"
3096 if test x"$enablestring" = xdisable; then
3097 if test $wxUSE_GUI = no; then
3106 { echo "$as_me:$LINENO: result: $result" >&5
3107 echo "${ECHO_T}$result" >&6; }
3112 if test -z "$defaultval"; then
3113 if test x"$enablestring" = xdisable; then
3120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3121 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3122 # Check whether --enable-monolithic was given.
3123 if test "${enable_monolithic+set}" = set; then
3124 enableval=$enable_monolithic;
3125 if test "$enableval" = yes; then
3126 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3128 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3133 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3138 eval "$wx_cv_use_monolithic"
3140 if test x"$enablestring" = xdisable; then
3141 if test $wxUSE_MONOLITHIC = no; then
3147 result=$wxUSE_MONOLITHIC
3150 { echo "$as_me:$LINENO: result
: $result" >&5
3151 echo "${ECHO_T}$result" >&6; }
3156 if test -z "$defaultval"; then
3157 if test x"$enablestring" = xdisable; then
3164 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3165 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3166 # Check whether --enable-plugins was given.
3167 if test "${enable_plugins+set}" = set; then
3168 enableval=$enable_plugins;
3169 if test "$enableval" = yes; then
3170 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3172 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3177 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3182 eval "$wx_cv_use_plugins"
3184 if test x
"$enablestring" = xdisable
; then
3185 if test $wxUSE_PLUGINS = no
; then
3191 result
=$wxUSE_PLUGINS
3194 { echo "$as_me:$LINENO: result: $result" >&5
3195 echo "${ECHO_T}$result" >&6; }
3199 defaultval
=$wxUSE_ALL_FEATURES
3200 if test -z "$defaultval"; then
3201 if test x
"$withstring" = xwithout
; then
3207 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3208 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3210 # Check whether --with-subdirs was given.
3211 if test "${with_subdirs+set}" = set; then
3212 withval
=$with_subdirs;
3213 if test "$withval" = yes; then
3214 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3216 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3221 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3226 eval "$wx_cv_use_subdirs"
3228 if test x"$withstring" = xwithout; then
3229 if test $wxWITH_SUBDIRS = yes; then
3235 result=$wxWITH_SUBDIRS
3238 { echo "$as_me:$LINENO: result: $result" >&5
3239 echo "${ECHO_T}$result" >&6; }
3242 # Check whether --with-flavour was given.
3243 if test "${with_flavour+set}" = set; then
3244 withval=$with_flavour; WX_FLAVOUR="$withval"
3250 if test -z "$defaultval"; then
3251 if test x"$enablestring" = xdisable; then
3258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3260 # Check whether --enable-official_build was given.
3261 if test "${enable_official_build+set}" = set; then
3262 enableval=$enable_official_build;
3263 if test "$enableval" = yes; then
3264 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3266 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3271 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3276 eval "$wx_cv_use_official_build"
3278 if test x"$enablestring" = xdisable; then
3279 if test $wxUSE_OFFICIAL_BUILD = no; then
3285 result=$wxUSE_OFFICIAL_BUILD
3288 { echo "$as_me:$LINENO: result
: $result" >&5
3289 echo "${ECHO_T}$result" >&6; }
3291 # Check whether --enable-vendor was given.
3292 if test "${enable_vendor+set}" = set; then
3293 enableval=$enable_vendor; VENDOR="$enableval"
3296 if test "x
$VENDOR" = "x
"; then
3301 enablestring=disable
3303 if test -z "$defaultval"; then
3304 if test x"$enablestring" = xdisable; then
3311 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3312 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3313 # Check whether --enable-all-features was given.
3314 if test "${enable_all_features+set}" = set; then
3315 enableval=$enable_all_features;
3316 if test "$enableval" = yes; then
3317 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3319 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3324 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3329 eval "$wx_cv_use_all_features"
3331 if test x
"$enablestring" = xdisable
; then
3332 if test $wxUSE_ALL_FEATURES = no
; then
3338 result
=$wxUSE_ALL_FEATURES
3341 { echo "$as_me:$LINENO: result: $result" >&5
3342 echo "${ECHO_T}$result" >&6; }
3345 if test "$wxUSE_ALL_FEATURES" = "no"; then
3346 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
3347 DEFAULT_wxUSE_MEDIACTRL
=no
3351 if test "$wxUSE_GUI" = "yes"; then
3356 if test -z "$defaultval"; then
3357 if test x
"$enablestring" = xdisable
; then
3364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3365 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3366 # Check whether --enable-universal was given.
3367 if test "${enable_universal+set}" = set; then
3368 enableval
=$enable_universal;
3369 if test "$enableval" = yes; then
3370 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3372 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3377 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3382 eval "$wx_cv_use_universal"
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_UNIVERSAL = no; then
3391 result=$wxUSE_UNIVERSAL
3394 { echo "$as_me:$LINENO: result: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3397 if test "$wxUSE_UNIVERSAL" = "yes"; then
3399 # Check whether --with-themes was given.
3400 if test "${with_themes+set}" = set; then
3401 withval=$with_themes; wxUNIV_THEMES="$withval"
3407 # Check whether --with-gtk was given.
3408 if test "${with_gtk+set}" = set; then
3409 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-motif was given.
3414 if test "${with_motif+set}" = set; then
3415 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3419 # Check whether --with-osx_carbon was given.
3420 if test "${with_osx_carbon+set}" = set; then
3421 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3425 # Check whether --with-osx_cocoa was given.
3426 if test "${with_osx_cocoa+set}" = set; then
3427 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3431 # Check whether --with-osx_iphone was given.
3432 if test "${with_osx_iphone+set}" = set; then
3433 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3437 # Check whether --with-osx was given.
3438 if test "${with_osx+set}" = set; then
3439 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3443 # Check whether --with-carbon was given.
3444 if test "${with_carbon+set}" = set; then
3445 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3449 # Check whether --with-cocoa was given.
3450 if test "${with_cocoa+set}" = set; then
3451 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3455 # Check whether --with-iphone was given.
3456 if test "${with_iphone+set}" = set; then
3457 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3461 # Check whether --with-mac was given.
3462 if test "${with_mac+set}" = set; then
3463 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3467 # Check whether --with-old_cocoa was given.
3468 if test "${with_old_cocoa+set}" = set; then
3469 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3473 # Check whether --with-wine was given.
3474 if test "${with_wine+set}" = set; then
3475 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3479 # Check whether --with-msw was given.
3480 if test "${with_msw+set}" = set; then
3481 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3485 # Check whether --with-pm was given.
3486 if test "${with_pm+set}" = set; then
3487 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3491 # Check whether --with-mgl was given.
3492 if test "${with_mgl+set}" = set; then
3493 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3497 # Check whether --with-directfb was given.
3498 if test "${with_directfb+set}" = set; then
3499 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3503 # Check whether --with-microwin was given.
3504 if test "${with_microwin+set}" = set; then
3505 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3509 # Check whether --with-x11 was given.
3510 if test "${with_x11+set}" = set; then
3511 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3517 if test -z "$defaultval"; then
3518 if test x"$enablestring" = xdisable; then
3525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3526 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3527 # Check whether --enable-nanox was given.
3528 if test "${enable_nanox+set}" = set; then
3529 enableval=$enable_nanox;
3530 if test "$enableval" = yes; then
3531 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3533 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3538 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3543 eval "$wx_cv_use_nanox"
3545 if test x"$enablestring" = xdisable; then
3546 if test $wxUSE_NANOX = no; then
3555 { echo "$as_me:$LINENO: result
: $result" >&5
3556 echo "${ECHO_T}$result" >&6; }
3559 # Check whether --enable-gtk2 was given.
3560 if test "${enable_gtk2+set}" = set; then
3561 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3567 if test -z "$defaultval"; then
3568 if test x"$enablestring" = xdisable; then
3575 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3576 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3577 # Check whether --enable-gpe was given.
3578 if test "${enable_gpe+set}" = set; then
3579 enableval=$enable_gpe;
3580 if test "$enableval" = yes; then
3581 wx_cv_use_gpe='wxUSE_GPE=yes'
3583 wx_cv_use_gpe='wxUSE_GPE=no'
3588 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3593 eval "$wx_cv_use_gpe"
3595 if test x
"$enablestring" = xdisable
; then
3596 if test $wxUSE_GPE = no
; then
3605 { echo "$as_me:$LINENO: result: $result" >&5
3606 echo "${ECHO_T}$result" >&6; }
3610 { echo "$as_me:$LINENO: checking for toolkit" >&5
3611 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3615 # In Wine, we need to default to MSW, not GTK or MOTIF
3616 if test "$wxUSE_WINE" = "yes"; then
3617 DEFAULT_DEFAULT_wxUSE_GTK
=0
3618 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3619 DEFAULT_DEFAULT_wxUSE_MSW
=1
3626 if test "$wxUSE_GUI" = "yes"; then
3628 if test "$USE_BEOS" = 1; then
3629 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3630 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3631 { (exit 1); exit 1; }; }
3634 if test "$TOOLKIT_GIVEN" = 1; then
3635 for toolkit
in $ALL_TOOLKITS; do
3637 eval "value=\$${var}"
3638 if test "x$value" = "xno"; then
3640 elif test "x$value" != "x"; then
3644 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3645 eval "wx${toolkit}_VERSION=$value"
3649 for toolkit
in $ALL_TOOLKITS; do
3650 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3651 eval "wxUSE_$toolkit=\$${var}"
3655 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3656 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3657 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3660 *-pc-os2_emx | *-pc-os2-emx )
3661 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3664 case "$NUM_TOOLKITS" in
3668 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3669 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3670 { (exit 1); exit 1; }; }
3673 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3674 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3675 { (exit 1); exit 1; }; }
3678 # to be removed when --disable-gtk2 isn't needed
3679 if test "x$wxUSE_GTK2" = "xyes"; then
3682 elif test "x$wxUSE_GTK2" = "xno"; then
3687 for toolkit
in $ALL_TOOLKITS; do
3689 eval "value=\$${var}"
3690 if test "$value" = 1; then
3691 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3692 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3693 echo "${ECHO_T}$toolkit_echo" >&6; }
3697 if test "x$host_alias" != "x"; then
3698 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3699 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3701 { echo "$as_me:$LINENO: result: base only" >&5
3702 echo "${ECHO_T}base only" >&6; }
3707 if test "$wxUSE_OSX_CARBON" = 1 \
3708 -o "$wxUSE_OSX_COCOA" = 1 \
3709 -o "$wxUSE_OSX_IPHONE" = 1; then
3715 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3716 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3718 # Check whether --with-libpng was given.
3719 if test "${with_libpng+set}" = set; then
3720 withval
=$with_libpng;
3721 if test "$withval" = yes; then
3722 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3723 elif test "$withval" = no
; then
3724 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3725 elif test "$withval" = sys
; then
3726 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3727 elif test "$withval" = builtin; then
3728 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3730 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3731 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3732 { (exit 1); exit 1; }; }
3737 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3742 eval "$wx_cv_use_libpng"
3744 if test "$wxUSE_LIBPNG" = yes; then
3745 { echo "$as_me:$LINENO: result: yes" >&5
3746 echo "${ECHO_T}yes" >&6; }
3747 elif test "$wxUSE_LIBPNG" = no; then
3748 { echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6; }
3750 elif test "$wxUSE_LIBPNG" = sys; then
3751 { echo "$as_me:$LINENO: result: system version" >&5
3752 echo "${ECHO_T}system version" >&6; }
3753 elif test "$wxUSE_LIBPNG" = builtin; then
3754 { echo "$as_me:$LINENO: result: builtin version" >&5
3755 echo "${ECHO_T}builtin version" >&6; }
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3763 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3764 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3766 # Check whether --with-libjpeg was given.
3767 if test "${with_libjpeg+set}" = set; then
3768 withval=$with_libjpeg;
3769 if test "$withval" = yes; then
3770 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3771 elif test "$withval" = no; then
3772 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3773 elif test "$withval" = sys; then
3774 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3775 elif test "$withval" = builtin; then
3776 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3779 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3780 { (exit 1); exit 1; }; }
3785 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3790 eval "$wx_cv_use_libjpeg"
3792 if test "$wxUSE_LIBJPEG" = yes; then
3793 { echo "$as_me:$LINENO: result
: yes" >&5
3794 echo "${ECHO_T}yes" >&6; }
3795 elif test "$wxUSE_LIBJPEG" = no; then
3796 { echo "$as_me:$LINENO: result
: no
" >&5
3797 echo "${ECHO_T}no
" >&6; }
3798 elif test "$wxUSE_LIBJPEG" = sys; then
3799 { echo "$as_me:$LINENO: result
: system version
" >&5
3800 echo "${ECHO_T}system version
" >&6; }
3801 elif test "$wxUSE_LIBJPEG" = builtin; then
3802 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3803 echo "${ECHO_T}builtin version
" >&6; }
3805 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3806 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3807 { (exit 1); exit 1; }; }
3811 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3812 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3814 # Check whether --with-libtiff was given.
3815 if test "${with_libtiff+set}" = set; then
3816 withval=$with_libtiff;
3817 if test "$withval" = yes; then
3818 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3819 elif test "$withval" = no; then
3820 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3821 elif test "$withval" = sys; then
3822 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3823 elif test "$withval" = builtin; then
3824 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3826 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3827 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3833 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3838 eval "$wx_cv_use_libtiff"
3840 if test "$wxUSE_LIBTIFF" = yes; then
3841 { echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6; }
3843 elif test "$wxUSE_LIBTIFF" = no
; then
3844 { echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6; }
3846 elif test "$wxUSE_LIBTIFF" = sys
; then
3847 { echo "$as_me:$LINENO: result: system version" >&5
3848 echo "${ECHO_T}system version" >&6; }
3849 elif test "$wxUSE_LIBTIFF" = builtin; then
3850 { echo "$as_me:$LINENO: result: builtin version" >&5
3851 echo "${ECHO_T}builtin version" >&6; }
3853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3854 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3855 { (exit 1); exit 1; }; }
3859 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3860 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3862 # Check whether --with-libxpm was given.
3863 if test "${with_libxpm+set}" = set; then
3864 withval
=$with_libxpm;
3865 if test "$withval" = yes; then
3866 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3867 elif test "$withval" = no
; then
3868 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3869 elif test "$withval" = sys
; then
3870 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3871 elif test "$withval" = builtin; then
3872 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3874 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3875 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3876 { (exit 1); exit 1; }; }
3881 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3886 eval "$wx_cv_use_libxpm"
3888 if test "$wxUSE_LIBXPM" = yes; then
3889 { echo "$as_me:$LINENO: result: yes" >&5
3890 echo "${ECHO_T}yes" >&6; }
3891 elif test "$wxUSE_LIBXPM" = no; then
3892 { echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6; }
3894 elif test "$wxUSE_LIBXPM" = sys; then
3895 { echo "$as_me:$LINENO: result: system version" >&5
3896 echo "${ECHO_T}system version" >&6; }
3897 elif test "$wxUSE_LIBXPM" = builtin; then
3898 { echo "$as_me:$LINENO: result: builtin version" >&5
3899 echo "${ECHO_T}builtin version" >&6; }
3901 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3902 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3903 { (exit 1); exit 1; }; }
3908 defaultval=$wxUSE_ALL_FEATURES
3909 if test -z "$defaultval"; then
3910 if test x"$withstring" = xwithout; then
3916 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3917 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3919 # Check whether --with-libiconv was given.
3920 if test "${with_libiconv+set}" = set; then
3921 withval=$with_libiconv;
3922 if test "$withval" = yes; then
3923 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3925 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3930 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3935 eval "$wx_cv_use_libiconv"
3937 if test x"$withstring" = xwithout; then
3938 if test $wxUSE_LIBICONV = yes; then
3944 result=$wxUSE_LIBICONV
3947 { echo "$as_me:$LINENO: result
: $result" >&5
3948 echo "${ECHO_T}$result" >&6; }
3952 defaultval=$wxUSE_ALL_FEATURES
3953 if test -z "$defaultval"; then
3954 if test x"$withstring" = xwithout; then
3960 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3961 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3963 # Check whether --with-libmspack was given.
3964 if test "${with_libmspack+set}" = set; then
3965 withval=$with_libmspack;
3966 if test "$withval" = yes; then
3967 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3969 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3974 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3979 eval "$wx_cv_use_libmspack"
3981 if test x
"$withstring" = xwithout
; then
3982 if test $wxUSE_LIBMSPACK = yes; then
3988 result
=$wxUSE_LIBMSPACK
3991 { echo "$as_me:$LINENO: result: $result" >&5
3992 echo "${ECHO_T}$result" >&6; }
3996 defaultval
=$wxUSE_ALL_FEATURES
3997 if test -z "$defaultval"; then
3998 if test x
"$withstring" = xwithout
; then
4004 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
4005 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
4007 # Check whether --with-gtkprint was given.
4008 if test "${with_gtkprint+set}" = set; then
4009 withval
=$with_gtkprint;
4010 if test "$withval" = yes; then
4011 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
4013 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
4018 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
4023 eval "$wx_cv_use_gtkprint"
4025 if test x"$withstring" = xwithout; then
4026 if test $wxUSE_GTKPRINT = yes; then
4032 result=$wxUSE_GTKPRINT
4035 { echo "$as_me:$LINENO: result: $result" >&5
4036 echo "${ECHO_T}$result" >&6; }
4040 defaultval=$wxUSE_ALL_FEATURES
4041 if test -z "$defaultval"; then
4042 if test x"$withstring" = xwithout; then
4048 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4049 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4051 # Check whether --with-gnomeprint was given.
4052 if test "${with_gnomeprint+set}" = set; then
4053 withval=$with_gnomeprint;
4054 if test "$withval" = yes; then
4055 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
4057 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4062 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4067 eval "$wx_cv_use_gnomeprint"
4069 if test x"$withstring" = xwithout; then
4070 if test $wxUSE_LIBGNOMEPRINT = yes; then
4076 result=$wxUSE_LIBGNOMEPRINT
4079 { echo "$as_me:$LINENO: result
: $result" >&5
4080 echo "${ECHO_T}$result" >&6; }
4084 defaultval=$wxUSE_ALL_FEATURES
4085 if test -z "$defaultval"; then
4086 if test x"$withstring" = xwithout; then
4092 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4093 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4095 # Check whether --with-gnomevfs was given.
4096 if test "${with_gnomevfs+set}" = set; then
4097 withval=$with_gnomevfs;
4098 if test "$withval" = yes; then
4099 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4101 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4106 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4111 eval "$wx_cv_use_gnomevfs"
4113 if test x
"$withstring" = xwithout
; then
4114 if test $wxUSE_LIBGNOMEVFS = yes; then
4120 result
=$wxUSE_LIBGNOMEVFS
4123 { echo "$as_me:$LINENO: result: $result" >&5
4124 echo "${ECHO_T}$result" >&6; }
4128 defaultval
=$wxUSE_ALL_FEATURES
4129 if test -z "$defaultval"; then
4130 if test x
"$withstring" = xwithout
; then
4136 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4137 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4139 # Check whether --with-hildon was given.
4140 if test "${with_hildon+set}" = set; then
4141 withval
=$with_hildon;
4142 if test "$withval" = yes; then
4143 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4145 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4150 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4155 eval "$wx_cv_use_hildon"
4157 if test x"$withstring" = xwithout; then
4158 if test $wxUSE_LIBHILDON = yes; then
4164 result=$wxUSE_LIBHILDON
4167 { echo "$as_me:$LINENO: result: $result" >&5
4168 echo "${ECHO_T}$result" >&6; }
4172 defaultval=$wxUSE_ALL_FEATURES
4173 if test -z "$defaultval"; then
4174 if test x"$withstring" = xwithout; then
4180 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4181 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4183 # Check whether --with-opengl was given.
4184 if test "${with_opengl+set}" = set; then
4185 withval=$with_opengl;
4186 if test "$withval" = yes; then
4187 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4189 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4194 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4199 eval "$wx_cv_use_opengl"
4201 if test x"$withstring" = xwithout; then
4202 if test $wxUSE_OPENGL = yes; then
4208 result=$wxUSE_OPENGL
4211 { echo "$as_me:$LINENO: result
: $result" >&5
4212 echo "${ECHO_T}$result" >&6; }
4219 defaultval=$wxUSE_ALL_FEATURES
4220 if test -z "$defaultval"; then
4221 if test x"$withstring" = xwithout; then
4227 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4228 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4230 # Check whether --with-dmalloc was given.
4231 if test "${with_dmalloc+set}" = set; then
4232 withval=$with_dmalloc;
4233 if test "$withval" = yes; then
4234 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4236 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4241 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4246 eval "$wx_cv_use_dmalloc"
4248 if test x
"$withstring" = xwithout
; then
4249 if test $wxUSE_DMALLOC = yes; then
4255 result
=$wxUSE_DMALLOC
4258 { echo "$as_me:$LINENO: result: $result" >&5
4259 echo "${ECHO_T}$result" >&6; }
4263 defaultval
=$wxUSE_ALL_FEATURES
4264 if test -z "$defaultval"; then
4265 if test x
"$withstring" = xwithout
; then
4271 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4272 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4274 # Check whether --with-sdl was given.
4275 if test "${with_sdl+set}" = set; then
4277 if test "$withval" = yes; then
4278 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4280 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4285 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4290 eval "$wx_cv_use_sdl"
4292 if test x"$withstring" = xwithout; then
4293 if test $wxUSE_LIBSDL = yes; then
4299 result=$wxUSE_LIBSDL
4302 { echo "$as_me:$LINENO: result: $result" >&5
4303 echo "${ECHO_T}$result" >&6; }
4306 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4307 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4309 # Check whether --with-regex was given.
4310 if test "${with_regex+set}" = set; then
4311 withval=$with_regex;
4312 if test "$withval" = yes; then
4313 wx_cv_use_regex='wxUSE_REGEX
=yes'
4314 elif test "$withval" = no; then
4315 wx_cv_use_regex='wxUSE_REGEX
=no
'
4316 elif test "$withval" = sys; then
4317 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4318 elif test "$withval" = builtin; then
4319 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4321 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4322 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4323 { (exit 1); exit 1; }; }
4328 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4333 eval "$wx_cv_use_regex"
4335 if test "$wxUSE_REGEX" = yes; then
4336 { echo "$as_me:$LINENO: result
: yes" >&5
4337 echo "${ECHO_T}yes" >&6; }
4338 elif test "$wxUSE_REGEX" = no; then
4339 { echo "$as_me:$LINENO: result
: no
" >&5
4340 echo "${ECHO_T}no
" >&6; }
4341 elif test "$wxUSE_REGEX" = sys; then
4342 { echo "$as_me:$LINENO: result
: system version
" >&5
4343 echo "${ECHO_T}system version
" >&6; }
4344 elif test "$wxUSE_REGEX" = builtin; then
4345 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4346 echo "${ECHO_T}builtin version
" >&6; }
4348 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4349 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4350 { (exit 1); exit 1; }; }
4354 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4355 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4357 # Check whether --with-zlib was given.
4358 if test "${with_zlib+set}" = set; then
4360 if test "$withval" = yes; then
4361 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4362 elif test "$withval" = no; then
4363 wx_cv_use_zlib='wxUSE_ZLIB=no'
4364 elif test "$withval" = sys; then
4365 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4366 elif test "$withval" = builtin; then
4367 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4369 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4370 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4371 { (exit 1); exit 1; }; }
4376 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4381 eval "$wx_cv_use_zlib"
4383 if test "$wxUSE_ZLIB" = yes; then
4384 { echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6; }
4386 elif test "$wxUSE_ZLIB" = no
; then
4387 { echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6; }
4389 elif test "$wxUSE_ZLIB" = sys
; then
4390 { echo "$as_me:$LINENO: result: system version" >&5
4391 echo "${ECHO_T}system version" >&6; }
4392 elif test "$wxUSE_ZLIB" = builtin; then
4393 { echo "$as_me:$LINENO: result: builtin version" >&5
4394 echo "${ECHO_T}builtin version" >&6; }
4396 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4397 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4398 { (exit 1); exit 1; }; }
4402 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4403 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4405 # Check whether --with-expat was given.
4406 if test "${with_expat+set}" = set; then
4407 withval
=$with_expat;
4408 if test "$withval" = yes; then
4409 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4410 elif test "$withval" = no
; then
4411 wx_cv_use_expat
='wxUSE_EXPAT=no'
4412 elif test "$withval" = sys
; then
4413 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4414 elif test "$withval" = builtin; then
4415 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4417 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4418 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4419 { (exit 1); exit 1; }; }
4424 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4429 eval "$wx_cv_use_expat"
4431 if test "$wxUSE_EXPAT" = yes; then
4432 { echo "$as_me:$LINENO: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6; }
4434 elif test "$wxUSE_EXPAT" = no; then
4435 { echo "$as_me:$LINENO: result: no" >&5
4436 echo "${ECHO_T}no" >&6; }
4437 elif test "$wxUSE_EXPAT" = sys; then
4438 { echo "$as_me:$LINENO: result: system version" >&5
4439 echo "${ECHO_T}system version" >&6; }
4440 elif test "$wxUSE_EXPAT" = builtin; then
4441 { echo "$as_me:$LINENO: result: builtin version" >&5
4442 echo "${ECHO_T}builtin version" >&6; }
4444 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4445 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4446 { (exit 1); exit 1; }; }
4450 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4451 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4453 # Check whether --with-macosx-sdk was given.
4454 if test "${with_macosx_sdk+set}" = set; then
4455 withval=$with_macosx_sdk;
4456 wxUSE_MACOSX_SDK=$withval
4457 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4461 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4462 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4464 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4465 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4467 # Check whether --with-macosx-version-min was given.
4468 if test "${with_macosx_version_min+set}" = set; then
4469 withval=$with_macosx_version_min;
4470 wxUSE_MACOSX_VERSION_MIN=$withval
4471 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4475 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4476 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4479 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4480 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4481 # Check whether --enable-debug was given.
4482 if test "${enable_debug+set}" = set; then
4483 enableval=$enable_debug;
4484 if test "$enableval" = yes; then
4486 elif test "$enableval" = no; then
4488 elif test "$enableval" = max; then
4490 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4492 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4493 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4494 { (exit 1); exit 1; }; }
4503 case "$wxUSE_DEBUG" in
4505 DEFAULT_wxUSE_DEBUG_FLAG=yes
4506 DEFAULT_wxUSE_DEBUG_INFO=yes
4508 DEFAULT_wxUSE_OPTIMISE=no
4512 DEFAULT_wxUSE_DEBUG_FLAG=no
4513 DEFAULT_wxUSE_DEBUG_INFO=no
4517 DEFAULT_wxUSE_DEBUG_FLAG=yes
4518 DEFAULT_wxUSE_DEBUG_INFO=no
4523 enablestring=disable
4525 if test -z "$defaultval"; then
4526 if test x"$enablestring" = xdisable; then
4533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4535 # Check whether --enable-debug_flag was given.
4536 if test "${enable_debug_flag+set}" = set; then
4537 enableval=$enable_debug_flag;
4538 if test "$enableval" = yes; then
4539 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4541 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4546 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4551 eval "$wx_cv_use_debug_flag"
4553 if test x"$enablestring" = xdisable; then
4554 if test $wxUSE_DEBUG_FLAG = no; then
4560 result=$wxUSE_DEBUG_FLAG
4563 { echo "$as_me:$LINENO: result
: $result" >&5
4564 echo "${ECHO_T}$result" >&6; }
4569 if test -z "$defaultval"; then
4570 if test x"$enablestring" = xdisable; then
4577 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4578 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4579 # Check whether --enable-debug_info was given.
4580 if test "${enable_debug_info+set}" = set; then
4581 enableval=$enable_debug_info;
4582 if test "$enableval" = yes; then
4583 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4585 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4590 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4595 eval "$wx_cv_use_debug_info"
4597 if test x
"$enablestring" = xdisable
; then
4598 if test $wxUSE_DEBUG_INFO = no
; then
4604 result
=$wxUSE_DEBUG_INFO
4607 { echo "$as_me:$LINENO: result: $result" >&5
4608 echo "${ECHO_T}$result" >&6; }
4615 if test -z "$defaultval"; then
4616 if test x
"$enablestring" = xdisable
; then
4623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4625 # Check whether --enable-debug_gdb was given.
4626 if test "${enable_debug_gdb+set}" = set; then
4627 enableval
=$enable_debug_gdb;
4628 if test "$enableval" = yes; then
4629 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4631 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4636 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4641 eval "$wx_cv_use_debug_gdb"
4643 if test x"$enablestring" = xdisable; then
4644 if test $wxUSE_DEBUG_GDB = no; then
4650 result=$wxUSE_DEBUG_GDB
4653 { echo "$as_me:$LINENO: result: $result" >&5
4654 echo "${ECHO_T}$result" >&6; }
4659 if test -z "$defaultval"; then
4660 if test x"$enablestring" = xdisable; then
4667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4669 # Check whether --enable-debug_cntxt was given.
4670 if test "${enable_debug_cntxt+set}" = set; then
4671 enableval=$enable_debug_cntxt;
4672 if test "$enableval" = yes; then
4673 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4675 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4680 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4685 eval "$wx_cv_use_debug_cntxt"
4687 if test x"$enablestring" = xdisable; then
4688 if test $wxUSE_DEBUG_CONTEXT = no; then
4694 result=$wxUSE_DEBUG_CONTEXT
4697 { echo "$as_me:$LINENO: result
: $result" >&5
4698 echo "${ECHO_T}$result" >&6; }
4703 if test -z "$defaultval"; then
4704 if test x"$enablestring" = xdisable; then
4711 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4712 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4713 # Check whether --enable-mem_tracing was given.
4714 if test "${enable_mem_tracing+set}" = set; then
4715 enableval=$enable_mem_tracing;
4716 if test "$enableval" = yes; then
4717 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4719 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4724 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4729 eval "$wx_cv_use_mem_tracing"
4731 if test x
"$enablestring" = xdisable
; then
4732 if test $wxUSE_MEM_TRACING = no
; then
4738 result
=$wxUSE_MEM_TRACING
4741 { echo "$as_me:$LINENO: result: $result" >&5
4742 echo "${ECHO_T}$result" >&6; }
4747 enablestring
=disable
4749 if test -z "$defaultval"; then
4750 if test x
"$enablestring" = xdisable
; then
4757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4758 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4759 # Check whether --enable-shared was given.
4760 if test "${enable_shared+set}" = set; then
4761 enableval
=$enable_shared;
4762 if test "$enableval" = yes; then
4763 wx_cv_use_shared
='wxUSE_SHARED=yes'
4765 wx_cv_use_shared
='wxUSE_SHARED=no'
4770 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4775 eval "$wx_cv_use_shared"
4777 if test x"$enablestring" = xdisable; then
4778 if test $wxUSE_SHARED = no; then
4784 result=$wxUSE_SHARED
4787 { echo "$as_me:$LINENO: result: $result" >&5
4788 echo "${ECHO_T}$result" >&6; }
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4803 # Check whether --enable-stl was given.
4804 if test "${enable_stl+set}" = set; then
4805 enableval=$enable_stl;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_stl='wxUSE_STL
=yes'
4809 wx_cv_use_stl='wxUSE_STL
=no
'
4814 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4819 eval "$wx_cv_use_stl"
4821 if test x"$enablestring" = xdisable; then
4822 if test $wxUSE_STL = no; then
4831 { echo "$as_me:$LINENO: result
: $result" >&5
4832 echo "${ECHO_T}$result" >&6; }
4834 if test "$wxUSE_STL" = "yes"; then
4835 DEFAULT_wxUSE_STD_CONTAINERS=yes
4836 DEFAULT_wxUSE_STD_IOSTREAM=yes
4837 DEFAULT_wxUSE_STD_STRING=yes
4842 if test -z "$defaultval"; then
4843 if test x"$enablestring" = xdisable; then
4850 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_containers" >&5
4851 echo $ECHO_N "checking
for --${enablestring:-enable}-std_containers...
$ECHO_C" >&6; }
4852 # Check whether --enable-std_containers was given.
4853 if test "${enable_std_containers+set}" = set; then
4854 enableval=$enable_std_containers;
4855 if test "$enableval" = yes; then
4856 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4858 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4863 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4868 eval "$wx_cv_use_std_containers"
4870 if test x
"$enablestring" = xdisable
; then
4871 if test $wxUSE_STD_CONTAINERS = no
; then
4877 result
=$wxUSE_STD_CONTAINERS
4880 { echo "$as_me:$LINENO: result: $result" >&5
4881 echo "${ECHO_T}$result" >&6; }
4886 if test -z "$defaultval"; then
4887 if test x
"$enablestring" = xdisable
; then
4894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4895 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4896 # Check whether --enable-std_iostreams was given.
4897 if test "${enable_std_iostreams+set}" = set; then
4898 enableval
=$enable_std_iostreams;
4899 if test "$enableval" = yes; then
4900 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4902 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4907 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4912 eval "$wx_cv_use_std_iostreams"
4914 if test x"$enablestring" = xdisable; then
4915 if test $wxUSE_STD_IOSTREAM = no; then
4921 result=$wxUSE_STD_IOSTREAM
4924 { echo "$as_me:$LINENO: result: $result" >&5
4925 echo "${ECHO_T}$result" >&6; }
4930 if test -z "$defaultval"; then
4931 if test x"$enablestring" = xdisable; then
4938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4939 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4940 # Check whether --enable-std_string was given.
4941 if test "${enable_std_string+set}" = set; then
4942 enableval=$enable_std_string;
4943 if test "$enableval" = yes; then
4944 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
4946 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
4951 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4956 eval "$wx_cv_use_std_string"
4958 if test x"$enablestring" = xdisable; then
4959 if test $wxUSE_STD_STRING = no; then
4965 result=$wxUSE_STD_STRING
4968 { echo "$as_me:$LINENO: result
: $result" >&5
4969 echo "${ECHO_T}$result" >&6; }
4974 if test -z "$defaultval"; then
4975 if test x"$enablestring" = xdisable; then
4982 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4983 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
$ECHO_C" >&6; }
4984 # Check whether --enable-std_string_conv_in_wxstring was given.
4985 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4986 enableval=$enable_std_string_conv_in_wxstring;
4987 if test "$enableval" = yes; then
4988 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4990 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4995 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
5000 eval "$wx_cv_use_std_string_conv_in_wxstring"
5002 if test x
"$enablestring" = xdisable
; then
5003 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
5009 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
5012 { echo "$as_me:$LINENO: result: $result" >&5
5013 echo "${ECHO_T}$result" >&6; }
5016 enablestring
=disable
5018 if test -z "$defaultval"; then
5019 if test x
"$enablestring" = xdisable
; then
5026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5027 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
5028 # Check whether --enable-unicode was given.
5029 if test "${enable_unicode+set}" = set; then
5030 enableval
=$enable_unicode;
5031 if test "$enableval" = yes; then
5032 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
5034 wx_cv_use_unicode
='wxUSE_UNICODE=no'
5039 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5044 eval "$wx_cv_use_unicode"
5046 if test x"$enablestring" = xdisable; then
5047 if test $wxUSE_UNICODE = no; then
5053 result=$wxUSE_UNICODE
5056 { echo "$as_me:$LINENO: result: $result" >&5
5057 echo "${ECHO_T}$result" >&6; }
5062 if test -z "$defaultval"; then
5063 if test x"$enablestring" = xdisable; then
5070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5072 # Check whether --enable-mslu was given.
5073 if test "${enable_mslu+set}" = set; then
5074 enableval=$enable_mslu;
5075 if test "$enableval" = yes; then
5076 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5078 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5083 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5088 eval "$wx_cv_use_mslu"
5090 if test x"$enablestring" = xdisable; then
5091 if test $wxUSE_UNICODE_MSLU = no; then
5097 result=$wxUSE_UNICODE_MSLU
5100 { echo "$as_me:$LINENO: result
: $result" >&5
5101 echo "${ECHO_T}$result" >&6; }
5105 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5106 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
5107 # Check whether --enable-utf8 was given.
5108 if test "${enable_utf8+set}" = set; then
5109 enableval=$enable_utf8;
5110 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5114 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5119 eval "$wx_cv_use_utf8"
5121 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5122 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5127 if test -z "$defaultval"; then
5128 if test x"$enablestring" = xdisable; then
5135 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5136 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5137 # Check whether --enable-utf8only was given.
5138 if test "${enable_utf8only+set}" = set; then
5139 enableval=$enable_utf8only;
5140 if test "$enableval" = yes; then
5141 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5143 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5148 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5153 eval "$wx_cv_use_utf8only"
5155 if test x
"$enablestring" = xdisable
; then
5156 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
5162 result
=$wxUSE_UNICODE_UTF8_LOCALE
5165 { echo "$as_me:$LINENO: result: $result" >&5
5166 echo "${ECHO_T}$result" >&6; }
5171 if test -z "$defaultval"; then
5172 if test x
"$enablestring" = xdisable
; then
5179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5180 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5181 # Check whether --enable-extended_rtti was given.
5182 if test "${enable_extended_rtti+set}" = set; then
5183 enableval
=$enable_extended_rtti;
5184 if test "$enableval" = yes; then
5185 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5187 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5192 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5197 eval "$wx_cv_use_extended_rtti"
5199 if test x"$enablestring" = xdisable; then
5200 if test $wxUSE_EXTENDED_RTTI = no; then
5206 result=$wxUSE_EXTENDED_RTTI
5209 { echo "$as_me:$LINENO: result: $result" >&5
5210 echo "${ECHO_T}$result" >&6; }
5212 if test "$USE_OS2" = 1; then
5213 DEFAULT_wxUSE_OMF=no
5217 if test -z "$defaultval"; then
5218 if test x"$enablestring" = xdisable; then
5225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5226 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5227 # Check whether --enable-omf was given.
5228 if test "${enable_omf+set}" = set; then
5229 enableval=$enable_omf;
5230 if test "$enableval" = yes; then
5231 wx_cv_use_omf='wxUSE_OMF
=yes'
5233 wx_cv_use_omf='wxUSE_OMF
=no
'
5238 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5243 eval "$wx_cv_use_omf"
5245 if test x"$enablestring" = xdisable; then
5246 if test $wxUSE_OMF = no; then
5255 { echo "$as_me:$LINENO: result
: $result" >&5
5256 echo "${ECHO_T}$result" >&6; }
5261 enablestring=disable
5263 if test -z "$defaultval"; then
5264 if test x"$enablestring" = xdisable; then
5271 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
5272 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6; }
5273 # Check whether --enable-optimise was given.
5274 if test "${enable_optimise+set}" = set; then
5275 enableval=$enable_optimise;
5276 if test "$enableval" = yes; then
5277 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5279 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5284 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5289 eval "$wx_cv_use_optimise"
5291 if test x
"$enablestring" = xdisable
; then
5292 if test $wxUSE_OPTIMISE = no
; then
5298 result
=$wxUSE_OPTIMISE
5301 { echo "$as_me:$LINENO: result: $result" >&5
5302 echo "${ECHO_T}$result" >&6; }
5308 if test -z "$defaultval"; then
5309 if test x
"$enablestring" = xdisable
; then
5316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5317 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5318 # Check whether --enable-profile was given.
5319 if test "${enable_profile+set}" = set; then
5320 enableval
=$enable_profile;
5321 if test "$enableval" = yes; then
5322 wx_cv_use_profile
='wxUSE_PROFILE=yes'
5324 wx_cv_use_profile
='wxUSE_PROFILE=no'
5329 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5334 eval "$wx_cv_use_profile"
5336 if test x"$enablestring" = xdisable; then
5337 if test $wxUSE_PROFILE = no; then
5343 result=$wxUSE_PROFILE
5346 { echo "$as_me:$LINENO: result: $result" >&5
5347 echo "${ECHO_T}$result" >&6; }
5352 if test -z "$defaultval"; then
5353 if test x"$enablestring" = xdisable; then
5360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5361 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5362 # Check whether --enable-no_rtti was given.
5363 if test "${enable_no_rtti+set}" = set; then
5364 enableval=$enable_no_rtti;
5365 if test "$enableval" = yes; then
5366 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
5368 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
5373 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5378 eval "$wx_cv_use_no_rtti"
5380 if test x"$enablestring" = xdisable; then
5381 if test $wxUSE_NO_RTTI = no; then
5387 result=$wxUSE_NO_RTTI
5390 { echo "$as_me:$LINENO: result
: $result" >&5
5391 echo "${ECHO_T}$result" >&6; }
5396 if test -z "$defaultval"; then
5397 if test x"$enablestring" = xdisable; then
5404 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_exceptions" >&5
5405 echo $ECHO_N "checking
for --${enablestring:-enable}-no_exceptions...
$ECHO_C" >&6; }
5406 # Check whether --enable-no_exceptions was given.
5407 if test "${enable_no_exceptions+set}" = set; then
5408 enableval=$enable_no_exceptions;
5409 if test "$enableval" = yes; then
5410 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5412 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5417 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5422 eval "$wx_cv_use_no_exceptions"
5424 if test x
"$enablestring" = xdisable
; then
5425 if test $wxUSE_NO_EXCEPTIONS = no
; then
5431 result
=$wxUSE_NO_EXCEPTIONS
5434 { echo "$as_me:$LINENO: result: $result" >&5
5435 echo "${ECHO_T}$result" >&6; }
5440 if test -z "$defaultval"; then
5441 if test x
"$enablestring" = xdisable
; then
5448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5449 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5450 # Check whether --enable-permissive was given.
5451 if test "${enable_permissive+set}" = set; then
5452 enableval
=$enable_permissive;
5453 if test "$enableval" = yes; then
5454 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
5456 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
5461 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5466 eval "$wx_cv_use_permissive"
5468 if test x"$enablestring" = xdisable; then
5469 if test $wxUSE_PERMISSIVE = no; then
5475 result=$wxUSE_PERMISSIVE
5478 { echo "$as_me:$LINENO: result: $result" >&5
5479 echo "${ECHO_T}$result" >&6; }
5484 if test -z "$defaultval"; then
5485 if test x"$enablestring" = xdisable; then
5492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5493 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5494 # Check whether --enable-no_deps was given.
5495 if test "${enable_no_deps+set}" = set; then
5496 enableval=$enable_no_deps;
5497 if test "$enableval" = yes; then
5498 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
5500 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
5505 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5510 eval "$wx_cv_use_no_deps"
5512 if test x"$enablestring" = xdisable; then
5513 if test $wxUSE_NO_DEPS = no; then
5519 result=$wxUSE_NO_DEPS
5522 { echo "$as_me:$LINENO: result
: $result" >&5
5523 echo "${ECHO_T}$result" >&6; }
5526 enablestring=disable
5528 if test -z "$defaultval"; then
5529 if test x"$enablestring" = xdisable; then
5536 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-vararg_macros" >&5
5537 echo $ECHO_N "checking
for --${enablestring:-enable}-vararg_macros...
$ECHO_C" >&6; }
5538 # Check whether --enable-vararg_macros was given.
5539 if test "${enable_vararg_macros+set}" = set; then
5540 enableval=$enable_vararg_macros;
5541 if test "$enableval" = yes; then
5542 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5544 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5549 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5554 eval "$wx_cv_use_vararg_macros"
5556 if test x
"$enablestring" = xdisable
; then
5557 if test $wxUSE_VARARG_MACROS = no
; then
5563 result
=$wxUSE_VARARG_MACROS
5566 { echo "$as_me:$LINENO: result: $result" >&5
5567 echo "${ECHO_T}$result" >&6; }
5572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5574 # Check whether --enable-universal_binary was given.
5575 if test "${enable_universal_binary+set}" = set; then
5576 enableval
=$enable_universal_binary;
5577 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
5581 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5586 eval "$wx_cv_use_universal_binary"
5588 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5589 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5595 # Check whether --enable-macosx_arch was given.
5596 if test "${enable_macosx_arch+set}" = set; then
5597 enableval
=$enable_macosx_arch;
5598 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
5602 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5607 eval "$wx_cv_use_macosx_arch"
5609 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5610 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5616 if test -z "$defaultval"; then
5617 if test x
"$enablestring" = xdisable
; then
5624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5626 # Check whether --enable-compat26 was given.
5627 if test "${enable_compat26+set}" = set; then
5628 enableval
=$enable_compat26;
5629 if test "$enableval" = yes; then
5630 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
5632 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
5637 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5642 eval "$wx_cv_use_compat26"
5644 if test x"$enablestring" = xdisable; then
5645 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5651 result=$WXWIN_COMPATIBILITY_2_6
5654 { echo "$as_me:$LINENO: result: $result" >&5
5655 echo "${ECHO_T}$result" >&6; }
5658 enablestring=disable
5660 if test -z "$defaultval"; then
5661 if test x"$enablestring" = xdisable; then
5668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5670 # Check whether --enable-compat28 was given.
5671 if test "${enable_compat28+set}" = set; then
5672 enableval=$enable_compat28;
5673 if test "$enableval" = yes; then
5674 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
5676 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
5681 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5686 eval "$wx_cv_use_compat28"
5688 if test x"$enablestring" = xdisable; then
5689 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5695 result=$WXWIN_COMPATIBILITY_2_8
5698 { echo "$as_me:$LINENO: result
: $result" >&5
5699 echo "${ECHO_T}$result" >&6; }
5703 enablestring=disable
5705 if test -z "$defaultval"; then
5706 if test x"$enablestring" = xdisable; then
5713 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rpath" >&5
5714 echo $ECHO_N "checking
for --${enablestring:-enable}-rpath...
$ECHO_C" >&6; }
5715 # Check whether --enable-rpath was given.
5716 if test "${enable_rpath+set}" = set; then
5717 enableval=$enable_rpath;
5718 if test "$enableval" = yes; then
5719 wx_cv_use_rpath='wxUSE_RPATH=yes'
5721 wx_cv_use_rpath='wxUSE_RPATH=no'
5726 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5731 eval "$wx_cv_use_rpath"
5733 if test x
"$enablestring" = xdisable
; then
5734 if test $wxUSE_RPATH = no
; then
5743 { echo "$as_me:$LINENO: result: $result" >&5
5744 echo "${ECHO_T}$result" >&6; }
5750 if test -z "$defaultval"; then
5751 if test x
"$enablestring" = xdisable
; then
5758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5760 # Check whether --enable-objc_uniquifying was given.
5761 if test "${enable_objc_uniquifying+set}" = set; then
5762 enableval
=$enable_objc_uniquifying;
5763 if test "$enableval" = yes; then
5764 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
5766 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
5771 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5776 eval "$wx_cv_use_objc_uniquifying"
5778 if test x"$enablestring" = xdisable; then
5779 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5785 result=$wxUSE_OBJC_UNIQUIFYING
5788 { echo "$as_me:$LINENO: result: $result" >&5
5789 echo "${ECHO_T}$result" >&6; }
5793 enablestring=disable
5795 if test -z "$defaultval"; then
5796 if test x"$enablestring" = xdisable; then
5803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5805 # Check whether --enable-visibility was given.
5806 if test "${enable_visibility+set}" = set; then
5807 enableval=$enable_visibility;
5808 if test "$enableval" = yes; then
5809 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
5811 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
5816 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5821 eval "$wx_cv_use_visibility"
5823 if test x"$enablestring" = xdisable; then
5824 if test $wxUSE_VISIBILITY = no; then
5830 result=$wxUSE_VISIBILITY
5833 { echo "$as_me:$LINENO: result
: $result" >&5
5834 echo "${ECHO_T}$result" >&6; }
5837 enablestring=disable
5839 if test -z "$defaultval"; then
5840 if test x"$enablestring" = xdisable; then
5847 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tls" >&5
5848 echo $ECHO_N "checking
for --${enablestring:-enable}-tls...
$ECHO_C" >&6; }
5849 # Check whether --enable-tls was given.
5850 if test "${enable_tls+set}" = set; then
5851 enableval=$enable_tls;
5852 if test "$enableval" = yes; then
5853 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5855 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5860 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5865 eval "$wx_cv_use_tls"
5867 if test x
"$enablestring" = xdisable
; then
5868 if test $wxUSE_COMPILER_TLS = no
; then
5874 result
=$wxUSE_COMPILER_TLS
5877 { echo "$as_me:$LINENO: result: $result" >&5
5878 echo "${ECHO_T}$result" >&6; }
5884 defaultval
=$wxUSE_ALL_FEATURES
5885 if test -z "$defaultval"; then
5886 if test x
"$enablestring" = xdisable
; then
5893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5894 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5895 # Check whether --enable-intl was given.
5896 if test "${enable_intl+set}" = set; then
5897 enableval
=$enable_intl;
5898 if test "$enableval" = yes; then
5899 wx_cv_use_intl
='wxUSE_INTL=yes'
5901 wx_cv_use_intl
='wxUSE_INTL=no'
5906 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5911 eval "$wx_cv_use_intl"
5913 if test x"$enablestring" = xdisable; then
5914 if test $wxUSE_INTL = no; then
5923 { echo "$as_me:$LINENO: result: $result" >&5
5924 echo "${ECHO_T}$result" >&6; }
5928 defaultval=$wxUSE_ALL_FEATURES
5929 if test -z "$defaultval"; then
5930 if test x"$enablestring" = xdisable; then
5937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5938 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5939 # Check whether --enable-xlocale was given.
5940 if test "${enable_xlocale+set}" = set; then
5941 enableval=$enable_xlocale;
5942 if test "$enableval" = yes; then
5943 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
5945 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
5950 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5955 eval "$wx_cv_use_xlocale"
5957 if test x"$enablestring" = xdisable; then
5958 if test $wxUSE_XLOCALE = no; then
5964 result=$wxUSE_XLOCALE
5967 { echo "$as_me:$LINENO: result
: $result" >&5
5968 echo "${ECHO_T}$result" >&6; }
5972 defaultval=$wxUSE_ALL_FEATURES
5973 if test -z "$defaultval"; then
5974 if test x"$enablestring" = xdisable; then
5981 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-config" >&5
5982 echo $ECHO_N "checking
for --${enablestring:-enable}-config...
$ECHO_C" >&6; }
5983 # Check whether --enable-config was given.
5984 if test "${enable_config+set}" = set; then
5985 enableval=$enable_config;
5986 if test "$enableval" = yes; then
5987 wx_cv_use_config='wxUSE_CONFIG=yes'
5989 wx_cv_use_config='wxUSE_CONFIG=no'
5994 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5999 eval "$wx_cv_use_config"
6001 if test x
"$enablestring" = xdisable
; then
6002 if test $wxUSE_CONFIG = no
; then
6008 result
=$wxUSE_CONFIG
6011 { echo "$as_me:$LINENO: result: $result" >&5
6012 echo "${ECHO_T}$result" >&6; }
6017 defaultval
=$wxUSE_ALL_FEATURES
6018 if test -z "$defaultval"; then
6019 if test x
"$enablestring" = xdisable
; then
6026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6027 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6028 # Check whether --enable-protocols was given.
6029 if test "${enable_protocols+set}" = set; then
6030 enableval
=$enable_protocols;
6031 if test "$enableval" = yes; then
6032 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
6034 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
6039 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6044 eval "$wx_cv_use_protocols"
6046 if test x"$enablestring" = xdisable; then
6047 if test $wxUSE_PROTOCOL = no; then
6053 result=$wxUSE_PROTOCOL
6056 { echo "$as_me:$LINENO: result: $result" >&5
6057 echo "${ECHO_T}$result" >&6; }
6061 defaultval=$wxUSE_ALL_FEATURES
6062 if test -z "$defaultval"; then
6063 if test x"$enablestring" = xdisable; then
6070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6072 # Check whether --enable-ftp was given.
6073 if test "${enable_ftp+set}" = set; then
6074 enableval=$enable_ftp;
6075 if test "$enableval" = yes; then
6076 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
6078 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
6083 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6088 eval "$wx_cv_use_ftp"
6090 if test x"$enablestring" = xdisable; then
6091 if test $wxUSE_PROTOCOL_FTP = no; then
6097 result=$wxUSE_PROTOCOL_FTP
6100 { echo "$as_me:$LINENO: result
: $result" >&5
6101 echo "${ECHO_T}$result" >&6; }
6105 defaultval=$wxUSE_ALL_FEATURES
6106 if test -z "$defaultval"; then
6107 if test x"$enablestring" = xdisable; then
6114 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-http" >&5
6115 echo $ECHO_N "checking
for --${enablestring:-enable}-http...
$ECHO_C" >&6; }
6116 # Check whether --enable-http was given.
6117 if test "${enable_http+set}" = set; then
6118 enableval=$enable_http;
6119 if test "$enableval" = yes; then
6120 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6122 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6127 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6132 eval "$wx_cv_use_http"
6134 if test x
"$enablestring" = xdisable
; then
6135 if test $wxUSE_PROTOCOL_HTTP = no
; then
6141 result
=$wxUSE_PROTOCOL_HTTP
6144 { echo "$as_me:$LINENO: result: $result" >&5
6145 echo "${ECHO_T}$result" >&6; }
6149 defaultval
=$wxUSE_ALL_FEATURES
6150 if test -z "$defaultval"; then
6151 if test x
"$enablestring" = xdisable
; then
6158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6159 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6160 # Check whether --enable-fileproto was given.
6161 if test "${enable_fileproto+set}" = set; then
6162 enableval
=$enable_fileproto;
6163 if test "$enableval" = yes; then
6164 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
6166 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
6171 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6176 eval "$wx_cv_use_fileproto"
6178 if test x"$enablestring" = xdisable; then
6179 if test $wxUSE_PROTOCOL_FILE = no; then
6185 result=$wxUSE_PROTOCOL_FILE
6188 { echo "$as_me:$LINENO: result: $result" >&5
6189 echo "${ECHO_T}$result" >&6; }
6193 defaultval=$wxUSE_ALL_FEATURES
6194 if test -z "$defaultval"; then
6195 if test x"$enablestring" = xdisable; then
6202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6203 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6204 # Check whether --enable-sockets was given.
6205 if test "${enable_sockets+set}" = set; then
6206 enableval=$enable_sockets;
6207 if test "$enableval" = yes; then
6208 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
6210 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
6215 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6220 eval "$wx_cv_use_sockets"
6222 if test x"$enablestring" = xdisable; then
6223 if test $wxUSE_SOCKETS = no; then
6229 result=$wxUSE_SOCKETS
6232 { echo "$as_me:$LINENO: result
: $result" >&5
6233 echo "${ECHO_T}$result" >&6; }
6237 defaultval=$wxUSE_ALL_FEATURES
6238 if test -z "$defaultval"; then
6239 if test x"$enablestring" = xdisable; then
6246 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipv6" >&5
6247 echo $ECHO_N "checking
for --${enablestring:-enable}-ipv6...
$ECHO_C" >&6; }
6248 # Check whether --enable-ipv6 was given.
6249 if test "${enable_ipv6+set}" = set; then
6250 enableval=$enable_ipv6;
6251 if test "$enableval" = yes; then
6252 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6254 wx_cv_use_ipv6='wxUSE_IPV6=no'
6259 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6264 eval "$wx_cv_use_ipv6"
6266 if test x
"$enablestring" = xdisable
; then
6267 if test $wxUSE_IPV6 = no
; then
6276 { echo "$as_me:$LINENO: result: $result" >&5
6277 echo "${ECHO_T}$result" >&6; }
6281 defaultval
=$wxUSE_ALL_FEATURES
6282 if test -z "$defaultval"; then
6283 if test x
"$enablestring" = xdisable
; then
6290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6291 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6292 # Check whether --enable-ole was given.
6293 if test "${enable_ole+set}" = set; then
6294 enableval
=$enable_ole;
6295 if test "$enableval" = yes; then
6296 wx_cv_use_ole
='wxUSE_OLE=yes'
6298 wx_cv_use_ole
='wxUSE_OLE=no'
6303 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6308 eval "$wx_cv_use_ole"
6310 if test x"$enablestring" = xdisable; then
6311 if test $wxUSE_OLE = no; then
6320 { echo "$as_me:$LINENO: result: $result" >&5
6321 echo "${ECHO_T}$result" >&6; }
6325 defaultval=$wxUSE_ALL_FEATURES
6326 if test -z "$defaultval"; then
6327 if test x"$enablestring" = xdisable; then
6334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6336 # Check whether --enable-dataobj was given.
6337 if test "${enable_dataobj+set}" = set; then
6338 enableval=$enable_dataobj;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
6342 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
6347 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6352 eval "$wx_cv_use_dataobj"
6354 if test x"$enablestring" = xdisable; then
6355 if test $wxUSE_DATAOBJ = no; then
6361 result=$wxUSE_DATAOBJ
6364 { echo "$as_me:$LINENO: result
: $result" >&5
6365 echo "${ECHO_T}$result" >&6; }
6370 defaultval=$wxUSE_ALL_FEATURES
6371 if test -z "$defaultval"; then
6372 if test x"$enablestring" = xdisable; then
6379 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipc" >&5
6380 echo $ECHO_N "checking
for --${enablestring:-enable}-ipc...
$ECHO_C" >&6; }
6381 # Check whether --enable-ipc was given.
6382 if test "${enable_ipc+set}" = set; then
6383 enableval=$enable_ipc;
6384 if test "$enableval" = yes; then
6385 wx_cv_use_ipc='wxUSE_IPC=yes'
6387 wx_cv_use_ipc='wxUSE_IPC=no'
6392 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6397 eval "$wx_cv_use_ipc"
6399 if test x
"$enablestring" = xdisable
; then
6400 if test $wxUSE_IPC = no
; then
6409 { echo "$as_me:$LINENO: result: $result" >&5
6410 echo "${ECHO_T}$result" >&6; }
6415 defaultval
=$wxUSE_ALL_FEATURES
6416 if test -z "$defaultval"; then
6417 if test x
"$enablestring" = xdisable
; then
6424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6426 # Check whether --enable-baseevtloop was given.
6427 if test "${enable_baseevtloop+set}" = set; then
6428 enableval
=$enable_baseevtloop;
6429 if test "$enableval" = yes; then
6430 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
6432 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
6437 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6442 eval "$wx_cv_use_baseevtloop"
6444 if test x"$enablestring" = xdisable; then
6445 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6451 result=$wxUSE_CONSOLE_EVENTLOOP
6454 { echo "$as_me:$LINENO: result: $result" >&5
6455 echo "${ECHO_T}$result" >&6; }
6459 defaultval=$wxUSE_ALL_FEATURES
6460 if test -z "$defaultval"; then
6461 if test x"$enablestring" = xdisable; then
6468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6470 # Check whether --enable-epollloop was given.
6471 if test "${enable_epollloop+set}" = set; then
6472 enableval=$enable_epollloop;
6473 if test "$enableval" = yes; then
6474 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
6476 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
6481 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6486 eval "$wx_cv_use_epollloop"
6488 if test x"$enablestring" = xdisable; then
6489 if test $wxUSE_EPOLL_DISPATCHER = no; then
6495 result=$wxUSE_EPOLL_DISPATCHER
6498 { echo "$as_me:$LINENO: result
: $result" >&5
6499 echo "${ECHO_T}$result" >&6; }
6503 defaultval=$wxUSE_ALL_FEATURES
6504 if test -z "$defaultval"; then
6505 if test x"$enablestring" = xdisable; then
6512 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-selectloop" >&5
6513 echo $ECHO_N "checking
for --${enablestring:-enable}-selectloop...
$ECHO_C" >&6; }
6514 # Check whether --enable-selectloop was given.
6515 if test "${enable_selectloop+set}" = set; then
6516 enableval=$enable_selectloop;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6520 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6525 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6530 eval "$wx_cv_use_selectloop"
6532 if test x
"$enablestring" = xdisable
; then
6533 if test $wxUSE_SELECT_DISPATCHER = no
; then
6539 result
=$wxUSE_SELECT_DISPATCHER
6542 { echo "$as_me:$LINENO: result: $result" >&5
6543 echo "${ECHO_T}$result" >&6; }
6548 defaultval
=$wxUSE_ALL_FEATURES
6549 if test -z "$defaultval"; then
6550 if test x
"$enablestring" = xdisable
; then
6557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6558 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6559 # Check whether --enable-any was given.
6560 if test "${enable_any+set}" = set; then
6561 enableval
=$enable_any;
6562 if test "$enableval" = yes; then
6563 wx_cv_use_any
='wxUSE_ANY=yes'
6565 wx_cv_use_any
='wxUSE_ANY=no'
6570 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6575 eval "$wx_cv_use_any"
6577 if test x"$enablestring" = xdisable; then
6578 if test $wxUSE_ANY = no; then
6587 { echo "$as_me:$LINENO: result: $result" >&5
6588 echo "${ECHO_T}$result" >&6; }
6592 defaultval=$wxUSE_ALL_FEATURES
6593 if test -z "$defaultval"; then
6594 if test x"$enablestring" = xdisable; then
6601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6602 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6603 # Check whether --enable-apple_ieee was given.
6604 if test "${enable_apple_ieee+set}" = set; then
6605 enableval=$enable_apple_ieee;
6606 if test "$enableval" = yes; then
6607 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6609 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6614 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6619 eval "$wx_cv_use_apple_ieee"
6621 if test x"$enablestring" = xdisable; then
6622 if test $wxUSE_APPLE_IEEE = no; then
6628 result=$wxUSE_APPLE_IEEE
6631 { echo "$as_me:$LINENO: result
: $result" >&5
6632 echo "${ECHO_T}$result" >&6; }
6636 defaultval=$wxUSE_ALL_FEATURES
6637 if test -z "$defaultval"; then
6638 if test x"$enablestring" = xdisable; then
6645 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6646 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6647 # Check whether --enable-arcstream was given.
6648 if test "${enable_arcstream+set}" = set; then
6649 enableval=$enable_arcstream;
6650 if test "$enableval" = yes; then
6651 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6653 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6658 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6663 eval "$wx_cv_use_arcstream"
6665 if test x
"$enablestring" = xdisable
; then
6666 if test $wxUSE_ARCHIVE_STREAMS = no
; then
6672 result
=$wxUSE_ARCHIVE_STREAMS
6675 { echo "$as_me:$LINENO: result: $result" >&5
6676 echo "${ECHO_T}$result" >&6; }
6680 defaultval
=$wxUSE_ALL_FEATURES
6681 if test -z "$defaultval"; then
6682 if test x
"$enablestring" = xdisable
; then
6689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6690 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6691 # Check whether --enable-base64 was given.
6692 if test "${enable_base64+set}" = set; then
6693 enableval
=$enable_base64;
6694 if test "$enableval" = yes; then
6695 wx_cv_use_base64
='wxUSE_BASE64=yes'
6697 wx_cv_use_base64
='wxUSE_BASE64=no'
6702 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6707 eval "$wx_cv_use_base64"
6709 if test x"$enablestring" = xdisable; then
6710 if test $wxUSE_BASE64 = no; then
6716 result=$wxUSE_BASE64
6719 { echo "$as_me:$LINENO: result: $result" >&5
6720 echo "${ECHO_T}$result" >&6; }
6724 defaultval=$wxUSE_ALL_FEATURES
6725 if test -z "$defaultval"; then
6726 if test x"$enablestring" = xdisable; then
6733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6734 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6735 # Check whether --enable-backtrace was given.
6736 if test "${enable_backtrace+set}" = set; then
6737 enableval=$enable_backtrace;
6738 if test "$enableval" = yes; then
6739 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6741 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6746 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6751 eval "$wx_cv_use_backtrace"
6753 if test x"$enablestring" = xdisable; then
6754 if test $wxUSE_STACKWALKER = no; then
6760 result=$wxUSE_STACKWALKER
6763 { echo "$as_me:$LINENO: result
: $result" >&5
6764 echo "${ECHO_T}$result" >&6; }
6768 defaultval=$wxUSE_ALL_FEATURES
6769 if test -z "$defaultval"; then
6770 if test x"$enablestring" = xdisable; then
6777 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6778 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6779 # Check whether --enable-catch_segvs was given.
6780 if test "${enable_catch_segvs+set}" = set; then
6781 enableval=$enable_catch_segvs;
6782 if test "$enableval" = yes; then
6783 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6785 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6790 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6795 eval "$wx_cv_use_catch_segvs"
6797 if test x
"$enablestring" = xdisable
; then
6798 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
6804 result
=$wxUSE_ON_FATAL_EXCEPTION
6807 { echo "$as_me:$LINENO: result: $result" >&5
6808 echo "${ECHO_T}$result" >&6; }
6812 defaultval
=$wxUSE_ALL_FEATURES
6813 if test -z "$defaultval"; then
6814 if test x
"$enablestring" = xdisable
; then
6821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6822 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6823 # Check whether --enable-cmdline was given.
6824 if test "${enable_cmdline+set}" = set; then
6825 enableval
=$enable_cmdline;
6826 if test "$enableval" = yes; then
6827 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6829 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6834 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6839 eval "$wx_cv_use_cmdline"
6841 if test x"$enablestring" = xdisable; then
6842 if test $wxUSE_CMDLINE_PARSER = no; then
6848 result=$wxUSE_CMDLINE_PARSER
6851 { echo "$as_me:$LINENO: result: $result" >&5
6852 echo "${ECHO_T}$result" >&6; }
6856 defaultval=$wxUSE_ALL_FEATURES
6857 if test -z "$defaultval"; then
6858 if test x"$enablestring" = xdisable; then
6865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6866 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6867 # Check whether --enable-datetime was given.
6868 if test "${enable_datetime+set}" = set; then
6869 enableval=$enable_datetime;
6870 if test "$enableval" = yes; then
6871 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6873 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6878 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6883 eval "$wx_cv_use_datetime"
6885 if test x"$enablestring" = xdisable; then
6886 if test $wxUSE_DATETIME = no; then
6892 result=$wxUSE_DATETIME
6895 { echo "$as_me:$LINENO: result
: $result" >&5
6896 echo "${ECHO_T}$result" >&6; }
6900 defaultval=$wxUSE_ALL_FEATURES
6901 if test -z "$defaultval"; then
6902 if test x"$enablestring" = xdisable; then
6909 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6910 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6911 # Check whether --enable-debugreport was given.
6912 if test "${enable_debugreport+set}" = set; then
6913 enableval=$enable_debugreport;
6914 if test "$enableval" = yes; then
6915 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6917 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6922 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6927 eval "$wx_cv_use_debugreport"
6929 if test x
"$enablestring" = xdisable
; then
6930 if test $wxUSE_DEBUGREPORT = no
; then
6936 result
=$wxUSE_DEBUGREPORT
6939 { echo "$as_me:$LINENO: result: $result" >&5
6940 echo "${ECHO_T}$result" >&6; }
6944 defaultval
=$wxUSE_ALL_FEATURES
6945 if test -z "$defaultval"; then
6946 if test x
"$enablestring" = xdisable
; then
6953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6954 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6955 # Check whether --enable-dialupman was given.
6956 if test "${enable_dialupman+set}" = set; then
6957 enableval
=$enable_dialupman;
6958 if test "$enableval" = yes; then
6959 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6961 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6966 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6971 eval "$wx_cv_use_dialupman"
6973 if test x"$enablestring" = xdisable; then
6974 if test $wxUSE_DIALUP_MANAGER = no; then
6980 result=$wxUSE_DIALUP_MANAGER
6983 { echo "$as_me:$LINENO: result: $result" >&5
6984 echo "${ECHO_T}$result" >&6; }
6988 defaultval=$wxUSE_ALL_FEATURES
6989 if test -z "$defaultval"; then
6990 if test x"$enablestring" = xdisable; then
6997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6998 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6999 # Check whether --enable-dynlib was given.
7000 if test "${enable_dynlib+set}" = set; then
7001 enableval=$enable_dynlib;
7002 if test "$enableval" = yes; then
7003 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
7005 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
7010 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7015 eval "$wx_cv_use_dynlib"
7017 if test x"$enablestring" = xdisable; then
7018 if test $wxUSE_DYNLIB_CLASS = no; then
7024 result=$wxUSE_DYNLIB_CLASS
7027 { echo "$as_me:$LINENO: result
: $result" >&5
7028 echo "${ECHO_T}$result" >&6; }
7032 defaultval=$wxUSE_ALL_FEATURES
7033 if test -z "$defaultval"; then
7034 if test x"$enablestring" = xdisable; then
7041 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7042 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7043 # Check whether --enable-dynamicloader was given.
7044 if test "${enable_dynamicloader+set}" = set; then
7045 enableval=$enable_dynamicloader;
7046 if test "$enableval" = yes; then
7047 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7049 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7054 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7059 eval "$wx_cv_use_dynamicloader"
7061 if test x
"$enablestring" = xdisable
; then
7062 if test $wxUSE_DYNAMIC_LOADER = no
; then
7068 result
=$wxUSE_DYNAMIC_LOADER
7071 { echo "$as_me:$LINENO: result: $result" >&5
7072 echo "${ECHO_T}$result" >&6; }
7076 defaultval
=$wxUSE_ALL_FEATURES
7077 if test -z "$defaultval"; then
7078 if test x
"$enablestring" = xdisable
; then
7085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7086 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7087 # Check whether --enable-exceptions was given.
7088 if test "${enable_exceptions+set}" = set; then
7089 enableval
=$enable_exceptions;
7090 if test "$enableval" = yes; then
7091 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7093 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7098 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7103 eval "$wx_cv_use_exceptions"
7105 if test x"$enablestring" = xdisable; then
7106 if test $wxUSE_EXCEPTIONS = no; then
7112 result=$wxUSE_EXCEPTIONS
7115 { echo "$as_me:$LINENO: result: $result" >&5
7116 echo "${ECHO_T}$result" >&6; }
7120 defaultval=$wxUSE_ALL_FEATURES
7121 if test -z "$defaultval"; then
7122 if test x"$enablestring" = xdisable; then
7129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7131 # Check whether --enable-ffile was given.
7132 if test "${enable_ffile+set}" = set; then
7133 enableval=$enable_ffile;
7134 if test "$enableval" = yes; then
7135 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7137 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7142 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7147 eval "$wx_cv_use_ffile"
7149 if test x"$enablestring" = xdisable; then
7150 if test $wxUSE_FFILE = no; then
7159 { echo "$as_me:$LINENO: result
: $result" >&5
7160 echo "${ECHO_T}$result" >&6; }
7164 defaultval=$wxUSE_ALL_FEATURES
7165 if test -z "$defaultval"; then
7166 if test x"$enablestring" = xdisable; then
7173 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7174 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7175 # Check whether --enable-file was given.
7176 if test "${enable_file+set}" = set; then
7177 enableval=$enable_file;
7178 if test "$enableval" = yes; then
7179 wx_cv_use_file='wxUSE_FILE=yes'
7181 wx_cv_use_file='wxUSE_FILE=no'
7186 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7191 eval "$wx_cv_use_file"
7193 if test x
"$enablestring" = xdisable
; then
7194 if test $wxUSE_FILE = no
; then
7203 { echo "$as_me:$LINENO: result: $result" >&5
7204 echo "${ECHO_T}$result" >&6; }
7208 defaultval
=$wxUSE_ALL_FEATURES
7209 if test -z "$defaultval"; then
7210 if test x
"$enablestring" = xdisable
; then
7217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7219 # Check whether --enable-filehistory was given.
7220 if test "${enable_filehistory+set}" = set; then
7221 enableval
=$enable_filehistory;
7222 if test "$enableval" = yes; then
7223 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
7225 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
7230 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7235 eval "$wx_cv_use_filehistory"
7237 if test x"$enablestring" = xdisable; then
7238 if test $wxUSE_FILE_HISTORY = no; then
7244 result=$wxUSE_FILE_HISTORY
7247 { echo "$as_me:$LINENO: result: $result" >&5
7248 echo "${ECHO_T}$result" >&6; }
7252 defaultval=$wxUSE_ALL_FEATURES
7253 if test -z "$defaultval"; then
7254 if test x"$enablestring" = xdisable; then
7261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7263 # Check whether --enable-filesystem was given.
7264 if test "${enable_filesystem+set}" = set; then
7265 enableval=$enable_filesystem;
7266 if test "$enableval" = yes; then
7267 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7269 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7274 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7279 eval "$wx_cv_use_filesystem"
7281 if test x"$enablestring" = xdisable; then
7282 if test $wxUSE_FILESYSTEM = no; then
7288 result=$wxUSE_FILESYSTEM
7291 { echo "$as_me:$LINENO: result
: $result" >&5
7292 echo "${ECHO_T}$result" >&6; }
7296 defaultval=$wxUSE_ALL_FEATURES
7297 if test -z "$defaultval"; then
7298 if test x"$enablestring" = xdisable; then
7305 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7306 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7307 # Check whether --enable-fontenum was given.
7308 if test "${enable_fontenum+set}" = set; then
7309 enableval=$enable_fontenum;
7310 if test "$enableval" = yes; then
7311 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7313 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7318 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7323 eval "$wx_cv_use_fontenum"
7325 if test x
"$enablestring" = xdisable
; then
7326 if test $wxUSE_FONTENUM = no
; then
7332 result
=$wxUSE_FONTENUM
7335 { echo "$as_me:$LINENO: result: $result" >&5
7336 echo "${ECHO_T}$result" >&6; }
7340 defaultval
=$wxUSE_ALL_FEATURES
7341 if test -z "$defaultval"; then
7342 if test x
"$enablestring" = xdisable
; then
7349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7351 # Check whether --enable-fontmap was given.
7352 if test "${enable_fontmap+set}" = set; then
7353 enableval
=$enable_fontmap;
7354 if test "$enableval" = yes; then
7355 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7357 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7362 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7367 eval "$wx_cv_use_fontmap"
7369 if test x"$enablestring" = xdisable; then
7370 if test $wxUSE_FONTMAP = no; then
7376 result=$wxUSE_FONTMAP
7379 { echo "$as_me:$LINENO: result: $result" >&5
7380 echo "${ECHO_T}$result" >&6; }
7384 defaultval=$wxUSE_ALL_FEATURES
7385 if test -z "$defaultval"; then
7386 if test x"$enablestring" = xdisable; then
7393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7394 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7395 # Check whether --enable-fs_archive was given.
7396 if test "${enable_fs_archive+set}" = set; then
7397 enableval=$enable_fs_archive;
7398 if test "$enableval" = yes; then
7399 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7401 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7406 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7411 eval "$wx_cv_use_fs_archive"
7413 if test x"$enablestring" = xdisable; then
7414 if test $wxUSE_FS_ARCHIVE = no; then
7420 result=$wxUSE_FS_ARCHIVE
7423 { echo "$as_me:$LINENO: result
: $result" >&5
7424 echo "${ECHO_T}$result" >&6; }
7428 defaultval=$wxUSE_ALL_FEATURES
7429 if test -z "$defaultval"; then
7430 if test x"$enablestring" = xdisable; then
7437 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7438 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7439 # Check whether --enable-fs_inet was given.
7440 if test "${enable_fs_inet+set}" = set; then
7441 enableval=$enable_fs_inet;
7442 if test "$enableval" = yes; then
7443 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7445 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7450 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7455 eval "$wx_cv_use_fs_inet"
7457 if test x
"$enablestring" = xdisable
; then
7458 if test $wxUSE_FS_INET = no
; then
7464 result
=$wxUSE_FS_INET
7467 { echo "$as_me:$LINENO: result: $result" >&5
7468 echo "${ECHO_T}$result" >&6; }
7472 defaultval
=$wxUSE_ALL_FEATURES
7473 if test -z "$defaultval"; then
7474 if test x
"$enablestring" = xdisable
; then
7481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7482 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7483 # Check whether --enable-fs_zip was given.
7484 if test "${enable_fs_zip+set}" = set; then
7485 enableval
=$enable_fs_zip;
7486 if test "$enableval" = yes; then
7487 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7489 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7494 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7499 eval "$wx_cv_use_fs_zip"
7501 if test x"$enablestring" = xdisable; then
7502 if test $wxUSE_FS_ZIP = no; then
7508 result=$wxUSE_FS_ZIP
7511 { echo "$as_me:$LINENO: result: $result" >&5
7512 echo "${ECHO_T}$result" >&6; }
7516 defaultval=$wxUSE_ALL_FEATURES
7517 if test -z "$defaultval"; then
7518 if test x"$enablestring" = xdisable; then
7525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7527 # Check whether --enable-fswatcher was given.
7528 if test "${enable_fswatcher+set}" = set; then
7529 enableval=$enable_fswatcher;
7530 if test "$enableval" = yes; then
7531 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7533 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7538 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7543 eval "$wx_cv_use_fswatcher"
7545 if test x"$enablestring" = xdisable; then
7546 if test $wxUSE_FSWATCHER = no; then
7552 result=$wxUSE_FSWATCHER
7555 { echo "$as_me:$LINENO: result
: $result" >&5
7556 echo "${ECHO_T}$result" >&6; }
7560 defaultval=$wxUSE_ALL_FEATURES
7561 if test -z "$defaultval"; then
7562 if test x"$enablestring" = xdisable; then
7569 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7570 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7571 # Check whether --enable-geometry was given.
7572 if test "${enable_geometry+set}" = set; then
7573 enableval=$enable_geometry;
7574 if test "$enableval" = yes; then
7575 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7577 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7582 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7587 eval "$wx_cv_use_geometry"
7589 if test x
"$enablestring" = xdisable
; then
7590 if test $wxUSE_GEOMETRY = no
; then
7596 result
=$wxUSE_GEOMETRY
7599 { echo "$as_me:$LINENO: result: $result" >&5
7600 echo "${ECHO_T}$result" >&6; }
7604 defaultval
=$wxUSE_ALL_FEATURES
7605 if test -z "$defaultval"; then
7606 if test x
"$enablestring" = xdisable
; then
7613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7614 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7615 # Check whether --enable-log was given.
7616 if test "${enable_log+set}" = set; then
7617 enableval
=$enable_log;
7618 if test "$enableval" = yes; then
7619 wx_cv_use_log
='wxUSE_LOG=yes'
7621 wx_cv_use_log
='wxUSE_LOG=no'
7626 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7631 eval "$wx_cv_use_log"
7633 if test x"$enablestring" = xdisable; then
7634 if test $wxUSE_LOG = no; then
7643 { echo "$as_me:$LINENO: result: $result" >&5
7644 echo "${ECHO_T}$result" >&6; }
7648 defaultval=$wxUSE_ALL_FEATURES
7649 if test -z "$defaultval"; then
7650 if test x"$enablestring" = xdisable; then
7657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7658 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7659 # Check whether --enable-longlong was given.
7660 if test "${enable_longlong+set}" = set; then
7661 enableval=$enable_longlong;
7662 if test "$enableval" = yes; then
7663 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7665 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7670 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7675 eval "$wx_cv_use_longlong"
7677 if test x"$enablestring" = xdisable; then
7678 if test $wxUSE_LONGLONG = no; then
7684 result=$wxUSE_LONGLONG
7687 { echo "$as_me:$LINENO: result
: $result" >&5
7688 echo "${ECHO_T}$result" >&6; }
7692 defaultval=$wxUSE_ALL_FEATURES
7693 if test -z "$defaultval"; then
7694 if test x"$enablestring" = xdisable; then
7701 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7702 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7703 # Check whether --enable-mimetype was given.
7704 if test "${enable_mimetype+set}" = set; then
7705 enableval=$enable_mimetype;
7706 if test "$enableval" = yes; then
7707 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7709 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7714 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7719 eval "$wx_cv_use_mimetype"
7721 if test x
"$enablestring" = xdisable
; then
7722 if test $wxUSE_MIMETYPE = no
; then
7728 result
=$wxUSE_MIMETYPE
7731 { echo "$as_me:$LINENO: result: $result" >&5
7732 echo "${ECHO_T}$result" >&6; }
7736 defaultval
=$wxUSE_ALL_FEATURES
7737 if test -z "$defaultval"; then
7738 if test x
"$enablestring" = xdisable
; then
7745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7747 # Check whether --enable-printfposparam was given.
7748 if test "${enable_printfposparam+set}" = set; then
7749 enableval
=$enable_printfposparam;
7750 if test "$enableval" = yes; then
7751 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7753 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7758 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7763 eval "$wx_cv_use_printfposparam"
7765 if test x"$enablestring" = xdisable; then
7766 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7772 result=$wxUSE_PRINTF_POS_PARAMS
7775 { echo "$as_me:$LINENO: result: $result" >&5
7776 echo "${ECHO_T}$result" >&6; }
7780 defaultval=$wxUSE_ALL_FEATURES
7781 if test -z "$defaultval"; then
7782 if test x"$enablestring" = xdisable; then
7789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7791 # Check whether --enable-snglinst was given.
7792 if test "${enable_snglinst+set}" = set; then
7793 enableval=$enable_snglinst;
7794 if test "$enableval" = yes; then
7795 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7797 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7802 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7807 eval "$wx_cv_use_snglinst"
7809 if test x"$enablestring" = xdisable; then
7810 if test $wxUSE_SNGLINST_CHECKER = no; then
7816 result=$wxUSE_SNGLINST_CHECKER
7819 { echo "$as_me:$LINENO: result
: $result" >&5
7820 echo "${ECHO_T}$result" >&6; }
7824 defaultval=$wxUSE_ALL_FEATURES
7825 if test -z "$defaultval"; then
7826 if test x"$enablestring" = xdisable; then
7833 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7834 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7835 # Check whether --enable-sound was given.
7836 if test "${enable_sound+set}" = set; then
7837 enableval=$enable_sound;
7838 if test "$enableval" = yes; then
7839 wx_cv_use_sound='wxUSE_SOUND=yes'
7841 wx_cv_use_sound='wxUSE_SOUND=no'
7846 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7851 eval "$wx_cv_use_sound"
7853 if test x
"$enablestring" = xdisable
; then
7854 if test $wxUSE_SOUND = no
; then
7863 { echo "$as_me:$LINENO: result: $result" >&5
7864 echo "${ECHO_T}$result" >&6; }
7868 defaultval
=$wxUSE_ALL_FEATURES
7869 if test -z "$defaultval"; then
7870 if test x
"$enablestring" = xdisable
; then
7877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7879 # Check whether --enable-stdpaths was given.
7880 if test "${enable_stdpaths+set}" = set; then
7881 enableval
=$enable_stdpaths;
7882 if test "$enableval" = yes; then
7883 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7885 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7890 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7895 eval "$wx_cv_use_stdpaths"
7897 if test x"$enablestring" = xdisable; then
7898 if test $wxUSE_STDPATHS = no; then
7904 result=$wxUSE_STDPATHS
7907 { echo "$as_me:$LINENO: result: $result" >&5
7908 echo "${ECHO_T}$result" >&6; }
7912 defaultval=$wxUSE_ALL_FEATURES
7913 if test -z "$defaultval"; then
7914 if test x"$enablestring" = xdisable; then
7921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7922 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7923 # Check whether --enable-stopwatch was given.
7924 if test "${enable_stopwatch+set}" = set; then
7925 enableval=$enable_stopwatch;
7926 if test "$enableval" = yes; then
7927 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7929 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7934 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7939 eval "$wx_cv_use_stopwatch"
7941 if test x"$enablestring" = xdisable; then
7942 if test $wxUSE_STOPWATCH = no; then
7948 result=$wxUSE_STOPWATCH
7951 { echo "$as_me:$LINENO: result
: $result" >&5
7952 echo "${ECHO_T}$result" >&6; }
7956 defaultval=$wxUSE_ALL_FEATURES
7957 if test -z "$defaultval"; then
7958 if test x"$enablestring" = xdisable; then
7965 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7966 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7967 # Check whether --enable-streams was given.
7968 if test "${enable_streams+set}" = set; then
7969 enableval=$enable_streams;
7970 if test "$enableval" = yes; then
7971 wx_cv_use_streams='wxUSE_STREAMS=yes'
7973 wx_cv_use_streams='wxUSE_STREAMS=no'
7978 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7983 eval "$wx_cv_use_streams"
7985 if test x
"$enablestring" = xdisable
; then
7986 if test $wxUSE_STREAMS = no
; then
7992 result
=$wxUSE_STREAMS
7995 { echo "$as_me:$LINENO: result: $result" >&5
7996 echo "${ECHO_T}$result" >&6; }
8000 defaultval
=$wxUSE_ALL_FEATURES
8001 if test -z "$defaultval"; then
8002 if test x
"$enablestring" = xdisable
; then
8009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
8010 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
8011 # Check whether --enable-sysoptions was given.
8012 if test "${enable_sysoptions+set}" = set; then
8013 enableval
=$enable_sysoptions;
8014 if test "$enableval" = yes; then
8015 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
8017 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
8022 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8027 eval "$wx_cv_use_sysoptions"
8029 if test x"$enablestring" = xdisable; then
8030 if test $wxUSE_SYSTEM_OPTIONS = no; then
8036 result=$wxUSE_SYSTEM_OPTIONS
8039 { echo "$as_me:$LINENO: result: $result" >&5
8040 echo "${ECHO_T}$result" >&6; }
8044 defaultval=$wxUSE_ALL_FEATURES
8045 if test -z "$defaultval"; then
8046 if test x"$enablestring" = xdisable; then
8053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8054 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8055 # Check whether --enable-tarstream was given.
8056 if test "${enable_tarstream+set}" = set; then
8057 enableval=$enable_tarstream;
8058 if test "$enableval" = yes; then
8059 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
8061 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
8066 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8071 eval "$wx_cv_use_tarstream"
8073 if test x"$enablestring" = xdisable; then
8074 if test $wxUSE_TARSTREAM = no; then
8080 result=$wxUSE_TARSTREAM
8083 { echo "$as_me:$LINENO: result
: $result" >&5
8084 echo "${ECHO_T}$result" >&6; }
8088 defaultval=$wxUSE_ALL_FEATURES
8089 if test -z "$defaultval"; then
8090 if test x"$enablestring" = xdisable; then
8097 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
8098 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
8099 # Check whether --enable-textbuf was given.
8100 if test "${enable_textbuf+set}" = set; then
8101 enableval=$enable_textbuf;
8102 if test "$enableval" = yes; then
8103 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8105 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8110 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8115 eval "$wx_cv_use_textbuf"
8117 if test x
"$enablestring" = xdisable
; then
8118 if test $wxUSE_TEXTBUFFER = no
; then
8124 result
=$wxUSE_TEXTBUFFER
8127 { echo "$as_me:$LINENO: result: $result" >&5
8128 echo "${ECHO_T}$result" >&6; }
8132 defaultval
=$wxUSE_ALL_FEATURES
8133 if test -z "$defaultval"; then
8134 if test x
"$enablestring" = xdisable
; then
8141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8142 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8143 # Check whether --enable-textfile was given.
8144 if test "${enable_textfile+set}" = set; then
8145 enableval
=$enable_textfile;
8146 if test "$enableval" = yes; then
8147 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
8149 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
8154 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8159 eval "$wx_cv_use_textfile"
8161 if test x"$enablestring" = xdisable; then
8162 if test $wxUSE_TEXTFILE = no; then
8168 result=$wxUSE_TEXTFILE
8171 { echo "$as_me:$LINENO: result: $result" >&5
8172 echo "${ECHO_T}$result" >&6; }
8176 defaultval=$wxUSE_ALL_FEATURES
8177 if test -z "$defaultval"; then
8178 if test x"$enablestring" = xdisable; then
8185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8186 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8187 # Check whether --enable-timer was given.
8188 if test "${enable_timer+set}" = set; then
8189 enableval=$enable_timer;
8190 if test "$enableval" = yes; then
8191 wx_cv_use_timer='wxUSE_TIMER
=yes'
8193 wx_cv_use_timer='wxUSE_TIMER
=no
'
8198 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8203 eval "$wx_cv_use_timer"
8205 if test x"$enablestring" = xdisable; then
8206 if test $wxUSE_TIMER = no; then
8215 { echo "$as_me:$LINENO: result
: $result" >&5
8216 echo "${ECHO_T}$result" >&6; }
8220 defaultval=$wxUSE_ALL_FEATURES
8221 if test -z "$defaultval"; then
8222 if test x"$enablestring" = xdisable; then
8229 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
8230 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
8231 # Check whether --enable-variant was given.
8232 if test "${enable_variant+set}" = set; then
8233 enableval=$enable_variant;
8234 if test "$enableval" = yes; then
8235 wx_cv_use_variant='wxUSE_VARIANT=yes'
8237 wx_cv_use_variant='wxUSE_VARIANT=no'
8242 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8247 eval "$wx_cv_use_variant"
8249 if test x
"$enablestring" = xdisable
; then
8250 if test $wxUSE_VARIANT = no
; then
8256 result
=$wxUSE_VARIANT
8259 { echo "$as_me:$LINENO: result: $result" >&5
8260 echo "${ECHO_T}$result" >&6; }
8264 defaultval
=$wxUSE_ALL_FEATURES
8265 if test -z "$defaultval"; then
8266 if test x
"$enablestring" = xdisable
; then
8273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8274 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8275 # Check whether --enable-zipstream was given.
8276 if test "${enable_zipstream+set}" = set; then
8277 enableval
=$enable_zipstream;
8278 if test "$enableval" = yes; then
8279 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8281 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8286 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8291 eval "$wx_cv_use_zipstream"
8293 if test x"$enablestring" = xdisable; then
8294 if test $wxUSE_ZIPSTREAM = no; then
8300 result=$wxUSE_ZIPSTREAM
8303 { echo "$as_me:$LINENO: result: $result" >&5
8304 echo "${ECHO_T}$result" >&6; }
8309 defaultval=$wxUSE_ALL_FEATURES
8310 if test -z "$defaultval"; then
8311 if test x"$enablestring" = xdisable; then
8318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8320 # Check whether --enable-url was given.
8321 if test "${enable_url+set}" = set; then
8322 enableval=$enable_url;
8323 if test "$enableval" = yes; then
8324 wx_cv_use_url='wxUSE_URL
=yes'
8326 wx_cv_use_url='wxUSE_URL
=no
'
8331 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8336 eval "$wx_cv_use_url"
8338 if test x"$enablestring" = xdisable; then
8339 if test $wxUSE_URL = no; then
8348 { echo "$as_me:$LINENO: result
: $result" >&5
8349 echo "${ECHO_T}$result" >&6; }
8353 defaultval=$wxUSE_ALL_FEATURES
8354 if test -z "$defaultval"; then
8355 if test x"$enablestring" = xdisable; then
8362 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8363 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8364 # Check whether --enable-protocol was given.
8365 if test "${enable_protocol+set}" = set; then
8366 enableval=$enable_protocol;
8367 if test "$enableval" = yes; then
8368 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8370 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8375 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8380 eval "$wx_cv_use_protocol"
8382 if test x
"$enablestring" = xdisable
; then
8383 if test $wxUSE_PROTOCOL = no
; then
8389 result
=$wxUSE_PROTOCOL
8392 { echo "$as_me:$LINENO: result: $result" >&5
8393 echo "${ECHO_T}$result" >&6; }
8397 defaultval
=$wxUSE_ALL_FEATURES
8398 if test -z "$defaultval"; then
8399 if test x
"$enablestring" = xdisable
; then
8406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8407 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8408 # Check whether --enable-protocol_http was given.
8409 if test "${enable_protocol_http+set}" = set; then
8410 enableval
=$enable_protocol_http;
8411 if test "$enableval" = yes; then
8412 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8414 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8419 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8424 eval "$wx_cv_use_protocol_http"
8426 if test x"$enablestring" = xdisable; then
8427 if test $wxUSE_PROTOCOL_HTTP = no; then
8433 result=$wxUSE_PROTOCOL_HTTP
8436 { echo "$as_me:$LINENO: result: $result" >&5
8437 echo "${ECHO_T}$result" >&6; }
8441 defaultval=$wxUSE_ALL_FEATURES
8442 if test -z "$defaultval"; then
8443 if test x"$enablestring" = xdisable; then
8450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8452 # Check whether --enable-protocol_ftp was given.
8453 if test "${enable_protocol_ftp+set}" = set; then
8454 enableval=$enable_protocol_ftp;
8455 if test "$enableval" = yes; then
8456 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8458 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8463 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8468 eval "$wx_cv_use_protocol_ftp"
8470 if test x"$enablestring" = xdisable; then
8471 if test $wxUSE_PROTOCOL_FTP = no; then
8477 result=$wxUSE_PROTOCOL_FTP
8480 { echo "$as_me:$LINENO: result
: $result" >&5
8481 echo "${ECHO_T}$result" >&6; }
8485 defaultval=$wxUSE_ALL_FEATURES
8486 if test -z "$defaultval"; then
8487 if test x"$enablestring" = xdisable; then
8494 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8495 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8496 # Check whether --enable-protocol_file was given.
8497 if test "${enable_protocol_file+set}" = set; then
8498 enableval=$enable_protocol_file;
8499 if test "$enableval" = yes; then
8500 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8502 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8507 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8512 eval "$wx_cv_use_protocol_file"
8514 if test x
"$enablestring" = xdisable
; then
8515 if test $wxUSE_PROTOCOL_FILE = no
; then
8521 result
=$wxUSE_PROTOCOL_FILE
8524 { echo "$as_me:$LINENO: result: $result" >&5
8525 echo "${ECHO_T}$result" >&6; }
8530 defaultval
=$wxUSE_ALL_FEATURES
8531 if test -z "$defaultval"; then
8532 if test x
"$enablestring" = xdisable
; then
8539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8540 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8541 # Check whether --enable-threads was given.
8542 if test "${enable_threads+set}" = set; then
8543 enableval
=$enable_threads;
8544 if test "$enableval" = yes; then
8545 wx_cv_use_threads
='wxUSE_THREADS=yes'
8547 wx_cv_use_threads
='wxUSE_THREADS=no'
8552 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8557 eval "$wx_cv_use_threads"
8559 if test x"$enablestring" = xdisable; then
8560 if test $wxUSE_THREADS = no; then
8566 result=$wxUSE_THREADS
8569 { echo "$as_me:$LINENO: result: $result" >&5
8570 echo "${ECHO_T}$result" >&6; }
8576 if test -z "$defaultval"; then
8577 if test x"$enablestring" = xdisable; then
8584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8585 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8586 # Check whether --enable-iniconf was given.
8587 if test "${enable_iniconf+set}" = set; then
8588 enableval=$enable_iniconf;
8589 if test "$enableval" = yes; then
8590 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8592 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8597 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8602 eval "$wx_cv_use_iniconf"
8604 if test x"$enablestring" = xdisable; then
8605 if test $wxUSE_INICONF = no; then
8611 result=$wxUSE_INICONF
8614 { echo "$as_me:$LINENO: result
: $result" >&5
8615 echo "${ECHO_T}$result" >&6; }
8619 defaultval=$wxUSE_ALL_FEATURES
8620 if test -z "$defaultval"; then
8621 if test x"$enablestring" = xdisable; then
8628 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8629 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8630 # Check whether --enable-regkey was given.
8631 if test "${enable_regkey+set}" = set; then
8632 enableval=$enable_regkey;
8633 if test "$enableval" = yes; then
8634 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8636 wx_cv_use_regkey='wxUSE_REGKEY=no'
8641 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8646 eval "$wx_cv_use_regkey"
8648 if test x
"$enablestring" = xdisable
; then
8649 if test $wxUSE_REGKEY = no
; then
8655 result
=$wxUSE_REGKEY
8658 { echo "$as_me:$LINENO: result: $result" >&5
8659 echo "${ECHO_T}$result" >&6; }
8662 if test "$wxUSE_GUI" = "yes"; then
8667 defaultval
=$wxUSE_ALL_FEATURES
8668 if test -z "$defaultval"; then
8669 if test x
"$enablestring" = xdisable
; then
8676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8677 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8678 # Check whether --enable-docview was given.
8679 if test "${enable_docview+set}" = set; then
8680 enableval
=$enable_docview;
8681 if test "$enableval" = yes; then
8682 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8684 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8689 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8694 eval "$wx_cv_use_docview"
8696 if test x"$enablestring" = xdisable; then
8697 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8703 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8706 { echo "$as_me:$LINENO: result: $result" >&5
8707 echo "${ECHO_T}$result" >&6; }
8711 defaultval=$wxUSE_ALL_FEATURES
8712 if test -z "$defaultval"; then
8713 if test x"$enablestring" = xdisable; then
8720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8721 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8722 # Check whether --enable-help was given.
8723 if test "${enable_help+set}" = set; then
8724 enableval=$enable_help;
8725 if test "$enableval" = yes; then
8726 wx_cv_use_help='wxUSE_HELP
=yes'
8728 wx_cv_use_help='wxUSE_HELP
=no
'
8733 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8738 eval "$wx_cv_use_help"
8740 if test x"$enablestring" = xdisable; then
8741 if test $wxUSE_HELP = no; then
8750 { echo "$as_me:$LINENO: result
: $result" >&5
8751 echo "${ECHO_T}$result" >&6; }
8755 defaultval=$wxUSE_ALL_FEATURES
8756 if test -z "$defaultval"; then
8757 if test x"$enablestring" = xdisable; then
8764 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8765 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8766 # Check whether --enable-mshtmlhelp was given.
8767 if test "${enable_mshtmlhelp+set}" = set; then
8768 enableval=$enable_mshtmlhelp;
8769 if test "$enableval" = yes; then
8770 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8772 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8777 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8782 eval "$wx_cv_use_mshtmlhelp"
8784 if test x
"$enablestring" = xdisable
; then
8785 if test $wxUSE_MS_HTML_HELP = no
; then
8791 result
=$wxUSE_MS_HTML_HELP
8794 { echo "$as_me:$LINENO: result: $result" >&5
8795 echo "${ECHO_T}$result" >&6; }
8799 defaultval
=$wxUSE_ALL_FEATURES
8800 if test -z "$defaultval"; then
8801 if test x
"$enablestring" = xdisable
; then
8808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8809 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8810 # Check whether --enable-html was given.
8811 if test "${enable_html+set}" = set; then
8812 enableval
=$enable_html;
8813 if test "$enableval" = yes; then
8814 wx_cv_use_html
='wxUSE_HTML=yes'
8816 wx_cv_use_html
='wxUSE_HTML=no'
8821 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8826 eval "$wx_cv_use_html"
8828 if test x"$enablestring" = xdisable; then
8829 if test $wxUSE_HTML = no; then
8838 { echo "$as_me:$LINENO: result: $result" >&5
8839 echo "${ECHO_T}$result" >&6; }
8843 defaultval=$wxUSE_ALL_FEATURES
8844 if test -z "$defaultval"; then
8845 if test x"$enablestring" = xdisable; then
8852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8853 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8854 # Check whether --enable-htmlhelp was given.
8855 if test "${enable_htmlhelp+set}" = set; then
8856 enableval=$enable_htmlhelp;
8857 if test "$enableval" = yes; then
8858 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8860 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8865 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8870 eval "$wx_cv_use_htmlhelp"
8872 if test x"$enablestring" = xdisable; then
8873 if test $wxUSE_WXHTML_HELP = no; then
8879 result=$wxUSE_WXHTML_HELP
8882 { echo "$as_me:$LINENO: result
: $result" >&5
8883 echo "${ECHO_T}$result" >&6; }
8887 defaultval=$wxUSE_ALL_FEATURES
8888 if test -z "$defaultval"; then
8889 if test x"$enablestring" = xdisable; then
8896 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8897 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8898 # Check whether --enable-xrc was given.
8899 if test "${enable_xrc+set}" = set; then
8900 enableval=$enable_xrc;
8901 if test "$enableval" = yes; then
8902 wx_cv_use_xrc='wxUSE_XRC=yes'
8904 wx_cv_use_xrc='wxUSE_XRC=no'
8909 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8914 eval "$wx_cv_use_xrc"
8916 if test x
"$enablestring" = xdisable
; then
8917 if test $wxUSE_XRC = no
; then
8926 { echo "$as_me:$LINENO: result: $result" >&5
8927 echo "${ECHO_T}$result" >&6; }
8931 defaultval
=$wxUSE_ALL_FEATURES
8932 if test -z "$defaultval"; then
8933 if test x
"$enablestring" = xdisable
; then
8940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8942 # Check whether --enable-aui was given.
8943 if test "${enable_aui+set}" = set; then
8944 enableval
=$enable_aui;
8945 if test "$enableval" = yes; then
8946 wx_cv_use_aui
='wxUSE_AUI=yes'
8948 wx_cv_use_aui
='wxUSE_AUI=no'
8953 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8958 eval "$wx_cv_use_aui"
8960 if test x"$enablestring" = xdisable; then
8961 if test $wxUSE_AUI = no; then
8970 { echo "$as_me:$LINENO: result: $result" >&5
8971 echo "${ECHO_T}$result" >&6; }
8975 defaultval=$wxUSE_ALL_FEATURES
8976 if test -z "$defaultval"; then
8977 if test x"$enablestring" = xdisable; then
8984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8986 # Check whether --enable-propgrid was given.
8987 if test "${enable_propgrid+set}" = set; then
8988 enableval=$enable_propgrid;
8989 if test "$enableval" = yes; then
8990 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8992 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8997 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
9002 eval "$wx_cv_use_propgrid"
9004 if test x"$enablestring" = xdisable; then
9005 if test $wxUSE_PROPGRID = no; then
9011 result=$wxUSE_PROPGRID
9014 { echo "$as_me:$LINENO: result
: $result" >&5
9015 echo "${ECHO_T}$result" >&6; }
9019 defaultval=$wxUSE_ALL_FEATURES
9020 if test -z "$defaultval"; then
9021 if test x"$enablestring" = xdisable; then
9028 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
9029 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
9030 # Check whether --enable-ribbon was given.
9031 if test "${enable_ribbon+set}" = set; then
9032 enableval=$enable_ribbon;
9033 if test "$enableval" = yes; then
9034 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
9036 wx_cv_use_ribbon='wxUSE_RIBBON=no'
9041 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9046 eval "$wx_cv_use_ribbon"
9048 if test x
"$enablestring" = xdisable
; then
9049 if test $wxUSE_RIBBON = no
; then
9055 result
=$wxUSE_RIBBON
9058 { echo "$as_me:$LINENO: result: $result" >&5
9059 echo "${ECHO_T}$result" >&6; }
9063 defaultval
=$wxUSE_ALL_FEATURES
9064 if test -z "$defaultval"; then
9065 if test x
"$enablestring" = xdisable
; then
9072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9074 # Check whether --enable-stc was given.
9075 if test "${enable_stc+set}" = set; then
9076 enableval
=$enable_stc;
9077 if test "$enableval" = yes; then
9078 wx_cv_use_stc
='wxUSE_STC=yes'
9080 wx_cv_use_stc
='wxUSE_STC=no'
9085 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9090 eval "$wx_cv_use_stc"
9092 if test x"$enablestring" = xdisable; then
9093 if test $wxUSE_STC = no; then
9102 { echo "$as_me:$LINENO: result: $result" >&5
9103 echo "${ECHO_T}$result" >&6; }
9107 defaultval=$wxUSE_ALL_FEATURES
9108 if test -z "$defaultval"; then
9109 if test x"$enablestring" = xdisable; then
9116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9117 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9118 # Check whether --enable-constraints was given.
9119 if test "${enable_constraints+set}" = set; then
9120 enableval=$enable_constraints;
9121 if test "$enableval" = yes; then
9122 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
9124 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
9129 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9134 eval "$wx_cv_use_constraints"
9136 if test x"$enablestring" = xdisable; then
9137 if test $wxUSE_CONSTRAINTS = no; then
9143 result=$wxUSE_CONSTRAINTS
9146 { echo "$as_me:$LINENO: result
: $result" >&5
9147 echo "${ECHO_T}$result" >&6; }
9151 defaultval=$wxUSE_ALL_FEATURES
9152 if test -z "$defaultval"; then
9153 if test x"$enablestring" = xdisable; then
9160 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
9161 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
9162 # Check whether --enable-loggui was given.
9163 if test "${enable_loggui+set}" = set; then
9164 enableval=$enable_loggui;
9165 if test "$enableval" = yes; then
9166 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9168 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9173 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9178 eval "$wx_cv_use_loggui"
9180 if test x
"$enablestring" = xdisable
; then
9181 if test $wxUSE_LOGGUI = no
; then
9187 result
=$wxUSE_LOGGUI
9190 { echo "$as_me:$LINENO: result: $result" >&5
9191 echo "${ECHO_T}$result" >&6; }
9195 defaultval
=$wxUSE_ALL_FEATURES
9196 if test -z "$defaultval"; then
9197 if test x
"$enablestring" = xdisable
; then
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9206 # Check whether --enable-logwin was given.
9207 if test "${enable_logwin+set}" = set; then
9208 enableval
=$enable_logwin;
9209 if test "$enableval" = yes; then
9210 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
9212 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
9217 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9222 eval "$wx_cv_use_logwin"
9224 if test x"$enablestring" = xdisable; then
9225 if test $wxUSE_LOGWINDOW = no; then
9231 result=$wxUSE_LOGWINDOW
9234 { echo "$as_me:$LINENO: result: $result" >&5
9235 echo "${ECHO_T}$result" >&6; }
9239 defaultval=$wxUSE_ALL_FEATURES
9240 if test -z "$defaultval"; then
9241 if test x"$enablestring" = xdisable; then
9248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9249 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9250 # Check whether --enable-logdialog was given.
9251 if test "${enable_logdialog+set}" = set; then
9252 enableval=$enable_logdialog;
9253 if test "$enableval" = yes; then
9254 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9256 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9261 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9266 eval "$wx_cv_use_logdialog"
9268 if test x"$enablestring" = xdisable; then
9269 if test $wxUSE_LOGDIALOG = no; then
9275 result=$wxUSE_LOGDIALOG
9278 { echo "$as_me:$LINENO: result
: $result" >&5
9279 echo "${ECHO_T}$result" >&6; }
9283 defaultval=$wxUSE_ALL_FEATURES
9284 if test -z "$defaultval"; then
9285 if test x"$enablestring" = xdisable; then
9292 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9293 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
9294 # Check whether --enable-mdi was given.
9295 if test "${enable_mdi+set}" = set; then
9296 enableval=$enable_mdi;
9297 if test "$enableval" = yes; then
9298 wx_cv_use_mdi='wxUSE_MDI=yes'
9300 wx_cv_use_mdi='wxUSE_MDI=no'
9305 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9310 eval "$wx_cv_use_mdi"
9312 if test x
"$enablestring" = xdisable
; then
9313 if test $wxUSE_MDI = no
; then
9322 { echo "$as_me:$LINENO: result: $result" >&5
9323 echo "${ECHO_T}$result" >&6; }
9327 defaultval
=$wxUSE_ALL_FEATURES
9328 if test -z "$defaultval"; then
9329 if test x
"$enablestring" = xdisable
; then
9336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9337 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9338 # Check whether --enable-mdidoc was given.
9339 if test "${enable_mdidoc+set}" = set; then
9340 enableval
=$enable_mdidoc;
9341 if test "$enableval" = yes; then
9342 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9344 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9349 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9354 eval "$wx_cv_use_mdidoc"
9356 if test x"$enablestring" = xdisable; then
9357 if test $wxUSE_MDI_ARCHITECTURE = no; then
9363 result=$wxUSE_MDI_ARCHITECTURE
9366 { echo "$as_me:$LINENO: result: $result" >&5
9367 echo "${ECHO_T}$result" >&6; }
9371 defaultval=$wxUSE_ALL_FEATURES
9372 if test -z "$defaultval"; then
9373 if test x"$enablestring" = xdisable; then
9380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9381 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9382 # Check whether --enable-mediactrl was given.
9383 if test "${enable_mediactrl+set}" = set; then
9384 enableval=$enable_mediactrl;
9385 if test "$enableval" = yes; then
9386 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9388 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9393 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9398 eval "$wx_cv_use_mediactrl"
9400 if test x"$enablestring" = xdisable; then
9401 if test $wxUSE_MEDIACTRL = no; then
9407 result=$wxUSE_MEDIACTRL
9410 { echo "$as_me:$LINENO: result
: $result" >&5
9411 echo "${ECHO_T}$result" >&6; }
9415 defaultval=$wxUSE_ALL_FEATURES
9416 if test -z "$defaultval"; then
9417 if test x"$enablestring" = xdisable; then
9424 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9425 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9426 # Check whether --enable-gstreamer8 was given.
9427 if test "${enable_gstreamer8+set}" = set; then
9428 enableval=$enable_gstreamer8;
9429 if test "$enableval" = yes; then
9430 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9432 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9437 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9442 eval "$wx_cv_use_gstreamer8"
9444 if test x
"$enablestring" = xdisable
; then
9445 if test $wxUSE_GSTREAMER8 = no
; then
9451 result
=$wxUSE_GSTREAMER8
9454 { echo "$as_me:$LINENO: result: $result" >&5
9455 echo "${ECHO_T}$result" >&6; }
9459 defaultval
=$wxUSE_ALL_FEATURES
9460 if test -z "$defaultval"; then
9461 if test x
"$enablestring" = xdisable
; then
9468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9470 # Check whether --enable-richtext was given.
9471 if test "${enable_richtext+set}" = set; then
9472 enableval
=$enable_richtext;
9473 if test "$enableval" = yes; then
9474 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
9476 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
9481 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9486 eval "$wx_cv_use_richtext"
9488 if test x"$enablestring" = xdisable; then
9489 if test $wxUSE_RICHTEXT = no; then
9495 result=$wxUSE_RICHTEXT
9498 { echo "$as_me:$LINENO: result: $result" >&5
9499 echo "${ECHO_T}$result" >&6; }
9503 defaultval=$wxUSE_ALL_FEATURES
9504 if test -z "$defaultval"; then
9505 if test x"$enablestring" = xdisable; then
9512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9513 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9514 # Check whether --enable-postscript was given.
9515 if test "${enable_postscript+set}" = set; then
9516 enableval=$enable_postscript;
9517 if test "$enableval" = yes; then
9518 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
9520 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
9525 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9530 eval "$wx_cv_use_postscript"
9532 if test x"$enablestring" = xdisable; then
9533 if test $wxUSE_POSTSCRIPT = no; then
9539 result=$wxUSE_POSTSCRIPT
9542 { echo "$as_me:$LINENO: result
: $result" >&5
9543 echo "${ECHO_T}$result" >&6; }
9547 defaultval=$wxUSE_ALL_FEATURES
9548 if test -z "$defaultval"; then
9549 if test x"$enablestring" = xdisable; then
9556 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printarch" >&5
9557 echo $ECHO_N "checking
for --${enablestring:-enable}-printarch...
$ECHO_C" >&6; }
9558 # Check whether --enable-printarch was given.
9559 if test "${enable_printarch+set}" = set; then
9560 enableval=$enable_printarch;
9561 if test "$enableval" = yes; then
9562 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9564 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9569 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9574 eval "$wx_cv_use_printarch"
9576 if test x
"$enablestring" = xdisable
; then
9577 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
9583 result
=$wxUSE_PRINTING_ARCHITECTURE
9586 { echo "$as_me:$LINENO: result: $result" >&5
9587 echo "${ECHO_T}$result" >&6; }
9591 defaultval
=$wxUSE_ALL_FEATURES
9592 if test -z "$defaultval"; then
9593 if test x
"$enablestring" = xdisable
; then
9600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9602 # Check whether --enable-svg was given.
9603 if test "${enable_svg+set}" = set; then
9604 enableval
=$enable_svg;
9605 if test "$enableval" = yes; then
9606 wx_cv_use_svg
='wxUSE_SVG=yes'
9608 wx_cv_use_svg
='wxUSE_SVG=no'
9613 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9618 eval "$wx_cv_use_svg"
9620 if test x"$enablestring" = xdisable; then
9621 if test $wxUSE_SVG = no; then
9630 { echo "$as_me:$LINENO: result: $result" >&5
9631 echo "${ECHO_T}$result" >&6; }
9635 defaultval=$wxUSE_ALL_FEATURES
9636 if test -z "$defaultval"; then
9637 if test x"$enablestring" = xdisable; then
9644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9645 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9646 # Check whether --enable-webkit was given.
9647 if test "${enable_webkit+set}" = set; then
9648 enableval=$enable_webkit;
9649 if test "$enableval" = yes; then
9650 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9652 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9657 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9662 eval "$wx_cv_use_webkit"
9664 if test x"$enablestring" = xdisable; then
9665 if test $wxUSE_WEBKIT = no; then
9671 result=$wxUSE_WEBKIT
9674 { echo "$as_me:$LINENO: result
: $result" >&5
9675 echo "${ECHO_T}$result" >&6; }
9679 defaultval=$wxUSE_ALL_FEATURES
9680 if test -z "$defaultval"; then
9681 if test x"$enablestring" = xdisable; then
9688 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webview" >&5
9689 echo $ECHO_N "checking
for --${enablestring:-enable}-webview...
$ECHO_C" >&6; }
9690 # Check whether --enable-webview was given.
9691 if test "${enable_webview+set}" = set; then
9692 enableval=$enable_webview;
9693 if test "$enableval" = yes; then
9694 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9696 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9701 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9706 eval "$wx_cv_use_webview"
9708 if test x
"$enablestring" = xdisable
; then
9709 if test $wxUSE_WEBVIEW = no
; then
9715 result
=$wxUSE_WEBVIEW
9718 { echo "$as_me:$LINENO: result: $result" >&5
9719 echo "${ECHO_T}$result" >&6; }
9722 if test "$wxUSE_MAC" != 1; then
9725 defaultval
=$wxUSE_ALL_FEATURES
9726 if test -z "$defaultval"; then
9727 if test x
"$enablestring" = xdisable
; then
9734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9735 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9736 # Check whether --enable-graphics_ctx was given.
9737 if test "${enable_graphics_ctx+set}" = set; then
9738 enableval
=$enable_graphics_ctx;
9739 if test "$enableval" = yes; then
9740 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9742 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9747 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9752 eval "$wx_cv_use_graphics_ctx"
9754 if test x"$enablestring" = xdisable; then
9755 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9761 result=$wxUSE_GRAPHICS_CONTEXT
9764 { echo "$as_me:$LINENO: result: $result" >&5
9765 echo "${ECHO_T}$result" >&6; }
9772 defaultval=$wxUSE_ALL_FEATURES
9773 if test -z "$defaultval"; then
9774 if test x"$enablestring" = xdisable; then
9781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9783 # Check whether --enable-clipboard was given.
9784 if test "${enable_clipboard+set}" = set; then
9785 enableval=$enable_clipboard;
9786 if test "$enableval" = yes; then
9787 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9789 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9794 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9799 eval "$wx_cv_use_clipboard"
9801 if test x"$enablestring" = xdisable; then
9802 if test $wxUSE_CLIPBOARD = no; then
9808 result=$wxUSE_CLIPBOARD
9811 { echo "$as_me:$LINENO: result
: $result" >&5
9812 echo "${ECHO_T}$result" >&6; }
9816 defaultval=$wxUSE_ALL_FEATURES
9817 if test -z "$defaultval"; then
9818 if test x"$enablestring" = xdisable; then
9825 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9826 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9827 # Check whether --enable-dnd was given.
9828 if test "${enable_dnd+set}" = set; then
9829 enableval=$enable_dnd;
9830 if test "$enableval" = yes; then
9831 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9833 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9838 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9843 eval "$wx_cv_use_dnd"
9845 if test x
"$enablestring" = xdisable
; then
9846 if test $wxUSE_DRAG_AND_DROP = no
; then
9852 result
=$wxUSE_DRAG_AND_DROP
9855 { echo "$as_me:$LINENO: result: $result" >&5
9856 echo "${ECHO_T}$result" >&6; }
9860 DEFAULT_wxUSE_CONTROLS
=none
9862 enablestring
=disable
9864 if test -z "$defaultval"; then
9865 if test x
"$enablestring" = xdisable
; then
9872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9874 # Check whether --enable-controls was given.
9875 if test "${enable_controls+set}" = set; then
9876 enableval
=$enable_controls;
9877 if test "$enableval" = yes; then
9878 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9880 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9885 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9890 eval "$wx_cv_use_controls"
9892 if test x"$enablestring" = xdisable; then
9893 if test $wxUSE_CONTROLS = no; then
9899 result=$wxUSE_CONTROLS
9902 { echo "$as_me:$LINENO: result: $result" >&5
9903 echo "${ECHO_T}$result" >&6; }
9906 if test "$wxUSE_CONTROLS" = "no"; then
9907 DEFAULT_wxUSE_ACCEL=no
9908 DEFAULT_wxUSE_ANIMATIONCTRL=no
9909 DEFAULT_wxUSE_BANNERWINDOW=no
9910 DEFAULT_wxUSE_BMPBUTTON=no
9911 DEFAULT_wxUSE_BUTTON=no
9912 DEFAULT_wxUSE_CALCTRL=no
9913 DEFAULT_wxUSE_CARET=no
9914 DEFAULT_wxUSE_CHECKBOX=no
9915 DEFAULT_wxUSE_CHECKLISTBOX=no
9916 DEFAULT_wxUSE_CHOICE=no
9917 DEFAULT_wxUSE_CHOICEBOOK=no
9918 DEFAULT_wxUSE_COLLPANE=no
9919 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9920 DEFAULT_wxUSE_COMBOBOX=no
9921 DEFAULT_wxUSE_COMBOBOX=no
9922 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9923 DEFAULT_wxUSE_DATAVIEWCTRL=no
9924 DEFAULT_wxUSE_DATEPICKCTRL=no
9925 DEFAULT_wxUSE_DETECT_SM=no
9926 DEFAULT_wxUSE_DIRPICKERCTRL=no
9927 DEFAULT_wxUSE_DISPLAY=no
9928 DEFAULT_wxUSE_FILECTRL=no
9929 DEFAULT_wxUSE_FILEPICKERCTRL=no
9930 DEFAULT_wxUSE_FONTPICKERCTRL=no
9931 DEFAULT_wxUSE_GAUGE=no
9932 DEFAULT_wxUSE_GRID=no
9933 DEFAULT_wxUSE_HEADERCTRL=no
9934 DEFAULT_wxUSE_HYPERLINKCTRL=no
9935 DEFAULT_wxUSE_IMAGLIST=no
9936 DEFAULT_wxUSE_LISTBOOK=no
9937 DEFAULT_wxUSE_LISTBOX=no
9938 DEFAULT_wxUSE_LISTCTRL=no
9939 DEFAULT_wxUSE_MARKUP=no
9940 DEFAULT_wxUSE_NOTEBOOK=no
9941 DEFAULT_wxUSE_POPUPWIN=no
9942 DEFAULT_wxUSE_RADIOBOX=no
9943 DEFAULT_wxUSE_RADIOBTN=no
9944 DEFAULT_wxUSE_RICHMSGDLG=no
9945 DEFAULT_wxUSE_RICHTOOLTIP=no
9946 DEFAULT_wxUSE_REARRANGECTRL=no
9947 DEFAULT_wxUSE_SASH=no
9948 DEFAULT_wxUSE_SCROLLBAR=no
9949 DEFAULT_wxUSE_SEARCHCTRL=no
9950 DEFAULT_wxUSE_SLIDER=no
9951 DEFAULT_wxUSE_SPINBTN=no
9952 DEFAULT_wxUSE_SPINCTRL=no
9953 DEFAULT_wxUSE_SPLITTER=no
9954 DEFAULT_wxUSE_STATBMP=no
9955 DEFAULT_wxUSE_STATBOX=no
9956 DEFAULT_wxUSE_STATLINE=no
9957 DEFAULT_wxUSE_STATUSBAR=no
9958 DEFAULT_wxUSE_TIMEPICKCTRL=no
9959 DEFAULT_wxUSE_TIPWINDOW=no
9960 DEFAULT_wxUSE_TOGGLEBTN=no
9961 DEFAULT_wxUSE_TOOLBAR=no
9962 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9963 DEFAULT_wxUSE_TOOLBOOK=no
9964 DEFAULT_wxUSE_TOOLTIPS=no
9965 DEFAULT_wxUSE_TREEBOOK=no
9966 DEFAULT_wxUSE_TREECTRL=no
9967 DEFAULT_wxUSE_TREELISTCTRL=no
9972 defaultval=$wxUSE_ALL_FEATURES
9973 if test -z "$defaultval"; then
9974 if test x"$enablestring" = xdisable; then
9981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9982 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9983 # Check whether --enable-markup was given.
9984 if test "${enable_markup+set}" = set; then
9985 enableval=$enable_markup;
9986 if test "$enableval" = yes; then
9987 wx_cv_use_markup='wxUSE_MARKUP
=yes'
9989 wx_cv_use_markup='wxUSE_MARKUP
=no
'
9994 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9999 eval "$wx_cv_use_markup"
10001 if test x"$enablestring" = xdisable; then
10002 if test $wxUSE_MARKUP = no; then
10008 result=$wxUSE_MARKUP
10011 { echo "$as_me:$LINENO: result
: $result" >&5
10012 echo "${ECHO_T}$result" >&6; }
10017 defaultval=$wxUSE_ALL_FEATURES
10018 if test -z "$defaultval"; then
10019 if test x"$enablestring" = xdisable; then
10026 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
10027 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
10028 # Check whether --enable-accel was given.
10029 if test "${enable_accel+set}" = set; then
10030 enableval=$enable_accel;
10031 if test "$enableval" = yes; then
10032 wx_cv_use_accel='wxUSE_ACCEL=yes'
10034 wx_cv_use_accel='wxUSE_ACCEL=no'
10039 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10044 eval "$wx_cv_use_accel"
10046 if test x
"$enablestring" = xdisable
; then
10047 if test $wxUSE_ACCEL = no
; then
10053 result
=$wxUSE_ACCEL
10056 { echo "$as_me:$LINENO: result: $result" >&5
10057 echo "${ECHO_T}$result" >&6; }
10061 defaultval
=$wxUSE_ALL_FEATURES
10062 if test -z "$defaultval"; then
10063 if test x
"$enablestring" = xdisable
; then
10070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10072 # Check whether --enable-animatectrl was given.
10073 if test "${enable_animatectrl+set}" = set; then
10074 enableval
=$enable_animatectrl;
10075 if test "$enableval" = yes; then
10076 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
10078 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
10083 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10088 eval "$wx_cv_use_animatectrl"
10090 if test x"$enablestring" = xdisable; then
10091 if test $wxUSE_ANIMATIONCTRL = no; then
10097 result=$wxUSE_ANIMATIONCTRL
10100 { echo "$as_me:$LINENO: result: $result" >&5
10101 echo "${ECHO_T}$result" >&6; }
10105 defaultval=$wxUSE_ALL_FEATURES
10106 if test -z "$defaultval"; then
10107 if test x"$enablestring" = xdisable; then
10114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10116 # Check whether --enable-bannerwindow was given.
10117 if test "${enable_bannerwindow+set}" = set; then
10118 enableval=$enable_bannerwindow;
10119 if test "$enableval" = yes; then
10120 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=yes'
10122 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=no
'
10127 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10132 eval "$wx_cv_use_bannerwindow"
10134 if test x"$enablestring" = xdisable; then
10135 if test $wxUSE_BANNERWINDOW = no; then
10141 result=$wxUSE_BANNERWINDOW
10144 { echo "$as_me:$LINENO: result
: $result" >&5
10145 echo "${ECHO_T}$result" >&6; }
10149 defaultval=$wxUSE_ALL_FEATURES
10150 if test -z "$defaultval"; then
10151 if test x"$enablestring" = xdisable; then
10158 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-artstd" >&5
10159 echo $ECHO_N "checking
for --${enablestring:-enable}-artstd...
$ECHO_C" >&6; }
10160 # Check whether --enable-artstd was given.
10161 if test "${enable_artstd+set}" = set; then
10162 enableval=$enable_artstd;
10163 if test "$enableval" = yes; then
10164 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10166 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10171 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10176 eval "$wx_cv_use_artstd"
10178 if test x
"$enablestring" = xdisable
; then
10179 if test $wxUSE_ARTPROVIDER_STD = no
; then
10185 result
=$wxUSE_ARTPROVIDER_STD
10188 { echo "$as_me:$LINENO: result: $result" >&5
10189 echo "${ECHO_T}$result" >&6; }
10193 defaultval
=$wxUSE_ALL_FEATURES
10194 if test -z "$defaultval"; then
10195 if test x
"$enablestring" = xdisable
; then
10202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10203 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10204 # Check whether --enable-arttango was given.
10205 if test "${enable_arttango+set}" = set; then
10206 enableval
=$enable_arttango;
10207 if test "$enableval" = yes; then
10208 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
10210 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
10215 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10220 eval "$wx_cv_use_arttango"
10222 if test x"$enablestring" = xdisable; then
10223 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10229 result=$wxUSE_ARTPROVIDER_TANGO
10232 { echo "$as_me:$LINENO: result: $result" >&5
10233 echo "${ECHO_T}$result" >&6; }
10237 defaultval=$wxUSE_ALL_FEATURES
10238 if test -z "$defaultval"; then
10239 if test x"$enablestring" = xdisable; then
10246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10248 # Check whether --enable-bmpbutton was given.
10249 if test "${enable_bmpbutton+set}" = set; then
10250 enableval=$enable_bmpbutton;
10251 if test "$enableval" = yes; then
10252 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
10254 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
10259 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10264 eval "$wx_cv_use_bmpbutton"
10266 if test x"$enablestring" = xdisable; then
10267 if test $wxUSE_BMPBUTTON = no; then
10273 result=$wxUSE_BMPBUTTON
10276 { echo "$as_me:$LINENO: result
: $result" >&5
10277 echo "${ECHO_T}$result" >&6; }
10281 defaultval=$wxUSE_ALL_FEATURES
10282 if test -z "$defaultval"; then
10283 if test x"$enablestring" = xdisable; then
10290 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
10291 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
10292 # Check whether --enable-bmpcombobox was given.
10293 if test "${enable_bmpcombobox+set}" = set; then
10294 enableval=$enable_bmpcombobox;
10295 if test "$enableval" = yes; then
10296 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10298 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10303 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10308 eval "$wx_cv_use_bmpcombobox"
10310 if test x
"$enablestring" = xdisable
; then
10311 if test $wxUSE_BITMAPCOMBOBOX = no
; then
10317 result
=$wxUSE_BITMAPCOMBOBOX
10320 { echo "$as_me:$LINENO: result: $result" >&5
10321 echo "${ECHO_T}$result" >&6; }
10325 defaultval
=$wxUSE_ALL_FEATURES
10326 if test -z "$defaultval"; then
10327 if test x
"$enablestring" = xdisable
; then
10334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10335 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10336 # Check whether --enable-button was given.
10337 if test "${enable_button+set}" = set; then
10338 enableval
=$enable_button;
10339 if test "$enableval" = yes; then
10340 wx_cv_use_button
='wxUSE_BUTTON=yes'
10342 wx_cv_use_button
='wxUSE_BUTTON=no'
10347 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10352 eval "$wx_cv_use_button"
10354 if test x"$enablestring" = xdisable; then
10355 if test $wxUSE_BUTTON = no; then
10361 result=$wxUSE_BUTTON
10364 { echo "$as_me:$LINENO: result: $result" >&5
10365 echo "${ECHO_T}$result" >&6; }
10369 defaultval=$wxUSE_ALL_FEATURES
10370 if test -z "$defaultval"; then
10371 if test x"$enablestring" = xdisable; then
10378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10379 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10380 # Check whether --enable-calendar was given.
10381 if test "${enable_calendar+set}" = set; then
10382 enableval=$enable_calendar;
10383 if test "$enableval" = yes; then
10384 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10386 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10391 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10396 eval "$wx_cv_use_calendar"
10398 if test x"$enablestring" = xdisable; then
10399 if test $wxUSE_CALCTRL = no; then
10405 result=$wxUSE_CALCTRL
10408 { echo "$as_me:$LINENO: result
: $result" >&5
10409 echo "${ECHO_T}$result" >&6; }
10413 defaultval=$wxUSE_ALL_FEATURES
10414 if test -z "$defaultval"; then
10415 if test x"$enablestring" = xdisable; then
10422 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10423 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10424 # Check whether --enable-caret was given.
10425 if test "${enable_caret+set}" = set; then
10426 enableval=$enable_caret;
10427 if test "$enableval" = yes; then
10428 wx_cv_use_caret='wxUSE_CARET=yes'
10430 wx_cv_use_caret='wxUSE_CARET=no'
10435 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10440 eval "$wx_cv_use_caret"
10442 if test x
"$enablestring" = xdisable
; then
10443 if test $wxUSE_CARET = no
; then
10449 result
=$wxUSE_CARET
10452 { echo "$as_me:$LINENO: result: $result" >&5
10453 echo "${ECHO_T}$result" >&6; }
10457 defaultval
=$wxUSE_ALL_FEATURES
10458 if test -z "$defaultval"; then
10459 if test x
"$enablestring" = xdisable
; then
10466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10468 # Check whether --enable-checkbox was given.
10469 if test "${enable_checkbox+set}" = set; then
10470 enableval
=$enable_checkbox;
10471 if test "$enableval" = yes; then
10472 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10474 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10479 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10484 eval "$wx_cv_use_checkbox"
10486 if test x"$enablestring" = xdisable; then
10487 if test $wxUSE_CHECKBOX = no; then
10493 result=$wxUSE_CHECKBOX
10496 { echo "$as_me:$LINENO: result: $result" >&5
10497 echo "${ECHO_T}$result" >&6; }
10501 defaultval=$wxUSE_ALL_FEATURES
10502 if test -z "$defaultval"; then
10503 if test x"$enablestring" = xdisable; then
10510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10511 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10512 # Check whether --enable-checklst was given.
10513 if test "${enable_checklst+set}" = set; then
10514 enableval=$enable_checklst;
10515 if test "$enableval" = yes; then
10516 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10518 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10523 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10528 eval "$wx_cv_use_checklst"
10530 if test x"$enablestring" = xdisable; then
10531 if test $wxUSE_CHECKLST = no; then
10537 result=$wxUSE_CHECKLST
10540 { echo "$as_me:$LINENO: result
: $result" >&5
10541 echo "${ECHO_T}$result" >&6; }
10545 defaultval=$wxUSE_ALL_FEATURES
10546 if test -z "$defaultval"; then
10547 if test x"$enablestring" = xdisable; then
10554 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10555 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10556 # Check whether --enable-choice was given.
10557 if test "${enable_choice+set}" = set; then
10558 enableval=$enable_choice;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_choice='wxUSE_CHOICE=yes'
10562 wx_cv_use_choice='wxUSE_CHOICE=no'
10567 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10572 eval "$wx_cv_use_choice"
10574 if test x
"$enablestring" = xdisable
; then
10575 if test $wxUSE_CHOICE = no
; then
10581 result
=$wxUSE_CHOICE
10584 { echo "$as_me:$LINENO: result: $result" >&5
10585 echo "${ECHO_T}$result" >&6; }
10589 defaultval
=$wxUSE_ALL_FEATURES
10590 if test -z "$defaultval"; then
10591 if test x
"$enablestring" = xdisable
; then
10598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10599 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10600 # Check whether --enable-choicebook was given.
10601 if test "${enable_choicebook+set}" = set; then
10602 enableval
=$enable_choicebook;
10603 if test "$enableval" = yes; then
10604 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10606 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10611 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10616 eval "$wx_cv_use_choicebook"
10618 if test x"$enablestring" = xdisable; then
10619 if test $wxUSE_CHOICEBOOK = no; then
10625 result=$wxUSE_CHOICEBOOK
10628 { echo "$as_me:$LINENO: result: $result" >&5
10629 echo "${ECHO_T}$result" >&6; }
10633 defaultval=$wxUSE_ALL_FEATURES
10634 if test -z "$defaultval"; then
10635 if test x"$enablestring" = xdisable; then
10642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10643 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10644 # Check whether --enable-collpane was given.
10645 if test "${enable_collpane+set}" = set; then
10646 enableval=$enable_collpane;
10647 if test "$enableval" = yes; then
10648 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10650 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10655 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10660 eval "$wx_cv_use_collpane"
10662 if test x"$enablestring" = xdisable; then
10663 if test $wxUSE_COLLPANE = no; then
10669 result=$wxUSE_COLLPANE
10672 { echo "$as_me:$LINENO: result
: $result" >&5
10673 echo "${ECHO_T}$result" >&6; }
10677 defaultval=$wxUSE_ALL_FEATURES
10678 if test -z "$defaultval"; then
10679 if test x"$enablestring" = xdisable; then
10686 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10687 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10688 # Check whether --enable-colourpicker was given.
10689 if test "${enable_colourpicker+set}" = set; then
10690 enableval=$enable_colourpicker;
10691 if test "$enableval" = yes; then
10692 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10694 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10699 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10704 eval "$wx_cv_use_colourpicker"
10706 if test x
"$enablestring" = xdisable
; then
10707 if test $wxUSE_COLOURPICKERCTRL = no
; then
10713 result
=$wxUSE_COLOURPICKERCTRL
10716 { echo "$as_me:$LINENO: result: $result" >&5
10717 echo "${ECHO_T}$result" >&6; }
10721 defaultval
=$wxUSE_ALL_FEATURES
10722 if test -z "$defaultval"; then
10723 if test x
"$enablestring" = xdisable
; then
10730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10731 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10732 # Check whether --enable-combobox was given.
10733 if test "${enable_combobox+set}" = set; then
10734 enableval
=$enable_combobox;
10735 if test "$enableval" = yes; then
10736 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10738 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10743 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10748 eval "$wx_cv_use_combobox"
10750 if test x"$enablestring" = xdisable; then
10751 if test $wxUSE_COMBOBOX = no; then
10757 result=$wxUSE_COMBOBOX
10760 { echo "$as_me:$LINENO: result: $result" >&5
10761 echo "${ECHO_T}$result" >&6; }
10765 defaultval=$wxUSE_ALL_FEATURES
10766 if test -z "$defaultval"; then
10767 if test x"$enablestring" = xdisable; then
10774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10775 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10776 # Check whether --enable-comboctrl was given.
10777 if test "${enable_comboctrl+set}" = set; then
10778 enableval=$enable_comboctrl;
10779 if test "$enableval" = yes; then
10780 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10782 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10787 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10792 eval "$wx_cv_use_comboctrl"
10794 if test x"$enablestring" = xdisable; then
10795 if test $wxUSE_COMBOCTRL = no; then
10801 result=$wxUSE_COMBOCTRL
10804 { echo "$as_me:$LINENO: result
: $result" >&5
10805 echo "${ECHO_T}$result" >&6; }
10809 defaultval=$wxUSE_ALL_FEATURES
10810 if test -z "$defaultval"; then
10811 if test x"$enablestring" = xdisable; then
10818 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
10819 echo $ECHO_N "checking
for --${enablestring:-enable}-commandlinkbutton...
$ECHO_C" >&6; }
10820 # Check whether --enable-commandlinkbutton was given.
10821 if test "${enable_commandlinkbutton+set}" = set; then
10822 enableval=$enable_commandlinkbutton;
10823 if test "$enableval" = yes; then
10824 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10826 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10831 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10836 eval "$wx_cv_use_commandlinkbutton"
10838 if test x
"$enablestring" = xdisable
; then
10839 if test $wxUSE_COMMANDLINKBUTTON = no
; then
10845 result
=$wxUSE_COMMANDLINKBUTTON
10848 { echo "$as_me:$LINENO: result: $result" >&5
10849 echo "${ECHO_T}$result" >&6; }
10853 defaultval
=$wxUSE_ALL_FEATURES
10854 if test -z "$defaultval"; then
10855 if test x
"$enablestring" = xdisable
; then
10862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10863 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10864 # Check whether --enable-dataviewctrl was given.
10865 if test "${enable_dataviewctrl+set}" = set; then
10866 enableval
=$enable_dataviewctrl;
10867 if test "$enableval" = yes; then
10868 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10870 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10875 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10880 eval "$wx_cv_use_dataviewctrl"
10882 if test x"$enablestring" = xdisable; then
10883 if test $wxUSE_DATAVIEWCTRL = no; then
10889 result=$wxUSE_DATAVIEWCTRL
10892 { echo "$as_me:$LINENO: result: $result" >&5
10893 echo "${ECHO_T}$result" >&6; }
10897 defaultval=$wxUSE_ALL_FEATURES
10898 if test -z "$defaultval"; then
10899 if test x"$enablestring" = xdisable; then
10906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10907 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10908 # Check whether --enable-datepick was given.
10909 if test "${enable_datepick+set}" = set; then
10910 enableval=$enable_datepick;
10911 if test "$enableval" = yes; then
10912 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10914 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10919 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10924 eval "$wx_cv_use_datepick"
10926 if test x"$enablestring" = xdisable; then
10927 if test $wxUSE_DATEPICKCTRL = no; then
10933 result=$wxUSE_DATEPICKCTRL
10936 { echo "$as_me:$LINENO: result
: $result" >&5
10937 echo "${ECHO_T}$result" >&6; }
10941 defaultval=$wxUSE_ALL_FEATURES
10942 if test -z "$defaultval"; then
10943 if test x"$enablestring" = xdisable; then
10950 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10951 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10952 # Check whether --enable-detect_sm was given.
10953 if test "${enable_detect_sm+set}" = set; then
10954 enableval=$enable_detect_sm;
10955 if test "$enableval" = yes; then
10956 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10958 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10963 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10968 eval "$wx_cv_use_detect_sm"
10970 if test x
"$enablestring" = xdisable
; then
10971 if test $wxUSE_DETECT_SM = no
; then
10977 result
=$wxUSE_DETECT_SM
10980 { echo "$as_me:$LINENO: result: $result" >&5
10981 echo "${ECHO_T}$result" >&6; }
10985 defaultval
=$wxUSE_ALL_FEATURES
10986 if test -z "$defaultval"; then
10987 if test x
"$enablestring" = xdisable
; then
10994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10995 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10996 # Check whether --enable-dirpicker was given.
10997 if test "${enable_dirpicker+set}" = set; then
10998 enableval
=$enable_dirpicker;
10999 if test "$enableval" = yes; then
11000 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
11002 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
11007 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11012 eval "$wx_cv_use_dirpicker"
11014 if test x"$enablestring" = xdisable; then
11015 if test $wxUSE_DIRPICKERCTRL = no; then
11021 result=$wxUSE_DIRPICKERCTRL
11024 { echo "$as_me:$LINENO: result: $result" >&5
11025 echo "${ECHO_T}$result" >&6; }
11029 defaultval=$wxUSE_ALL_FEATURES
11030 if test -z "$defaultval"; then
11031 if test x"$enablestring" = xdisable; then
11038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11039 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11040 # Check whether --enable-display was given.
11041 if test "${enable_display+set}" = set; then
11042 enableval=$enable_display;
11043 if test "$enableval" = yes; then
11044 wx_cv_use_display='wxUSE_DISPLAY
=yes'
11046 wx_cv_use_display='wxUSE_DISPLAY
=no
'
11051 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11056 eval "$wx_cv_use_display"
11058 if test x"$enablestring" = xdisable; then
11059 if test $wxUSE_DISPLAY = no; then
11065 result=$wxUSE_DISPLAY
11068 { echo "$as_me:$LINENO: result
: $result" >&5
11069 echo "${ECHO_T}$result" >&6; }
11073 defaultval=$wxUSE_ALL_FEATURES
11074 if test -z "$defaultval"; then
11075 if test x"$enablestring" = xdisable; then
11082 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
11083 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
11084 # Check whether --enable-editablebox was given.
11085 if test "${enable_editablebox+set}" = set; then
11086 enableval=$enable_editablebox;
11087 if test "$enableval" = yes; then
11088 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11090 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11095 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11100 eval "$wx_cv_use_editablebox"
11102 if test x
"$enablestring" = xdisable
; then
11103 if test $wxUSE_EDITABLELISTBOX = no
; then
11109 result
=$wxUSE_EDITABLELISTBOX
11112 { echo "$as_me:$LINENO: result: $result" >&5
11113 echo "${ECHO_T}$result" >&6; }
11117 defaultval
=$wxUSE_ALL_FEATURES
11118 if test -z "$defaultval"; then
11119 if test x
"$enablestring" = xdisable
; then
11126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11127 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11128 # Check whether --enable-filectrl was given.
11129 if test "${enable_filectrl+set}" = set; then
11130 enableval
=$enable_filectrl;
11131 if test "$enableval" = yes; then
11132 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
11134 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
11139 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11144 eval "$wx_cv_use_filectrl"
11146 if test x"$enablestring" = xdisable; then
11147 if test $wxUSE_FILECTRL = no; then
11153 result=$wxUSE_FILECTRL
11156 { echo "$as_me:$LINENO: result: $result" >&5
11157 echo "${ECHO_T}$result" >&6; }
11161 defaultval=$wxUSE_ALL_FEATURES
11162 if test -z "$defaultval"; then
11163 if test x"$enablestring" = xdisable; then
11170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11171 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11172 # Check whether --enable-filepicker was given.
11173 if test "${enable_filepicker+set}" = set; then
11174 enableval=$enable_filepicker;
11175 if test "$enableval" = yes; then
11176 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
11178 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
11183 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11188 eval "$wx_cv_use_filepicker"
11190 if test x"$enablestring" = xdisable; then
11191 if test $wxUSE_FILEPICKERCTRL = no; then
11197 result=$wxUSE_FILEPICKERCTRL
11200 { echo "$as_me:$LINENO: result
: $result" >&5
11201 echo "${ECHO_T}$result" >&6; }
11205 defaultval=$wxUSE_ALL_FEATURES
11206 if test -z "$defaultval"; then
11207 if test x"$enablestring" = xdisable; then
11214 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
11215 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
11216 # Check whether --enable-fontpicker was given.
11217 if test "${enable_fontpicker+set}" = set; then
11218 enableval=$enable_fontpicker;
11219 if test "$enableval" = yes; then
11220 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11222 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11227 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11232 eval "$wx_cv_use_fontpicker"
11234 if test x
"$enablestring" = xdisable
; then
11235 if test $wxUSE_FONTPICKERCTRL = no
; then
11241 result
=$wxUSE_FONTPICKERCTRL
11244 { echo "$as_me:$LINENO: result: $result" >&5
11245 echo "${ECHO_T}$result" >&6; }
11249 defaultval
=$wxUSE_ALL_FEATURES
11250 if test -z "$defaultval"; then
11251 if test x
"$enablestring" = xdisable
; then
11258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11259 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11260 # Check whether --enable-gauge was given.
11261 if test "${enable_gauge+set}" = set; then
11262 enableval
=$enable_gauge;
11263 if test "$enableval" = yes; then
11264 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
11266 wx_cv_use_gauge
='wxUSE_GAUGE=no'
11271 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11276 eval "$wx_cv_use_gauge"
11278 if test x"$enablestring" = xdisable; then
11279 if test $wxUSE_GAUGE = no; then
11285 result=$wxUSE_GAUGE
11288 { echo "$as_me:$LINENO: result: $result" >&5
11289 echo "${ECHO_T}$result" >&6; }
11293 defaultval=$wxUSE_ALL_FEATURES
11294 if test -z "$defaultval"; then
11295 if test x"$enablestring" = xdisable; then
11302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11303 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11304 # Check whether --enable-grid was given.
11305 if test "${enable_grid+set}" = set; then
11306 enableval=$enable_grid;
11307 if test "$enableval" = yes; then
11308 wx_cv_use_grid='wxUSE_GRID
=yes'
11310 wx_cv_use_grid='wxUSE_GRID
=no
'
11315 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11320 eval "$wx_cv_use_grid"
11322 if test x"$enablestring" = xdisable; then
11323 if test $wxUSE_GRID = no; then
11332 { echo "$as_me:$LINENO: result
: $result" >&5
11333 echo "${ECHO_T}$result" >&6; }
11337 defaultval=$wxUSE_ALL_FEATURES
11338 if test -z "$defaultval"; then
11339 if test x"$enablestring" = xdisable; then
11346 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-headerctrl" >&5
11347 echo $ECHO_N "checking
for --${enablestring:-enable}-headerctrl...
$ECHO_C" >&6; }
11348 # Check whether --enable-headerctrl was given.
11349 if test "${enable_headerctrl+set}" = set; then
11350 enableval=$enable_headerctrl;
11351 if test "$enableval" = yes; then
11352 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11354 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11359 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11364 eval "$wx_cv_use_headerctrl"
11366 if test x
"$enablestring" = xdisable
; then
11367 if test $wxUSE_HEADERCTRL = no
; then
11373 result
=$wxUSE_HEADERCTRL
11376 { echo "$as_me:$LINENO: result: $result" >&5
11377 echo "${ECHO_T}$result" >&6; }
11381 defaultval
=$wxUSE_ALL_FEATURES
11382 if test -z "$defaultval"; then
11383 if test x
"$enablestring" = xdisable
; then
11390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11391 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11392 # Check whether --enable-hyperlink was given.
11393 if test "${enable_hyperlink+set}" = set; then
11394 enableval
=$enable_hyperlink;
11395 if test "$enableval" = yes; then
11396 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
11398 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
11403 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11408 eval "$wx_cv_use_hyperlink"
11410 if test x"$enablestring" = xdisable; then
11411 if test $wxUSE_HYPERLINKCTRL = no; then
11417 result=$wxUSE_HYPERLINKCTRL
11420 { echo "$as_me:$LINENO: result: $result" >&5
11421 echo "${ECHO_T}$result" >&6; }
11425 defaultval=$wxUSE_ALL_FEATURES
11426 if test -z "$defaultval"; then
11427 if test x"$enablestring" = xdisable; then
11434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11435 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11436 # Check whether --enable-imaglist was given.
11437 if test "${enable_imaglist+set}" = set; then
11438 enableval=$enable_imaglist;
11439 if test "$enableval" = yes; then
11440 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
11442 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
11447 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11452 eval "$wx_cv_use_imaglist"
11454 if test x"$enablestring" = xdisable; then
11455 if test $wxUSE_IMAGLIST = no; then
11461 result=$wxUSE_IMAGLIST
11464 { echo "$as_me:$LINENO: result
: $result" >&5
11465 echo "${ECHO_T}$result" >&6; }
11469 defaultval=$wxUSE_ALL_FEATURES
11470 if test -z "$defaultval"; then
11471 if test x"$enablestring" = xdisable; then
11478 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-infobar" >&5
11479 echo $ECHO_N "checking
for --${enablestring:-enable}-infobar...
$ECHO_C" >&6; }
11480 # Check whether --enable-infobar was given.
11481 if test "${enable_infobar+set}" = set; then
11482 enableval=$enable_infobar;
11483 if test "$enableval" = yes; then
11484 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11486 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11491 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11496 eval "$wx_cv_use_infobar"
11498 if test x
"$enablestring" = xdisable
; then
11499 if test $wxUSE_INFOBAR = no
; then
11505 result
=$wxUSE_INFOBAR
11508 { echo "$as_me:$LINENO: result: $result" >&5
11509 echo "${ECHO_T}$result" >&6; }
11513 defaultval
=$wxUSE_ALL_FEATURES
11514 if test -z "$defaultval"; then
11515 if test x
"$enablestring" = xdisable
; then
11522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11523 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11524 # Check whether --enable-listbook was given.
11525 if test "${enable_listbook+set}" = set; then
11526 enableval
=$enable_listbook;
11527 if test "$enableval" = yes; then
11528 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11530 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
11535 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11540 eval "$wx_cv_use_listbook"
11542 if test x"$enablestring" = xdisable; then
11543 if test $wxUSE_LISTBOOK = no; then
11549 result=$wxUSE_LISTBOOK
11552 { echo "$as_me:$LINENO: result: $result" >&5
11553 echo "${ECHO_T}$result" >&6; }
11557 defaultval=$wxUSE_ALL_FEATURES
11558 if test -z "$defaultval"; then
11559 if test x"$enablestring" = xdisable; then
11566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11567 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11568 # Check whether --enable-listbox was given.
11569 if test "${enable_listbox+set}" = set; then
11570 enableval=$enable_listbox;
11571 if test "$enableval" = yes; then
11572 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
11574 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11579 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11584 eval "$wx_cv_use_listbox"
11586 if test x"$enablestring" = xdisable; then
11587 if test $wxUSE_LISTBOX = no; then
11593 result=$wxUSE_LISTBOX
11596 { echo "$as_me:$LINENO: result
: $result" >&5
11597 echo "${ECHO_T}$result" >&6; }
11601 defaultval=$wxUSE_ALL_FEATURES
11602 if test -z "$defaultval"; then
11603 if test x"$enablestring" = xdisable; then
11610 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11611 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
11612 # Check whether --enable-listctrl was given.
11613 if test "${enable_listctrl+set}" = set; then
11614 enableval=$enable_listctrl;
11615 if test "$enableval" = yes; then
11616 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11618 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11623 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11628 eval "$wx_cv_use_listctrl"
11630 if test x
"$enablestring" = xdisable
; then
11631 if test $wxUSE_LISTCTRL = no
; then
11637 result
=$wxUSE_LISTCTRL
11640 { echo "$as_me:$LINENO: result: $result" >&5
11641 echo "${ECHO_T}$result" >&6; }
11645 defaultval
=$wxUSE_ALL_FEATURES
11646 if test -z "$defaultval"; then
11647 if test x
"$enablestring" = xdisable
; then
11654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11655 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11656 # Check whether --enable-notebook was given.
11657 if test "${enable_notebook+set}" = set; then
11658 enableval
=$enable_notebook;
11659 if test "$enableval" = yes; then
11660 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11662 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11667 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11672 eval "$wx_cv_use_notebook"
11674 if test x"$enablestring" = xdisable; then
11675 if test $wxUSE_NOTEBOOK = no; then
11681 result=$wxUSE_NOTEBOOK
11684 { echo "$as_me:$LINENO: result: $result" >&5
11685 echo "${ECHO_T}$result" >&6; }
11689 defaultval=$wxUSE_ALL_FEATURES
11690 if test -z "$defaultval"; then
11691 if test x"$enablestring" = xdisable; then
11698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11699 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11700 # Check whether --enable-notifmsg was given.
11701 if test "${enable_notifmsg+set}" = set; then
11702 enableval=$enable_notifmsg;
11703 if test "$enableval" = yes; then
11704 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
11706 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
11711 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11716 eval "$wx_cv_use_notifmsg"
11718 if test x"$enablestring" = xdisable; then
11719 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11725 result=$wxUSE_NOTIFICATION_MESSAGE
11728 { echo "$as_me:$LINENO: result
: $result" >&5
11729 echo "${ECHO_T}$result" >&6; }
11733 defaultval=$wxUSE_ALL_FEATURES
11734 if test -z "$defaultval"; then
11735 if test x"$enablestring" = xdisable; then
11742 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11743 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11744 # Check whether --enable-odcombobox was given.
11745 if test "${enable_odcombobox+set}" = set; then
11746 enableval=$enable_odcombobox;
11747 if test "$enableval" = yes; then
11748 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11750 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11755 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11760 eval "$wx_cv_use_odcombobox"
11762 if test x
"$enablestring" = xdisable
; then
11763 if test $wxUSE_ODCOMBOBOX = no
; then
11769 result
=$wxUSE_ODCOMBOBOX
11772 { echo "$as_me:$LINENO: result: $result" >&5
11773 echo "${ECHO_T}$result" >&6; }
11777 defaultval
=$wxUSE_ALL_FEATURES
11778 if test -z "$defaultval"; then
11779 if test x
"$enablestring" = xdisable
; then
11786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11787 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11788 # Check whether --enable-popupwin was given.
11789 if test "${enable_popupwin+set}" = set; then
11790 enableval
=$enable_popupwin;
11791 if test "$enableval" = yes; then
11792 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11794 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11799 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11804 eval "$wx_cv_use_popupwin"
11806 if test x"$enablestring" = xdisable; then
11807 if test $wxUSE_POPUPWIN = no; then
11813 result=$wxUSE_POPUPWIN
11816 { echo "$as_me:$LINENO: result: $result" >&5
11817 echo "${ECHO_T}$result" >&6; }
11821 defaultval=$wxUSE_ALL_FEATURES
11822 if test -z "$defaultval"; then
11823 if test x"$enablestring" = xdisable; then
11830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11831 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11832 # Check whether --enable-radiobox was given.
11833 if test "${enable_radiobox+set}" = set; then
11834 enableval=$enable_radiobox;
11835 if test "$enableval" = yes; then
11836 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11838 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11843 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11848 eval "$wx_cv_use_radiobox"
11850 if test x"$enablestring" = xdisable; then
11851 if test $wxUSE_RADIOBOX = no; then
11857 result=$wxUSE_RADIOBOX
11860 { echo "$as_me:$LINENO: result
: $result" >&5
11861 echo "${ECHO_T}$result" >&6; }
11865 defaultval=$wxUSE_ALL_FEATURES
11866 if test -z "$defaultval"; then
11867 if test x"$enablestring" = xdisable; then
11874 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11875 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11876 # Check whether --enable-radiobtn was given.
11877 if test "${enable_radiobtn+set}" = set; then
11878 enableval=$enable_radiobtn;
11879 if test "$enableval" = yes; then
11880 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11882 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11887 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11892 eval "$wx_cv_use_radiobtn"
11894 if test x
"$enablestring" = xdisable
; then
11895 if test $wxUSE_RADIOBTN = no
; then
11901 result
=$wxUSE_RADIOBTN
11904 { echo "$as_me:$LINENO: result: $result" >&5
11905 echo "${ECHO_T}$result" >&6; }
11909 defaultval
=$wxUSE_ALL_FEATURES
11910 if test -z "$defaultval"; then
11911 if test x
"$enablestring" = xdisable
; then
11918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11920 # Check whether --enable-richmsgdlg was given.
11921 if test "${enable_richmsgdlg+set}" = set; then
11922 enableval
=$enable_richmsgdlg;
11923 if test "$enableval" = yes; then
11924 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
11926 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
11931 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11936 eval "$wx_cv_use_richmsgdlg"
11938 if test x"$enablestring" = xdisable; then
11939 if test $wxUSE_RICHMSGDLG = no; then
11945 result=$wxUSE_RICHMSGDLG
11948 { echo "$as_me:$LINENO: result: $result" >&5
11949 echo "${ECHO_T}$result" >&6; }
11953 defaultval=$wxUSE_ALL_FEATURES
11954 if test -z "$defaultval"; then
11955 if test x"$enablestring" = xdisable; then
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtooltip" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-richtooltip... $ECHO_C" >&6; }
11964 # Check whether --enable-richtooltip was given.
11965 if test "${enable_richtooltip+set}" = set; then
11966 enableval=$enable_richtooltip;
11967 if test "$enableval" = yes; then
11968 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=yes'
11970 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=no
'
11975 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
11980 eval "$wx_cv_use_richtooltip"
11982 if test x"$enablestring" = xdisable; then
11983 if test $wxUSE_RICHTOOLTIP = no; then
11989 result=$wxUSE_RICHTOOLTIP
11992 { echo "$as_me:$LINENO: result
: $result" >&5
11993 echo "${ECHO_T}$result" >&6; }
11997 defaultval=$wxUSE_ALL_FEATURES
11998 if test -z "$defaultval"; then
11999 if test x"$enablestring" = xdisable; then
12006 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rearrangectrl" >&5
12007 echo $ECHO_N "checking
for --${enablestring:-enable}-rearrangectrl...
$ECHO_C" >&6; }
12008 # Check whether --enable-rearrangectrl was given.
12009 if test "${enable_rearrangectrl+set}" = set; then
12010 enableval=$enable_rearrangectrl;
12011 if test "$enableval" = yes; then
12012 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
12014 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
12019 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
12024 eval "$wx_cv_use_rearrangectrl"
12026 if test x
"$enablestring" = xdisable
; then
12027 if test $wxUSE_REARRANGECTRL = no
; then
12033 result
=$wxUSE_REARRANGECTRL
12036 { echo "$as_me:$LINENO: result: $result" >&5
12037 echo "${ECHO_T}$result" >&6; }
12041 defaultval
=$wxUSE_ALL_FEATURES
12042 if test -z "$defaultval"; then
12043 if test x
"$enablestring" = xdisable
; then
12050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12051 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12052 # Check whether --enable-sash was given.
12053 if test "${enable_sash+set}" = set; then
12054 enableval
=$enable_sash;
12055 if test "$enableval" = yes; then
12056 wx_cv_use_sash
='wxUSE_SASH=yes'
12058 wx_cv_use_sash
='wxUSE_SASH=no'
12063 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12068 eval "$wx_cv_use_sash"
12070 if test x"$enablestring" = xdisable; then
12071 if test $wxUSE_SASH = no; then
12080 { echo "$as_me:$LINENO: result: $result" >&5
12081 echo "${ECHO_T}$result" >&6; }
12085 defaultval=$wxUSE_ALL_FEATURES
12086 if test -z "$defaultval"; then
12087 if test x"$enablestring" = xdisable; then
12094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12095 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12096 # Check whether --enable-scrollbar was given.
12097 if test "${enable_scrollbar+set}" = set; then
12098 enableval=$enable_scrollbar;
12099 if test "$enableval" = yes; then
12100 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
12102 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
12107 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12112 eval "$wx_cv_use_scrollbar"
12114 if test x"$enablestring" = xdisable; then
12115 if test $wxUSE_SCROLLBAR = no; then
12121 result=$wxUSE_SCROLLBAR
12124 { echo "$as_me:$LINENO: result
: $result" >&5
12125 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}-searchctrl" >&5
12139 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
12140 # Check whether --enable-searchctrl was given.
12141 if test "${enable_searchctrl+set}" = set; then
12142 enableval=$enable_searchctrl;
12143 if test "$enableval" = yes; then
12144 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12146 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12151 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12156 eval "$wx_cv_use_searchctrl"
12158 if test x
"$enablestring" = xdisable
; then
12159 if test $wxUSE_SEARCHCTRL = no
; then
12165 result
=$wxUSE_SEARCHCTRL
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}-slider" >&5
12183 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12184 # Check whether --enable-slider was given.
12185 if test "${enable_slider+set}" = set; then
12186 enableval
=$enable_slider;
12187 if test "$enableval" = yes; then
12188 wx_cv_use_slider
='wxUSE_SLIDER=yes'
12190 wx_cv_use_slider
='wxUSE_SLIDER=no'
12195 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12200 eval "$wx_cv_use_slider"
12202 if test x"$enablestring" = xdisable; then
12203 if test $wxUSE_SLIDER = no; then
12209 result=$wxUSE_SLIDER
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}-spinbtn" >&5
12227 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12228 # Check whether --enable-spinbtn was given.
12229 if test "${enable_spinbtn+set}" = set; then
12230 enableval=$enable_spinbtn;
12231 if test "$enableval" = yes; then
12232 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
12234 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
12239 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12244 eval "$wx_cv_use_spinbtn"
12246 if test x"$enablestring" = xdisable; then
12247 if test $wxUSE_SPINBTN = no; then
12253 result=$wxUSE_SPINBTN
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}-spinctrl" >&5
12271 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
12272 # Check whether --enable-spinctrl was given.
12273 if test "${enable_spinctrl+set}" = set; then
12274 enableval=$enable_spinctrl;
12275 if test "$enableval" = yes; then
12276 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12278 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12283 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12288 eval "$wx_cv_use_spinctrl"
12290 if test x
"$enablestring" = xdisable
; then
12291 if test $wxUSE_SPINCTRL = no
; then
12297 result
=$wxUSE_SPINCTRL
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}-splitter" >&5
12315 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12316 # Check whether --enable-splitter was given.
12317 if test "${enable_splitter+set}" = set; then
12318 enableval
=$enable_splitter;
12319 if test "$enableval" = yes; then
12320 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
12322 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
12327 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12332 eval "$wx_cv_use_splitter"
12334 if test x"$enablestring" = xdisable; then
12335 if test $wxUSE_SPLITTER = no; then
12341 result=$wxUSE_SPLITTER
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}-statbmp" >&5
12359 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12360 # Check whether --enable-statbmp was given.
12361 if test "${enable_statbmp+set}" = set; then
12362 enableval=$enable_statbmp;
12363 if test "$enableval" = yes; then
12364 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
12366 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
12371 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12376 eval "$wx_cv_use_statbmp"
12378 if test x"$enablestring" = xdisable; then
12379 if test $wxUSE_STATBMP = no; then
12385 result=$wxUSE_STATBMP
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}-statbox" >&5
12403 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
12404 # Check whether --enable-statbox was given.
12405 if test "${enable_statbox+set}" = set; then
12406 enableval=$enable_statbox;
12407 if test "$enableval" = yes; then
12408 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12410 wx_cv_use_statbox='wxUSE_STATBOX=no'
12415 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12420 eval "$wx_cv_use_statbox"
12422 if test x
"$enablestring" = xdisable
; then
12423 if test $wxUSE_STATBOX = no
; then
12429 result
=$wxUSE_STATBOX
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}-statline" >&5
12447 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12448 # Check whether --enable-statline was given.
12449 if test "${enable_statline+set}" = set; then
12450 enableval
=$enable_statline;
12451 if test "$enableval" = yes; then
12452 wx_cv_use_statline
='wxUSE_STATLINE=yes'
12454 wx_cv_use_statline
='wxUSE_STATLINE=no'
12459 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12464 eval "$wx_cv_use_statline"
12466 if test x"$enablestring" = xdisable; then
12467 if test $wxUSE_STATLINE = no; then
12473 result=$wxUSE_STATLINE
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}-stattext" >&5
12491 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12492 # Check whether --enable-stattext was given.
12493 if test "${enable_stattext+set}" = set; then
12494 enableval=$enable_stattext;
12495 if test "$enableval" = yes; then
12496 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
12498 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
12503 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12508 eval "$wx_cv_use_stattext"
12510 if test x"$enablestring" = xdisable; then
12511 if test $wxUSE_STATTEXT = no; then
12517 result=$wxUSE_STATTEXT
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}-statusbar" >&5
12535 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
12536 # Check whether --enable-statusbar was given.
12537 if test "${enable_statusbar+set}" = set; then
12538 enableval=$enable_statusbar;
12539 if test "$enableval" = yes; then
12540 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12542 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12547 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12552 eval "$wx_cv_use_statusbar"
12554 if test x
"$enablestring" = xdisable
; then
12555 if test $wxUSE_STATUSBAR = no
; then
12561 result
=$wxUSE_STATUSBAR
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}-taskbaricon" >&5
12579 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12580 # Check whether --enable-taskbaricon was given.
12581 if test "${enable_taskbaricon+set}" = set; then
12582 enableval
=$enable_taskbaricon;
12583 if test "$enableval" = yes; then
12584 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
12586 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
12591 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12596 eval "$wx_cv_use_taskbaricon"
12598 if test x"$enablestring" = xdisable; then
12599 if test $wxUSE_TASKBARICON = no; then
12605 result=$wxUSE_TASKBARICON
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}-tbarnative" >&5
12623 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12624 # Check whether --enable-tbarnative was given.
12625 if test "${enable_tbarnative+set}" = set; then
12626 enableval=$enable_tbarnative;
12627 if test "$enableval" = yes; then
12628 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
12630 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
12635 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12640 eval "$wx_cv_use_tbarnative"
12642 if test x"$enablestring" = xdisable; then
12643 if test $wxUSE_TOOLBAR_NATIVE = no; then
12649 result=$wxUSE_TOOLBAR_NATIVE
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}-textctrl" >&5
12667 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
12668 # Check whether --enable-textctrl was given.
12669 if test "${enable_textctrl+set}" = set; then
12670 enableval=$enable_textctrl;
12671 if test "$enableval" = yes; then
12672 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12674 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12679 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12684 eval "$wx_cv_use_textctrl"
12686 if test x
"$enablestring" = xdisable
; then
12687 if test $wxUSE_TEXTCTRL = no
; then
12693 result
=$wxUSE_TEXTCTRL
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}-datepick" >&5
12711 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
12712 # Check whether --enable-datepick was given.
12713 if test "${enable_datepick+set}" = set; then
12714 enableval
=$enable_datepick;
12715 if test "$enableval" = yes; then
12716 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=yes'
12718 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=no'
12723 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
12728 eval "$wx_cv_use_datepick"
12730 if test x"$enablestring" = xdisable; then
12731 if test $wxUSE_TIMEPICKCTRL = no; then
12737 result=$wxUSE_TIMEPICKCTRL
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}-tipwindow" >&5
12755 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12756 # Check whether --enable-tipwindow was given.
12757 if test "${enable_tipwindow+set}" = set; then
12758 enableval=$enable_tipwindow;
12759 if test "$enableval" = yes; then
12760 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12762 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12767 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12772 eval "$wx_cv_use_tipwindow"
12774 if test x"$enablestring" = xdisable; then
12775 if test $wxUSE_TIPWINDOW = no; then
12781 result=$wxUSE_TIPWINDOW
12784 { echo "$as_me:$LINENO: result
: $result" >&5
12785 echo "${ECHO_T}$result" >&6; }
12789 defaultval=$wxUSE_ALL_FEATURES
12790 if test -z "$defaultval"; then
12791 if test x"$enablestring" = xdisable; then
12798 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
12799 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
12800 # Check whether --enable-togglebtn was given.
12801 if test "${enable_togglebtn+set}" = set; then
12802 enableval=$enable_togglebtn;
12803 if test "$enableval" = yes; then
12804 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12806 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12811 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12816 eval "$wx_cv_use_togglebtn"
12818 if test x
"$enablestring" = xdisable
; then
12819 if test $wxUSE_TOGGLEBTN = no
; then
12825 result
=$wxUSE_TOGGLEBTN
12828 { echo "$as_me:$LINENO: result: $result" >&5
12829 echo "${ECHO_T}$result" >&6; }
12833 defaultval
=$wxUSE_ALL_FEATURES
12834 if test -z "$defaultval"; then
12835 if test x
"$enablestring" = xdisable
; then
12842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12843 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12844 # Check whether --enable-toolbar was given.
12845 if test "${enable_toolbar+set}" = set; then
12846 enableval
=$enable_toolbar;
12847 if test "$enableval" = yes; then
12848 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
12850 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
12855 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12860 eval "$wx_cv_use_toolbar"
12862 if test x"$enablestring" = xdisable; then
12863 if test $wxUSE_TOOLBAR = no; then
12869 result=$wxUSE_TOOLBAR
12872 { echo "$as_me:$LINENO: result: $result" >&5
12873 echo "${ECHO_T}$result" >&6; }
12877 defaultval=$wxUSE_ALL_FEATURES
12878 if test -z "$defaultval"; then
12879 if test x"$enablestring" = xdisable; then
12886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12887 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12888 # Check whether --enable-toolbook was given.
12889 if test "${enable_toolbook+set}" = set; then
12890 enableval=$enable_toolbook;
12891 if test "$enableval" = yes; then
12892 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12894 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12899 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12904 eval "$wx_cv_use_toolbook"
12906 if test x"$enablestring" = xdisable; then
12907 if test $wxUSE_TOOLBOOK = no; then
12913 result=$wxUSE_TOOLBOOK
12916 { echo "$as_me:$LINENO: result
: $result" >&5
12917 echo "${ECHO_T}$result" >&6; }
12921 defaultval=$wxUSE_ALL_FEATURES
12922 if test -z "$defaultval"; then
12923 if test x"$enablestring" = xdisable; then
12930 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12931 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12932 # Check whether --enable-treebook was given.
12933 if test "${enable_treebook+set}" = set; then
12934 enableval=$enable_treebook;
12935 if test "$enableval" = yes; then
12936 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12938 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12943 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12948 eval "$wx_cv_use_treebook"
12950 if test x
"$enablestring" = xdisable
; then
12951 if test $wxUSE_TREEBOOK = no
; then
12957 result
=$wxUSE_TREEBOOK
12960 { echo "$as_me:$LINENO: result: $result" >&5
12961 echo "${ECHO_T}$result" >&6; }
12965 defaultval
=$wxUSE_ALL_FEATURES
12966 if test -z "$defaultval"; then
12967 if test x
"$enablestring" = xdisable
; then
12974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12975 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12976 # Check whether --enable-treectrl was given.
12977 if test "${enable_treectrl+set}" = set; then
12978 enableval
=$enable_treectrl;
12979 if test "$enableval" = yes; then
12980 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12982 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12987 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12992 eval "$wx_cv_use_treectrl"
12994 if test x"$enablestring" = xdisable; then
12995 if test $wxUSE_TREECTRL = no; then
13001 result=$wxUSE_TREECTRL
13004 { echo "$as_me:$LINENO: result: $result" >&5
13005 echo "${ECHO_T}$result" >&6; }
13009 defaultval=$wxUSE_ALL_FEATURES
13010 if test -z "$defaultval"; then
13011 if test x"$enablestring" = xdisable; then
13018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
13019 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
13020 # Check whether --enable-treelist was given.
13021 if test "${enable_treelist+set}" = set; then
13022 enableval=$enable_treelist;
13023 if test "$enableval" = yes; then
13024 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=yes'
13026 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=no
'
13031 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
13036 eval "$wx_cv_use_treelist"
13038 if test x"$enablestring" = xdisable; then
13039 if test $wxUSE_TREELISTCTRL = no; then
13045 result=$wxUSE_TREELISTCTRL
13048 { echo "$as_me:$LINENO: result
: $result" >&5
13049 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}-commondlg" >&5
13065 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
13066 # Check whether --enable-commondlg was given.
13067 if test "${enable_commondlg+set}" = set; then
13068 enableval=$enable_commondlg;
13069 if test "$enableval" = yes; then
13070 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13072 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13077 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13082 eval "$wx_cv_use_commondlg"
13084 if test x
"$enablestring" = xdisable
; then
13085 if test $wxUSE_COMMONDLGS = no
; then
13091 result
=$wxUSE_COMMONDLGS
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}-aboutdlg" >&5
13109 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13110 # Check whether --enable-aboutdlg was given.
13111 if test "${enable_aboutdlg+set}" = set; then
13112 enableval
=$enable_aboutdlg;
13113 if test "$enableval" = yes; then
13114 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
13116 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
13121 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13126 eval "$wx_cv_use_aboutdlg"
13128 if test x"$enablestring" = xdisable; then
13129 if test $wxUSE_ABOUTDLG = no; then
13135 result=$wxUSE_ABOUTDLG
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}-choicedlg" >&5
13153 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13154 # Check whether --enable-choicedlg was given.
13155 if test "${enable_choicedlg+set}" = set; then
13156 enableval=$enable_choicedlg;
13157 if test "$enableval" = yes; then
13158 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
13160 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
13165 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13170 eval "$wx_cv_use_choicedlg"
13172 if test x"$enablestring" = xdisable; then
13173 if test $wxUSE_CHOICEDLG = no; then
13179 result=$wxUSE_CHOICEDLG
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}-coldlg" >&5
13197 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
13198 # Check whether --enable-coldlg was given.
13199 if test "${enable_coldlg+set}" = set; then
13200 enableval=$enable_coldlg;
13201 if test "$enableval" = yes; then
13202 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13204 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13209 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13214 eval "$wx_cv_use_coldlg"
13216 if test x
"$enablestring" = xdisable
; then
13217 if test $wxUSE_COLOURDLG = no
; then
13223 result
=$wxUSE_COLOURDLG
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}-filedlg" >&5
13241 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13242 # Check whether --enable-filedlg was given.
13243 if test "${enable_filedlg+set}" = set; then
13244 enableval
=$enable_filedlg;
13245 if test "$enableval" = yes; then
13246 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
13248 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
13253 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13258 eval "$wx_cv_use_filedlg"
13260 if test x"$enablestring" = xdisable; then
13261 if test $wxUSE_FILEDLG = no; then
13267 result=$wxUSE_FILEDLG
13270 { echo "$as_me:$LINENO: result: $result" >&5
13271 echo "${ECHO_T}$result" >&6; }
13275 defaultval=$wxUSE_ALL_FEATURES
13276 if test -z "$defaultval"; then
13277 if test x"$enablestring" = xdisable; then
13284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13285 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13286 # Check whether --enable-finddlg was given.
13287 if test "${enable_finddlg+set}" = set; then
13288 enableval=$enable_finddlg;
13289 if test "$enableval" = yes; then
13290 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
13292 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
13297 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13302 eval "$wx_cv_use_finddlg"
13304 if test x"$enablestring" = xdisable; then
13305 if test $wxUSE_FINDREPLDLG = no; then
13311 result=$wxUSE_FINDREPLDLG
13314 { echo "$as_me:$LINENO: result
: $result" >&5
13315 echo "${ECHO_T}$result" >&6; }
13319 defaultval=$wxUSE_ALL_FEATURES
13320 if test -z "$defaultval"; then
13321 if test x"$enablestring" = xdisable; then
13328 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
13329 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
13330 # Check whether --enable-fontdlg was given.
13331 if test "${enable_fontdlg+set}" = set; then
13332 enableval=$enable_fontdlg;
13333 if test "$enableval" = yes; then
13334 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13336 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13341 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13346 eval "$wx_cv_use_fontdlg"
13348 if test x
"$enablestring" = xdisable
; then
13349 if test $wxUSE_FONTDLG = no
; then
13355 result
=$wxUSE_FONTDLG
13358 { echo "$as_me:$LINENO: result: $result" >&5
13359 echo "${ECHO_T}$result" >&6; }
13363 defaultval
=$wxUSE_ALL_FEATURES
13364 if test -z "$defaultval"; then
13365 if test x
"$enablestring" = xdisable
; then
13372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13373 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13374 # Check whether --enable-dirdlg was given.
13375 if test "${enable_dirdlg+set}" = set; then
13376 enableval
=$enable_dirdlg;
13377 if test "$enableval" = yes; then
13378 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
13380 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
13385 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13390 eval "$wx_cv_use_dirdlg"
13392 if test x"$enablestring" = xdisable; then
13393 if test $wxUSE_DIRDLG = no; then
13399 result=$wxUSE_DIRDLG
13402 { echo "$as_me:$LINENO: result: $result" >&5
13403 echo "${ECHO_T}$result" >&6; }
13407 defaultval=$wxUSE_ALL_FEATURES
13408 if test -z "$defaultval"; then
13409 if test x"$enablestring" = xdisable; then
13416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13417 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13418 # Check whether --enable-msgdlg was given.
13419 if test "${enable_msgdlg+set}" = set; then
13420 enableval=$enable_msgdlg;
13421 if test "$enableval" = yes; then
13422 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
13424 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
13429 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13434 eval "$wx_cv_use_msgdlg"
13436 if test x"$enablestring" = xdisable; then
13437 if test $wxUSE_MSGDLG = no; then
13443 result=$wxUSE_MSGDLG
13446 { echo "$as_me:$LINENO: result
: $result" >&5
13447 echo "${ECHO_T}$result" >&6; }
13451 defaultval=$wxUSE_ALL_FEATURES
13452 if test -z "$defaultval"; then
13453 if test x"$enablestring" = xdisable; then
13460 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
13461 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
13462 # Check whether --enable-numberdlg was given.
13463 if test "${enable_numberdlg+set}" = set; then
13464 enableval=$enable_numberdlg;
13465 if test "$enableval" = yes; then
13466 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13468 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13473 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13478 eval "$wx_cv_use_numberdlg"
13480 if test x
"$enablestring" = xdisable
; then
13481 if test $wxUSE_NUMBERDLG = no
; then
13487 result
=$wxUSE_NUMBERDLG
13490 { echo "$as_me:$LINENO: result: $result" >&5
13491 echo "${ECHO_T}$result" >&6; }
13495 defaultval
=$wxUSE_ALL_FEATURES
13496 if test -z "$defaultval"; then
13497 if test x
"$enablestring" = xdisable
; then
13504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13505 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13506 # Check whether --enable-splash was given.
13507 if test "${enable_splash+set}" = set; then
13508 enableval
=$enable_splash;
13509 if test "$enableval" = yes; then
13510 wx_cv_use_splash
='wxUSE_SPLASH=yes'
13512 wx_cv_use_splash
='wxUSE_SPLASH=no'
13517 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13522 eval "$wx_cv_use_splash"
13524 if test x"$enablestring" = xdisable; then
13525 if test $wxUSE_SPLASH = no; then
13531 result=$wxUSE_SPLASH
13534 { echo "$as_me:$LINENO: result: $result" >&5
13535 echo "${ECHO_T}$result" >&6; }
13539 defaultval=$wxUSE_ALL_FEATURES
13540 if test -z "$defaultval"; then
13541 if test x"$enablestring" = xdisable; then
13548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13549 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13550 # Check whether --enable-textdlg was given.
13551 if test "${enable_textdlg+set}" = set; then
13552 enableval=$enable_textdlg;
13553 if test "$enableval" = yes; then
13554 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
13556 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
13561 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13566 eval "$wx_cv_use_textdlg"
13568 if test x"$enablestring" = xdisable; then
13569 if test $wxUSE_TEXTDLG = no; then
13575 result=$wxUSE_TEXTDLG
13578 { echo "$as_me:$LINENO: result
: $result" >&5
13579 echo "${ECHO_T}$result" >&6; }
13583 defaultval=$wxUSE_ALL_FEATURES
13584 if test -z "$defaultval"; then
13585 if test x"$enablestring" = xdisable; then
13592 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
13593 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
13594 # Check whether --enable-tipdlg was given.
13595 if test "${enable_tipdlg+set}" = set; then
13596 enableval=$enable_tipdlg;
13597 if test "$enableval" = yes; then
13598 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13600 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13605 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13610 eval "$wx_cv_use_tipdlg"
13612 if test x
"$enablestring" = xdisable
; then
13613 if test $wxUSE_STARTUP_TIPS = no
; then
13619 result
=$wxUSE_STARTUP_TIPS
13622 { echo "$as_me:$LINENO: result: $result" >&5
13623 echo "${ECHO_T}$result" >&6; }
13627 defaultval
=$wxUSE_ALL_FEATURES
13628 if test -z "$defaultval"; then
13629 if test x
"$enablestring" = xdisable
; then
13636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13637 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13638 # Check whether --enable-progressdlg was given.
13639 if test "${enable_progressdlg+set}" = set; then
13640 enableval
=$enable_progressdlg;
13641 if test "$enableval" = yes; then
13642 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
13644 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
13649 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13654 eval "$wx_cv_use_progressdlg"
13656 if test x"$enablestring" = xdisable; then
13657 if test $wxUSE_PROGRESSDLG = no; then
13663 result=$wxUSE_PROGRESSDLG
13666 { echo "$as_me:$LINENO: result: $result" >&5
13667 echo "${ECHO_T}$result" >&6; }
13671 defaultval=$wxUSE_ALL_FEATURES
13672 if test -z "$defaultval"; then
13673 if test x"$enablestring" = xdisable; then
13680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13681 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13682 # Check whether --enable-wizarddlg was given.
13683 if test "${enable_wizarddlg+set}" = set; then
13684 enableval=$enable_wizarddlg;
13685 if test "$enableval" = yes; then
13686 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
13688 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
13693 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13698 eval "$wx_cv_use_wizarddlg"
13700 if test x"$enablestring" = xdisable; then
13701 if test $wxUSE_WIZARDDLG = no; then
13707 result=$wxUSE_WIZARDDLG
13710 { echo "$as_me:$LINENO: result
: $result" >&5
13711 echo "${ECHO_T}$result" >&6; }
13717 defaultval=$wxUSE_ALL_FEATURES
13718 if test -z "$defaultval"; then
13719 if test x"$enablestring" = xdisable; then
13726 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
13727 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13728 # Check whether --enable-menus was given.
13729 if test "${enable_menus+set}" = set; then
13730 enableval=$enable_menus;
13731 if test "$enableval" = yes; then
13732 wx_cv_use_menus='wxUSE_MENUS=yes'
13734 wx_cv_use_menus='wxUSE_MENUS=no'
13739 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13744 eval "$wx_cv_use_menus"
13746 if test x
"$enablestring" = xdisable
; then
13747 if test $wxUSE_MENUS = no
; then
13753 result
=$wxUSE_MENUS
13756 { echo "$as_me:$LINENO: result: $result" >&5
13757 echo "${ECHO_T}$result" >&6; }
13761 defaultval
=$wxUSE_ALL_FEATURES
13762 if test -z "$defaultval"; then
13763 if test x
"$enablestring" = xdisable
; then
13770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13771 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13772 # Check whether --enable-miniframe was given.
13773 if test "${enable_miniframe+set}" = set; then
13774 enableval
=$enable_miniframe;
13775 if test "$enableval" = yes; then
13776 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13778 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13783 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13788 eval "$wx_cv_use_miniframe"
13790 if test x"$enablestring" = xdisable; then
13791 if test $wxUSE_MINIFRAME = no; then
13797 result=$wxUSE_MINIFRAME
13800 { echo "$as_me:$LINENO: result: $result" >&5
13801 echo "${ECHO_T}$result" >&6; }
13805 defaultval=$wxUSE_ALL_FEATURES
13806 if test -z "$defaultval"; then
13807 if test x"$enablestring" = xdisable; then
13814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13815 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13816 # Check whether --enable-tooltips was given.
13817 if test "${enable_tooltips+set}" = set; then
13818 enableval=$enable_tooltips;
13819 if test "$enableval" = yes; then
13820 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13822 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13827 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13832 eval "$wx_cv_use_tooltips"
13834 if test x"$enablestring" = xdisable; then
13835 if test $wxUSE_TOOLTIPS = no; then
13841 result=$wxUSE_TOOLTIPS
13844 { echo "$as_me:$LINENO: result
: $result" >&5
13845 echo "${ECHO_T}$result" >&6; }
13849 defaultval=$wxUSE_ALL_FEATURES
13850 if test -z "$defaultval"; then
13851 if test x"$enablestring" = xdisable; then
13858 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13859 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13860 # Check whether --enable-splines was given.
13861 if test "${enable_splines+set}" = set; then
13862 enableval=$enable_splines;
13863 if test "$enableval" = yes; then
13864 wx_cv_use_splines='wxUSE_SPLINES=yes'
13866 wx_cv_use_splines='wxUSE_SPLINES=no'
13871 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13876 eval "$wx_cv_use_splines"
13878 if test x
"$enablestring" = xdisable
; then
13879 if test $wxUSE_SPLINES = no
; then
13885 result
=$wxUSE_SPLINES
13888 { echo "$as_me:$LINENO: result: $result" >&5
13889 echo "${ECHO_T}$result" >&6; }
13893 defaultval
=$wxUSE_ALL_FEATURES
13894 if test -z "$defaultval"; then
13895 if test x
"$enablestring" = xdisable
; then
13902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13903 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13904 # Check whether --enable-mousewheel was given.
13905 if test "${enable_mousewheel+set}" = set; then
13906 enableval
=$enable_mousewheel;
13907 if test "$enableval" = yes; then
13908 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13910 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13915 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13920 eval "$wx_cv_use_mousewheel"
13922 if test x"$enablestring" = xdisable; then
13923 if test $wxUSE_MOUSEWHEEL = no; then
13929 result=$wxUSE_MOUSEWHEEL
13932 { echo "$as_me:$LINENO: result: $result" >&5
13933 echo "${ECHO_T}$result" >&6; }
13937 defaultval=$wxUSE_ALL_FEATURES
13938 if test -z "$defaultval"; then
13939 if test x"$enablestring" = xdisable; then
13946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13947 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13948 # Check whether --enable-validators was given.
13949 if test "${enable_validators+set}" = set; then
13950 enableval=$enable_validators;
13951 if test "$enableval" = yes; then
13952 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13954 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13959 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13964 eval "$wx_cv_use_validators"
13966 if test x"$enablestring" = xdisable; then
13967 if test $wxUSE_VALIDATORS = no; then
13973 result=$wxUSE_VALIDATORS
13976 { echo "$as_me:$LINENO: result
: $result" >&5
13977 echo "${ECHO_T}$result" >&6; }
13981 defaultval=$wxUSE_ALL_FEATURES
13982 if test -z "$defaultval"; then
13983 if test x"$enablestring" = xdisable; then
13990 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13991 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13992 # Check whether --enable-busyinfo was given.
13993 if test "${enable_busyinfo+set}" = set; then
13994 enableval=$enable_busyinfo;
13995 if test "$enableval" = yes; then
13996 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13998 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14003 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14008 eval "$wx_cv_use_busyinfo"
14010 if test x
"$enablestring" = xdisable
; then
14011 if test $wxUSE_BUSYINFO = no
; then
14017 result
=$wxUSE_BUSYINFO
14020 { echo "$as_me:$LINENO: result: $result" >&5
14021 echo "${ECHO_T}$result" >&6; }
14025 defaultval
=$wxUSE_ALL_FEATURES
14026 if test -z "$defaultval"; then
14027 if test x
"$enablestring" = xdisable
; then
14034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
14035 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
14036 # Check whether --enable-hotkey was given.
14037 if test "${enable_hotkey+set}" = set; then
14038 enableval
=$enable_hotkey;
14039 if test "$enableval" = yes; then
14040 wx_cv_use_hotkey
='wxUSE_HOTKEY=yes'
14042 wx_cv_use_hotkey
='wxUSE_HOTKEY=no'
14047 wx_cv_use_hotkey
='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
14052 eval "$wx_cv_use_hotkey"
14054 if test x"$enablestring" = xdisable; then
14055 if test $wxUSE_HOTKEY = no; then
14061 result=$wxUSE_HOTKEY
14064 { echo "$as_me:$LINENO: result: $result" >&5
14065 echo "${ECHO_T}$result" >&6; }
14069 defaultval=$wxUSE_ALL_FEATURES
14070 if test -z "$defaultval"; then
14071 if test x"$enablestring" = xdisable; then
14078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14079 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14080 # Check whether --enable-joystick was given.
14081 if test "${enable_joystick+set}" = set; then
14082 enableval=$enable_joystick;
14083 if test "$enableval" = yes; then
14084 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
14086 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
14091 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14096 eval "$wx_cv_use_joystick"
14098 if test x"$enablestring" = xdisable; then
14099 if test $wxUSE_JOYSTICK = no; then
14105 result=$wxUSE_JOYSTICK
14108 { echo "$as_me:$LINENO: result
: $result" >&5
14109 echo "${ECHO_T}$result" >&6; }
14113 defaultval=$wxUSE_ALL_FEATURES
14114 if test -z "$defaultval"; then
14115 if test x"$enablestring" = xdisable; then
14122 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
14123 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
14124 # Check whether --enable-metafile was given.
14125 if test "${enable_metafile+set}" = set; then
14126 enableval=$enable_metafile;
14127 if test "$enableval" = yes; then
14128 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14130 wx_cv_use_metafile='wxUSE_METAFILE=no'
14135 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14140 eval "$wx_cv_use_metafile"
14142 if test x
"$enablestring" = xdisable
; then
14143 if test $wxUSE_METAFILE = no
; then
14149 result
=$wxUSE_METAFILE
14152 { echo "$as_me:$LINENO: result: $result" >&5
14153 echo "${ECHO_T}$result" >&6; }
14157 defaultval
=$wxUSE_ALL_FEATURES
14158 if test -z "$defaultval"; then
14159 if test x
"$enablestring" = xdisable
; then
14166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14167 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14168 # Check whether --enable-dragimage was given.
14169 if test "${enable_dragimage+set}" = set; then
14170 enableval
=$enable_dragimage;
14171 if test "$enableval" = yes; then
14172 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
14174 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
14179 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14184 eval "$wx_cv_use_dragimage"
14186 if test x"$enablestring" = xdisable; then
14187 if test $wxUSE_DRAGIMAGE = no; then
14193 result=$wxUSE_DRAGIMAGE
14196 { echo "$as_me:$LINENO: result: $result" >&5
14197 echo "${ECHO_T}$result" >&6; }
14201 defaultval=$wxUSE_ALL_FEATURES
14202 if test -z "$defaultval"; then
14203 if test x"$enablestring" = xdisable; then
14210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14211 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14212 # Check whether --enable-accessibility was given.
14213 if test "${enable_accessibility+set}" = set; then
14214 enableval=$enable_accessibility;
14215 if test "$enableval" = yes; then
14216 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
14218 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
14223 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14228 eval "$wx_cv_use_accessibility"
14230 if test x"$enablestring" = xdisable; then
14231 if test $wxUSE_ACCESSIBILITY = no; then
14237 result=$wxUSE_ACCESSIBILITY
14240 { echo "$as_me:$LINENO: result
: $result" >&5
14241 echo "${ECHO_T}$result" >&6; }
14245 defaultval=$wxUSE_ALL_FEATURES
14246 if test -z "$defaultval"; then
14247 if test x"$enablestring" = xdisable; then
14254 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uiactionsim" >&5
14255 echo $ECHO_N "checking
for --${enablestring:-enable}-uiactionsim...
$ECHO_C" >&6; }
14256 # Check whether --enable-uiactionsim was given.
14257 if test "${enable_uiactionsim+set}" = set; then
14258 enableval=$enable_uiactionsim;
14259 if test "$enableval" = yes; then
14260 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14262 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14267 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14272 eval "$wx_cv_use_uiactionsim"
14274 if test x
"$enablestring" = xdisable
; then
14275 if test $wxUSE_UIACTIONSIMULATOR = no
; then
14281 result
=$wxUSE_UIACTIONSIMULATOR
14284 { echo "$as_me:$LINENO: result: $result" >&5
14285 echo "${ECHO_T}$result" >&6; }
14289 defaultval
=$wxUSE_ALL_FEATURES
14290 if test -z "$defaultval"; then
14291 if test x
"$enablestring" = xdisable
; then
14298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14299 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14300 # Check whether --enable-dctransform was given.
14301 if test "${enable_dctransform+set}" = set; then
14302 enableval
=$enable_dctransform;
14303 if test "$enableval" = yes; then
14304 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=yes'
14306 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=no'
14311 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14316 eval "$wx_cv_use_dctransform"
14318 if test x"$enablestring" = xdisable; then
14319 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14325 result=$wxUSE_DC_TRANSFORM_MATRIX
14328 { echo "$as_me:$LINENO: result: $result" >&5
14329 echo "${ECHO_T}$result" >&6; }
14333 defaultval=$wxUSE_ALL_FEATURES
14334 if test -z "$defaultval"; then
14335 if test x"$enablestring" = xdisable; then
14342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14343 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14344 # Check whether --enable-webviewwebkit was given.
14345 if test "${enable_webviewwebkit+set}" = set; then
14346 enableval=$enable_webviewwebkit;
14347 if test "$enableval" = yes; then
14348 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=yes'
14350 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=no
'
14355 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14360 eval "$wx_cv_use_webviewwebkit"
14362 if test x"$enablestring" = xdisable; then
14363 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14369 result=$wxUSE_WEBVIEW_WEBKIT
14372 { echo "$as_me:$LINENO: result
: $result" >&5
14373 echo "${ECHO_T}$result" >&6; }
14379 defaultval=$wxUSE_ALL_FEATURES
14380 if test -z "$defaultval"; then
14381 if test x"$enablestring" = xdisable; then
14388 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
14389 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
14390 # Check whether --enable-palette was given.
14391 if test "${enable_palette+set}" = set; then
14392 enableval=$enable_palette;
14393 if test "$enableval" = yes; then
14394 wx_cv_use_palette='wxUSE_PALETTE=yes'
14396 wx_cv_use_palette='wxUSE_PALETTE=no'
14401 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14406 eval "$wx_cv_use_palette"
14408 if test x
"$enablestring" = xdisable
; then
14409 if test $wxUSE_PALETTE = no
; then
14415 result
=$wxUSE_PALETTE
14418 { echo "$as_me:$LINENO: result: $result" >&5
14419 echo "${ECHO_T}$result" >&6; }
14423 defaultval
=$wxUSE_ALL_FEATURES
14424 if test -z "$defaultval"; then
14425 if test x
"$enablestring" = xdisable
; then
14432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14433 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14434 # Check whether --enable-image was given.
14435 if test "${enable_image+set}" = set; then
14436 enableval
=$enable_image;
14437 if test "$enableval" = yes; then
14438 wx_cv_use_image
='wxUSE_IMAGE=yes'
14440 wx_cv_use_image
='wxUSE_IMAGE=no'
14445 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14450 eval "$wx_cv_use_image"
14452 if test x"$enablestring" = xdisable; then
14453 if test $wxUSE_IMAGE = no; then
14459 result=$wxUSE_IMAGE
14462 { echo "$as_me:$LINENO: result: $result" >&5
14463 echo "${ECHO_T}$result" >&6; }
14467 defaultval=$wxUSE_ALL_FEATURES
14468 if test -z "$defaultval"; then
14469 if test x"$enablestring" = xdisable; then
14476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14477 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14478 # Check whether --enable-gif was given.
14479 if test "${enable_gif+set}" = set; then
14480 enableval=$enable_gif;
14481 if test "$enableval" = yes; then
14482 wx_cv_use_gif='wxUSE_GIF
=yes'
14484 wx_cv_use_gif='wxUSE_GIF
=no
'
14489 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14494 eval "$wx_cv_use_gif"
14496 if test x"$enablestring" = xdisable; then
14497 if test $wxUSE_GIF = no; then
14506 { echo "$as_me:$LINENO: result
: $result" >&5
14507 echo "${ECHO_T}$result" >&6; }
14511 defaultval=$wxUSE_ALL_FEATURES
14512 if test -z "$defaultval"; then
14513 if test x"$enablestring" = xdisable; then
14520 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
14521 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
14522 # Check whether --enable-pcx was given.
14523 if test "${enable_pcx+set}" = set; then
14524 enableval=$enable_pcx;
14525 if test "$enableval" = yes; then
14526 wx_cv_use_pcx='wxUSE_PCX=yes'
14528 wx_cv_use_pcx='wxUSE_PCX=no'
14533 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14538 eval "$wx_cv_use_pcx"
14540 if test x
"$enablestring" = xdisable
; then
14541 if test $wxUSE_PCX = no
; then
14550 { echo "$as_me:$LINENO: result: $result" >&5
14551 echo "${ECHO_T}$result" >&6; }
14555 defaultval
=$wxUSE_ALL_FEATURES
14556 if test -z "$defaultval"; then
14557 if test x
"$enablestring" = xdisable
; then
14564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14565 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14566 # Check whether --enable-tga was given.
14567 if test "${enable_tga+set}" = set; then
14568 enableval
=$enable_tga;
14569 if test "$enableval" = yes; then
14570 wx_cv_use_tga
='wxUSE_TGA=yes'
14572 wx_cv_use_tga
='wxUSE_TGA=no'
14577 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14582 eval "$wx_cv_use_tga"
14584 if test x"$enablestring" = xdisable; then
14585 if test $wxUSE_TGA = no; then
14594 { echo "$as_me:$LINENO: result: $result" >&5
14595 echo "${ECHO_T}$result" >&6; }
14599 defaultval=$wxUSE_ALL_FEATURES
14600 if test -z "$defaultval"; then
14601 if test x"$enablestring" = xdisable; then
14608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14609 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14610 # Check whether --enable-iff was given.
14611 if test "${enable_iff+set}" = set; then
14612 enableval=$enable_iff;
14613 if test "$enableval" = yes; then
14614 wx_cv_use_iff='wxUSE_IFF
=yes'
14616 wx_cv_use_iff='wxUSE_IFF
=no
'
14621 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14626 eval "$wx_cv_use_iff"
14628 if test x"$enablestring" = xdisable; then
14629 if test $wxUSE_IFF = no; then
14638 { echo "$as_me:$LINENO: result
: $result" >&5
14639 echo "${ECHO_T}$result" >&6; }
14643 defaultval=$wxUSE_ALL_FEATURES
14644 if test -z "$defaultval"; then
14645 if test x"$enablestring" = xdisable; then
14652 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
14653 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
14654 # Check whether --enable-pnm was given.
14655 if test "${enable_pnm+set}" = set; then
14656 enableval=$enable_pnm;
14657 if test "$enableval" = yes; then
14658 wx_cv_use_pnm='wxUSE_PNM=yes'
14660 wx_cv_use_pnm='wxUSE_PNM=no'
14665 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14670 eval "$wx_cv_use_pnm"
14672 if test x
"$enablestring" = xdisable
; then
14673 if test $wxUSE_PNM = no
; then
14682 { echo "$as_me:$LINENO: result: $result" >&5
14683 echo "${ECHO_T}$result" >&6; }
14687 defaultval
=$wxUSE_ALL_FEATURES
14688 if test -z "$defaultval"; then
14689 if test x
"$enablestring" = xdisable
; then
14696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14697 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14698 # Check whether --enable-xpm was given.
14699 if test "${enable_xpm+set}" = set; then
14700 enableval
=$enable_xpm;
14701 if test "$enableval" = yes; then
14702 wx_cv_use_xpm
='wxUSE_XPM=yes'
14704 wx_cv_use_xpm
='wxUSE_XPM=no'
14709 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14714 eval "$wx_cv_use_xpm"
14716 if test x"$enablestring" = xdisable; then
14717 if test $wxUSE_XPM = no; then
14726 { echo "$as_me:$LINENO: result: $result" >&5
14727 echo "${ECHO_T}$result" >&6; }
14731 defaultval=$wxUSE_ALL_FEATURES
14732 if test -z "$defaultval"; then
14733 if test x"$enablestring" = xdisable; then
14740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14741 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14742 # Check whether --enable-ico_cur was given.
14743 if test "${enable_ico_cur+set}" = set; then
14744 enableval=$enable_ico_cur;
14745 if test "$enableval" = yes; then
14746 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
14748 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
14753 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14758 eval "$wx_cv_use_ico_cur"
14760 if test x"$enablestring" = xdisable; then
14761 if test $wxUSE_ICO_CUR = no; then
14767 result=$wxUSE_ICO_CUR
14770 { echo "$as_me:$LINENO: result
: $result" >&5
14771 echo "${ECHO_T}$result" >&6; }
14777 defaultval=$wxUSE_ALL_FEATURES
14778 if test -z "$defaultval"; then
14779 if test x"$enablestring" = xdisable; then
14786 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
14787 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
14788 # Check whether --enable-dccache was given.
14789 if test "${enable_dccache+set}" = set; then
14790 enableval=$enable_dccache;
14791 if test "$enableval" = yes; then
14792 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14794 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14799 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14804 eval "$wx_cv_use_dccache"
14806 if test x
"$enablestring" = xdisable
; then
14807 if test $wxUSE_DC_CACHEING = no
; then
14813 result
=$wxUSE_DC_CACHEING
14816 { echo "$as_me:$LINENO: result: $result" >&5
14817 echo "${ECHO_T}$result" >&6; }
14821 defaultval
=$wxUSE_ALL_FEATURES
14822 if test -z "$defaultval"; then
14823 if test x
"$enablestring" = xdisable
; then
14830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14831 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14832 # Check whether --enable-ps-in-msw was given.
14833 if test "${enable_ps_in_msw+set}" = set; then
14834 enableval
=$enable_ps_in_msw;
14835 if test "$enableval" = yes; then
14836 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14838 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14843 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14848 eval "$wx_cv_use_ps_in_msw"
14850 if test x"$enablestring" = xdisable; then
14851 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14857 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14860 { echo "$as_me:$LINENO: result: $result" >&5
14861 echo "${ECHO_T}$result" >&6; }
14865 defaultval=$wxUSE_ALL_FEATURES
14866 if test -z "$defaultval"; then
14867 if test x"$enablestring" = xdisable; then
14874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14875 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14876 # Check whether --enable-ownerdrawn was given.
14877 if test "${enable_ownerdrawn+set}" = set; then
14878 enableval=$enable_ownerdrawn;
14879 if test "$enableval" = yes; then
14880 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
14882 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
14887 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14892 eval "$wx_cv_use_ownerdrawn"
14894 if test x"$enablestring" = xdisable; then
14895 if test $wxUSE_OWNER_DRAWN = no; then
14901 result=$wxUSE_OWNER_DRAWN
14904 { echo "$as_me:$LINENO: result
: $result" >&5
14905 echo "${ECHO_T}$result" >&6; }
14909 defaultval=$wxUSE_ALL_FEATURES
14910 if test -z "$defaultval"; then
14911 if test x"$enablestring" = xdisable; then
14918 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
14919 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
14920 # Check whether --enable-uxtheme was given.
14921 if test "${enable_uxtheme+set}" = set; then
14922 enableval=$enable_uxtheme;
14923 if test "$enableval" = yes; then
14924 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14926 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14931 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14936 eval "$wx_cv_use_uxtheme"
14938 if test x
"$enablestring" = xdisable
; then
14939 if test $wxUSE_UXTHEME = no
; then
14945 result
=$wxUSE_UXTHEME
14948 { echo "$as_me:$LINENO: result: $result" >&5
14949 echo "${ECHO_T}$result" >&6; }
14953 defaultval
=$wxUSE_ALL_FEATURES
14954 if test -z "$defaultval"; then
14955 if test x
"$enablestring" = xdisable
; then
14962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14963 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14964 # Check whether --enable-wxdib was given.
14965 if test "${enable_wxdib+set}" = set; then
14966 enableval
=$enable_wxdib;
14967 if test "$enableval" = yes; then
14968 wx_cv_use_wxdib
='wxUSE_DIB=yes'
14970 wx_cv_use_wxdib
='wxUSE_DIB=no'
14975 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14980 eval "$wx_cv_use_wxdib"
14982 if test x"$enablestring" = xdisable; then
14983 if test $wxUSE_DIB = no; then
14992 { echo "$as_me:$LINENO: result: $result" >&5
14993 echo "${ECHO_T}$result" >&6; }
14997 defaultval=$wxUSE_ALL_FEATURES
14998 if test -z "$defaultval"; then
14999 if test x"$enablestring" = xdisable; then
15006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
15007 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
15008 # Check whether --enable-webviewie was given.
15009 if test "${enable_webviewie+set}" = set; then
15010 enableval=$enable_webviewie;
15011 if test "$enableval" = yes; then
15012 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=yes'
15014 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=no
'
15019 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
15024 eval "$wx_cv_use_webviewie"
15026 if test x"$enablestring" = xdisable; then
15027 if test $wxUSE_WEBVIEW_IE = no; then
15033 result=$wxUSE_WEBVIEW_IE
15036 { echo "$as_me:$LINENO: result
: $result" >&5
15037 echo "${ECHO_T}$result" >&6; }
15040 if test "$wxUSE_MSW" != 1; then
15041 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
15046 defaultval=$wxUSE_ALL_FEATURES
15047 if test -z "$defaultval"; then
15048 if test x"$enablestring" = xdisable; then
15055 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
15056 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
15057 # Check whether --enable-autoidman was given.
15058 if test "${enable_autoidman+set}" = set; then
15059 enableval=$enable_autoidman;
15060 if test "$enableval" = yes; then
15061 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
15063 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
15068 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
15073 eval "$wx_cv_use_autoidman"
15075 if test x
"$enablestring" = xdisable
; then
15076 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
15082 result
=$wxUSE_AUTOID_MANAGEMENT
15085 { echo "$as_me:$LINENO: result: $result" >&5
15086 echo "${ECHO_T}$result" >&6; }
15092 cat >confcache
<<\_ACEOF
15093 # This file is a shell script that caches the results of configure
15094 # tests run on this system so they can be shared between configure
15095 # scripts and configure runs, see configure's option --config-cache.
15096 # It is not useful on other systems. If it contains results you don't
15097 # want to keep, you may remove or edit it.
15099 # config.status only pays attention to the cache file if you give it
15100 # the --recheck option to rerun configure.
15102 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15103 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15104 # following values.
15108 # The following way of writing the cache mishandles newlines in values,
15109 # but we know of no workaround that is simple, portable, and efficient.
15110 # So, we kill variables containing newlines.
15111 # Ultrix sh set writes to stderr and can't be redirected directly,
15112 # and sets the high bit in the cache file unless we assign to the vars.
15114 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15115 eval ac_val
=\$
$ac_var
15119 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15120 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15123 _
| IFS
| as_nl
) ;; #(
15124 *) $as_unset $ac_var ;;
15130 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15131 *${as_nl}ac_space
=\
*)
15132 # `set' does not quote correctly, so add quotes (double-quote
15133 # substitution turns \\\\ into \\, and sed turns \\ into \).
15136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15139 # `set' quotes correctly as required by POSIX, so do not add quotes.
15140 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15149 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15151 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15153 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15154 if test -w "$cache_file"; then
15155 test "x$cache_file" != "x/dev/null" &&
15156 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15157 echo "$as_me: updating cache $cache_file" >&6;}
15158 cat confcache
>$cache_file
15160 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15161 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15168 ac_cpp
='$CPP $CPPFLAGS'
15169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15172 if test -n "$ac_tool_prefix"; then
15173 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15174 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
15175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15177 if test "${ac_cv_prog_CC+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15180 if test -n "$CC"; then
15181 ac_cv_prog_CC
="$CC" # Let the user override the test.
15183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15184 for as_dir
in $PATH
15187 test -z "$as_dir" && as_dir
=.
15188 for ac_exec_ext
in '' $ac_executable_extensions; do
15189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15190 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
15191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15201 if test -n "$CC"; then
15202 { echo "$as_me:$LINENO: result: $CC" >&5
15203 echo "${ECHO_T}$CC" >&6; }
15205 { echo "$as_me:$LINENO: result: no" >&5
15206 echo "${ECHO_T}no" >&6; }
15211 if test -z "$ac_cv_prog_CC"; then
15213 # Extract the first word of "gcc", so it can be a program name with args.
15214 set dummy gcc
; ac_word
=$2
15215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15217 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15218 echo $ECHO_N "(cached) $ECHO_C" >&6
15220 if test -n "$ac_ct_CC"; then
15221 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15224 for as_dir
in $PATH
15227 test -z "$as_dir" && as_dir
=.
15228 for ac_exec_ext
in '' $ac_executable_extensions; do
15229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15230 ac_cv_prog_ac_ct_CC
="gcc"
15231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15240 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15241 if test -n "$ac_ct_CC"; then
15242 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15243 echo "${ECHO_T}$ac_ct_CC" >&6; }
15245 { echo "$as_me:$LINENO: result: no" >&5
15246 echo "${ECHO_T}no" >&6; }
15249 if test "x$ac_ct_CC" = x
; then
15252 case $cross_compiling:$ac_tool_warned in
15254 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15255 whose name does not start with the host triplet. If you think this
15256 configuration is useful to you, please write to autoconf@gnu.org." >&5
15257 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15258 whose name does not start with the host triplet. If you think this
15259 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15260 ac_tool_warned
=yes ;;
15265 CC
="$ac_cv_prog_CC"
15268 if test -z "$CC"; then
15269 if test -n "$ac_tool_prefix"; then
15270 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15271 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
15272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15274 if test "${ac_cv_prog_CC+set}" = set; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 if test -n "$CC"; then
15278 ac_cv_prog_CC
="$CC" # Let the user override the test.
15280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15281 for as_dir
in $PATH
15284 test -z "$as_dir" && as_dir
=.
15285 for ac_exec_ext
in '' $ac_executable_extensions; do
15286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15287 ac_cv_prog_CC
="${ac_tool_prefix}cc"
15288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15298 if test -n "$CC"; then
15299 { echo "$as_me:$LINENO: result: $CC" >&5
15300 echo "${ECHO_T}$CC" >&6; }
15302 { echo "$as_me:$LINENO: result: no" >&5
15303 echo "${ECHO_T}no" >&6; }
15309 if test -z "$CC"; then
15310 # Extract the first word of "cc", so it can be a program name with args.
15311 set dummy cc
; ac_word
=$2
15312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15314 if test "${ac_cv_prog_CC+set}" = set; then
15315 echo $ECHO_N "(cached) $ECHO_C" >&6
15317 if test -n "$CC"; then
15318 ac_cv_prog_CC
="$CC" # Let the user override the test.
15320 ac_prog_rejected
=no
15321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15322 for as_dir
in $PATH
15325 test -z "$as_dir" && as_dir
=.
15326 for ac_exec_ext
in '' $ac_executable_extensions; do
15327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15328 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15329 ac_prog_rejected
=yes
15333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15340 if test $ac_prog_rejected = yes; then
15341 # We found a bogon in the path, so make sure we never use it.
15342 set dummy
$ac_cv_prog_CC
15344 if test $# != 0; then
15345 # We chose a different compiler from the bogus one.
15346 # However, it has the same basename, so the bogon will be chosen
15347 # first if we set CC to just the basename; use the full file name.
15349 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
15355 if test -n "$CC"; then
15356 { echo "$as_me:$LINENO: result: $CC" >&5
15357 echo "${ECHO_T}$CC" >&6; }
15359 { echo "$as_me:$LINENO: result: no" >&5
15360 echo "${ECHO_T}no" >&6; }
15365 if test -z "$CC"; then
15366 if test -n "$ac_tool_prefix"; then
15367 for ac_prog
in cl.exe
15369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15370 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15373 if test "${ac_cv_prog_CC+set}" = set; then
15374 echo $ECHO_N "(cached) $ECHO_C" >&6
15376 if test -n "$CC"; then
15377 ac_cv_prog_CC
="$CC" # Let the user override the test.
15379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15380 for as_dir
in $PATH
15383 test -z "$as_dir" && as_dir
=.
15384 for ac_exec_ext
in '' $ac_executable_extensions; do
15385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15386 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
15387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15397 if test -n "$CC"; then
15398 { echo "$as_me:$LINENO: result: $CC" >&5
15399 echo "${ECHO_T}$CC" >&6; }
15401 { echo "$as_me:$LINENO: result: no" >&5
15402 echo "${ECHO_T}no" >&6; }
15406 test -n "$CC" && break
15409 if test -z "$CC"; then
15411 for ac_prog
in cl.exe
15413 # Extract the first word of "$ac_prog", so it can be a program name with args.
15414 set dummy
$ac_prog; ac_word
=$2
15415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15417 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15418 echo $ECHO_N "(cached) $ECHO_C" >&6
15420 if test -n "$ac_ct_CC"; then
15421 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15424 for as_dir
in $PATH
15427 test -z "$as_dir" && as_dir
=.
15428 for ac_exec_ext
in '' $ac_executable_extensions; do
15429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15430 ac_cv_prog_ac_ct_CC
="$ac_prog"
15431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15440 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15441 if test -n "$ac_ct_CC"; then
15442 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15443 echo "${ECHO_T}$ac_ct_CC" >&6; }
15445 { echo "$as_me:$LINENO: result: no" >&5
15446 echo "${ECHO_T}no" >&6; }
15450 test -n "$ac_ct_CC" && break
15453 if test "x$ac_ct_CC" = x
; then
15456 case $cross_compiling:$ac_tool_warned in
15458 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15459 whose name does not start with the host triplet. If you think this
15460 configuration is useful to you, please write to autoconf@gnu.org." >&5
15461 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15462 whose name does not start with the host triplet. If you think this
15463 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15464 ac_tool_warned
=yes ;;
15473 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15474 See \`config.log' for more details." >&5
15475 echo "$as_me: error: no acceptable C compiler found in \$PATH
15476 See \`config.log' for more details." >&2;}
15477 { (exit 1); exit 1; }; }
15479 # Provide some information about the compiler.
15480 echo "$as_me:$LINENO: checking for C compiler version" >&5
15481 ac_compiler
=`set X $ac_compile; echo $2`
15482 { (ac_try
="$ac_compiler --version >&5"
15483 case "(($ac_try" in
15484 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15485 *) ac_try_echo=$ac_try;;
15487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15488 (eval "$ac_compiler --version >&5") 2>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }
15492 { (ac_try="$ac_compiler -v >&5"
15493 case "(($ac_try" in
15494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15495 *) ac_try_echo
=$ac_try;;
15497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15498 (eval "$ac_compiler -v >&5") 2>&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); }
15502 { (ac_try
="$ac_compiler -V >&5"
15503 case "(($ac_try" in
15504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15505 *) ac_try_echo=$ac_try;;
15507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15508 (eval "$ac_compiler -V >&5") 2>&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }
15513 cat >conftest.$ac_ext <<_ACEOF
15516 cat confdefs.h >>conftest.$ac_ext
15517 cat >>conftest.$ac_ext <<_ACEOF
15518 /* end confdefs.h. */
15528 ac_clean_files_save=$ac_clean_files
15529 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15530 # Try to create an executable without -o first, disregard a.out.
15531 # It will help us diagnose broken compilers, and finding out an intuition
15533 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15534 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15535 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15537 # List of possible output files, starting from the most likely.
15538 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
15539 # only as a last resort. b.out is created by i960 compilers.
15540 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
15542 # The IRIX 6 linker writes into existing files which may not be
15543 # executable, retaining their permissions. Remove them first so a
15544 # subsequent execution test works.
15546 for ac_file in $ac_files
15549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15550 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15555 if { (ac_try="$ac_link_default"
15556 case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15558 *) ac_try_echo=$ac_try;;
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_link_default") 2>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; then
15565 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15566 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15567 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15568 # so that the user can short-circuit this test for compilers unknown to
15570 for ac_file
in $ac_files ''
15572 test -f "$ac_file" || continue
15574 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
15577 # We found the default executable, but exeext='' is most
15581 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
15583 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15585 # We set ac_cv_exeext here because the later test for it is not
15586 # safe: cross compilers may not add the suffix if given an `-o'
15587 # argument, so we may need to know it at that point already.
15588 # Even if this section looks crufty: it has the advantage of
15589 # actually working.
15595 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
15601 { echo "$as_me:$LINENO: result: $ac_file" >&5
15602 echo "${ECHO_T}$ac_file" >&6; }
15603 if test -z "$ac_file"; then
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.
$ac_ext >&5
15607 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15608 See \`config.log' for more details." >&5
15609 echo "$as_me: error: C compiler cannot create executables
15610 See \`config.log' for more details." >&2;}
15611 { (exit 77); exit 77; }; }
15614 ac_exeext
=$ac_cv_exeext
15616 # Check that the compiler produces executables we can run. If not, either
15617 # the compiler is broken, or we cross compile.
15618 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15619 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15620 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15621 # If not cross compiling, check that we can run a simple program.
15622 if test "$cross_compiling" != yes; then
15623 if { ac_try
='./$ac_file'
15624 { (case "(($ac_try" in
15625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15626 *) ac_try_echo=$ac_try;;
15628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15629 (eval "$ac_try") 2>&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); }; }; then
15635 if test "$cross_compiling" = maybe; then
15636 cross_compiling=yes
15638 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15639 If you meant to cross compile, use \`--host'.
15640 See \`config.log' for more details.
" >&5
15641 echo "$as_me: error
: cannot run C compiled programs.
15642 If you meant to cross compile
, use \
`--host'.
15643 See \`config.log
' for more details." >&2;}
15644 { (exit 1); exit 1; }; }
15648 { echo "$as_me:$LINENO: result: yes" >&5
15649 echo "${ECHO_T}yes" >&6; }
15651 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15652 ac_clean_files=$ac_clean_files_save
15653 # Check that the compiler produces executables we can run. If not, either
15654 # the compiler is broken, or we cross compile.
15655 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15656 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15657 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15658 echo "${ECHO_T}$cross_compiling" >&6; }
15660 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15661 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15662 if { (ac_try="$ac_link"
15663 case "(($ac_try" in
15664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15665 *) ac_try_echo=$ac_try;;
15667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15668 (eval "$ac_link") 2>&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); }; then
15672 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
15673 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
15674 # work properly (i.e., refer to `conftest.exe
'), while it won't with
15676 for ac_file
in conftest.exe conftest conftest.
*; do
15677 test -f "$ac_file" || continue
15679 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15680 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15686 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15687 See \`config.log' for more details." >&5
15688 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15689 See \`config.log' for more details." >&2;}
15690 { (exit 1); exit 1; }; }
15693 rm -f conftest
$ac_cv_exeext
15694 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15695 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15697 rm -f conftest.
$ac_ext
15698 EXEEXT
=$ac_cv_exeext
15700 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15701 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15702 if test "${ac_cv_objext+set}" = set; then
15703 echo $ECHO_N "(cached) $ECHO_C" >&6
15705 cat >conftest.
$ac_ext <<_ACEOF
15708 cat confdefs.h
>>conftest.
$ac_ext
15709 cat >>conftest.
$ac_ext <<_ACEOF
15710 /* end confdefs.h. */
15720 rm -f conftest.o conftest.obj
15721 if { (ac_try
="$ac_compile"
15722 case "(($ac_try" in
15723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15724 *) ac_try_echo=$ac_try;;
15726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15727 (eval "$ac_compile") 2>&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; then
15731 for ac_file in conftest.o conftest.obj conftest.*; do
15732 test -f "$ac_file" || continue;
15734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15735 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.$ac_ext >&5
15743 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15744 See \`config.log
' for more details." >&5
15745 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15746 See \`config.log' for more details.
" >&2;}
15747 { (exit 1); exit 1; }; }
15750 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15752 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15753 echo "${ECHO_T}$ac_cv_objext" >&6; }
15754 OBJEXT=$ac_cv_objext
15756 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15757 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15758 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15759 echo $ECHO_N "(cached
) $ECHO_C" >&6
15761 cat >conftest.$ac_ext <<_ACEOF
15764 cat confdefs.h >>conftest.$ac_ext
15765 cat >>conftest.$ac_ext <<_ACEOF
15766 /* end confdefs.h. */
15779 rm -f conftest.$ac_objext
15780 if { (ac_try="$ac_compile"
15781 case "(($ac_try" in
15782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15783 *) ac_try_echo=$ac_try;;
15785 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15786 (eval "$ac_compile") 2>conftest.er1
15788 grep -v '^ *+' conftest.er1 >conftest.err
15790 cat conftest.err >&5
15791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15792 (exit $ac_status); } && {
15793 test -z "$ac_c_werror_flag" ||
15794 test ! -s conftest.err
15795 } && test -s conftest.$ac_objext; then
15796 ac_compiler_gnu=yes
15798 echo "$as_me: failed program was
:" >&5
15799 sed 's/^/| /' conftest.$ac_ext >&5
15804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15805 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15808 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15809 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15810 GCC=`test $ac_compiler_gnu = yes && echo yes`
15811 ac_test_CFLAGS=${CFLAGS+set}
15812 ac_save_CFLAGS=$CFLAGS
15813 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15814 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15815 if test "${ac_cv_prog_cc_g+set}" = set; then
15816 echo $ECHO_N "(cached
) $ECHO_C" >&6
15818 ac_save_c_werror_flag=$ac_c_werror_flag
15819 ac_c_werror_flag=yes
15822 cat >conftest.$ac_ext <<_ACEOF
15825 cat confdefs.h >>conftest.$ac_ext
15826 cat >>conftest.$ac_ext <<_ACEOF
15827 /* end confdefs.h. */
15837 rm -f conftest.$ac_objext
15838 if { (ac_try="$ac_compile"
15839 case "(($ac_try" in
15840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15841 *) ac_try_echo=$ac_try;;
15843 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15844 (eval "$ac_compile") 2>conftest.er1
15846 grep -v '^ *+' conftest.er1 >conftest.err
15848 cat conftest.err >&5
15849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15850 (exit $ac_status); } && {
15851 test -z "$ac_c_werror_flag" ||
15852 test ! -s conftest.err
15853 } && test -s conftest.$ac_objext; then
15854 ac_cv_prog_cc_g=yes
15856 echo "$as_me: failed program was
:" >&5
15857 sed 's/^/| /' conftest.$ac_ext >&5
15860 cat >conftest.$ac_ext <<_ACEOF
15863 cat confdefs.h >>conftest.$ac_ext
15864 cat >>conftest.$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15875 rm -f conftest.$ac_objext
15876 if { (ac_try="$ac_compile"
15877 case "(($ac_try" in
15878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15879 *) ac_try_echo=$ac_try;;
15881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15882 (eval "$ac_compile") 2>conftest.er1
15884 grep -v '^ *+' conftest.er1 >conftest.err
15886 cat conftest.err >&5
15887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15888 (exit $ac_status); } && {
15889 test -z "$ac_c_werror_flag" ||
15890 test ! -s conftest.err
15891 } && test -s conftest.$ac_objext; then
15894 echo "$as_me: failed program was
:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15897 ac_c_werror_flag=$ac_save_c_werror_flag
15899 cat >conftest.$ac_ext <<_ACEOF
15902 cat confdefs.h >>conftest.$ac_ext
15903 cat >>conftest.$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15914 rm -f conftest.$ac_objext
15915 if { (ac_try="$ac_compile"
15916 case "(($ac_try" in
15917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15918 *) ac_try_echo=$ac_try;;
15920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15921 (eval "$ac_compile") 2>conftest.er1
15923 grep -v '^ *+' conftest.er1 >conftest.err
15925 cat conftest.err >&5
15926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15927 (exit $ac_status); } && {
15928 test -z "$ac_c_werror_flag" ||
15929 test ! -s conftest.err
15930 } && test -s conftest.$ac_objext; then
15931 ac_cv_prog_cc_g=yes
15933 echo "$as_me: failed program was
:" >&5
15934 sed 's/^/| /' conftest.$ac_ext >&5
15939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15946 ac_c_werror_flag=$ac_save_c_werror_flag
15948 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15949 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15950 if test "$ac_test_CFLAGS" = set; then
15951 CFLAGS=$ac_save_CFLAGS
15952 elif test $ac_cv_prog_cc_g = yes; then
15953 if test "$GCC" = yes; then
15959 if test "$GCC" = yes; then
15965 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15966 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15967 if test "${ac_cv_prog_cc_c89+set}" = set; then
15968 echo $ECHO_N "(cached
) $ECHO_C" >&6
15970 ac_cv_prog_cc_c89=no
15972 cat >conftest.$ac_ext <<_ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978 #include <stdarg.h>
15980 #include <sys/types.h>
15981 #include <sys/stat.h>
15982 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15983 struct buf { int x; };
15984 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15985 static char *e (p, i)
15991 static char *f (char * (*g) (char **, int), char **p, ...)
15996 s = g (p, va_arg (v,int));
16001 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16002 function prototypes and stuff, but not '\xHH' hex character constants.
16003 These don't provoke an error unfortunately, instead are silently treated
16004 as 'x'. The following induces an error, until -std is added to get
16005 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16006 array size at least. It's necessary to write '\x00'==0 to get something
16007 that's true only with -std. */
16008 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16010 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16011 inside strings and character constants. */
16013 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16015 int test (int i, double x);
16016 struct s1 {int (*f) (int a);};
16017 struct s2 {int (*f) (double a);};
16018 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16024 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16029 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16030 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16032 CC="$ac_save_CC $ac_arg"
16033 rm -f conftest.$ac_objext
16034 if { (ac_try="$ac_compile"
16035 case "(($ac_try" in
16036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16037 *) ac_try_echo=$ac_try;;
16039 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16040 (eval "$ac_compile") 2>conftest.er1
16042 grep -v '^ *+' conftest.er1 >conftest.err
16044 cat conftest.err >&5
16045 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16046 (exit $ac_status); } && {
16047 test -z "$ac_c_werror_flag" ||
16048 test ! -s conftest.err
16049 } && test -s conftest.$ac_objext; then
16050 ac_cv_prog_cc_c89=$ac_arg
16052 echo "$as_me: failed program was
:" >&5
16053 sed 's/^/| /' conftest.$ac_ext >&5
16058 rm -f core conftest.err conftest.$ac_objext
16059 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
16061 rm -f conftest.$ac_ext
16066 case "x
$ac_cv_prog_cc_c89" in
16068 { echo "$as_me:$LINENO: result
: none needed
" >&5
16069 echo "${ECHO_T}none needed
" >&6; } ;;
16071 { echo "$as_me:$LINENO: result
: unsupported
" >&5
16072 echo "${ECHO_T}unsupported
" >&6; } ;;
16074 CC="$CC $ac_cv_prog_cc_c89"
16075 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
16076 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16081 ac_cpp='$CPP $CPPFLAGS'
16082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16094 ac_cpp='$CPP $CPPFLAGS'
16095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16099 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
16100 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
16101 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16102 echo $ECHO_N "(cached
) $ECHO_C" >&6
16104 cat >conftest.$ac_ext <<_ACEOF
16107 cat confdefs.h >>conftest.$ac_ext
16108 cat >>conftest.$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16115 #ifndef __INTEL_COMPILER
16123 rm -f conftest.$ac_objext
16124 if { (ac_try="$ac_compile"
16125 case "(($ac_try" in
16126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16127 *) ac_try_echo=$ac_try;;
16129 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16130 (eval "$ac_compile") 2>conftest.er1
16132 grep -v '^ *+' conftest.er1 >conftest.err
16134 cat conftest.err >&5
16135 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16136 (exit $ac_status); } && {
16137 test -z "$ac_c_werror_flag" ||
16138 test ! -s conftest.err
16139 } && test -s conftest.$ac_objext; then
16140 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16142 echo "$as_me: failed program was
:" >&5
16143 sed 's/^/| /' conftest.$ac_ext >&5
16145 bakefile_cv_c_compiler___INTEL_COMPILER=no
16149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16153 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16154 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16155 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
16161 ac_cpp='$CPP $CPPFLAGS'
16162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16169 if test "$INTELCC" = "yes"; then
16173 ac_cpp='$CPP $CPPFLAGS'
16174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16178 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
16179 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
16180 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16181 echo $ECHO_N "(cached
) $ECHO_C" >&6
16183 cat >conftest.$ac_ext <<_ACEOF
16186 cat confdefs.h >>conftest.$ac_ext
16187 cat >>conftest.$ac_ext <<_ACEOF
16188 /* end confdefs.h. */
16194 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16202 rm -f conftest.$ac_objext
16203 if { (ac_try="$ac_compile"
16204 case "(($ac_try" in
16205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16206 *) ac_try_echo=$ac_try;;
16208 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16209 (eval "$ac_compile") 2>conftest.er1
16211 grep -v '^ *+' conftest.er1 >conftest.err
16213 cat conftest.err >&5
16214 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16215 (exit $ac_status); } && {
16216 test -z "$ac_c_werror_flag" ||
16217 test ! -s conftest.err
16218 } && test -s conftest.$ac_objext; then
16219 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16221 echo "$as_me: failed program was
:" >&5
16222 sed 's/^/| /' conftest.$ac_ext >&5
16224 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16232 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16233 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16234 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
16240 ac_cpp='$CPP $CPPFLAGS'
16241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16250 ac_cpp='$CPP $CPPFLAGS'
16251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16255 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
16256 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
16257 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16258 echo $ECHO_N "(cached
) $ECHO_C" >&6
16260 cat >conftest.$ac_ext <<_ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16271 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16279 rm -f conftest.$ac_objext
16280 if { (ac_try="$ac_compile"
16281 case "(($ac_try" in
16282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16283 *) ac_try_echo=$ac_try;;
16285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16286 (eval "$ac_compile") 2>conftest.er1
16288 grep -v '^ *+' conftest.er1 >conftest.err
16290 cat conftest.err >&5
16291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16292 (exit $ac_status); } && {
16293 test -z "$ac_c_werror_flag" ||
16294 test ! -s conftest.err
16295 } && test -s conftest.$ac_objext; then
16296 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16298 echo "$as_me: failed program was
:" >&5
16299 sed 's/^/| /' conftest.$ac_ext >&5
16301 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16309 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16310 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16311 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
16317 ac_cpp='$CPP $CPPFLAGS'
16318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16326 if test "x
$GCC" != "xyes
"; then
16327 if test "xCC
" = "xC
"; then
16328 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
16329 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
16330 if test "${bakefile_cv_c_exto+set}" = set; then
16331 echo $ECHO_N "(cached
) $ECHO_C" >&6
16333 cat >conftest.$ac_ext <<_ACEOF
16336 cat confdefs.h >>conftest.$ac_ext
16337 cat >>conftest.$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16348 rm -f conftest.$ac_objext conftest.$ac_ext.o
16349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16350 (eval $ac_compile) 2>&5
16352 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16353 (exit $ac_status); }; then
16354 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16356 conftest.$ac_ext.o)
16357 bakefile_cv_c_exto="-ext o
"
16364 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
16365 See \
`config.log' for more details." >&5
16366 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16367 See \`config.log
' for more details." >&2;}
16368 { (exit 1); exit 1; }; }
16372 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16375 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16376 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16377 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16378 if test "c" = "c"; then
16379 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16381 if test "c" = "cxx"; then
16382 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16386 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16387 unset ac_cv_prog_cc_g
16388 ac_test_CFLAGS=${CFLAGS+set}
16389 ac_save_CFLAGS=$CFLAGS
16390 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16391 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16392 if test "${ac_cv_prog_cc_g+set}" = set; then
16393 echo $ECHO_N "(cached) $ECHO_C" >&6
16395 ac_save_c_werror_flag=$ac_c_werror_flag
16396 ac_c_werror_flag=yes
16399 cat >conftest.$ac_ext <<_ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16414 rm -f conftest.$ac_objext
16415 if { (ac_try="$ac_compile"
16416 case "(($ac_try" in
16417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16418 *) ac_try_echo=$ac_try;;
16420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16421 (eval "$ac_compile") 2>conftest.er1
16423 grep -v '^
*+' conftest.er1 >conftest.err
16425 cat conftest.err >&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); } && {
16428 test -z "$ac_c_werror_flag" ||
16429 test ! -s conftest.err
16430 } && test -s conftest.$ac_objext; then
16431 ac_cv_prog_cc_g=yes
16433 echo "$as_me: failed program was:" >&5
16434 sed 's
/^
/| /' conftest.$ac_ext >&5
16437 cat >conftest.$ac_ext <<_ACEOF
16440 cat confdefs.h >>conftest.$ac_ext
16441 cat >>conftest.$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16452 rm -f conftest.$ac_objext
16453 if { (ac_try="$ac_compile"
16454 case "(($ac_try" in
16455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16456 *) ac_try_echo=$ac_try;;
16458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16459 (eval "$ac_compile") 2>conftest.er1
16461 grep -v '^
*+' conftest.er1 >conftest.err
16463 cat conftest.err >&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); } && {
16466 test -z "$ac_c_werror_flag" ||
16467 test ! -s conftest.err
16468 } && test -s conftest.$ac_objext; then
16471 echo "$as_me: failed program was:" >&5
16472 sed 's
/^
/| /' conftest.$ac_ext >&5
16474 ac_c_werror_flag=$ac_save_c_werror_flag
16476 cat >conftest.$ac_ext <<_ACEOF
16479 cat confdefs.h >>conftest.$ac_ext
16480 cat >>conftest.$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16491 rm -f conftest.$ac_objext
16492 if { (ac_try="$ac_compile"
16493 case "(($ac_try" in
16494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16495 *) ac_try_echo=$ac_try;;
16497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16498 (eval "$ac_compile") 2>conftest.er1
16500 grep -v '^
*+' conftest.er1 >conftest.err
16502 cat conftest.err >&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); } && {
16505 test -z "$ac_c_werror_flag" ||
16506 test ! -s conftest.err
16507 } && test -s conftest.$ac_objext; then
16508 ac_cv_prog_cc_g=yes
16510 echo "$as_me: failed program was:" >&5
16511 sed 's
/^
/| /' conftest.$ac_ext >&5
16516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16523 ac_c_werror_flag=$ac_save_c_werror_flag
16525 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16526 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16527 if test "$ac_test_CFLAGS" = set; then
16528 CFLAGS=$ac_save_CFLAGS
16529 elif test $ac_cv_prog_cc_g = yes; then
16530 if test "$GCC" = yes; then
16536 if test "$GCC" = yes; then
16550 ac_cpp='$CPP $CPPFLAGS'
16551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16552 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16555 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16556 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16557 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16558 echo $ECHO_N "(cached) $ECHO_C" >&6
16560 cat >conftest.$ac_ext <<_ACEOF
16563 cat confdefs.h >>conftest.$ac_ext
16564 cat >>conftest.$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16579 rm -f conftest.$ac_objext
16580 if { (ac_try="$ac_compile"
16581 case "(($ac_try" in
16582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16583 *) ac_try_echo=$ac_try;;
16585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16586 (eval "$ac_compile") 2>conftest.er1
16588 grep -v '^
*+' conftest.er1 >conftest.err
16590 cat conftest.err >&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); } && {
16593 test -z "$ac_c_werror_flag" ||
16594 test ! -s conftest.err
16595 } && test -s conftest.$ac_objext; then
16596 bakefile_cv_c_compiler___xlC__=yes
16598 echo "$as_me: failed program was:" >&5
16599 sed 's
/^
/| /' conftest.$ac_ext >&5
16601 bakefile_cv_c_compiler___xlC__=no
16605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16609 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16610 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16611 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16617 ac_cpp='$CPP $CPPFLAGS'
16618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16619 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16630 ac_cpp='$CPP $CPPFLAGS'
16631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16632 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16635 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16636 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16637 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16640 cat >conftest.$ac_ext <<_ACEOF
16643 cat confdefs.h >>conftest.$ac_ext
16644 cat >>conftest.$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16659 rm -f conftest.$ac_objext
16660 if { (ac_try="$ac_compile"
16661 case "(($ac_try" in
16662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16663 *) ac_try_echo=$ac_try;;
16665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16666 (eval "$ac_compile") 2>conftest.er1
16668 grep -v '^
*+' conftest.er1 >conftest.err
16670 cat conftest.err >&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); } && {
16673 test -z "$ac_c_werror_flag" ||
16674 test ! -s conftest.err
16675 } && test -s conftest.$ac_objext; then
16676 bakefile_cv_c_compiler___MWERKS__=yes
16678 echo "$as_me: failed program was:" >&5
16679 sed 's
/^
/| /' conftest.$ac_ext >&5
16681 bakefile_cv_c_compiler___MWERKS__=no
16685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16689 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16690 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16691 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16697 ac_cpp='$CPP $CPPFLAGS'
16698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16699 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16704 if test "$MWCC" != "yes"; then
16708 ac_cpp='$CPP $CPPFLAGS'
16709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16710 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16713 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16714 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16715 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16716 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 cat >conftest.$ac_ext <<_ACEOF
16721 cat confdefs.h >>conftest.$ac_ext
16722 cat >>conftest.$ac_ext <<_ACEOF
16723 /* end confdefs.h. */
16737 rm -f conftest.$ac_objext
16738 if { (ac_try="$ac_compile"
16739 case "(($ac_try" in
16740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16741 *) ac_try_echo=$ac_try;;
16743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16744 (eval "$ac_compile") 2>conftest.er1
16746 grep -v '^
*+' conftest.er1 >conftest.err
16748 cat conftest.err >&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } && {
16751 test -z "$ac_c_werror_flag" ||
16752 test ! -s conftest.err
16753 } && test -s conftest.$ac_objext; then
16754 bakefile_cv_c_compiler___xlC__=yes
16756 echo "$as_me: failed program was:" >&5
16757 sed 's
/^
/| /' conftest.$ac_ext >&5
16759 bakefile_cv_c_compiler___xlC__=no
16763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16767 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16768 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16769 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16775 ac_cpp='$CPP $CPPFLAGS'
16776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16777 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16789 ac_cpp='$CPP $CPPFLAGS'
16790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16791 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16794 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16795 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16796 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16797 echo $ECHO_N "(cached) $ECHO_C" >&6
16799 cat >conftest.$ac_ext <<_ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16810 #ifndef _SGI_COMPILER_VERSION
16818 rm -f conftest.$ac_objext
16819 if { (ac_try="$ac_compile"
16820 case "(($ac_try" in
16821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16822 *) ac_try_echo=$ac_try;;
16824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16825 (eval "$ac_compile") 2>conftest.er1
16827 grep -v '^
*+' conftest.er1 >conftest.err
16829 cat conftest.err >&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } && {
16832 test -z "$ac_c_werror_flag" ||
16833 test ! -s conftest.err
16834 } && test -s conftest.$ac_objext; then
16835 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16837 echo "$as_me: failed program was:" >&5
16838 sed 's
/^
/| /' conftest.$ac_ext >&5
16840 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16848 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16849 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16850 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16856 ac_cpp='$CPP $CPPFLAGS'
16857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16858 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16866 if test "$INTELCC" != "yes"; then
16870 ac_cpp='$CPP $CPPFLAGS'
16871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16872 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16875 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16876 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16877 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 cat >conftest.$ac_ext <<_ACEOF
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16899 rm -f conftest.$ac_objext
16900 if { (ac_try="$ac_compile"
16901 case "(($ac_try" in
16902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16903 *) ac_try_echo=$ac_try;;
16905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16906 (eval "$ac_compile") 2>conftest.er1
16908 grep -v '^
*+' conftest.er1 >conftest.err
16910 cat conftest.err >&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } && {
16913 test -z "$ac_c_werror_flag" ||
16914 test ! -s conftest.err
16915 } && test -s conftest.$ac_objext; then
16916 bakefile_cv_c_compiler___SUNPRO_C=yes
16918 echo "$as_me: failed program was:" >&5
16919 sed 's
/^
/| /' conftest.$ac_ext >&5
16921 bakefile_cv_c_compiler___SUNPRO_C=no
16925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16929 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16930 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16931 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16937 ac_cpp='$CPP $CPPFLAGS'
16938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16939 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16951 ac_cpp='$CPP $CPPFLAGS'
16952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16953 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16956 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16957 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16958 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16961 cat >conftest.$ac_ext <<_ACEOF
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16980 rm -f conftest.$ac_objext
16981 if { (ac_try="$ac_compile"
16982 case "(($ac_try" in
16983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16984 *) ac_try_echo=$ac_try;;
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_compile") 2>conftest.er1
16989 grep -v '^
*+' conftest.er1 >conftest.err
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } && {
16994 test -z "$ac_c_werror_flag" ||
16995 test ! -s conftest.err
16996 } && test -s conftest.$ac_objext; then
16997 bakefile_cv_c_compiler___HP_cc=yes
16999 echo "$as_me: failed program was:" >&5
17000 sed 's
/^
/| /' conftest.$ac_ext >&5
17002 bakefile_cv_c_compiler___HP_cc=no
17006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17010 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17011 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17012 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17018 ac_cpp='$CPP $CPPFLAGS'
17019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17020 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17031 ac_cpp='$CPP $CPPFLAGS'
17032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17033 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17036 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17037 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17038 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 cat >conftest.$ac_ext <<_ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17060 rm -f conftest.$ac_objext
17061 if { (ac_try="$ac_compile"
17062 case "(($ac_try" in
17063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17064 *) ac_try_echo=$ac_try;;
17066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17067 (eval "$ac_compile") 2>conftest.er1
17069 grep -v '^
*+' conftest.er1 >conftest.err
17071 cat conftest.err >&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } && {
17074 test -z "$ac_c_werror_flag" ||
17075 test ! -s conftest.err
17076 } && test -s conftest.$ac_objext; then
17077 bakefile_cv_c_compiler___DECC=yes
17079 echo "$as_me: failed program was:" >&5
17080 sed 's
/^
/| /' conftest.$ac_ext >&5
17082 bakefile_cv_c_compiler___DECC=no
17086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17090 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17091 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17092 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17098 ac_cpp='$CPP $CPPFLAGS'
17099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17100 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17111 ac_cpp='$CPP $CPPFLAGS'
17112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17113 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17116 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17117 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17118 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 cat >conftest.$ac_ext <<_ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17140 rm -f conftest.$ac_objext
17141 if { (ac_try="$ac_compile"
17142 case "(($ac_try" in
17143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17144 *) ac_try_echo=$ac_try;;
17146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17147 (eval "$ac_compile") 2>conftest.er1
17149 grep -v '^
*+' conftest.er1 >conftest.err
17151 cat conftest.err >&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } && {
17154 test -z "$ac_c_werror_flag" ||
17155 test ! -s conftest.err
17156 } && test -s conftest.$ac_objext; then
17157 bakefile_cv_c_compiler___SUNPRO_C=yes
17159 echo "$as_me: failed program was:" >&5
17160 sed 's
/^
/| /' conftest.$ac_ext >&5
17162 bakefile_cv_c_compiler___SUNPRO_C=no
17166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17170 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17171 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17172 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17178 ac_cpp='$CPP $CPPFLAGS'
17179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17180 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17192 ac_cpp='$CPP $CPPFLAGS'
17193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17194 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17196 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17197 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17198 # On Suns, sometimes $CPP names a directory.
17199 if test -n "$CPP" && test -d "$CPP"; then
17202 if test -z "$CPP"; then
17203 if test "${ac_cv_prog_CPP+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 # Double quotes because CPP needs to be expanded
17207 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17209 ac_preproc_ok=false
17210 for ac_c_preproc_warn_flag in '' yes
17212 # Use a header file that comes with gcc, so configuring glibc
17213 # with a fresh cross-compiler works.
17214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17215 # <limits.h> exists even on freestanding compilers.
17216 # On the NeXT, cc -E runs the code through the compiler's parser
,
17217 # not just through cpp. "Syntax error" is here to catch this case.
17218 cat >conftest.
$ac_ext <<_ACEOF
17221 cat confdefs.h
>>conftest.
$ac_ext
17222 cat >>conftest.
$ac_ext <<_ACEOF
17223 /* end confdefs.h. */
17225 # include <limits.h>
17227 # include <assert.h>
17231 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17232 case "(($ac_try" in
17233 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17234 *) ac_try_echo=$ac_try;;
17236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17237 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17239 grep -v '^ *+' conftest.er1 >conftest.err
17241 cat conftest.err >&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } >/dev/null && {
17244 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17245 test ! -s conftest.err
17249 echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.$ac_ext >&5
17252 # Broken: fails on valid input.
17256 rm -f conftest.err conftest.$ac_ext
17258 # OK, works on sane cases. Now check whether nonexistent headers
17259 # can be detected and how.
17260 cat >conftest.$ac_ext <<_ACEOF
17263 cat confdefs.h >>conftest.$ac_ext
17264 cat >>conftest.$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266 #include <ac_nonexistent.h>
17268 if { (ac_try="$ac_cpp conftest.$ac_ext"
17269 case "(($ac_try" in
17270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17271 *) ac_try_echo
=$ac_try;;
17273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17276 grep -v '^ *+' conftest.er1
>conftest.err
17278 cat conftest.err
>&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } >/dev
/null
&& {
17281 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17282 test ! -s conftest.err
17284 # Broken: success on invalid input.
17287 echo "$as_me: failed program was:" >&5
17288 sed 's/^/| /' conftest.
$ac_ext >&5
17290 # Passes both tests.
17295 rm -f conftest.err conftest.
$ac_ext
17298 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17299 rm -f conftest.err conftest.
$ac_ext
17300 if $ac_preproc_ok; then
17305 ac_cv_prog_CPP
=$CPP
17308 CPP
=$ac_cv_prog_CPP
17310 ac_cv_prog_CPP
=$CPP
17312 { echo "$as_me:$LINENO: result: $CPP" >&5
17313 echo "${ECHO_T}$CPP" >&6; }
17314 ac_preproc_ok
=false
17315 for ac_c_preproc_warn_flag
in '' yes
17317 # Use a header file that comes with gcc, so configuring glibc
17318 # with a fresh cross-compiler works.
17319 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17320 # <limits.h> exists even on freestanding compilers.
17321 # On the NeXT, cc -E runs the code through the compiler's parser,
17322 # not just through cpp. "Syntax error" is here to catch this case.
17323 cat >conftest.
$ac_ext <<_ACEOF
17326 cat confdefs.h
>>conftest.
$ac_ext
17327 cat >>conftest.
$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17330 # include <limits.h>
17332 # include <assert.h>
17336 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17337 case "(($ac_try" in
17338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17339 *) ac_try_echo=$ac_try;;
17341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17344 grep -v '^ *+' conftest.er1 >conftest.err
17346 cat conftest.err >&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } >/dev/null && {
17349 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17350 test ! -s conftest.err
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17357 # Broken: fails on valid input.
17361 rm -f conftest.err conftest.$ac_ext
17363 # OK, works on sane cases. Now check whether nonexistent headers
17364 # can be detected and how.
17365 cat >conftest.$ac_ext <<_ACEOF
17368 cat confdefs.h >>conftest.$ac_ext
17369 cat >>conftest.$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17371 #include <ac_nonexistent.h>
17373 if { (ac_try="$ac_cpp conftest.$ac_ext"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17376 *) ac_try_echo
=$ac_try;;
17378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17381 grep -v '^ *+' conftest.er1
>conftest.err
17383 cat conftest.err
>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } >/dev
/null
&& {
17386 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17387 test ! -s conftest.err
17389 # Broken: success on invalid input.
17392 echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.
$ac_ext >&5
17395 # Passes both tests.
17400 rm -f conftest.err conftest.
$ac_ext
17403 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17404 rm -f conftest.err conftest.
$ac_ext
17405 if $ac_preproc_ok; then
17408 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17409 See \`config.log' for more details." >&5
17410 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17411 See \`config.log' for more details." >&2;}
17412 { (exit 1); exit 1; }; }
17416 ac_cpp
='$CPP $CPPFLAGS'
17417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17422 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17423 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17424 if test "${ac_cv_path_GREP+set}" = set; then
17425 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 # Extract the first word of "grep ggrep" to use in msg output
17428 if test -z "$GREP"; then
17429 set dummy
grep ggrep
; ac_prog_name
=$2
17430 if test "${ac_cv_path_GREP+set}" = set; then
17431 echo $ECHO_N "(cached) $ECHO_C" >&6
17433 ac_path_GREP_found
=false
17434 # Loop through the user's path and test for each of PROGNAME-LIST
17435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17436 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17439 test -z "$as_dir" && as_dir
=.
17440 for ac_prog
in grep ggrep
; do
17441 for ac_exec_ext
in '' $ac_executable_extensions; do
17442 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17443 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17444 # Check for GNU ac_path_GREP and select it if it is found.
17445 # Check for GNU $ac_path_GREP
17446 case `"$ac_path_GREP" --version 2>&1` in
17448 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17451 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17454 cat "conftest.in" "conftest.in" >"conftest.tmp"
17455 mv "conftest.tmp" "conftest.in"
17456 cp "conftest.in" "conftest.nl"
17457 echo 'GREP' >> "conftest.nl"
17458 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17459 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17460 ac_count
=`expr $ac_count + 1`
17461 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17462 # Best one so far, save it but keep looking for a better one
17463 ac_cv_path_GREP
="$ac_path_GREP"
17464 ac_path_GREP_max
=$ac_count
17466 # 10*(2^10) chars as input seems more than enough
17467 test $ac_count -gt 10 && break
17469 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17473 $ac_path_GREP_found && break 3
17483 GREP
="$ac_cv_path_GREP"
17484 if test -z "$GREP"; then
17485 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17486 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17487 { (exit 1); exit 1; }; }
17491 ac_cv_path_GREP
=$GREP
17496 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17497 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17498 GREP
="$ac_cv_path_GREP"
17501 { echo "$as_me:$LINENO: checking for egrep" >&5
17502 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17503 if test "${ac_cv_path_EGREP+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17506 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17507 then ac_cv_path_EGREP
="$GREP -E"
17509 # Extract the first word of "egrep" to use in msg output
17510 if test -z "$EGREP"; then
17511 set dummy
egrep; ac_prog_name
=$2
17512 if test "${ac_cv_path_EGREP+set}" = set; then
17513 echo $ECHO_N "(cached) $ECHO_C" >&6
17515 ac_path_EGREP_found
=false
17516 # Loop through the user's path and test for each of PROGNAME-LIST
17517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17518 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17521 test -z "$as_dir" && as_dir
=.
17522 for ac_prog
in egrep; do
17523 for ac_exec_ext
in '' $ac_executable_extensions; do
17524 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17525 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17526 # Check for GNU ac_path_EGREP and select it if it is found.
17527 # Check for GNU $ac_path_EGREP
17528 case `"$ac_path_EGREP" --version 2>&1` in
17530 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17533 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17536 cat "conftest.in" "conftest.in" >"conftest.tmp"
17537 mv "conftest.tmp" "conftest.in"
17538 cp "conftest.in" "conftest.nl"
17539 echo 'EGREP' >> "conftest.nl"
17540 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17541 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17542 ac_count
=`expr $ac_count + 1`
17543 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17544 # Best one so far, save it but keep looking for a better one
17545 ac_cv_path_EGREP
="$ac_path_EGREP"
17546 ac_path_EGREP_max
=$ac_count
17548 # 10*(2^10) chars as input seems more than enough
17549 test $ac_count -gt 10 && break
17551 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17555 $ac_path_EGREP_found && break 3
17565 EGREP
="$ac_cv_path_EGREP"
17566 if test -z "$EGREP"; then
17567 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17568 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17569 { (exit 1); exit 1; }; }
17573 ac_cv_path_EGREP
=$EGREP
17579 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17580 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17581 EGREP
="$ac_cv_path_EGREP"
17584 if test $ac_cv_c_compiler_gnu = yes; then
17585 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17586 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17587 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17588 echo $ECHO_N "(cached) $ECHO_C" >&6
17590 ac_pattern
="Autoconf.*'x'"
17591 cat >conftest.
$ac_ext <<_ACEOF
17594 cat confdefs.h
>>conftest.
$ac_ext
17595 cat >>conftest.
$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17601 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17602 ac_cv_prog_gcc_traditional
=yes
17604 ac_cv_prog_gcc_traditional
=no
17609 if test $ac_cv_prog_gcc_traditional = no
; then
17610 cat >conftest.
$ac_ext <<_ACEOF
17613 cat confdefs.h
>>conftest.
$ac_ext
17614 cat >>conftest.
$ac_ext <<_ACEOF
17615 /* end confdefs.h. */
17616 #include <termio.h>
17619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17620 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17621 ac_cv_prog_gcc_traditional
=yes
17627 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17628 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17629 if test $ac_cv_prog_gcc_traditional = yes; then
17630 CC
="$CC -traditional"
17635 CXXFLAGS
=${CXXFLAGS:=}
17637 ac_cpp
='$CXXCPP $CPPFLAGS'
17638 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17639 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17640 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17641 if test -z "$CXX"; then
17642 if test -n "$CCC"; then
17645 if test -n "$ac_tool_prefix"; then
17646 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17648 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17649 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17652 if test "${ac_cv_prog_CXX+set}" = set; then
17653 echo $ECHO_N "(cached) $ECHO_C" >&6
17655 if test -n "$CXX"; then
17656 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17659 for as_dir
in $PATH
17662 test -z "$as_dir" && as_dir
=.
17663 for ac_exec_ext
in '' $ac_executable_extensions; do
17664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17665 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17675 CXX
=$ac_cv_prog_CXX
17676 if test -n "$CXX"; then
17677 { echo "$as_me:$LINENO: result: $CXX" >&5
17678 echo "${ECHO_T}$CXX" >&6; }
17680 { echo "$as_me:$LINENO: result: no" >&5
17681 echo "${ECHO_T}no" >&6; }
17685 test -n "$CXX" && break
17688 if test -z "$CXX"; then
17690 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17692 # Extract the first word of "$ac_prog", so it can be a program name with args.
17693 set dummy
$ac_prog; ac_word
=$2
17694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17696 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17699 if test -n "$ac_ct_CXX"; then
17700 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17703 for as_dir
in $PATH
17706 test -z "$as_dir" && as_dir
=.
17707 for ac_exec_ext
in '' $ac_executable_extensions; do
17708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17709 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17719 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17720 if test -n "$ac_ct_CXX"; then
17721 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17722 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17724 { echo "$as_me:$LINENO: result: no" >&5
17725 echo "${ECHO_T}no" >&6; }
17729 test -n "$ac_ct_CXX" && break
17732 if test "x$ac_ct_CXX" = x
; then
17735 case $cross_compiling:$ac_tool_warned in
17737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17738 whose name does not start with the host triplet. If you think this
17739 configuration is useful to you, please write to autoconf@gnu.org." >&5
17740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17741 whose name does not start with the host triplet. If you think this
17742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17743 ac_tool_warned
=yes ;;
17751 # Provide some information about the compiler.
17752 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17753 ac_compiler
=`set X $ac_compile; echo $2`
17754 { (ac_try
="$ac_compiler --version >&5"
17755 case "(($ac_try" in
17756 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17757 *) ac_try_echo=$ac_try;;
17759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17760 (eval "$ac_compiler --version >&5") 2>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }
17764 { (ac_try="$ac_compiler -v >&5"
17765 case "(($ac_try" in
17766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17767 *) ac_try_echo
=$ac_try;;
17769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17770 (eval "$ac_compiler -v >&5") 2>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }
17774 { (ac_try
="$ac_compiler -V >&5"
17775 case "(($ac_try" in
17776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17777 *) ac_try_echo=$ac_try;;
17779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17780 (eval "$ac_compiler -V >&5") 2>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }
17785 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17786 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17787 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17788 echo $ECHO_N "(cached) $ECHO_C" >&6
17790 cat >conftest.$ac_ext <<_ACEOF
17793 cat confdefs.h >>conftest.$ac_ext
17794 cat >>conftest.$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17808 rm -f conftest.$ac_objext
17809 if { (ac_try="$ac_compile"
17810 case "(($ac_try" in
17811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17812 *) ac_try_echo
=$ac_try;;
17814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17815 (eval "$ac_compile") 2>conftest.er1
17817 grep -v '^ *+' conftest.er1
>conftest.err
17819 cat conftest.err
>&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } && {
17822 test -z "$ac_cxx_werror_flag" ||
17823 test ! -s conftest.err
17824 } && test -s conftest.
$ac_objext; then
17825 ac_compiler_gnu
=yes
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.
$ac_ext >&5
17833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17834 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17837 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17838 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17839 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17840 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17841 ac_save_CXXFLAGS
=$CXXFLAGS
17842 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17843 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17844 if test "${ac_cv_prog_cxx_g+set}" = set; then
17845 echo $ECHO_N "(cached) $ECHO_C" >&6
17847 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17848 ac_cxx_werror_flag
=yes
17849 ac_cv_prog_cxx_g
=no
17851 cat >conftest.
$ac_ext <<_ACEOF
17854 cat confdefs.h
>>conftest.
$ac_ext
17855 cat >>conftest.
$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17866 rm -f conftest.
$ac_objext
17867 if { (ac_try
="$ac_compile"
17868 case "(($ac_try" in
17869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17870 *) ac_try_echo=$ac_try;;
17872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17873 (eval "$ac_compile") 2>conftest.er1
17875 grep -v '^ *+' conftest.er1 >conftest.err
17877 cat conftest.err >&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); } && {
17880 test -z "$ac_cxx_werror_flag" ||
17881 test ! -s conftest.err
17882 } && test -s conftest.$ac_objext; then
17883 ac_cv_prog_cxx_g=yes
17885 echo "$as_me: failed program was:" >&5
17886 sed 's/^/| /' conftest.$ac_ext >&5
17889 cat >conftest.$ac_ext <<_ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17904 rm -f conftest.$ac_objext
17905 if { (ac_try="$ac_compile"
17906 case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17908 *) ac_try_echo
=$ac_try;;
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_compile") 2>conftest.er1
17913 grep -v '^ *+' conftest.er1
>conftest.err
17915 cat conftest.err
>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } && {
17918 test -z "$ac_cxx_werror_flag" ||
17919 test ! -s conftest.err
17920 } && test -s conftest.
$ac_objext; then
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.
$ac_ext >&5
17926 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17928 cat >conftest.
$ac_ext <<_ACEOF
17931 cat confdefs.h
>>conftest.
$ac_ext
17932 cat >>conftest.
$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17943 rm -f conftest.
$ac_objext
17944 if { (ac_try
="$ac_compile"
17945 case "(($ac_try" in
17946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17947 *) ac_try_echo=$ac_try;;
17949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17950 (eval "$ac_compile") 2>conftest.er1
17952 grep -v '^ *+' conftest.er1 >conftest.err
17954 cat conftest.err >&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } && {
17957 test -z "$ac_cxx_werror_flag" ||
17958 test ! -s conftest.err
17959 } && test -s conftest.$ac_objext; then
17960 ac_cv_prog_cxx_g=yes
17962 echo "$as_me: failed program was:" >&5
17963 sed 's/^/| /' conftest.$ac_ext >&5
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17977 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17978 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17979 if test "$ac_test_CXXFLAGS" = set; then
17980 CXXFLAGS=$ac_save_CXXFLAGS
17981 elif test $ac_cv_prog_cxx_g = yes; then
17982 if test "$GXX" = yes; then
17988 if test "$GXX" = yes; then
17995 ac_cpp='$CPP $CPPFLAGS'
17996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18008 ac_cpp='$CXXCPP $CPPFLAGS'
18009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18013 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18014 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18015 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18016 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 cat >conftest.$ac_ext <<_ACEOF
18021 cat confdefs.h >>conftest.$ac_ext
18022 cat >>conftest.$ac_ext <<_ACEOF
18023 /* end confdefs.h. */
18029 #ifndef __INTEL_COMPILER
18037 rm -f conftest.$ac_objext
18038 if { (ac_try="$ac_compile"
18039 case "(($ac_try" in
18040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18041 *) ac_try_echo
=$ac_try;;
18043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18044 (eval "$ac_compile") 2>conftest.er1
18046 grep -v '^ *+' conftest.er1
>conftest.err
18048 cat conftest.err
>&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } && {
18051 test -z "$ac_cxx_werror_flag" ||
18052 test ! -s conftest.err
18053 } && test -s conftest.
$ac_objext; then
18054 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.
$ac_ext >&5
18059 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
18063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18067 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18068 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18069 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18075 ac_cpp
='$CPP $CPPFLAGS'
18076 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18077 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18078 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18083 if test "$INTELCXX" = "yes"; then
18087 ac_cpp
='$CXXCPP $CPPFLAGS'
18088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18092 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
18093 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
18094 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18097 cat >conftest.
$ac_ext <<_ACEOF
18100 cat confdefs.h
>>conftest.
$ac_ext
18101 cat >>conftest.
$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18108 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18116 rm -f conftest.
$ac_objext
18117 if { (ac_try
="$ac_compile"
18118 case "(($ac_try" in
18119 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18120 *) ac_try_echo=$ac_try;;
18122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18123 (eval "$ac_compile") 2>conftest.er1
18125 grep -v '^ *+' conftest.er1 >conftest.err
18127 cat conftest.err >&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); } && {
18130 test -z "$ac_cxx_werror_flag" ||
18131 test ! -s conftest.err
18132 } && test -s conftest.$ac_objext; then
18133 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18135 echo "$as_me: failed program was:" >&5
18136 sed 's/^/| /' conftest.$ac_ext >&5
18138 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18146 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18147 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18148 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18154 ac_cpp='$CPP $CPPFLAGS'
18155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18164 ac_cpp='$CXXCPP $CPPFLAGS'
18165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18169 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18170 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18171 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18172 echo $ECHO_N "(cached) $ECHO_C" >&6
18174 cat >conftest.$ac_ext <<_ACEOF
18177 cat confdefs.h >>conftest.$ac_ext
18178 cat >>conftest.$ac_ext <<_ACEOF
18179 /* end confdefs.h. */
18185 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18193 rm -f conftest.$ac_objext
18194 if { (ac_try="$ac_compile"
18195 case "(($ac_try" in
18196 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18197 *) ac_try_echo
=$ac_try;;
18199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18200 (eval "$ac_compile") 2>conftest.er1
18202 grep -v '^ *+' conftest.er1
>conftest.err
18204 cat conftest.err
>&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } && {
18207 test -z "$ac_cxx_werror_flag" ||
18208 test ! -s conftest.err
18209 } && test -s conftest.
$ac_objext; then
18210 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.
$ac_ext >&5
18215 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
18219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18223 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18224 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18225 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18231 ac_cpp
='$CPP $CPPFLAGS'
18232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18240 if test "x$GCXX" != "xyes"; then
18241 if test "xCXX" = "xC"; then
18242 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18243 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18244 if test "${bakefile_cv_c_exto+set}" = set; then
18245 echo $ECHO_N "(cached) $ECHO_C" >&6
18247 cat >conftest.
$ac_ext <<_ACEOF
18250 cat confdefs.h
>>conftest.
$ac_ext
18251 cat >>conftest.
$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18262 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
18263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18264 (eval $ac_compile) 2>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); }; then
18268 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
18270 conftest.
$ac_ext.o
)
18271 bakefile_cv_c_exto
="-ext o"
18278 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18279 See \`config.log' for more details." >&5
18280 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18281 See \`config.log' for more details." >&2;}
18282 { (exit 1); exit 1; }; }
18286 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18289 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18290 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18291 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18292 if test "c" = "c"; then
18293 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18295 if test "c" = "cxx"; then
18296 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18300 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18301 unset ac_cv_prog_cc_g
18302 ac_test_CFLAGS
=${CFLAGS+set}
18303 ac_save_CFLAGS
=$CFLAGS
18304 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18305 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18306 if test "${ac_cv_prog_cc_g+set}" = set; then
18307 echo $ECHO_N "(cached) $ECHO_C" >&6
18309 ac_save_c_werror_flag
=$ac_c_werror_flag
18310 ac_c_werror_flag
=yes
18313 cat >conftest.
$ac_ext <<_ACEOF
18316 cat confdefs.h
>>conftest.
$ac_ext
18317 cat >>conftest.
$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18328 rm -f conftest.
$ac_objext
18329 if { (ac_try
="$ac_compile"
18330 case "(($ac_try" in
18331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18332 *) ac_try_echo=$ac_try;;
18334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18335 (eval "$ac_compile") 2>conftest.er1
18337 grep -v '^ *+' conftest.er1 >conftest.err
18339 cat conftest.err >&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } && {
18342 test -z "$ac_c_werror_flag" ||
18343 test ! -s conftest.err
18344 } && test -s conftest.$ac_objext; then
18345 ac_cv_prog_cc_g=yes
18347 echo "$as_me: failed program was:" >&5
18348 sed 's/^/| /' conftest.$ac_ext >&5
18351 cat >conftest.$ac_ext <<_ACEOF
18354 cat confdefs.h >>conftest.$ac_ext
18355 cat >>conftest.$ac_ext <<_ACEOF
18356 /* end confdefs.h. */
18366 rm -f conftest.$ac_objext
18367 if { (ac_try="$ac_compile"
18368 case "(($ac_try" in
18369 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18370 *) ac_try_echo
=$ac_try;;
18372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18373 (eval "$ac_compile") 2>conftest.er1
18375 grep -v '^ *+' conftest.er1
>conftest.err
18377 cat conftest.err
>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } && {
18380 test -z "$ac_c_werror_flag" ||
18381 test ! -s conftest.err
18382 } && test -s conftest.
$ac_objext; then
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.
$ac_ext >&5
18388 ac_c_werror_flag
=$ac_save_c_werror_flag
18390 cat >conftest.
$ac_ext <<_ACEOF
18393 cat confdefs.h
>>conftest.
$ac_ext
18394 cat >>conftest.
$ac_ext <<_ACEOF
18395 /* end confdefs.h. */
18405 rm -f conftest.
$ac_objext
18406 if { (ac_try
="$ac_compile"
18407 case "(($ac_try" in
18408 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18409 *) ac_try_echo=$ac_try;;
18411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18412 (eval "$ac_compile") 2>conftest.er1
18414 grep -v '^ *+' conftest.er1 >conftest.err
18416 cat conftest.err >&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } && {
18419 test -z "$ac_c_werror_flag" ||
18420 test ! -s conftest.err
18421 } && test -s conftest.$ac_objext; then
18422 ac_cv_prog_cc_g=yes
18424 echo "$as_me: failed program was:" >&5
18425 sed 's/^/| /' conftest.$ac_ext >&5
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18437 ac_c_werror_flag=$ac_save_c_werror_flag
18439 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18440 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18441 if test "$ac_test_CFLAGS" = set; then
18442 CFLAGS=$ac_save_CFLAGS
18443 elif test $ac_cv_prog_cc_g = yes; then
18444 if test "$GCC" = yes; then
18450 if test "$GCC" = yes; then
18464 ac_cpp='$CXXCPP $CPPFLAGS'
18465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18469 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18470 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18471 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18472 echo $ECHO_N "(cached) $ECHO_C" >&6
18474 cat >conftest.$ac_ext <<_ACEOF
18477 cat confdefs.h >>conftest.$ac_ext
18478 cat >>conftest.$ac_ext <<_ACEOF
18479 /* end confdefs.h. */
18493 rm -f conftest.$ac_objext
18494 if { (ac_try="$ac_compile"
18495 case "(($ac_try" in
18496 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18497 *) ac_try_echo
=$ac_try;;
18499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18500 (eval "$ac_compile") 2>conftest.er1
18502 grep -v '^ *+' conftest.er1
>conftest.err
18504 cat conftest.err
>&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); } && {
18507 test -z "$ac_cxx_werror_flag" ||
18508 test ! -s conftest.err
18509 } && test -s conftest.
$ac_objext; then
18510 bakefile_cv_cxx_compiler___xlC__
=yes
18512 echo "$as_me: failed program was:" >&5
18513 sed 's/^/| /' conftest.
$ac_ext >&5
18515 bakefile_cv_cxx_compiler___xlC__
=no
18519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18523 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18524 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18525 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18531 ac_cpp
='$CPP $CPPFLAGS'
18532 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18533 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18534 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18544 ac_cpp
='$CXXCPP $CPPFLAGS'
18545 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18546 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18547 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18549 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18550 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18551 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 cat >conftest.
$ac_ext <<_ACEOF
18557 cat confdefs.h
>>conftest.
$ac_ext
18558 cat >>conftest.
$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18573 rm -f conftest.
$ac_objext
18574 if { (ac_try
="$ac_compile"
18575 case "(($ac_try" in
18576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18577 *) ac_try_echo=$ac_try;;
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_compile") 2>conftest.er1
18582 grep -v '^ *+' conftest.er1 >conftest.err
18584 cat conftest.err >&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } && {
18587 test -z "$ac_cxx_werror_flag" ||
18588 test ! -s conftest.err
18589 } && test -s conftest.$ac_objext; then
18590 bakefile_cv_cxx_compiler___MWERKS__=yes
18592 echo "$as_me: failed program was:" >&5
18593 sed 's/^/| /' conftest.$ac_ext >&5
18595 bakefile_cv_cxx_compiler___MWERKS__=no
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18603 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18604 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18605 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18611 ac_cpp='$CPP $CPPFLAGS'
18612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18618 if test "$MWCXX" != "yes"; then
18622 ac_cpp='$CXXCPP $CPPFLAGS'
18623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18627 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18628 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18629 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18630 echo $ECHO_N "(cached) $ECHO_C" >&6
18632 cat >conftest.$ac_ext <<_ACEOF
18635 cat confdefs.h >>conftest.$ac_ext
18636 cat >>conftest.$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18651 rm -f conftest.$ac_objext
18652 if { (ac_try="$ac_compile"
18653 case "(($ac_try" in
18654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18655 *) ac_try_echo
=$ac_try;;
18657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18658 (eval "$ac_compile") 2>conftest.er1
18660 grep -v '^ *+' conftest.er1
>conftest.err
18662 cat conftest.err
>&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } && {
18665 test -z "$ac_cxx_werror_flag" ||
18666 test ! -s conftest.err
18667 } && test -s conftest.
$ac_objext; then
18668 bakefile_cv_cxx_compiler___xlC__
=yes
18670 echo "$as_me: failed program was:" >&5
18671 sed 's/^/| /' conftest.
$ac_ext >&5
18673 bakefile_cv_cxx_compiler___xlC__
=no
18677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18681 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18682 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18683 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18689 ac_cpp
='$CPP $CPPFLAGS'
18690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18703 ac_cpp
='$CXXCPP $CPPFLAGS'
18704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18708 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18709 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18710 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 cat >conftest.
$ac_ext <<_ACEOF
18716 cat confdefs.h
>>conftest.
$ac_ext
18717 cat >>conftest.
$ac_ext <<_ACEOF
18718 /* end confdefs.h. */
18724 #ifndef _SGI_COMPILER_VERSION
18732 rm -f conftest.
$ac_objext
18733 if { (ac_try
="$ac_compile"
18734 case "(($ac_try" in
18735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18736 *) ac_try_echo=$ac_try;;
18738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18739 (eval "$ac_compile") 2>conftest.er1
18741 grep -v '^ *+' conftest.er1 >conftest.err
18743 cat conftest.err >&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } && {
18746 test -z "$ac_cxx_werror_flag" ||
18747 test ! -s conftest.err
18748 } && test -s conftest.$ac_objext; then
18749 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18754 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18762 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18763 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18764 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18770 ac_cpp='$CPP $CPPFLAGS'
18771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18780 if test "$INTELCXX" != "yes"; then
18784 ac_cpp='$CXXCPP $CPPFLAGS'
18785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18789 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18790 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18791 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18792 echo $ECHO_N "(cached) $ECHO_C" >&6
18794 cat >conftest.$ac_ext <<_ACEOF
18797 cat confdefs.h >>conftest.$ac_ext
18798 cat >>conftest.$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18805 #ifndef __SUNPRO_CC
18813 rm -f conftest.$ac_objext
18814 if { (ac_try="$ac_compile"
18815 case "(($ac_try" in
18816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18817 *) ac_try_echo
=$ac_try;;
18819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18820 (eval "$ac_compile") 2>conftest.er1
18822 grep -v '^ *+' conftest.er1
>conftest.err
18824 cat conftest.err
>&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); } && {
18827 test -z "$ac_cxx_werror_flag" ||
18828 test ! -s conftest.err
18829 } && test -s conftest.
$ac_objext; then
18830 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18832 echo "$as_me: failed program was:" >&5
18833 sed 's/^/| /' conftest.
$ac_ext >&5
18835 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18843 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18844 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18845 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18851 ac_cpp
='$CPP $CPPFLAGS'
18852 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18853 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18854 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18865 ac_cpp
='$CXXCPP $CPPFLAGS'
18866 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18867 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18868 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18870 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18871 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18872 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18873 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 cat >conftest.
$ac_ext <<_ACEOF
18878 cat confdefs.h
>>conftest.
$ac_ext
18879 cat >>conftest.
$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18894 rm -f conftest.
$ac_objext
18895 if { (ac_try
="$ac_compile"
18896 case "(($ac_try" in
18897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18898 *) ac_try_echo=$ac_try;;
18900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18901 (eval "$ac_compile") 2>conftest.er1
18903 grep -v '^ *+' conftest.er1 >conftest.err
18905 cat conftest.err >&5
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); } && {
18908 test -z "$ac_cxx_werror_flag" ||
18909 test ! -s conftest.err
18910 } && test -s conftest.$ac_objext; then
18911 bakefile_cv_cxx_compiler___HP_aCC=yes
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.$ac_ext >&5
18916 bakefile_cv_cxx_compiler___HP_aCC=no
18920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18924 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18925 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18926 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18932 ac_cpp='$CPP $CPPFLAGS'
18933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18945 ac_cpp='$CXXCPP $CPPFLAGS'
18946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18950 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18951 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18952 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18953 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 cat >conftest.$ac_ext <<_ACEOF
18958 cat confdefs.h >>conftest.$ac_ext
18959 cat >>conftest.$ac_ext <<_ACEOF
18960 /* end confdefs.h. */
18974 rm -f conftest.$ac_objext
18975 if { (ac_try="$ac_compile"
18976 case "(($ac_try" in
18977 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18978 *) ac_try_echo
=$ac_try;;
18980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18981 (eval "$ac_compile") 2>conftest.er1
18983 grep -v '^ *+' conftest.er1
>conftest.err
18985 cat conftest.err
>&5
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); } && {
18988 test -z "$ac_cxx_werror_flag" ||
18989 test ! -s conftest.err
18990 } && test -s conftest.
$ac_objext; then
18991 bakefile_cv_cxx_compiler___DECCXX
=yes
18993 echo "$as_me: failed program was:" >&5
18994 sed 's/^/| /' conftest.
$ac_ext >&5
18996 bakefile_cv_cxx_compiler___DECCXX
=no
19000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19004 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19005 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19006 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19012 ac_cpp
='$CPP $CPPFLAGS'
19013 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19014 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19015 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19025 ac_cpp
='$CXXCPP $CPPFLAGS'
19026 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19027 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19028 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19030 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19031 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19032 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19035 cat >conftest.
$ac_ext <<_ACEOF
19038 cat confdefs.h
>>conftest.
$ac_ext
19039 cat >>conftest.
$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19046 #ifndef __SUNPRO_CC
19054 rm -f conftest.
$ac_objext
19055 if { (ac_try
="$ac_compile"
19056 case "(($ac_try" in
19057 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19058 *) ac_try_echo=$ac_try;;
19060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_compile") 2>conftest.er1
19063 grep -v '^ *+' conftest.er1 >conftest.err
19065 cat conftest.err >&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); } && {
19068 test -z "$ac_cxx_werror_flag" ||
19069 test ! -s conftest.err
19070 } && test -s conftest.$ac_objext; then
19071 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19076 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19084 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19085 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19086 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19092 ac_cpp='$CPP $CPPFLAGS'
19093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19105 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19106 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19107 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19108 { (exit 1); exit 1; }; }
19111 if test "x$SUNCXX" != xyes; then
19112 if test -n "$ac_tool_prefix"; then
19113 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19114 set dummy ${ac_tool_prefix}ar; ac_word=$2
19115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19117 if test "${ac_cv_prog_AR+set}" = set; then
19118 echo $ECHO_N "(cached) $ECHO_C" >&6
19120 if test -n "$AR"; then
19121 ac_cv_prog_AR="$AR" # Let the user override the test.
19123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19124 for as_dir in $PATH
19127 test -z "$as_dir" && as_dir=.
19128 for ac_exec_ext in '' $ac_executable_extensions; do
19129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19130 ac_cv_prog_AR="${ac_tool_prefix}ar"
19131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19141 if test -n "$AR"; then
19142 { echo "$as_me:$LINENO: result: $AR" >&5
19143 echo "${ECHO_T}$AR" >&6; }
19145 { echo "$as_me:$LINENO: result: no" >&5
19146 echo "${ECHO_T}no" >&6; }
19151 if test -z "$ac_cv_prog_AR"; then
19153 # Extract the first word of "ar", so it can be a program name with args.
19154 set dummy ar; ac_word=$2
19155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19157 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19158 echo $ECHO_N "(cached) $ECHO_C" >&6
19160 if test -n "$ac_ct_AR"; then
19161 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19164 for as_dir in $PATH
19167 test -z "$as_dir" && as_dir=.
19168 for ac_exec_ext in '' $ac_executable_extensions; do
19169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19170 ac_cv_prog_ac_ct_AR="ar"
19171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19180 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19181 if test -n "$ac_ct_AR"; then
19182 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19183 echo "${ECHO_T}$ac_ct_AR" >&6; }
19185 { echo "$as_me:$LINENO: result: no" >&5
19186 echo "${ECHO_T}no" >&6; }
19189 if test "x$ac_ct_AR" = x; then
19192 case $cross_compiling:$ac_tool_warned in
19194 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19195 whose name does not start with the host triplet. If you think this
19196 configuration is useful to you, please write to autoconf@gnu.org." >&5
19197 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19198 whose name does not start with the host triplet. If you think this
19199 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19200 ac_tool_warned=yes ;;
19205 AR="$ac_cv_prog_AR"
19208 if test "x$AR" = "x" ; then
19209 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19210 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19211 { (exit 1); exit 1; }; }
19216 if test "$wxUSE_MAC" = 1; then
19218 retest_macosx_linking=no
19221 if test "x$wxUSE_MAC_ARCH" != xno; then
19222 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
19225 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19226 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19227 # Implicitly turn on the new --with-macosx-sdk using the default
19228 # SDK which provides the behaviour this option has always had.
19229 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19230 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19231 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19232 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19233 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19234 wxUSE_MACOSX_SDK=yes
19237 # Complain to user if he specified an argument to --enable-universal_binary
19238 # and also 1) specified --with-macosx-sdk using the default (yes) or
19239 # 2) specified --with-macosx-sdk using a path or 3) specified
19240 # --without-macosx-sdk (no).
19241 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19242 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19243 See \`config.log
' for more details." >&5
19244 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19245 See \`config.log' for more details.
" >&2;}
19246 { (exit 1); exit 1; }; }
19248 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19249 # special-case the empty string because the below test simply
19250 # converts "no
" to the empty string anyway.
19251 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19252 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
19253 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
19256 OSX_ARCH_OPTS="-arch ppc
-arch i386
"
19257 if test "$wxUSE_OSX_COCOA" = 1; then
19258 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64
"
19260 { echo "$as_me:$LINENO: checking
for universal binary architectures
" >&5
19261 echo $ECHO_N "checking
for universal binary architectures...
$ECHO_C" >&6; }
19262 { echo "$as_me:$LINENO: result
: $OSX_ARCH_OPTS" >&5
19263 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19265 retest_macosx_linking=yes
19267 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
19268 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
19272 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19273 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19274 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19275 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19276 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19278 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
19280 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
19281 # TODO: Search for most recent SDK and use it.
19282 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
19286 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
19287 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
19288 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
19289 if ! test -d "$wxUSE_MACOSX_SDK"; then
19290 { { echo "$as_me:$LINENO: error
: not found
19291 See \
`config.log' for more details." >&5
19292 echo "$as_me: error: not found
19293 See \`config.log
' for more details." >&2;}
19294 { (exit 1); exit 1; }; }
19296 { echo "$as_me:$LINENO: result: exists" >&5
19297 echo "${ECHO_T}exists" >&6; }
19299 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19300 retest_macosx_linking=yes
19303 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19304 wxUSE_MACOSX_VERSION_MIN=
19305 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19306 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19307 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19308 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19310 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/'`
19312 # If that failed, try again with the new key
19313 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19315 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/'`
19319 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19320 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19321 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19322 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19324 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19325 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19326 wxUSE_MACOSX_VERSION_MIN=
19329 wxUSE_MACOSX_VERSION_MIN=
19331 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19332 for ac_prog in sw_vers
19334 # Extract the first word of "$ac_prog", so it can be a program name with args.
19335 set dummy $ac_prog; ac_word=$2
19336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19338 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19339 echo $ECHO_N "(cached) $ECHO_C" >&6
19341 if test -n "$OSX_SW_VERS"; then
19342 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19345 for as_dir in $PATH
19348 test -z "$as_dir" && as_dir=.
19349 for ac_exec_ext in '' $ac_executable_extensions; do
19350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19351 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19361 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19362 if test -n "$OSX_SW_VERS"; then
19363 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19364 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19366 { echo "$as_me:$LINENO: result: no" >&5
19367 echo "${ECHO_T}no" >&6; }
19371 test -n "$OSX_SW_VERS" && break
19374 if test "$OSX_SW_VERS" != ""; then
19375 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19377 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19378 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19382 case "$OSX_VERSION" in
19384 wxUSE_MACOSX_VERSION_MIN=10.4
19388 if test "$wxUSE_OSX_CARBON" = 1; then
19389 # otherwise configure stops on leopard for universal_binary
19390 wxUSE_MACOSX_VERSION_MIN=10.4
19392 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19393 wxUSE_MACOSX_VERSION_MIN=10.5
19400 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19404 if test "$wxUSE_OSX_CARBON" = 1; then
19408 if test "x$NEEDS_GCC40" == "xyes"; then
19409 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19410 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
19411 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19412 if test "x$CC" = "xgcc"; then
19413 CCVERSION=`$CC --version | grep 4.[2-9].`
19414 if test "x$CCVERSION" != "x"; then
19415 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19420 if test "x$CXX" = "xg++"; then
19421 CCVERSION=`$CXX --version | grep 4.[2-9].`
19422 if test "x$CCVERSION" != "x"; then
19428 if test "x$MACOSX_SDK_OPTS" != "x"; then
19429 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19430 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19431 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19434 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19435 if test "$wxUSE_OSX_IPHONE" = 1; then
19436 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19438 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19440 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19441 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19442 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19443 retest_macosx_linking=yes
19446 if test "x$retest_macosx_linking" = "xyes"; then
19448 ac_cpp='$CPP $CPPFLAGS'
19449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19450 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19453 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19454 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19455 cat >conftest.$ac_ext <<_ACEOF
19458 cat confdefs.h >>conftest.$ac_ext
19459 cat >>conftest.$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19470 rm -f conftest.$ac_objext conftest$ac_exeext
19471 if { (ac_try="$ac_link"
19472 case "(($ac_try" in
19473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19474 *) ac_try_echo=$ac_try;;
19476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19477 (eval "$ac_link") 2>conftest.er1
19479 grep -v '^
*+' conftest.er1 >conftest.err
19481 cat conftest.err >&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } && {
19484 test -z "$ac_c_werror_flag" ||
19485 test ! -s conftest.err
19486 } && test -s conftest$ac_exeext &&
19487 $as_test_x conftest$ac_exeext; then
19488 { echo "$as_me:$LINENO: result: yes" >&5
19489 echo "${ECHO_T}yes" >&6; }
19491 echo "$as_me: failed program was:" >&5
19492 sed 's
/^
/| /' conftest.$ac_ext >&5
19494 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19495 See \`config.log' for more details.
" >&5
19496 echo "$as_me: error
: no. Try a different SDK
19497 See \
`config.log' for more details." >&2;}
19498 { (exit 1); exit 1; }; }; exit 1
19501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19502 conftest$ac_exeext conftest.$ac_ext
19504 ac_cpp='$CPP $CPPFLAGS'
19505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19511 ac_cpp='$CXXCPP $CPPFLAGS'
19512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19516 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19517 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19518 cat >conftest.$ac_ext <<_ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19533 rm -f conftest.$ac_objext conftest$ac_exeext
19534 if { (ac_try="$ac_link"
19535 case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19537 *) ac_try_echo
=$ac_try;;
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_link") 2>conftest.er1
19542 grep -v '^ *+' conftest.er1
>conftest.err
19544 cat conftest.err
>&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } && {
19547 test -z "$ac_cxx_werror_flag" ||
19548 test ! -s conftest.err
19549 } && test -s conftest
$ac_exeext &&
19550 $as_test_x conftest
$ac_exeext; then
19551 { echo "$as_me:$LINENO: result: yes" >&5
19552 echo "${ECHO_T}yes" >&6; }
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.
$ac_ext >&5
19557 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19558 See \`config.log' for more details." >&5
19559 echo "$as_me: error: no. Try a different SDK
19560 See \`config.log' for more details." >&2;}
19561 { (exit 1); exit 1; }; }; exit 1
19564 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19565 conftest
$ac_exeext conftest.
$ac_ext
19567 ac_cpp
='$CPP $CPPFLAGS'
19568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19578 INSTALL_PROGRAM
="cp -fp"
19579 INSTALL_DATA
="cp -fp"
19586 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19587 CXXFLAGS
="-qunique $CXXFLAGS"
19591 powerpc
-*-darwin* )
19592 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19593 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19594 cat >conftest.
$ac_ext <<_ACEOF
19597 cat confdefs.h
>>conftest.
$ac_ext
19598 cat >>conftest.
$ac_ext <<_ACEOF
19599 /* end confdefs.h. */
19604 #ifndef __POWERPC__
19605 choke me for lack of PowerPC
19612 rm -f conftest.
$ac_objext
19613 if { (ac_try
="$ac_compile"
19614 case "(($ac_try" in
19615 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19616 *) ac_try_echo=$ac_try;;
19618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19619 (eval "$ac_compile") 2>conftest.er1
19621 grep -v '^ *+' conftest.er1 >conftest.err
19623 cat conftest.err >&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } && {
19626 test -z "$ac_c_werror_flag" ||
19627 test ! -s conftest.err
19628 } && test -s conftest.$ac_objext; then
19629 { echo "$as_me:$LINENO: result: yes" >&5
19630 echo "${ECHO_T}yes" >&6; }
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.$ac_ext >&5
19635 { echo "$as_me:$LINENO: result: no" >&5
19636 echo "${ECHO_T}no" >&6; }
19637 cat >>confdefs.h <<\_ACEOF
19638 #define __POWERPC__ 1
19644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19650 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19651 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19652 cat >conftest.$ac_ext <<_ACEOF
19655 cat confdefs.h >>conftest.$ac_ext
19656 cat >>conftest.$ac_ext <<_ACEOF
19657 /* end confdefs.h. */
19658 #include <CoreFoundation/CFBase.h>
19668 rm -f conftest.$ac_objext
19669 if { (ac_try="$ac_compile"
19670 case "(($ac_try" in
19671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19672 *) ac_try_echo
=$ac_try;;
19674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19675 (eval "$ac_compile") 2>conftest.er1
19677 grep -v '^ *+' conftest.er1
>conftest.err
19679 cat conftest.err
>&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } && {
19682 test -z "$ac_c_werror_flag" ||
19683 test ! -s conftest.err
19684 } && test -s conftest.
$ac_objext; then
19685 { echo "$as_me:$LINENO: result: yes" >&5
19686 echo "${ECHO_T}yes" >&6; }
19688 echo "$as_me: failed program was:" >&5
19689 sed 's/^/| /' conftest.
$ac_ext >&5
19691 { echo "$as_me:$LINENO: result: no" >&5
19692 echo "${ECHO_T}no" >&6; }
19693 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19694 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19695 cat >conftest.
$ac_ext <<_ACEOF
19698 cat confdefs.h
>>conftest.
$ac_ext
19699 cat >>conftest.
$ac_ext <<_ACEOF
19700 /* end confdefs.h. */
19701 #define __CF_USE_FRAMEWORK_INCLUDES__
19702 #include <CoreFoundation/CFBase.h>
19712 rm -f conftest.
$ac_objext
19713 if { (ac_try
="$ac_compile"
19714 case "(($ac_try" in
19715 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19716 *) ac_try_echo=$ac_try;;
19718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19719 (eval "$ac_compile") 2>conftest.er1
19721 grep -v '^ *+' conftest.er1 >conftest.err
19723 cat conftest.err >&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } && {
19726 test -z "$ac_c_werror_flag" ||
19727 test ! -s conftest.err
19728 } && test -s conftest.$ac_objext; then
19729 { echo "$as_me:$LINENO: result: yes" >&5
19730 echo "${ECHO_T}yes" >&6; }
19731 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19733 echo "$as_me: failed program was:" >&5
19734 sed 's/^/| /' conftest.$ac_ext >&5
19736 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19737 See \`config.log
' for more details." >&5
19738 echo "$as_me: error: no. CoreFoundation not available.
19739 See \`config.log' for more details.
" >&2;}
19740 { (exit 1); exit 1; }; }
19744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19754 doesnt_want_win32=0
19757 if test "$wxUSE_MSW" = 1 ; then
19760 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
19761 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
19762 if test "${wx_cv_nocygwin+set}" = set; then
19763 echo $ECHO_N "(cached
) $ECHO_C" >&6
19766 cat >conftest.$ac_ext <<_ACEOF
19769 cat confdefs.h >>conftest.$ac_ext
19770 cat >>conftest.$ac_ext <<_ACEOF
19771 /* end confdefs.h. */
19785 rm -f conftest.$ac_objext
19786 if { (ac_try="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19794 grep -v '^ *+' conftest.er1 >conftest.err
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_c_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.$ac_objext; then
19804 echo "$as_me: failed program was
:" >&5
19805 sed 's/^/| /' conftest.$ac_ext >&5
19811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19815 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19816 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19818 if test "$wx_cv_nocygwin" = "yes"; then
19821 doesnt_want_win32=1
19824 if test "$wants_win32" = 1 ; then
19825 BAKEFILE_FORCE_PLATFORM=win32
19833 if test "$wxUSE_WINE" = "yes"; then
19835 LDFLAGS_GUI="-mwindows"
19838 if test "$wants_win32" = 1 ; then
19841 cat >>confdefs.h <<\_ACEOF
19842 #define __WIN32__ 1
19845 cat >>confdefs.h <<\_ACEOF
19846 #define __WIN95__ 1
19849 cat >>confdefs.h <<\_ACEOF
19850 #define __WINDOWS__ 1
19853 cat >>confdefs.h <<\_ACEOF
19854 #define __GNUWIN32__ 1
19857 cat >>confdefs.h <<\_ACEOF
19862 if test "$doesnt_want_win32" = 1 ; then
19867 if test "$USE_UNIX" = 1 ; then
19869 cat >>confdefs.h <<\_ACEOF
19876 *-pc-os2_emx | *-pc-os2-emx )
19877 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19878 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19879 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19880 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19881 echo $ECHO_N "(cached
) $ECHO_C" >&6
19883 ac_check_lib_save_LIBS=$LIBS
19884 LIBS="-lcExt $LIBS"
19885 cat >conftest.$ac_ext <<_ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19892 /* Override any GCC internal prototype to avoid an error.
19893 Use char because int might match the return type of a GCC
19894 builtin and then its argument prototype would still apply. */
19907 rm -f conftest.$ac_objext conftest$ac_exeext
19908 if { (ac_try="$ac_link"
19909 case "(($ac_try" in
19910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19911 *) ac_try_echo=$ac_try;;
19913 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19914 (eval "$ac_link") 2>conftest.er1
19916 grep -v '^ *+' conftest.er1 >conftest.err
19918 cat conftest.err >&5
19919 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19920 (exit $ac_status); } && {
19921 test -z "$ac_c_werror_flag" ||
19922 test ! -s conftest.err
19923 } && test -s conftest$ac_exeext &&
19924 $as_test_x conftest$ac_exeext; then
19925 ac_cv_lib_cExt_drand48=yes
19927 echo "$as_me: failed program was
:" >&5
19928 sed 's/^/| /' conftest.$ac_ext >&5
19930 ac_cv_lib_cExt_drand48=no
19933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19934 conftest$ac_exeext conftest.$ac_ext
19935 LIBS=$ac_check_lib_save_LIBS
19937 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19938 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19939 if test $ac_cv_lib_cExt_drand48 = yes; then
19940 LIBS="$LIBS -lcExt"
19944 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19946 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19947 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19948 if test "${wx_cv_gccversion+set}" = set; then
19949 echo $ECHO_N "(cached
) $ECHO_C" >&6
19952 if test "$cross_compiling" = yes; then
19953 wx_cv_gccversion="EMX2
"
19956 cat >conftest.$ac_ext <<_ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19967 FILE *f=fopen("conftestval
", "w
");
19972 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19974 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19984 rm -f conftest$ac_exeext
19985 if { (ac_try="$ac_link"
19986 case "(($ac_try" in
19987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19988 *) ac_try_echo=$ac_try;;
19990 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19991 (eval "$ac_link") 2>&5
19993 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19995 { (case "(($ac_try" in
19996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19997 *) ac_try_echo=$ac_try;;
19999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20000 (eval "$ac_try") 2>&5
20002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20003 (exit $ac_status); }; }; then
20004 wx_cv_gccversion=`cat conftestval`
20006 echo "$as_me: program exited with status
$ac_status" >&5
20007 echo "$as_me: failed program was
:" >&5
20008 sed 's/^/| /' conftest.$ac_ext >&5
20010 ( exit $ac_status )
20011 wx_cv_gccversion="EMX2
"
20013 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20019 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
20020 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20021 if test "$wx_cv_gccversion" = "EMX2
"; then
20022 LIBS="$LIBS -lstdcpp"
20023 LDFLAGS="$LDFLAGS -Zsysv-signals"
20025 if test "$wx_cv_gccversion" = "EMX3
"; then
20026 LIBS="$LIBS -lstdcxx -lgcc"
20027 LDFLAGS="$LDFLAGS -Zsysv-signals"
20029 LIBS="$LIBS -lstdc++"
20032 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
20033 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
20034 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
20041 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
20042 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
20043 if test "${ac_cv_string_strcasecmp+set}" = set; then
20044 echo $ECHO_N "(cached
) $ECHO_C" >&6
20047 cat >conftest.$ac_ext <<_ACEOF
20050 cat confdefs.h >>conftest.$ac_ext
20051 cat >>conftest.$ac_ext <<_ACEOF
20052 /* end confdefs.h. */
20054 #include <string.h>
20060 strcasecmp("foo
", "bar
");
20066 rm -f conftest.$ac_objext conftest$ac_exeext
20067 if { (ac_try="$ac_link"
20068 case "(($ac_try" in
20069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20070 *) ac_try_echo=$ac_try;;
20072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20073 (eval "$ac_link") 2>conftest.er1
20075 grep -v '^ *+' conftest.er1 >conftest.err
20077 cat conftest.err >&5
20078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20079 (exit $ac_status); } && {
20080 test -z "$ac_c_werror_flag" ||
20081 test ! -s conftest.err
20082 } && test -s conftest$ac_exeext &&
20083 $as_test_x conftest$ac_exeext; then
20084 ac_cv_string_strcasecmp=yes
20086 echo "$as_me: failed program was
:" >&5
20087 sed 's/^/| /' conftest.$ac_ext >&5
20089 ac_cv_string_strcasecmp=no
20093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20094 conftest$ac_exeext conftest.$ac_ext
20097 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
20098 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20100 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
20101 cat >>confdefs.h <<\_ACEOF
20102 #define HAVE_STRCASECMP_IN_STRING_H 1
20106 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
20107 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
20108 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20109 echo $ECHO_N "(cached
) $ECHO_C" >&6
20112 cat >conftest.$ac_ext <<_ACEOF
20115 cat confdefs.h >>conftest.$ac_ext
20116 cat >>conftest.$ac_ext <<_ACEOF
20117 /* end confdefs.h. */
20119 #include <strings.h>
20125 strcasecmp("foo
", "bar
");
20131 rm -f conftest.$ac_objext conftest$ac_exeext
20132 if { (ac_try="$ac_link"
20133 case "(($ac_try" in
20134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20135 *) ac_try_echo=$ac_try;;
20137 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20138 (eval "$ac_link") 2>conftest.er1
20140 grep -v '^ *+' conftest.er1 >conftest.err
20142 cat conftest.err >&5
20143 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20144 (exit $ac_status); } && {
20145 test -z "$ac_c_werror_flag" ||
20146 test ! -s conftest.err
20147 } && test -s conftest$ac_exeext &&
20148 $as_test_x conftest$ac_exeext; then
20149 ac_cv_strings_strcasecmp=yes
20151 echo "$as_me: failed program was
:" >&5
20152 sed 's/^/| /' conftest.$ac_ext >&5
20154 ac_cv_strings_strcasecmp=no
20158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20159 conftest$ac_exeext conftest.$ac_ext
20162 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
20163 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20165 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
20166 cat >>confdefs.h <<\_ACEOF
20167 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20171 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
20172 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
20173 { (exit 1); exit 1; }; }
20181 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
20182 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
20183 if test "${ac_cv_header_stdc+set}" = set; then
20184 echo $ECHO_N "(cached
) $ECHO_C" >&6
20186 cat >conftest.$ac_ext <<_ACEOF
20189 cat confdefs.h >>conftest.$ac_ext
20190 cat >>conftest.$ac_ext <<_ACEOF
20191 /* end confdefs.h. */
20192 #include <stdlib.h>
20193 #include <stdarg.h>
20194 #include <string.h>
20205 rm -f conftest.$ac_objext
20206 if { (ac_try="$ac_compile"
20207 case "(($ac_try" in
20208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20209 *) ac_try_echo=$ac_try;;
20211 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20212 (eval "$ac_compile") 2>conftest.er1
20214 grep -v '^ *+' conftest.er1 >conftest.err
20216 cat conftest.err >&5
20217 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20218 (exit $ac_status); } && {
20219 test -z "$ac_c_werror_flag" ||
20220 test ! -s conftest.err
20221 } && test -s conftest.$ac_objext; then
20222 ac_cv_header_stdc=yes
20224 echo "$as_me: failed program was
:" >&5
20225 sed 's/^/| /' conftest.$ac_ext >&5
20227 ac_cv_header_stdc=no
20230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20232 if test $ac_cv_header_stdc = yes; then
20233 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20234 cat >conftest.$ac_ext <<_ACEOF
20237 cat confdefs.h >>conftest.$ac_ext
20238 cat >>conftest.$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20240 #include <string.h>
20243 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20244 $EGREP "memchr
" >/dev/null 2>&1; then
20247 ac_cv_header_stdc=no
20253 if test $ac_cv_header_stdc = yes; then
20254 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20255 cat >conftest.$ac_ext <<_ACEOF
20258 cat confdefs.h >>conftest.$ac_ext
20259 cat >>conftest.$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20261 #include <stdlib.h>
20264 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20265 $EGREP "free
" >/dev/null 2>&1; then
20268 ac_cv_header_stdc=no
20274 if test $ac_cv_header_stdc = yes; then
20275 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20276 if test "$cross_compiling" = yes; then
20279 cat >conftest.$ac_ext <<_ACEOF
20282 cat confdefs.h >>conftest.$ac_ext
20283 cat >>conftest.$ac_ext <<_ACEOF
20284 /* end confdefs.h. */
20286 #include <stdlib.h>
20287 #if ((' ' & 0x0FF) == 0x020)
20288 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20289 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20291 # define ISLOWER(c) \
20292 (('a' <= (c) && (c) <= 'i') \
20293 || ('j' <= (c) && (c) <= 'r') \
20294 || ('s' <= (c) && (c) <= 'z'))
20295 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20298 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20303 for (i = 0; i < 256; i++)
20304 if (XOR (islower (i), ISLOWER (i))
20305 || toupper (i) != TOUPPER (i))
20310 rm -f conftest$ac_exeext
20311 if { (ac_try="$ac_link"
20312 case "(($ac_try" in
20313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20314 *) ac_try_echo=$ac_try;;
20316 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20317 (eval "$ac_link") 2>&5
20319 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20321 { (case "(($ac_try" in
20322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20323 *) ac_try_echo=$ac_try;;
20325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_try") 2>&5
20328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20329 (exit $ac_status); }; }; then
20332 echo "$as_me: program exited with status
$ac_status" >&5
20333 echo "$as_me: failed program was
:" >&5
20334 sed 's/^/| /' conftest.$ac_ext >&5
20336 ( exit $ac_status )
20337 ac_cv_header_stdc=no
20339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20345 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
20346 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20347 if test $ac_cv_header_stdc = yes; then
20349 cat >>confdefs.h <<\_ACEOF
20350 #define STDC_HEADERS 1
20355 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20365 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20366 inttypes.h stdint.h unistd.h
20368 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20369 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20370 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20371 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20372 echo $ECHO_N "(cached
) $ECHO_C" >&6
20374 cat >conftest.$ac_ext <<_ACEOF
20377 cat confdefs.h >>conftest.$ac_ext
20378 cat >>conftest.$ac_ext <<_ACEOF
20379 /* end confdefs.h. */
20380 $ac_includes_default
20382 #include <$ac_header>
20384 rm -f conftest.$ac_objext
20385 if { (ac_try="$ac_compile"
20386 case "(($ac_try" in
20387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20388 *) ac_try_echo=$ac_try;;
20390 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20391 (eval "$ac_compile") 2>conftest.er1
20393 grep -v '^ *+' conftest.er1 >conftest.err
20395 cat conftest.err >&5
20396 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20397 (exit $ac_status); } && {
20398 test -z "$ac_c_werror_flag" ||
20399 test ! -s conftest.err
20400 } && test -s conftest.$ac_objext; then
20401 eval "$as_ac_Header=yes"
20403 echo "$as_me: failed program was
:" >&5
20404 sed 's/^/| /' conftest.$ac_ext >&5
20406 eval "$as_ac_Header=no
"
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20411 ac_res=`eval echo '${'$as_ac_Header'}'`
20412 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20413 echo "${ECHO_T}$ac_res" >&6; }
20414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20415 cat >>confdefs.h <<_ACEOF
20416 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20426 for ac_header in langinfo.h wchar.h
20428 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20429 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20430 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20431 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20432 echo $ECHO_N "(cached
) $ECHO_C" >&6
20434 cat >conftest.$ac_ext <<_ACEOF
20437 cat confdefs.h >>conftest.$ac_ext
20438 cat >>conftest.$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20440 $ac_includes_default
20442 #include <$ac_header>
20444 rm -f conftest.$ac_objext
20445 if { (ac_try="$ac_compile"
20446 case "(($ac_try" in
20447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20448 *) ac_try_echo=$ac_try;;
20450 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20451 (eval "$ac_compile") 2>conftest.er1
20453 grep -v '^ *+' conftest.er1 >conftest.err
20455 cat conftest.err >&5
20456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20457 (exit $ac_status); } && {
20458 test -z "$ac_c_werror_flag" ||
20459 test ! -s conftest.err
20460 } && test -s conftest.$ac_objext; then
20461 eval "$as_ac_Header=yes"
20463 echo "$as_me: failed program was
:" >&5
20464 sed 's/^/| /' conftest.$ac_ext >&5
20466 eval "$as_ac_Header=no
"
20469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20471 ac_res=`eval echo '${'$as_ac_Header'}'`
20472 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20473 echo "${ECHO_T}$ac_res" >&6; }
20474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20475 cat >>confdefs.h <<_ACEOF
20476 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20484 if test "$ac_cv_header_wchar_h" != "yes"; then
20486 for ac_header in wcstr.h
20488 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20489 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20490 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20491 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20492 echo $ECHO_N "(cached
) $ECHO_C" >&6
20494 cat >conftest.$ac_ext <<_ACEOF
20497 cat confdefs.h >>conftest.$ac_ext
20498 cat >>conftest.$ac_ext <<_ACEOF
20499 /* end confdefs.h. */
20500 $ac_includes_default
20502 #include <$ac_header>
20504 rm -f conftest.$ac_objext
20505 if { (ac_try="$ac_compile"
20506 case "(($ac_try" in
20507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20508 *) ac_try_echo=$ac_try;;
20510 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20511 (eval "$ac_compile") 2>conftest.er1
20513 grep -v '^ *+' conftest.er1 >conftest.err
20515 cat conftest.err >&5
20516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20517 (exit $ac_status); } && {
20518 test -z "$ac_c_werror_flag" ||
20519 test ! -s conftest.err
20520 } && test -s conftest.$ac_objext; then
20521 eval "$as_ac_Header=yes"
20523 echo "$as_me: failed program was
:" >&5
20524 sed 's/^/| /' conftest.$ac_ext >&5
20526 eval "$as_ac_Header=no
"
20529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20531 ac_res=`eval echo '${'$as_ac_Header'}'`
20532 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20533 echo "${ECHO_T}$ac_res" >&6; }
20534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20535 cat >>confdefs.h <<_ACEOF
20536 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20546 *-pc-os2_emx | *-pc-os2-emx )
20547 if test $ac_cv_header_langinfo_h = "yes" \
20548 -a \( "$wx_cv_gccversion" = "EMX2
" \
20549 -o "$wx_cv_gccversion" = "EMX3
" \
20550 -o "$wx_cv_gccversion" = "Innotek5
" \); then
20551 LIBS="$LIBS -lintl"
20556 if test "$USE_UNIX" = 1 ; then
20558 for ac_header in sys/select.h
20560 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20561 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20562 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20563 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20564 echo $ECHO_N "(cached
) $ECHO_C" >&6
20566 cat >conftest.$ac_ext <<_ACEOF
20569 cat confdefs.h >>conftest.$ac_ext
20570 cat >>conftest.$ac_ext <<_ACEOF
20571 /* end confdefs.h. */
20572 $ac_includes_default
20574 #include <$ac_header>
20576 rm -f conftest.$ac_objext
20577 if { (ac_try="$ac_compile"
20578 case "(($ac_try" in
20579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20580 *) ac_try_echo=$ac_try;;
20582 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20583 (eval "$ac_compile") 2>conftest.er1
20585 grep -v '^ *+' conftest.er1 >conftest.err
20587 cat conftest.err >&5
20588 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20589 (exit $ac_status); } && {
20590 test -z "$ac_c_werror_flag" ||
20591 test ! -s conftest.err
20592 } && test -s conftest.$ac_objext; then
20593 eval "$as_ac_Header=yes"
20595 echo "$as_me: failed program was
:" >&5
20596 sed 's/^/| /' conftest.$ac_ext >&5
20598 eval "$as_ac_Header=no
"
20601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20603 ac_res=`eval echo '${'$as_ac_Header'}'`
20604 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20605 echo "${ECHO_T}$ac_res" >&6; }
20606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20607 cat >>confdefs.h <<_ACEOF
20608 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20618 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
20619 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
20620 if test "${ac_cv_c_const+set}" = set; then
20621 echo $ECHO_N "(cached
) $ECHO_C" >&6
20623 cat >conftest.$ac_ext <<_ACEOF
20626 cat confdefs.h >>conftest.$ac_ext
20627 cat >>conftest.$ac_ext <<_ACEOF
20628 /* end confdefs.h. */
20633 /* FIXME: Include the comments suggested by Paul. */
20634 #ifndef __cplusplus
20635 /* Ultrix mips cc rejects this. */
20636 typedef int charset[2];
20638 /* SunOS 4.1.1 cc rejects this. */
20639 char const *const *pcpcc;
20641 /* NEC SVR4.0.2 mips cc rejects this. */
20642 struct point {int x, y;};
20643 static struct point const zero = {0,0};
20644 /* AIX XL C 1.02.0.0 rejects this.
20645 It does not let you subtract one const X* pointer from another in
20646 an arm of an if-expression whose if-part is not a constant
20648 const char *g = "string
";
20649 pcpcc = &g + (g ? g-g : 0);
20650 /* HPUX 7.0 cc rejects these. */
20652 ppc = (char**) pcpcc;
20653 pcpcc = (char const *const *) ppc;
20654 { /* SCO 3.2v4 cc rejects this. */
20656 char const *s = 0 ? (char *) 0 : (char const *) 0;
20661 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20662 int x[] = {25, 17};
20663 const int *foo = &x[0];
20666 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20667 typedef const int *iptr;
20671 { /* AIX XL C 1.02.0.0 rejects this saying
20672 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20673 struct s { int j; const int *ap[3]; };
20674 struct s *b; b->j = 5;
20676 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20677 const int foo = 10;
20678 if (!foo) return 0;
20680 return !cs[0] && !zero.x;
20687 rm -f conftest.$ac_objext
20688 if { (ac_try="$ac_compile"
20689 case "(($ac_try" in
20690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20691 *) ac_try_echo=$ac_try;;
20693 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20694 (eval "$ac_compile") 2>conftest.er1
20696 grep -v '^ *+' conftest.er1 >conftest.err
20698 cat conftest.err >&5
20699 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20700 (exit $ac_status); } && {
20701 test -z "$ac_c_werror_flag" ||
20702 test ! -s conftest.err
20703 } && test -s conftest.$ac_objext; then
20706 echo "$as_me: failed program was
:" >&5
20707 sed 's/^/| /' conftest.$ac_ext >&5
20712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20714 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
20715 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20716 if test $ac_cv_c_const = no; then
20718 cat >>confdefs.h <<\_ACEOF
20724 { echo "$as_me:$LINENO: checking
for inline
" >&5
20725 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
20726 if test "${ac_cv_c_inline+set}" = set; then
20727 echo $ECHO_N "(cached
) $ECHO_C" >&6
20730 for ac_kw in inline __inline__ __inline; do
20731 cat >conftest.$ac_ext <<_ACEOF
20734 cat confdefs.h >>conftest.$ac_ext
20735 cat >>conftest.$ac_ext <<_ACEOF
20736 /* end confdefs.h. */
20737 #ifndef __cplusplus
20739 static $ac_kw foo_t static_foo () {return 0; }
20740 $ac_kw foo_t foo () {return 0; }
20744 rm -f conftest.$ac_objext
20745 if { (ac_try="$ac_compile"
20746 case "(($ac_try" in
20747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20748 *) ac_try_echo=$ac_try;;
20750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20751 (eval "$ac_compile") 2>conftest.er1
20753 grep -v '^ *+' conftest.er1 >conftest.err
20755 cat conftest.err >&5
20756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20757 (exit $ac_status); } && {
20758 test -z "$ac_c_werror_flag" ||
20759 test ! -s conftest.err
20760 } && test -s conftest.$ac_objext; then
20761 ac_cv_c_inline=$ac_kw
20763 echo "$as_me: failed program was
:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20770 test "$ac_cv_c_inline" != no && break
20774 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
20775 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20778 case $ac_cv_c_inline in
20781 case $ac_cv_c_inline in
20783 *) ac_val=$ac_cv_c_inline;;
20785 cat >>confdefs.h <<_ACEOF
20786 #ifndef __cplusplus
20787 #define inline $ac_val
20794 { echo "$as_me:$LINENO: checking
for short
" >&5
20795 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20796 if test "${ac_cv_type_short+set}" = set; then
20797 echo $ECHO_N "(cached
) $ECHO_C" >&6
20799 cat >conftest.$ac_ext <<_ACEOF
20802 cat confdefs.h >>conftest.$ac_ext
20803 cat >>conftest.$ac_ext <<_ACEOF
20804 /* end confdefs.h. */
20805 $ac_includes_default
20806 typedef short ac__type_new_;
20810 if ((ac__type_new_ *) 0)
20812 if (sizeof (ac__type_new_))
20818 rm -f conftest.$ac_objext
20819 if { (ac_try="$ac_compile"
20820 case "(($ac_try" in
20821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20822 *) ac_try_echo=$ac_try;;
20824 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20825 (eval "$ac_compile") 2>conftest.er1
20827 grep -v '^ *+' conftest.er1 >conftest.err
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20831 (exit $ac_status); } && {
20832 test -z "$ac_c_werror_flag" ||
20833 test ! -s conftest.err
20834 } && test -s conftest.$ac_objext; then
20835 ac_cv_type_short=yes
20837 echo "$as_me: failed program was
:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20840 ac_cv_type_short=no
20843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20845 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20846 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20848 # The cast to long int works around a bug in the HP C Compiler
20849 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20850 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20851 # This bug is HP SR number 8606223364.
20852 { echo "$as_me:$LINENO: checking size of short
" >&5
20853 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20854 if test "${ac_cv_sizeof_short+set}" = set; then
20855 echo $ECHO_N "(cached
) $ECHO_C" >&6
20857 if test "$cross_compiling" = yes; then
20858 # Depending upon the size, compute the lo and hi bounds.
20859 cat >conftest.$ac_ext <<_ACEOF
20862 cat confdefs.h >>conftest.$ac_ext
20863 cat >>conftest.$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865 $ac_includes_default
20866 typedef short ac__type_sizeof_;
20870 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20877 rm -f conftest.$ac_objext
20878 if { (ac_try="$ac_compile"
20879 case "(($ac_try" in
20880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20881 *) ac_try_echo=$ac_try;;
20883 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20884 (eval "$ac_compile") 2>conftest.er1
20886 grep -v '^ *+' conftest.er1 >conftest.err
20888 cat conftest.err >&5
20889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20890 (exit $ac_status); } && {
20891 test -z "$ac_c_werror_flag" ||
20892 test ! -s conftest.err
20893 } && test -s conftest.$ac_objext; then
20896 cat >conftest.$ac_ext <<_ACEOF
20899 cat confdefs.h >>conftest.$ac_ext
20900 cat >>conftest.$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20902 $ac_includes_default
20903 typedef short ac__type_sizeof_;
20907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20914 rm -f conftest.$ac_objext
20915 if { (ac_try="$ac_compile"
20916 case "(($ac_try" in
20917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20918 *) ac_try_echo=$ac_try;;
20920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20921 (eval "$ac_compile") 2>conftest.er1
20923 grep -v '^ *+' conftest.er1 >conftest.err
20925 cat conftest.err >&5
20926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20927 (exit $ac_status); } && {
20928 test -z "$ac_c_werror_flag" ||
20929 test ! -s conftest.err
20930 } && test -s conftest.$ac_objext; then
20931 ac_hi=$ac_mid; break
20933 echo "$as_me: failed program was
:" >&5
20934 sed 's/^/| /' conftest.$ac_ext >&5
20936 ac_lo=`expr $ac_mid + 1`
20937 if test $ac_lo -le $ac_mid; then
20941 ac_mid=`expr 2 '*' $ac_mid + 1`
20944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20947 echo "$as_me: failed program was
:" >&5
20948 sed 's/^/| /' conftest.$ac_ext >&5
20950 cat >conftest.$ac_ext <<_ACEOF
20953 cat confdefs.h >>conftest.$ac_ext
20954 cat >>conftest.$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 $ac_includes_default
20957 typedef short ac__type_sizeof_;
20961 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20968 rm -f conftest.$ac_objext
20969 if { (ac_try="$ac_compile"
20970 case "(($ac_try" in
20971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20972 *) ac_try_echo=$ac_try;;
20974 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20975 (eval "$ac_compile") 2>conftest.er1
20977 grep -v '^ *+' conftest.er1 >conftest.err
20979 cat conftest.err >&5
20980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20981 (exit $ac_status); } && {
20982 test -z "$ac_c_werror_flag" ||
20983 test ! -s conftest.err
20984 } && test -s conftest.$ac_objext; then
20987 cat >conftest.$ac_ext <<_ACEOF
20990 cat confdefs.h >>conftest.$ac_ext
20991 cat >>conftest.$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20993 $ac_includes_default
20994 typedef short ac__type_sizeof_;
20998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21005 rm -f conftest.$ac_objext
21006 if { (ac_try="$ac_compile"
21007 case "(($ac_try" in
21008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21009 *) ac_try_echo=$ac_try;;
21011 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21012 (eval "$ac_compile") 2>conftest.er1
21014 grep -v '^ *+' conftest.er1 >conftest.err
21016 cat conftest.err >&5
21017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21018 (exit $ac_status); } && {
21019 test -z "$ac_c_werror_flag" ||
21020 test ! -s conftest.err
21021 } && test -s conftest.$ac_objext; then
21022 ac_lo=$ac_mid; break
21024 echo "$as_me: failed program was
:" >&5
21025 sed 's/^/| /' conftest.$ac_ext >&5
21027 ac_hi=`expr '(' $ac_mid ')' - 1`
21028 if test $ac_mid -le $ac_hi; then
21032 ac_mid=`expr 2 '*' $ac_mid`
21035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21038 echo "$as_me: failed program was
:" >&5
21039 sed 's/^/| /' conftest.$ac_ext >&5
21044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21048 # Binary search between lo and hi bounds.
21049 while test "x
$ac_lo" != "x
$ac_hi"; do
21050 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21051 cat >conftest.$ac_ext <<_ACEOF
21054 cat confdefs.h >>conftest.$ac_ext
21055 cat >>conftest.$ac_ext <<_ACEOF
21056 /* end confdefs.h. */
21057 $ac_includes_default
21058 typedef short ac__type_sizeof_;
21062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21069 rm -f conftest.$ac_objext
21070 if { (ac_try="$ac_compile"
21071 case "(($ac_try" in
21072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21073 *) ac_try_echo=$ac_try;;
21075 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21076 (eval "$ac_compile") 2>conftest.er1
21078 grep -v '^ *+' conftest.er1 >conftest.err
21080 cat conftest.err >&5
21081 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21082 (exit $ac_status); } && {
21083 test -z "$ac_c_werror_flag" ||
21084 test ! -s conftest.err
21085 } && test -s conftest.$ac_objext; then
21088 echo "$as_me: failed program was
:" >&5
21089 sed 's/^/| /' conftest.$ac_ext >&5
21091 ac_lo=`expr '(' $ac_mid ')' + 1`
21094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21097 ?*) ac_cv_sizeof_short=$ac_lo;;
21098 '') if test "$ac_cv_type_short" = yes; then
21099 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
21100 See \
`config.log' for more details." >&5
21101 echo "$as_me: error: cannot compute sizeof (short)
21102 See \`config.log
' for more details." >&2;}
21103 { (exit 77); exit 77; }; }
21105 ac_cv_sizeof_short=0
21109 cat >conftest.$ac_ext <<_ACEOF
21112 cat confdefs.h >>conftest.$ac_ext
21113 cat >>conftest.$ac_ext <<_ACEOF
21114 /* end confdefs.h. */
21115 $ac_includes_default
21116 typedef short ac__type_sizeof_;
21117 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21118 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21120 #include <stdlib.h>
21125 FILE *f = fopen ("conftest.val", "w");
21128 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21130 long int i = longval ();
21131 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21133 fprintf (f, "%ld\n", i);
21137 unsigned long int i = ulongval ();
21138 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21140 fprintf (f, "%lu\n", i);
21142 return ferror (f) || fclose (f) != 0;
21148 rm -f conftest$ac_exeext
21149 if { (ac_try="$ac_link"
21150 case "(($ac_try" in
21151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21152 *) ac_try_echo=$ac_try;;
21154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21155 (eval "$ac_link") 2>&5
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
21159 { (case "(($ac_try" in
21160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21161 *) ac_try_echo=$ac_try;;
21163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21164 (eval "$ac_try") 2>&5
21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167 (exit $ac_status); }; }; then
21168 ac_cv_sizeof_short=`cat conftest.val`
21170 echo "$as_me: program exited with status $ac_status" >&5
21171 echo "$as_me: failed program was:" >&5
21172 sed 's
/^
/| /' conftest.$ac_ext >&5
21174 ( exit $ac_status )
21175 if test "$ac_cv_type_short" = yes; then
21176 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21177 See \`config.log' for more details.
" >&5
21178 echo "$as_me: error
: cannot compute sizeof
(short
)
21179 See \
`config.log' for more details." >&2;}
21180 { (exit 77); exit 77; }; }
21182 ac_cv_sizeof_short=0
21185 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21189 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21190 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21194 cat >>confdefs.h <<_ACEOF
21195 #define SIZEOF_SHORT $ac_cv_sizeof_short
21199 { echo "$as_me:$LINENO: checking for void *" >&5
21200 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21201 if test "${ac_cv_type_void_p+set}" = set; then
21202 echo $ECHO_N "(cached) $ECHO_C" >&6
21204 cat >conftest.$ac_ext <<_ACEOF
21207 cat confdefs.h >>conftest.$ac_ext
21208 cat >>conftest.$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21210 $ac_includes_default
21211 typedef void * ac__type_new_;
21215 if ((ac__type_new_ *) 0)
21217 if (sizeof (ac__type_new_))
21223 rm -f conftest.$ac_objext
21224 if { (ac_try="$ac_compile"
21225 case "(($ac_try" in
21226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21227 *) ac_try_echo
=$ac_try;;
21229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21230 (eval "$ac_compile") 2>conftest.er1
21232 grep -v '^ *+' conftest.er1
>conftest.err
21234 cat conftest.err
>&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); } && {
21237 test -z "$ac_c_werror_flag" ||
21238 test ! -s conftest.err
21239 } && test -s conftest.
$ac_objext; then
21240 ac_cv_type_void_p
=yes
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.
$ac_ext >&5
21245 ac_cv_type_void_p
=no
21248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21250 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21251 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21253 # The cast to long int works around a bug in the HP C Compiler
21254 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21255 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21256 # This bug is HP SR number 8606223364.
21257 { echo "$as_me:$LINENO: checking size of void *" >&5
21258 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21259 if test "${ac_cv_sizeof_void_p+set}" = set; then
21260 echo $ECHO_N "(cached) $ECHO_C" >&6
21262 if test "$cross_compiling" = yes; then
21263 # Depending upon the size, compute the lo and hi bounds.
21264 cat >conftest.
$ac_ext <<_ACEOF
21267 cat confdefs.h
>>conftest.
$ac_ext
21268 cat >>conftest.
$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 $ac_includes_default
21271 typedef void * ac__type_sizeof_;
21275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21282 rm -f conftest.
$ac_objext
21283 if { (ac_try
="$ac_compile"
21284 case "(($ac_try" in
21285 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_compile") 2>conftest.er1
21291 grep -v '^ *+' conftest.er1 >conftest.err
21293 cat conftest.err >&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } && {
21296 test -z "$ac_c_werror_flag" ||
21297 test ! -s conftest.err
21298 } && test -s conftest.$ac_objext; then
21301 cat >conftest.$ac_ext <<_ACEOF
21304 cat confdefs.h >>conftest.$ac_ext
21305 cat >>conftest.$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 $ac_includes_default
21308 typedef void * ac__type_sizeof_;
21312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21319 rm -f conftest.$ac_objext
21320 if { (ac_try="$ac_compile"
21321 case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21323 *) ac_try_echo
=$ac_try;;
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_compile") 2>conftest.er1
21328 grep -v '^ *+' conftest.er1
>conftest.err
21330 cat conftest.err
>&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); } && {
21333 test -z "$ac_c_werror_flag" ||
21334 test ! -s conftest.err
21335 } && test -s conftest.
$ac_objext; then
21336 ac_hi
=$ac_mid; break
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.
$ac_ext >&5
21341 ac_lo
=`expr $ac_mid + 1`
21342 if test $ac_lo -le $ac_mid; then
21346 ac_mid
=`expr 2 '*' $ac_mid + 1`
21349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21352 echo "$as_me: failed program was:" >&5
21353 sed 's/^/| /' conftest.
$ac_ext >&5
21355 cat >conftest.
$ac_ext <<_ACEOF
21358 cat confdefs.h
>>conftest.
$ac_ext
21359 cat >>conftest.
$ac_ext <<_ACEOF
21360 /* end confdefs.h. */
21361 $ac_includes_default
21362 typedef void * ac__type_sizeof_;
21366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21373 rm -f conftest.
$ac_objext
21374 if { (ac_try
="$ac_compile"
21375 case "(($ac_try" in
21376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21377 *) ac_try_echo=$ac_try;;
21379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21380 (eval "$ac_compile") 2>conftest.er1
21382 grep -v '^ *+' conftest.er1 >conftest.err
21384 cat conftest.err >&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } && {
21387 test -z "$ac_c_werror_flag" ||
21388 test ! -s conftest.err
21389 } && test -s conftest.$ac_objext; then
21392 cat >conftest.$ac_ext <<_ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 $ac_includes_default
21399 typedef void * ac__type_sizeof_;
21403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21410 rm -f conftest.$ac_objext
21411 if { (ac_try="$ac_compile"
21412 case "(($ac_try" in
21413 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21414 *) ac_try_echo
=$ac_try;;
21416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21417 (eval "$ac_compile") 2>conftest.er1
21419 grep -v '^ *+' conftest.er1
>conftest.err
21421 cat conftest.err
>&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } && {
21424 test -z "$ac_c_werror_flag" ||
21425 test ! -s conftest.err
21426 } && test -s conftest.
$ac_objext; then
21427 ac_lo
=$ac_mid; break
21429 echo "$as_me: failed program was:" >&5
21430 sed 's/^/| /' conftest.
$ac_ext >&5
21432 ac_hi
=`expr '(' $ac_mid ')' - 1`
21433 if test $ac_mid -le $ac_hi; then
21437 ac_mid
=`expr 2 '*' $ac_mid`
21440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.
$ac_ext >&5
21449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21453 # Binary search between lo and hi bounds.
21454 while test "x$ac_lo" != "x$ac_hi"; do
21455 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21456 cat >conftest.
$ac_ext <<_ACEOF
21459 cat confdefs.h
>>conftest.
$ac_ext
21460 cat >>conftest.
$ac_ext <<_ACEOF
21461 /* end confdefs.h. */
21462 $ac_includes_default
21463 typedef void * ac__type_sizeof_;
21467 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21474 rm -f conftest.
$ac_objext
21475 if { (ac_try
="$ac_compile"
21476 case "(($ac_try" in
21477 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21478 *) ac_try_echo=$ac_try;;
21480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21481 (eval "$ac_compile") 2>conftest.er1
21483 grep -v '^ *+' conftest.er1 >conftest.err
21485 cat conftest.err >&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); } && {
21488 test -z "$ac_c_werror_flag" ||
21489 test ! -s conftest.err
21490 } && test -s conftest.$ac_objext; then
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.$ac_ext >&5
21496 ac_lo=`expr '(' $ac_mid ')' + 1`
21499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21502 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21503 '') if test "$ac_cv_type_void_p" = yes; then
21504 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21505 See \`config.log
' for more details." >&5
21506 echo "$as_me: error: cannot compute sizeof (void *)
21507 See \`config.log' for more details.
" >&2;}
21508 { (exit 77); exit 77; }; }
21510 ac_cv_sizeof_void_p=0
21514 cat >conftest.$ac_ext <<_ACEOF
21517 cat confdefs.h >>conftest.$ac_ext
21518 cat >>conftest.$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 $ac_includes_default
21521 typedef void * ac__type_sizeof_;
21522 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21523 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21525 #include <stdlib.h>
21530 FILE *f = fopen ("conftest.val
", "w
");
21533 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21535 long int i = longval ();
21536 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21538 fprintf (f, "%ld
\n", i);
21542 unsigned long int i = ulongval ();
21543 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21545 fprintf (f, "%lu
\n", i);
21547 return ferror (f) || fclose (f) != 0;
21553 rm -f conftest$ac_exeext
21554 if { (ac_try="$ac_link"
21555 case "(($ac_try" in
21556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21557 *) ac_try_echo=$ac_try;;
21559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21560 (eval "$ac_link") 2>&5
21562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21563 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21564 { (case "(($ac_try" in
21565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21566 *) ac_try_echo=$ac_try;;
21568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21569 (eval "$ac_try") 2>&5
21571 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21572 (exit $ac_status); }; }; then
21573 ac_cv_sizeof_void_p=`cat conftest.val`
21575 echo "$as_me: program exited with status
$ac_status" >&5
21576 echo "$as_me: failed program was
:" >&5
21577 sed 's/^/| /' conftest.$ac_ext >&5
21579 ( exit $ac_status )
21580 if test "$ac_cv_type_void_p" = yes; then
21581 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
21582 See \
`config.log' for more details." >&5
21583 echo "$as_me: error: cannot compute sizeof (void *)
21584 See \`config.log
' for more details." >&2;}
21585 { (exit 77); exit 77; }; }
21587 ac_cv_sizeof_void_p=0
21590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21594 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21595 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21599 cat >>confdefs.h <<_ACEOF
21600 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21604 { echo "$as_me:$LINENO: checking for int" >&5
21605 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21606 if test "${ac_cv_type_int+set}" = set; then
21607 echo $ECHO_N "(cached) $ECHO_C" >&6
21609 cat >conftest.$ac_ext <<_ACEOF
21612 cat confdefs.h >>conftest.$ac_ext
21613 cat >>conftest.$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 $ac_includes_default
21616 typedef int ac__type_new_;
21620 if ((ac__type_new_ *) 0)
21622 if (sizeof (ac__type_new_))
21628 rm -f conftest.$ac_objext
21629 if { (ac_try="$ac_compile"
21630 case "(($ac_try" in
21631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21632 *) ac_try_echo=$ac_try;;
21634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21635 (eval "$ac_compile") 2>conftest.er1
21637 grep -v '^
*+' conftest.er1 >conftest.err
21639 cat conftest.err >&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } && {
21642 test -z "$ac_c_werror_flag" ||
21643 test ! -s conftest.err
21644 } && test -s conftest.$ac_objext; then
21647 echo "$as_me: failed program was:" >&5
21648 sed 's
/^
/| /' conftest.$ac_ext >&5
21653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21655 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21656 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21658 # The cast to long int works around a bug in the HP C Compiler
21659 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21660 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21661 # This bug is HP SR number 8606223364.
21662 { echo "$as_me:$LINENO: checking size of int" >&5
21663 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21664 if test "${ac_cv_sizeof_int+set}" = set; then
21665 echo $ECHO_N "(cached) $ECHO_C" >&6
21667 if test "$cross_compiling" = yes; then
21668 # Depending upon the size, compute the lo and hi bounds.
21669 cat >conftest.
$ac_ext <<_ACEOF
21672 cat confdefs.h
>>conftest.
$ac_ext
21673 cat >>conftest.
$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21675 $ac_includes_default
21676 typedef int ac__type_sizeof_;
21680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21687 rm -f conftest.
$ac_objext
21688 if { (ac_try
="$ac_compile"
21689 case "(($ac_try" in
21690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21691 *) ac_try_echo=$ac_try;;
21693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21694 (eval "$ac_compile") 2>conftest.er1
21696 grep -v '^ *+' conftest.er1 >conftest.err
21698 cat conftest.err >&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); } && {
21701 test -z "$ac_c_werror_flag" ||
21702 test ! -s conftest.err
21703 } && test -s conftest.$ac_objext; then
21706 cat >conftest.$ac_ext <<_ACEOF
21709 cat confdefs.h >>conftest.$ac_ext
21710 cat >>conftest.$ac_ext <<_ACEOF
21711 /* end confdefs.h. */
21712 $ac_includes_default
21713 typedef int ac__type_sizeof_;
21717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21724 rm -f conftest.$ac_objext
21725 if { (ac_try="$ac_compile"
21726 case "(($ac_try" in
21727 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21728 *) ac_try_echo
=$ac_try;;
21730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21731 (eval "$ac_compile") 2>conftest.er1
21733 grep -v '^ *+' conftest.er1
>conftest.err
21735 cat conftest.err
>&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } && {
21738 test -z "$ac_c_werror_flag" ||
21739 test ! -s conftest.err
21740 } && test -s conftest.
$ac_objext; then
21741 ac_hi
=$ac_mid; break
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.
$ac_ext >&5
21746 ac_lo
=`expr $ac_mid + 1`
21747 if test $ac_lo -le $ac_mid; then
21751 ac_mid
=`expr 2 '*' $ac_mid + 1`
21754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21757 echo "$as_me: failed program was:" >&5
21758 sed 's/^/| /' conftest.
$ac_ext >&5
21760 cat >conftest.
$ac_ext <<_ACEOF
21763 cat confdefs.h
>>conftest.
$ac_ext
21764 cat >>conftest.
$ac_ext <<_ACEOF
21765 /* end confdefs.h. */
21766 $ac_includes_default
21767 typedef int ac__type_sizeof_;
21771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21778 rm -f conftest.
$ac_objext
21779 if { (ac_try
="$ac_compile"
21780 case "(($ac_try" in
21781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21782 *) ac_try_echo=$ac_try;;
21784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21785 (eval "$ac_compile") 2>conftest.er1
21787 grep -v '^ *+' conftest.er1 >conftest.err
21789 cat conftest.err >&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); } && {
21792 test -z "$ac_c_werror_flag" ||
21793 test ! -s conftest.err
21794 } && test -s conftest.$ac_objext; then
21797 cat >conftest.$ac_ext <<_ACEOF
21800 cat confdefs.h >>conftest.$ac_ext
21801 cat >>conftest.$ac_ext <<_ACEOF
21802 /* end confdefs.h. */
21803 $ac_includes_default
21804 typedef int ac__type_sizeof_;
21808 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21815 rm -f conftest.$ac_objext
21816 if { (ac_try="$ac_compile"
21817 case "(($ac_try" in
21818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21819 *) ac_try_echo
=$ac_try;;
21821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21822 (eval "$ac_compile") 2>conftest.er1
21824 grep -v '^ *+' conftest.er1
>conftest.err
21826 cat conftest.err
>&5
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); } && {
21829 test -z "$ac_c_werror_flag" ||
21830 test ! -s conftest.err
21831 } && test -s conftest.
$ac_objext; then
21832 ac_lo
=$ac_mid; break
21834 echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.
$ac_ext >&5
21837 ac_hi
=`expr '(' $ac_mid ')' - 1`
21838 if test $ac_mid -le $ac_hi; then
21842 ac_mid
=`expr 2 '*' $ac_mid`
21845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21848 echo "$as_me: failed program was:" >&5
21849 sed 's/^/| /' conftest.
$ac_ext >&5
21854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21858 # Binary search between lo and hi bounds.
21859 while test "x$ac_lo" != "x$ac_hi"; do
21860 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21861 cat >conftest.
$ac_ext <<_ACEOF
21864 cat confdefs.h
>>conftest.
$ac_ext
21865 cat >>conftest.
$ac_ext <<_ACEOF
21866 /* end confdefs.h. */
21867 $ac_includes_default
21868 typedef int ac__type_sizeof_;
21872 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21879 rm -f conftest.
$ac_objext
21880 if { (ac_try
="$ac_compile"
21881 case "(($ac_try" in
21882 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21883 *) ac_try_echo=$ac_try;;
21885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21886 (eval "$ac_compile") 2>conftest.er1
21888 grep -v '^ *+' conftest.er1 >conftest.err
21890 cat conftest.err >&5
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); } && {
21893 test -z "$ac_c_werror_flag" ||
21894 test ! -s conftest.err
21895 } && test -s conftest.$ac_objext; then
21898 echo "$as_me: failed program was:" >&5
21899 sed 's/^/| /' conftest.$ac_ext >&5
21901 ac_lo=`expr '(' $ac_mid ')' + 1`
21904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21907 ?*) ac_cv_sizeof_int=$ac_lo;;
21908 '') if test "$ac_cv_type_int" = yes; then
21909 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21910 See \`config.log
' for more details." >&5
21911 echo "$as_me: error: cannot compute sizeof (int)
21912 See \`config.log' for more details.
" >&2;}
21913 { (exit 77); exit 77; }; }
21919 cat >conftest.$ac_ext <<_ACEOF
21922 cat confdefs.h >>conftest.$ac_ext
21923 cat >>conftest.$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21925 $ac_includes_default
21926 typedef int ac__type_sizeof_;
21927 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21928 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21930 #include <stdlib.h>
21935 FILE *f = fopen ("conftest.val
", "w
");
21938 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21940 long int i = longval ();
21941 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21943 fprintf (f, "%ld
\n", i);
21947 unsigned long int i = ulongval ();
21948 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21950 fprintf (f, "%lu
\n", i);
21952 return ferror (f) || fclose (f) != 0;
21958 rm -f conftest$ac_exeext
21959 if { (ac_try="$ac_link"
21960 case "(($ac_try" in
21961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21962 *) ac_try_echo=$ac_try;;
21964 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21965 (eval "$ac_link") 2>&5
21967 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21968 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21969 { (case "(($ac_try" in
21970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21971 *) ac_try_echo=$ac_try;;
21973 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21974 (eval "$ac_try") 2>&5
21976 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21977 (exit $ac_status); }; }; then
21978 ac_cv_sizeof_int=`cat conftest.val`
21980 echo "$as_me: program exited with status
$ac_status" >&5
21981 echo "$as_me: failed program was
:" >&5
21982 sed 's/^/| /' conftest.$ac_ext >&5
21984 ( exit $ac_status )
21985 if test "$ac_cv_type_int" = yes; then
21986 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21987 See \
`config.log' for more details." >&5
21988 echo "$as_me: error: cannot compute sizeof (int)
21989 See \`config.log
' for more details." >&2;}
21990 { (exit 77); exit 77; }; }
21995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21999 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22000 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22004 cat >>confdefs.h <<_ACEOF
22005 #define SIZEOF_INT $ac_cv_sizeof_int
22009 { echo "$as_me:$LINENO: checking for long" >&5
22010 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22011 if test "${ac_cv_type_long+set}" = set; then
22012 echo $ECHO_N "(cached) $ECHO_C" >&6
22014 cat >conftest.$ac_ext <<_ACEOF
22017 cat confdefs.h >>conftest.$ac_ext
22018 cat >>conftest.$ac_ext <<_ACEOF
22019 /* end confdefs.h. */
22020 $ac_includes_default
22021 typedef long ac__type_new_;
22025 if ((ac__type_new_ *) 0)
22027 if (sizeof (ac__type_new_))
22033 rm -f conftest.$ac_objext
22034 if { (ac_try="$ac_compile"
22035 case "(($ac_try" in
22036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22037 *) ac_try_echo=$ac_try;;
22039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22040 (eval "$ac_compile") 2>conftest.er1
22042 grep -v '^
*+' conftest.er1 >conftest.err
22044 cat conftest.err >&5
22045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22046 (exit $ac_status); } && {
22047 test -z "$ac_c_werror_flag" ||
22048 test ! -s conftest.err
22049 } && test -s conftest.$ac_objext; then
22050 ac_cv_type_long=yes
22052 echo "$as_me: failed program was:" >&5
22053 sed 's
/^
/| /' conftest.$ac_ext >&5
22058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22060 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22061 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22063 # The cast to long int works around a bug in the HP C Compiler
22064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22066 # This bug is HP SR number 8606223364.
22067 { echo "$as_me:$LINENO: checking size of long" >&5
22068 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22069 if test "${ac_cv_sizeof_long+set}" = set; then
22070 echo $ECHO_N "(cached) $ECHO_C" >&6
22072 if test "$cross_compiling" = yes; then
22073 # Depending upon the size, compute the lo and hi bounds.
22074 cat >conftest.
$ac_ext <<_ACEOF
22077 cat confdefs.h
>>conftest.
$ac_ext
22078 cat >>conftest.
$ac_ext <<_ACEOF
22079 /* end confdefs.h. */
22080 $ac_includes_default
22081 typedef long ac__type_sizeof_;
22085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22092 rm -f conftest.
$ac_objext
22093 if { (ac_try
="$ac_compile"
22094 case "(($ac_try" in
22095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22096 *) ac_try_echo=$ac_try;;
22098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22099 (eval "$ac_compile") 2>conftest.er1
22101 grep -v '^ *+' conftest.er1 >conftest.err
22103 cat conftest.err >&5
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); } && {
22106 test -z "$ac_c_werror_flag" ||
22107 test ! -s conftest.err
22108 } && test -s conftest.$ac_objext; then
22111 cat >conftest.$ac_ext <<_ACEOF
22114 cat confdefs.h >>conftest.$ac_ext
22115 cat >>conftest.$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117 $ac_includes_default
22118 typedef long ac__type_sizeof_;
22122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22129 rm -f conftest.$ac_objext
22130 if { (ac_try="$ac_compile"
22131 case "(($ac_try" in
22132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22133 *) ac_try_echo
=$ac_try;;
22135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22136 (eval "$ac_compile") 2>conftest.er1
22138 grep -v '^ *+' conftest.er1
>conftest.err
22140 cat conftest.err
>&5
22141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142 (exit $ac_status); } && {
22143 test -z "$ac_c_werror_flag" ||
22144 test ! -s conftest.err
22145 } && test -s conftest.
$ac_objext; then
22146 ac_hi
=$ac_mid; break
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.
$ac_ext >&5
22151 ac_lo
=`expr $ac_mid + 1`
22152 if test $ac_lo -le $ac_mid; then
22156 ac_mid
=`expr 2 '*' $ac_mid + 1`
22159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22162 echo "$as_me: failed program was:" >&5
22163 sed 's/^/| /' conftest.
$ac_ext >&5
22165 cat >conftest.
$ac_ext <<_ACEOF
22168 cat confdefs.h
>>conftest.
$ac_ext
22169 cat >>conftest.
$ac_ext <<_ACEOF
22170 /* end confdefs.h. */
22171 $ac_includes_default
22172 typedef long ac__type_sizeof_;
22176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22183 rm -f conftest.
$ac_objext
22184 if { (ac_try
="$ac_compile"
22185 case "(($ac_try" in
22186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_compile") 2>conftest.er1
22192 grep -v '^ *+' conftest.er1 >conftest.err
22194 cat conftest.err >&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); } && {
22197 test -z "$ac_c_werror_flag" ||
22198 test ! -s conftest.err
22199 } && test -s conftest.$ac_objext; then
22202 cat >conftest.$ac_ext <<_ACEOF
22205 cat confdefs.h >>conftest.$ac_ext
22206 cat >>conftest.$ac_ext <<_ACEOF
22207 /* end confdefs.h. */
22208 $ac_includes_default
22209 typedef long ac__type_sizeof_;
22213 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22220 rm -f conftest.$ac_objext
22221 if { (ac_try="$ac_compile"
22222 case "(($ac_try" in
22223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22224 *) ac_try_echo
=$ac_try;;
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22227 (eval "$ac_compile") 2>conftest.er1
22229 grep -v '^ *+' conftest.er1
>conftest.err
22231 cat conftest.err
>&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } && {
22234 test -z "$ac_c_werror_flag" ||
22235 test ! -s conftest.err
22236 } && test -s conftest.
$ac_objext; then
22237 ac_lo
=$ac_mid; break
22239 echo "$as_me: failed program was:" >&5
22240 sed 's/^/| /' conftest.
$ac_ext >&5
22242 ac_hi
=`expr '(' $ac_mid ')' - 1`
22243 if test $ac_mid -le $ac_hi; then
22247 ac_mid
=`expr 2 '*' $ac_mid`
22250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22253 echo "$as_me: failed program was:" >&5
22254 sed 's/^/| /' conftest.
$ac_ext >&5
22259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22263 # Binary search between lo and hi bounds.
22264 while test "x$ac_lo" != "x$ac_hi"; do
22265 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22266 cat >conftest.
$ac_ext <<_ACEOF
22269 cat confdefs.h
>>conftest.
$ac_ext
22270 cat >>conftest.
$ac_ext <<_ACEOF
22271 /* end confdefs.h. */
22272 $ac_includes_default
22273 typedef long ac__type_sizeof_;
22277 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22284 rm -f conftest.
$ac_objext
22285 if { (ac_try
="$ac_compile"
22286 case "(($ac_try" in
22287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22288 *) ac_try_echo=$ac_try;;
22290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22291 (eval "$ac_compile") 2>conftest.er1
22293 grep -v '^ *+' conftest.er1 >conftest.err
22295 cat conftest.err >&5
22296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297 (exit $ac_status); } && {
22298 test -z "$ac_c_werror_flag" ||
22299 test ! -s conftest.err
22300 } && test -s conftest.$ac_objext; then
22303 echo "$as_me: failed program was:" >&5
22304 sed 's/^/| /' conftest.$ac_ext >&5
22306 ac_lo=`expr '(' $ac_mid ')' + 1`
22309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22312 ?*) ac_cv_sizeof_long=$ac_lo;;
22313 '') if test "$ac_cv_type_long" = yes; then
22314 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22315 See \`config.log
' for more details." >&5
22316 echo "$as_me: error: cannot compute sizeof (long)
22317 See \`config.log' for more details.
" >&2;}
22318 { (exit 77); exit 77; }; }
22320 ac_cv_sizeof_long=0
22324 cat >conftest.$ac_ext <<_ACEOF
22327 cat confdefs.h >>conftest.$ac_ext
22328 cat >>conftest.$ac_ext <<_ACEOF
22329 /* end confdefs.h. */
22330 $ac_includes_default
22331 typedef long ac__type_sizeof_;
22332 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22333 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22335 #include <stdlib.h>
22340 FILE *f = fopen ("conftest.val
", "w
");
22343 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22345 long int i = longval ();
22346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22348 fprintf (f, "%ld
\n", i);
22352 unsigned long int i = ulongval ();
22353 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22355 fprintf (f, "%lu
\n", i);
22357 return ferror (f) || fclose (f) != 0;
22363 rm -f conftest$ac_exeext
22364 if { (ac_try="$ac_link"
22365 case "(($ac_try" in
22366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22367 *) ac_try_echo=$ac_try;;
22369 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22370 (eval "$ac_link") 2>&5
22372 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22373 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22374 { (case "(($ac_try" in
22375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22376 *) ac_try_echo=$ac_try;;
22378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22379 (eval "$ac_try") 2>&5
22381 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22382 (exit $ac_status); }; }; then
22383 ac_cv_sizeof_long=`cat conftest.val`
22385 echo "$as_me: program exited with status
$ac_status" >&5
22386 echo "$as_me: failed program was
:" >&5
22387 sed 's/^/| /' conftest.$ac_ext >&5
22389 ( exit $ac_status )
22390 if test "$ac_cv_type_long" = yes; then
22391 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
22392 See \
`config.log' for more details." >&5
22393 echo "$as_me: error: cannot compute sizeof (long)
22394 See \`config.log
' for more details." >&2;}
22395 { (exit 77); exit 77; }; }
22397 ac_cv_sizeof_long=0
22400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22404 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22405 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22409 cat >>confdefs.h <<_ACEOF
22410 #define SIZEOF_LONG $ac_cv_sizeof_long
22414 { echo "$as_me:$LINENO: checking for size_t" >&5
22415 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22416 if test "${ac_cv_type_size_t+set}" = set; then
22417 echo $ECHO_N "(cached) $ECHO_C" >&6
22419 cat >conftest.$ac_ext <<_ACEOF
22422 cat confdefs.h >>conftest.$ac_ext
22423 cat >>conftest.$ac_ext <<_ACEOF
22424 /* end confdefs.h. */
22425 $ac_includes_default
22426 typedef size_t ac__type_new_;
22430 if ((ac__type_new_ *) 0)
22432 if (sizeof (ac__type_new_))
22438 rm -f conftest.$ac_objext
22439 if { (ac_try="$ac_compile"
22440 case "(($ac_try" in
22441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22442 *) ac_try_echo=$ac_try;;
22444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22445 (eval "$ac_compile") 2>conftest.er1
22447 grep -v '^
*+' conftest.er1 >conftest.err
22449 cat conftest.err >&5
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); } && {
22452 test -z "$ac_c_werror_flag" ||
22453 test ! -s conftest.err
22454 } && test -s conftest.$ac_objext; then
22455 ac_cv_type_size_t=yes
22457 echo "$as_me: failed program was:" >&5
22458 sed 's
/^
/| /' conftest.$ac_ext >&5
22460 ac_cv_type_size_t=no
22463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22465 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22466 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22468 # The cast to long int works around a bug in the HP C Compiler
22469 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22470 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22471 # This bug is HP SR number 8606223364.
22472 { echo "$as_me:$LINENO: checking size of size_t" >&5
22473 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22474 if test "${ac_cv_sizeof_size_t+set}" = set; then
22475 echo $ECHO_N "(cached) $ECHO_C" >&6
22477 if test "$cross_compiling" = yes; then
22478 # Depending upon the size, compute the lo and hi bounds.
22479 cat >conftest.
$ac_ext <<_ACEOF
22482 cat confdefs.h
>>conftest.
$ac_ext
22483 cat >>conftest.
$ac_ext <<_ACEOF
22484 /* end confdefs.h. */
22485 $ac_includes_default
22486 typedef size_t ac__type_sizeof_;
22490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22497 rm -f conftest.
$ac_objext
22498 if { (ac_try
="$ac_compile"
22499 case "(($ac_try" in
22500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22501 *) ac_try_echo=$ac_try;;
22503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504 (eval "$ac_compile") 2>conftest.er1
22506 grep -v '^ *+' conftest.er1 >conftest.err
22508 cat conftest.err >&5
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); } && {
22511 test -z "$ac_c_werror_flag" ||
22512 test ! -s conftest.err
22513 } && test -s conftest.$ac_objext; then
22516 cat >conftest.$ac_ext <<_ACEOF
22519 cat confdefs.h >>conftest.$ac_ext
22520 cat >>conftest.$ac_ext <<_ACEOF
22521 /* end confdefs.h. */
22522 $ac_includes_default
22523 typedef size_t ac__type_sizeof_;
22527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22534 rm -f conftest.$ac_objext
22535 if { (ac_try="$ac_compile"
22536 case "(($ac_try" in
22537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22538 *) ac_try_echo
=$ac_try;;
22540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22541 (eval "$ac_compile") 2>conftest.er1
22543 grep -v '^ *+' conftest.er1
>conftest.err
22545 cat conftest.err
>&5
22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547 (exit $ac_status); } && {
22548 test -z "$ac_c_werror_flag" ||
22549 test ! -s conftest.err
22550 } && test -s conftest.
$ac_objext; then
22551 ac_hi
=$ac_mid; break
22553 echo "$as_me: failed program was:" >&5
22554 sed 's/^/| /' conftest.
$ac_ext >&5
22556 ac_lo
=`expr $ac_mid + 1`
22557 if test $ac_lo -le $ac_mid; then
22561 ac_mid
=`expr 2 '*' $ac_mid + 1`
22564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22567 echo "$as_me: failed program was:" >&5
22568 sed 's/^/| /' conftest.
$ac_ext >&5
22570 cat >conftest.
$ac_ext <<_ACEOF
22573 cat confdefs.h
>>conftest.
$ac_ext
22574 cat >>conftest.
$ac_ext <<_ACEOF
22575 /* end confdefs.h. */
22576 $ac_includes_default
22577 typedef size_t ac__type_sizeof_;
22581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22588 rm -f conftest.
$ac_objext
22589 if { (ac_try
="$ac_compile"
22590 case "(($ac_try" in
22591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_compile") 2>conftest.er1
22597 grep -v '^ *+' conftest.er1 >conftest.err
22599 cat conftest.err >&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); } && {
22602 test -z "$ac_c_werror_flag" ||
22603 test ! -s conftest.err
22604 } && test -s conftest.$ac_objext; then
22607 cat >conftest.$ac_ext <<_ACEOF
22610 cat confdefs.h >>conftest.$ac_ext
22611 cat >>conftest.$ac_ext <<_ACEOF
22612 /* end confdefs.h. */
22613 $ac_includes_default
22614 typedef size_t ac__type_sizeof_;
22618 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22625 rm -f conftest.$ac_objext
22626 if { (ac_try="$ac_compile"
22627 case "(($ac_try" in
22628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22629 *) ac_try_echo
=$ac_try;;
22631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22632 (eval "$ac_compile") 2>conftest.er1
22634 grep -v '^ *+' conftest.er1
>conftest.err
22636 cat conftest.err
>&5
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); } && {
22639 test -z "$ac_c_werror_flag" ||
22640 test ! -s conftest.err
22641 } && test -s conftest.
$ac_objext; then
22642 ac_lo
=$ac_mid; break
22644 echo "$as_me: failed program was:" >&5
22645 sed 's/^/| /' conftest.
$ac_ext >&5
22647 ac_hi
=`expr '(' $ac_mid ')' - 1`
22648 if test $ac_mid -le $ac_hi; then
22652 ac_mid
=`expr 2 '*' $ac_mid`
22655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22658 echo "$as_me: failed program was:" >&5
22659 sed 's/^/| /' conftest.
$ac_ext >&5
22664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22668 # Binary search between lo and hi bounds.
22669 while test "x$ac_lo" != "x$ac_hi"; do
22670 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22671 cat >conftest.
$ac_ext <<_ACEOF
22674 cat confdefs.h
>>conftest.
$ac_ext
22675 cat >>conftest.
$ac_ext <<_ACEOF
22676 /* end confdefs.h. */
22677 $ac_includes_default
22678 typedef size_t ac__type_sizeof_;
22682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22689 rm -f conftest.
$ac_objext
22690 if { (ac_try
="$ac_compile"
22691 case "(($ac_try" in
22692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22693 *) ac_try_echo=$ac_try;;
22695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22696 (eval "$ac_compile") 2>conftest.er1
22698 grep -v '^ *+' conftest.er1 >conftest.err
22700 cat conftest.err >&5
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); } && {
22703 test -z "$ac_c_werror_flag" ||
22704 test ! -s conftest.err
22705 } && test -s conftest.$ac_objext; then
22708 echo "$as_me: failed program was:" >&5
22709 sed 's/^/| /' conftest.$ac_ext >&5
22711 ac_lo=`expr '(' $ac_mid ')' + 1`
22714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22717 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22718 '') if test "$ac_cv_type_size_t" = yes; then
22719 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22720 See \`config.log
' for more details." >&5
22721 echo "$as_me: error: cannot compute sizeof (size_t)
22722 See \`config.log' for more details.
" >&2;}
22723 { (exit 77); exit 77; }; }
22725 ac_cv_sizeof_size_t=0
22729 cat >conftest.$ac_ext <<_ACEOF
22732 cat confdefs.h >>conftest.$ac_ext
22733 cat >>conftest.$ac_ext <<_ACEOF
22734 /* end confdefs.h. */
22735 $ac_includes_default
22736 typedef size_t ac__type_sizeof_;
22737 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22738 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22740 #include <stdlib.h>
22745 FILE *f = fopen ("conftest.val
", "w
");
22748 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22750 long int i = longval ();
22751 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22753 fprintf (f, "%ld
\n", i);
22757 unsigned long int i = ulongval ();
22758 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22760 fprintf (f, "%lu
\n", i);
22762 return ferror (f) || fclose (f) != 0;
22768 rm -f conftest$ac_exeext
22769 if { (ac_try="$ac_link"
22770 case "(($ac_try" in
22771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22772 *) ac_try_echo=$ac_try;;
22774 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22775 (eval "$ac_link") 2>&5
22777 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22779 { (case "(($ac_try" in
22780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22781 *) ac_try_echo=$ac_try;;
22783 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22784 (eval "$ac_try") 2>&5
22786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22787 (exit $ac_status); }; }; then
22788 ac_cv_sizeof_size_t=`cat conftest.val`
22790 echo "$as_me: program exited with status
$ac_status" >&5
22791 echo "$as_me: failed program was
:" >&5
22792 sed 's/^/| /' conftest.$ac_ext >&5
22794 ( exit $ac_status )
22795 if test "$ac_cv_type_size_t" = yes; then
22796 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22797 See \
`config.log' for more details." >&5
22798 echo "$as_me: error: cannot compute sizeof (size_t)
22799 See \`config.log
' for more details." >&2;}
22800 { (exit 77); exit 77; }; }
22802 ac_cv_sizeof_size_t=0
22805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22809 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22810 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22814 cat >>confdefs.h <<_ACEOF
22815 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22822 { echo "$as_me:$LINENO: checking for long long" >&5
22823 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22824 if test "${ac_cv_type_long_long+set}" = set; then
22825 echo $ECHO_N "(cached) $ECHO_C" >&6
22827 cat >conftest.$ac_ext <<_ACEOF
22830 cat confdefs.h >>conftest.$ac_ext
22831 cat >>conftest.$ac_ext <<_ACEOF
22832 /* end confdefs.h. */
22833 $ac_includes_default
22834 typedef long long ac__type_new_;
22838 if ((ac__type_new_ *) 0)
22840 if (sizeof (ac__type_new_))
22846 rm -f conftest.$ac_objext
22847 if { (ac_try="$ac_compile"
22848 case "(($ac_try" in
22849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22850 *) ac_try_echo=$ac_try;;
22852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22853 (eval "$ac_compile") 2>conftest.er1
22855 grep -v '^
*+' conftest.er1 >conftest.err
22857 cat conftest.err >&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } && {
22860 test -z "$ac_c_werror_flag" ||
22861 test ! -s conftest.err
22862 } && test -s conftest.$ac_objext; then
22863 ac_cv_type_long_long=yes
22865 echo "$as_me: failed program was:" >&5
22866 sed 's
/^
/| /' conftest.$ac_ext >&5
22868 ac_cv_type_long_long=no
22871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22873 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22874 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22876 # The cast to long int works around a bug in the HP C Compiler
22877 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22878 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22879 # This bug is HP SR number 8606223364.
22880 { echo "$as_me:$LINENO: checking size of long long" >&5
22881 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22882 if test "${ac_cv_sizeof_long_long+set}" = set; then
22883 echo $ECHO_N "(cached) $ECHO_C" >&6
22885 if test "$cross_compiling" = yes; then
22886 # Depending upon the size, compute the lo and hi bounds.
22887 cat >conftest.
$ac_ext <<_ACEOF
22890 cat confdefs.h
>>conftest.
$ac_ext
22891 cat >>conftest.
$ac_ext <<_ACEOF
22892 /* end confdefs.h. */
22893 $ac_includes_default
22894 typedef long long ac__type_sizeof_;
22898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22905 rm -f conftest.
$ac_objext
22906 if { (ac_try
="$ac_compile"
22907 case "(($ac_try" in
22908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22909 *) ac_try_echo=$ac_try;;
22911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22912 (eval "$ac_compile") 2>conftest.er1
22914 grep -v '^ *+' conftest.er1 >conftest.err
22916 cat conftest.err >&5
22917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22918 (exit $ac_status); } && {
22919 test -z "$ac_c_werror_flag" ||
22920 test ! -s conftest.err
22921 } && test -s conftest.$ac_objext; then
22924 cat >conftest.$ac_ext <<_ACEOF
22927 cat confdefs.h >>conftest.$ac_ext
22928 cat >>conftest.$ac_ext <<_ACEOF
22929 /* end confdefs.h. */
22930 $ac_includes_default
22931 typedef long long ac__type_sizeof_;
22935 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22942 rm -f conftest.$ac_objext
22943 if { (ac_try="$ac_compile"
22944 case "(($ac_try" in
22945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22946 *) ac_try_echo
=$ac_try;;
22948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22949 (eval "$ac_compile") 2>conftest.er1
22951 grep -v '^ *+' conftest.er1
>conftest.err
22953 cat conftest.err
>&5
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); } && {
22956 test -z "$ac_c_werror_flag" ||
22957 test ! -s conftest.err
22958 } && test -s conftest.
$ac_objext; then
22959 ac_hi
=$ac_mid; break
22961 echo "$as_me: failed program was:" >&5
22962 sed 's/^/| /' conftest.
$ac_ext >&5
22964 ac_lo
=`expr $ac_mid + 1`
22965 if test $ac_lo -le $ac_mid; then
22969 ac_mid
=`expr 2 '*' $ac_mid + 1`
22972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22975 echo "$as_me: failed program was:" >&5
22976 sed 's/^/| /' conftest.
$ac_ext >&5
22978 cat >conftest.
$ac_ext <<_ACEOF
22981 cat confdefs.h
>>conftest.
$ac_ext
22982 cat >>conftest.
$ac_ext <<_ACEOF
22983 /* end confdefs.h. */
22984 $ac_includes_default
22985 typedef long long ac__type_sizeof_;
22989 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22996 rm -f conftest.
$ac_objext
22997 if { (ac_try
="$ac_compile"
22998 case "(($ac_try" in
22999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23000 *) ac_try_echo=$ac_try;;
23002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23003 (eval "$ac_compile") 2>conftest.er1
23005 grep -v '^ *+' conftest.er1 >conftest.err
23007 cat conftest.err >&5
23008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23009 (exit $ac_status); } && {
23010 test -z "$ac_c_werror_flag" ||
23011 test ! -s conftest.err
23012 } && test -s conftest.$ac_objext; then
23015 cat >conftest.$ac_ext <<_ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021 $ac_includes_default
23022 typedef long long ac__type_sizeof_;
23026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23033 rm -f conftest.$ac_objext
23034 if { (ac_try="$ac_compile"
23035 case "(($ac_try" in
23036 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23037 *) ac_try_echo
=$ac_try;;
23039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23040 (eval "$ac_compile") 2>conftest.er1
23042 grep -v '^ *+' conftest.er1
>conftest.err
23044 cat conftest.err
>&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } && {
23047 test -z "$ac_c_werror_flag" ||
23048 test ! -s conftest.err
23049 } && test -s conftest.
$ac_objext; then
23050 ac_lo
=$ac_mid; break
23052 echo "$as_me: failed program was:" >&5
23053 sed 's/^/| /' conftest.
$ac_ext >&5
23055 ac_hi
=`expr '(' $ac_mid ')' - 1`
23056 if test $ac_mid -le $ac_hi; then
23060 ac_mid
=`expr 2 '*' $ac_mid`
23063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23066 echo "$as_me: failed program was:" >&5
23067 sed 's/^/| /' conftest.
$ac_ext >&5
23072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23076 # Binary search between lo and hi bounds.
23077 while test "x$ac_lo" != "x$ac_hi"; do
23078 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23079 cat >conftest.
$ac_ext <<_ACEOF
23082 cat confdefs.h
>>conftest.
$ac_ext
23083 cat >>conftest.
$ac_ext <<_ACEOF
23084 /* end confdefs.h. */
23085 $ac_includes_default
23086 typedef long long ac__type_sizeof_;
23090 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23097 rm -f conftest.
$ac_objext
23098 if { (ac_try
="$ac_compile"
23099 case "(($ac_try" in
23100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23101 *) ac_try_echo=$ac_try;;
23103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23104 (eval "$ac_compile") 2>conftest.er1
23106 grep -v '^ *+' conftest.er1 >conftest.err
23108 cat conftest.err >&5
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); } && {
23111 test -z "$ac_c_werror_flag" ||
23112 test ! -s conftest.err
23113 } && test -s conftest.$ac_objext; then
23116 echo "$as_me: failed program was:" >&5
23117 sed 's/^/| /' conftest.$ac_ext >&5
23119 ac_lo=`expr '(' $ac_mid ')' + 1`
23122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23125 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23126 '') if test "$ac_cv_type_long_long" = yes; then
23127 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23128 See \`config.log
' for more details." >&5
23129 echo "$as_me: error: cannot compute sizeof (long long)
23130 See \`config.log' for more details.
" >&2;}
23131 { (exit 77); exit 77; }; }
23133 ac_cv_sizeof_long_long=0
23137 cat >conftest.$ac_ext <<_ACEOF
23140 cat confdefs.h >>conftest.$ac_ext
23141 cat >>conftest.$ac_ext <<_ACEOF
23142 /* end confdefs.h. */
23143 $ac_includes_default
23144 typedef long long ac__type_sizeof_;
23145 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23146 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23148 #include <stdlib.h>
23153 FILE *f = fopen ("conftest.val
", "w
");
23156 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23158 long int i = longval ();
23159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23161 fprintf (f, "%ld
\n", i);
23165 unsigned long int i = ulongval ();
23166 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23168 fprintf (f, "%lu
\n", i);
23170 return ferror (f) || fclose (f) != 0;
23176 rm -f conftest$ac_exeext
23177 if { (ac_try="$ac_link"
23178 case "(($ac_try" in
23179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23180 *) ac_try_echo=$ac_try;;
23182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23183 (eval "$ac_link") 2>&5
23185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23187 { (case "(($ac_try" in
23188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23189 *) ac_try_echo=$ac_try;;
23191 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23192 (eval "$ac_try") 2>&5
23194 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23195 (exit $ac_status); }; }; then
23196 ac_cv_sizeof_long_long=`cat conftest.val`
23198 echo "$as_me: program exited with status
$ac_status" >&5
23199 echo "$as_me: failed program was
:" >&5
23200 sed 's/^/| /' conftest.$ac_ext >&5
23202 ( exit $ac_status )
23203 if test "$ac_cv_type_long_long" = yes; then
23204 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23205 See \
`config.log' for more details." >&5
23206 echo "$as_me: error: cannot compute sizeof (long long)
23207 See \`config.log
' for more details." >&2;}
23208 { (exit 77); exit 77; }; }
23210 ac_cv_sizeof_long_long=0
23213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23217 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23218 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23222 cat >>confdefs.h <<_ACEOF
23223 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23229 { echo "$as_me:$LINENO: checking for long long" >&5
23230 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23231 if test "${ac_cv_type_long_long+set}" = set; then
23232 echo $ECHO_N "(cached) $ECHO_C" >&6
23234 cat >conftest.$ac_ext <<_ACEOF
23237 cat confdefs.h >>conftest.$ac_ext
23238 cat >>conftest.$ac_ext <<_ACEOF
23239 /* end confdefs.h. */
23240 $ac_includes_default
23241 typedef long long ac__type_new_;
23245 if ((ac__type_new_ *) 0)
23247 if (sizeof (ac__type_new_))
23253 rm -f conftest.$ac_objext
23254 if { (ac_try="$ac_compile"
23255 case "(($ac_try" in
23256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23257 *) ac_try_echo=$ac_try;;
23259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23260 (eval "$ac_compile") 2>conftest.er1
23262 grep -v '^
*+' conftest.er1 >conftest.err
23264 cat conftest.err >&5
23265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266 (exit $ac_status); } && {
23267 test -z "$ac_c_werror_flag" ||
23268 test ! -s conftest.err
23269 } && test -s conftest.$ac_objext; then
23270 ac_cv_type_long_long=yes
23272 echo "$as_me: failed program was:" >&5
23273 sed 's
/^
/| /' conftest.$ac_ext >&5
23275 ac_cv_type_long_long=no
23278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23280 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23281 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23283 # The cast to long int works around a bug in the HP C Compiler
23284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23286 # This bug is HP SR number 8606223364.
23287 { echo "$as_me:$LINENO: checking size of long long" >&5
23288 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23289 if test "${ac_cv_sizeof_long_long+set}" = set; then
23290 echo $ECHO_N "(cached) $ECHO_C" >&6
23292 if test "$cross_compiling" = yes; then
23293 # Depending upon the size, compute the lo and hi bounds.
23294 cat >conftest.
$ac_ext <<_ACEOF
23297 cat confdefs.h
>>conftest.
$ac_ext
23298 cat >>conftest.
$ac_ext <<_ACEOF
23299 /* end confdefs.h. */
23300 $ac_includes_default
23301 typedef long long ac__type_sizeof_;
23305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23312 rm -f conftest.
$ac_objext
23313 if { (ac_try
="$ac_compile"
23314 case "(($ac_try" in
23315 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23316 *) ac_try_echo=$ac_try;;
23318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23319 (eval "$ac_compile") 2>conftest.er1
23321 grep -v '^ *+' conftest.er1 >conftest.err
23323 cat conftest.err >&5
23324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325 (exit $ac_status); } && {
23326 test -z "$ac_c_werror_flag" ||
23327 test ! -s conftest.err
23328 } && test -s conftest.$ac_objext; then
23331 cat >conftest.$ac_ext <<_ACEOF
23334 cat confdefs.h >>conftest.$ac_ext
23335 cat >>conftest.$ac_ext <<_ACEOF
23336 /* end confdefs.h. */
23337 $ac_includes_default
23338 typedef long long ac__type_sizeof_;
23342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23349 rm -f conftest.$ac_objext
23350 if { (ac_try="$ac_compile"
23351 case "(($ac_try" in
23352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23353 *) ac_try_echo
=$ac_try;;
23355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23356 (eval "$ac_compile") 2>conftest.er1
23358 grep -v '^ *+' conftest.er1
>conftest.err
23360 cat conftest.err
>&5
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); } && {
23363 test -z "$ac_c_werror_flag" ||
23364 test ! -s conftest.err
23365 } && test -s conftest.
$ac_objext; then
23366 ac_hi
=$ac_mid; break
23368 echo "$as_me: failed program was:" >&5
23369 sed 's/^/| /' conftest.
$ac_ext >&5
23371 ac_lo
=`expr $ac_mid + 1`
23372 if test $ac_lo -le $ac_mid; then
23376 ac_mid
=`expr 2 '*' $ac_mid + 1`
23379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23382 echo "$as_me: failed program was:" >&5
23383 sed 's/^/| /' conftest.
$ac_ext >&5
23385 cat >conftest.
$ac_ext <<_ACEOF
23388 cat confdefs.h
>>conftest.
$ac_ext
23389 cat >>conftest.
$ac_ext <<_ACEOF
23390 /* end confdefs.h. */
23391 $ac_includes_default
23392 typedef long long ac__type_sizeof_;
23396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23403 rm -f conftest.
$ac_objext
23404 if { (ac_try
="$ac_compile"
23405 case "(($ac_try" in
23406 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23407 *) ac_try_echo=$ac_try;;
23409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23410 (eval "$ac_compile") 2>conftest.er1
23412 grep -v '^ *+' conftest.er1 >conftest.err
23414 cat conftest.err >&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } && {
23417 test -z "$ac_c_werror_flag" ||
23418 test ! -s conftest.err
23419 } && test -s conftest.$ac_objext; then
23422 cat >conftest.$ac_ext <<_ACEOF
23425 cat confdefs.h >>conftest.$ac_ext
23426 cat >>conftest.$ac_ext <<_ACEOF
23427 /* end confdefs.h. */
23428 $ac_includes_default
23429 typedef long long ac__type_sizeof_;
23433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23440 rm -f conftest.$ac_objext
23441 if { (ac_try="$ac_compile"
23442 case "(($ac_try" in
23443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23444 *) ac_try_echo
=$ac_try;;
23446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23447 (eval "$ac_compile") 2>conftest.er1
23449 grep -v '^ *+' conftest.er1
>conftest.err
23451 cat conftest.err
>&5
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); } && {
23454 test -z "$ac_c_werror_flag" ||
23455 test ! -s conftest.err
23456 } && test -s conftest.
$ac_objext; then
23457 ac_lo
=$ac_mid; break
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.
$ac_ext >&5
23462 ac_hi
=`expr '(' $ac_mid ')' - 1`
23463 if test $ac_mid -le $ac_hi; then
23467 ac_mid
=`expr 2 '*' $ac_mid`
23470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.
$ac_ext >&5
23479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23483 # Binary search between lo and hi bounds.
23484 while test "x$ac_lo" != "x$ac_hi"; do
23485 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23486 cat >conftest.
$ac_ext <<_ACEOF
23489 cat confdefs.h
>>conftest.
$ac_ext
23490 cat >>conftest.
$ac_ext <<_ACEOF
23491 /* end confdefs.h. */
23492 $ac_includes_default
23493 typedef long long ac__type_sizeof_;
23497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23504 rm -f conftest.
$ac_objext
23505 if { (ac_try
="$ac_compile"
23506 case "(($ac_try" in
23507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23508 *) ac_try_echo=$ac_try;;
23510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23511 (eval "$ac_compile") 2>conftest.er1
23513 grep -v '^ *+' conftest.er1 >conftest.err
23515 cat conftest.err >&5
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); } && {
23518 test -z "$ac_c_werror_flag" ||
23519 test ! -s conftest.err
23520 } && test -s conftest.$ac_objext; then
23523 echo "$as_me: failed program was:" >&5
23524 sed 's/^/| /' conftest.$ac_ext >&5
23526 ac_lo=`expr '(' $ac_mid ')' + 1`
23529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23532 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23533 '') if test "$ac_cv_type_long_long" = yes; then
23534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23535 See \`config.log
' for more details." >&5
23536 echo "$as_me: error: cannot compute sizeof (long long)
23537 See \`config.log' for more details.
" >&2;}
23538 { (exit 77); exit 77; }; }
23540 ac_cv_sizeof_long_long=0
23544 cat >conftest.$ac_ext <<_ACEOF
23547 cat confdefs.h >>conftest.$ac_ext
23548 cat >>conftest.$ac_ext <<_ACEOF
23549 /* end confdefs.h. */
23550 $ac_includes_default
23551 typedef long long ac__type_sizeof_;
23552 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23553 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23555 #include <stdlib.h>
23560 FILE *f = fopen ("conftest.val
", "w
");
23563 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23565 long int i = longval ();
23566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23568 fprintf (f, "%ld
\n", i);
23572 unsigned long int i = ulongval ();
23573 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23575 fprintf (f, "%lu
\n", i);
23577 return ferror (f) || fclose (f) != 0;
23583 rm -f conftest$ac_exeext
23584 if { (ac_try="$ac_link"
23585 case "(($ac_try" in
23586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23587 *) ac_try_echo=$ac_try;;
23589 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23590 (eval "$ac_link") 2>&5
23592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23594 { (case "(($ac_try" in
23595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23596 *) ac_try_echo=$ac_try;;
23598 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23599 (eval "$ac_try") 2>&5
23601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23602 (exit $ac_status); }; }; then
23603 ac_cv_sizeof_long_long=`cat conftest.val`
23605 echo "$as_me: program exited with status
$ac_status" >&5
23606 echo "$as_me: failed program was
:" >&5
23607 sed 's/^/| /' conftest.$ac_ext >&5
23609 ( exit $ac_status )
23610 if test "$ac_cv_type_long_long" = yes; then
23611 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23612 See \
`config.log' for more details." >&5
23613 echo "$as_me: error: cannot compute sizeof (long long)
23614 See \`config.log
' for more details." >&2;}
23615 { (exit 77); exit 77; }; }
23617 ac_cv_sizeof_long_long=0
23620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23624 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23625 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23629 cat >>confdefs.h <<_ACEOF
23630 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23634 if test "$ac_cv_sizeof_long_long" != 0; then
23635 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23639 { echo "$as_me:$LINENO: checking for long long" >&5
23640 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23641 if test "${ac_cv_type_long_long+set}" = set; then
23642 echo $ECHO_N "(cached) $ECHO_C" >&6
23644 cat >conftest.$ac_ext <<_ACEOF
23647 cat confdefs.h >>conftest.$ac_ext
23648 cat >>conftest.$ac_ext <<_ACEOF
23649 /* end confdefs.h. */
23650 $ac_includes_default
23651 typedef long long ac__type_new_;
23655 if ((ac__type_new_ *) 0)
23657 if (sizeof (ac__type_new_))
23663 rm -f conftest.$ac_objext
23664 if { (ac_try="$ac_compile"
23665 case "(($ac_try" in
23666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23667 *) ac_try_echo=$ac_try;;
23669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23670 (eval "$ac_compile") 2>conftest.er1
23672 grep -v '^
*+' conftest.er1 >conftest.err
23674 cat conftest.err >&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); } && {
23677 test -z "$ac_c_werror_flag" ||
23678 test ! -s conftest.err
23679 } && test -s conftest.$ac_objext; then
23680 ac_cv_type_long_long=yes
23682 echo "$as_me: failed program was:" >&5
23683 sed 's
/^
/| /' conftest.$ac_ext >&5
23685 ac_cv_type_long_long=no
23688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23690 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23691 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23693 # The cast to long int works around a bug in the HP C Compiler
23694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23696 # This bug is HP SR number 8606223364.
23697 { echo "$as_me:$LINENO: checking size of long long" >&5
23698 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23699 if test "${ac_cv_sizeof_long_long+set}" = set; then
23700 echo $ECHO_N "(cached) $ECHO_C" >&6
23702 if test "$cross_compiling" = yes; then
23703 # Depending upon the size, compute the lo and hi bounds.
23704 cat >conftest.
$ac_ext <<_ACEOF
23707 cat confdefs.h
>>conftest.
$ac_ext
23708 cat >>conftest.
$ac_ext <<_ACEOF
23709 /* end confdefs.h. */
23710 $ac_includes_default
23711 typedef long long ac__type_sizeof_;
23715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23722 rm -f conftest.
$ac_objext
23723 if { (ac_try
="$ac_compile"
23724 case "(($ac_try" in
23725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23726 *) ac_try_echo=$ac_try;;
23728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23729 (eval "$ac_compile") 2>conftest.er1
23731 grep -v '^ *+' conftest.er1 >conftest.err
23733 cat conftest.err >&5
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } && {
23736 test -z "$ac_c_werror_flag" ||
23737 test ! -s conftest.err
23738 } && test -s conftest.$ac_objext; then
23741 cat >conftest.$ac_ext <<_ACEOF
23744 cat confdefs.h >>conftest.$ac_ext
23745 cat >>conftest.$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23747 $ac_includes_default
23748 typedef long long ac__type_sizeof_;
23752 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23759 rm -f conftest.$ac_objext
23760 if { (ac_try="$ac_compile"
23761 case "(($ac_try" in
23762 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23763 *) ac_try_echo
=$ac_try;;
23765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23766 (eval "$ac_compile") 2>conftest.er1
23768 grep -v '^ *+' conftest.er1
>conftest.err
23770 cat conftest.err
>&5
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); } && {
23773 test -z "$ac_c_werror_flag" ||
23774 test ! -s conftest.err
23775 } && test -s conftest.
$ac_objext; then
23776 ac_hi
=$ac_mid; break
23778 echo "$as_me: failed program was:" >&5
23779 sed 's/^/| /' conftest.
$ac_ext >&5
23781 ac_lo
=`expr $ac_mid + 1`
23782 if test $ac_lo -le $ac_mid; then
23786 ac_mid
=`expr 2 '*' $ac_mid + 1`
23789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23792 echo "$as_me: failed program was:" >&5
23793 sed 's/^/| /' conftest.
$ac_ext >&5
23795 cat >conftest.
$ac_ext <<_ACEOF
23798 cat confdefs.h
>>conftest.
$ac_ext
23799 cat >>conftest.
$ac_ext <<_ACEOF
23800 /* end confdefs.h. */
23801 $ac_includes_default
23802 typedef long long ac__type_sizeof_;
23806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23813 rm -f conftest.
$ac_objext
23814 if { (ac_try
="$ac_compile"
23815 case "(($ac_try" in
23816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23817 *) ac_try_echo=$ac_try;;
23819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23820 (eval "$ac_compile") 2>conftest.er1
23822 grep -v '^ *+' conftest.er1 >conftest.err
23824 cat conftest.err >&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); } && {
23827 test -z "$ac_c_werror_flag" ||
23828 test ! -s conftest.err
23829 } && test -s conftest.$ac_objext; then
23832 cat >conftest.$ac_ext <<_ACEOF
23835 cat confdefs.h >>conftest.$ac_ext
23836 cat >>conftest.$ac_ext <<_ACEOF
23837 /* end confdefs.h. */
23838 $ac_includes_default
23839 typedef long long ac__type_sizeof_;
23843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23850 rm -f conftest.$ac_objext
23851 if { (ac_try="$ac_compile"
23852 case "(($ac_try" in
23853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23854 *) ac_try_echo
=$ac_try;;
23856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23857 (eval "$ac_compile") 2>conftest.er1
23859 grep -v '^ *+' conftest.er1
>conftest.err
23861 cat conftest.err
>&5
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); } && {
23864 test -z "$ac_c_werror_flag" ||
23865 test ! -s conftest.err
23866 } && test -s conftest.
$ac_objext; then
23867 ac_lo
=$ac_mid; break
23869 echo "$as_me: failed program was:" >&5
23870 sed 's/^/| /' conftest.
$ac_ext >&5
23872 ac_hi
=`expr '(' $ac_mid ')' - 1`
23873 if test $ac_mid -le $ac_hi; then
23877 ac_mid
=`expr 2 '*' $ac_mid`
23880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23883 echo "$as_me: failed program was:" >&5
23884 sed 's/^/| /' conftest.
$ac_ext >&5
23889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23893 # Binary search between lo and hi bounds.
23894 while test "x$ac_lo" != "x$ac_hi"; do
23895 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23896 cat >conftest.
$ac_ext <<_ACEOF
23899 cat confdefs.h
>>conftest.
$ac_ext
23900 cat >>conftest.
$ac_ext <<_ACEOF
23901 /* end confdefs.h. */
23902 $ac_includes_default
23903 typedef long long ac__type_sizeof_;
23907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23914 rm -f conftest.
$ac_objext
23915 if { (ac_try
="$ac_compile"
23916 case "(($ac_try" in
23917 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23918 *) ac_try_echo=$ac_try;;
23920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23921 (eval "$ac_compile") 2>conftest.er1
23923 grep -v '^ *+' conftest.er1 >conftest.err
23925 cat conftest.err >&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } && {
23928 test -z "$ac_c_werror_flag" ||
23929 test ! -s conftest.err
23930 } && test -s conftest.$ac_objext; then
23933 echo "$as_me: failed program was:" >&5
23934 sed 's/^/| /' conftest.$ac_ext >&5
23936 ac_lo=`expr '(' $ac_mid ')' + 1`
23939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23942 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23943 '') if test "$ac_cv_type_long_long" = yes; then
23944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23945 See \`config.log
' for more details." >&5
23946 echo "$as_me: error: cannot compute sizeof (long long)
23947 See \`config.log' for more details.
" >&2;}
23948 { (exit 77); exit 77; }; }
23950 ac_cv_sizeof_long_long=0
23954 cat >conftest.$ac_ext <<_ACEOF
23957 cat confdefs.h >>conftest.$ac_ext
23958 cat >>conftest.$ac_ext <<_ACEOF
23959 /* end confdefs.h. */
23960 $ac_includes_default
23961 typedef long long ac__type_sizeof_;
23962 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23963 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23965 #include <stdlib.h>
23970 FILE *f = fopen ("conftest.val
", "w
");
23973 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23975 long int i = longval ();
23976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23978 fprintf (f, "%ld
\n", i);
23982 unsigned long int i = ulongval ();
23983 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23985 fprintf (f, "%lu
\n", i);
23987 return ferror (f) || fclose (f) != 0;
23993 rm -f conftest$ac_exeext
23994 if { (ac_try="$ac_link"
23995 case "(($ac_try" in
23996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23997 *) ac_try_echo=$ac_try;;
23999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24000 (eval "$ac_link") 2>&5
24002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24004 { (case "(($ac_try" in
24005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24006 *) ac_try_echo=$ac_try;;
24008 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24009 (eval "$ac_try") 2>&5
24011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24012 (exit $ac_status); }; }; then
24013 ac_cv_sizeof_long_long=`cat conftest.val`
24015 echo "$as_me: program exited with status
$ac_status" >&5
24016 echo "$as_me: failed program was
:" >&5
24017 sed 's/^/| /' conftest.$ac_ext >&5
24019 ( exit $ac_status )
24020 if test "$ac_cv_type_long_long" = yes; then
24021 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24022 See \
`config.log' for more details." >&5
24023 echo "$as_me: error: cannot compute sizeof (long long)
24024 See \`config.log
' for more details." >&2;}
24025 { (exit 77); exit 77; }; }
24027 ac_cv_sizeof_long_long=0
24030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24034 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24035 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24039 cat >>confdefs.h <<_ACEOF
24040 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24046 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24047 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24048 if test "${ac_cv_type_wchar_t+set}" = set; then
24049 echo $ECHO_N "(cached) $ECHO_C" >&6
24051 cat >conftest.$ac_ext <<_ACEOF
24054 cat confdefs.h >>conftest.$ac_ext
24055 cat >>conftest.$ac_ext <<_ACEOF
24056 /* end confdefs.h. */
24058 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24059 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24060 # error "fake wchar_t"
24062 #ifdef HAVE_WCHAR_H
24064 # include <stddef.h>
24066 # include <wchar.h>
24068 #ifdef HAVE_STDLIB_H
24069 # include <stdlib.h>
24075 typedef wchar_t ac__type_new_
;
24079 if ((ac__type_new_
*) 0)
24081 if (sizeof
(ac__type_new_
))
24087 rm -f conftest.
$ac_objext
24088 if { (ac_try
="$ac_compile"
24089 case "(($ac_try" in
24090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24091 *) ac_try_echo=$ac_try;;
24093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24094 (eval "$ac_compile") 2>conftest.er1
24096 grep -v '^ *+' conftest.er1 >conftest.err
24098 cat conftest.err >&5
24099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24100 (exit $ac_status); } && {
24101 test -z "$ac_c_werror_flag" ||
24102 test ! -s conftest.err
24103 } && test -s conftest.$ac_objext; then
24104 ac_cv_type_wchar_t=yes
24106 echo "$as_me: failed program was:" >&5
24107 sed 's/^/| /' conftest.$ac_ext >&5
24109 ac_cv_type_wchar_t=no
24112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24114 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24115 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24117 # The cast to long int works around a bug in the HP C Compiler
24118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24119 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
24120 # This bug is HP SR number 8606223364.
24121 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24122 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24123 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24126 if test "$cross_compiling" = yes; then
24127 # Depending upon the size, compute the lo and hi bounds.
24128 cat >conftest.$ac_ext <<_ACEOF
24131 cat confdefs.h >>conftest.$ac_ext
24132 cat >>conftest.$ac_ext <<_ACEOF
24133 /* end confdefs.h. */
24135 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24136 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24137 # error "fake wchar_t"
24139 #ifdef HAVE_WCHAR_H
24141 # include <stddef.h>
24143 # include <wchar.h>
24145 #ifdef HAVE_STDLIB_H
24146 # include <stdlib.h>
24152 typedef wchar_t ac__type_sizeof_
;
24156 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
24163 rm -f conftest.
$ac_objext
24164 if { (ac_try
="$ac_compile"
24165 case "(($ac_try" in
24166 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24167 *) ac_try_echo=$ac_try;;
24169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24170 (eval "$ac_compile") 2>conftest.er1
24172 grep -v '^ *+' conftest.er1 >conftest.err
24174 cat conftest.err >&5
24175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176 (exit $ac_status); } && {
24177 test -z "$ac_c_werror_flag" ||
24178 test ! -s conftest.err
24179 } && test -s conftest.$ac_objext; then
24182 cat >conftest.$ac_ext <<_ACEOF
24185 cat confdefs.h >>conftest.$ac_ext
24186 cat >>conftest.$ac_ext <<_ACEOF
24187 /* end confdefs.h. */
24189 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24190 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24191 # error "fake wchar_t"
24193 #ifdef HAVE_WCHAR_H
24195 # include <stddef.h>
24197 # include <wchar.h>
24199 #ifdef HAVE_STDLIB_H
24200 # include <stdlib.h>
24206 typedef wchar_t ac__type_sizeof_;
24210 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24217 rm -f conftest.$ac_objext
24218 if { (ac_try="$ac_compile"
24219 case "(($ac_try" in
24220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24221 *) ac_try_echo
=$ac_try;;
24223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24224 (eval "$ac_compile") 2>conftest.er1
24226 grep -v '^ *+' conftest.er1
>conftest.err
24228 cat conftest.err
>&5
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); } && {
24231 test -z "$ac_c_werror_flag" ||
24232 test ! -s conftest.err
24233 } && test -s conftest.
$ac_objext; then
24234 ac_hi
=$ac_mid; break
24236 echo "$as_me: failed program was:" >&5
24237 sed 's/^/| /' conftest.
$ac_ext >&5
24239 ac_lo
=`expr $ac_mid + 1`
24240 if test $ac_lo -le $ac_mid; then
24244 ac_mid
=`expr 2 '*' $ac_mid + 1`
24247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24250 echo "$as_me: failed program was:" >&5
24251 sed 's/^/| /' conftest.
$ac_ext >&5
24253 cat >conftest.
$ac_ext <<_ACEOF
24256 cat confdefs.h
>>conftest.
$ac_ext
24257 cat >>conftest.
$ac_ext <<_ACEOF
24258 /* end confdefs.h. */
24260 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24261 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24262 # error "fake wchar_t"
24264 #ifdef HAVE_WCHAR_H
24266 # include <stddef.h>
24268 # include <wchar.h>
24270 #ifdef HAVE_STDLIB_H
24271 # include <stdlib.h>
24277 typedef wchar_t ac__type_sizeof_;
24281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24288 rm -f conftest.
$ac_objext
24289 if { (ac_try
="$ac_compile"
24290 case "(($ac_try" in
24291 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24292 *) ac_try_echo=$ac_try;;
24294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24295 (eval "$ac_compile") 2>conftest.er1
24297 grep -v '^ *+' conftest.er1 >conftest.err
24299 cat conftest.err >&5
24300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301 (exit $ac_status); } && {
24302 test -z "$ac_c_werror_flag" ||
24303 test ! -s conftest.err
24304 } && test -s conftest.$ac_objext; then
24307 cat >conftest.$ac_ext <<_ACEOF
24310 cat confdefs.h >>conftest.$ac_ext
24311 cat >>conftest.$ac_ext <<_ACEOF
24312 /* end confdefs.h. */
24314 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24315 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24316 # error "fake wchar_t"
24318 #ifdef HAVE_WCHAR_H
24320 # include <stddef.h>
24322 # include <wchar.h>
24324 #ifdef HAVE_STDLIB_H
24325 # include <stdlib.h>
24331 typedef wchar_t ac__type_sizeof_;
24335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24342 rm -f conftest.$ac_objext
24343 if { (ac_try="$ac_compile"
24344 case "(($ac_try" in
24345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24346 *) ac_try_echo
=$ac_try;;
24348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24349 (eval "$ac_compile") 2>conftest.er1
24351 grep -v '^ *+' conftest.er1
>conftest.err
24353 cat conftest.err
>&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); } && {
24356 test -z "$ac_c_werror_flag" ||
24357 test ! -s conftest.err
24358 } && test -s conftest.
$ac_objext; then
24359 ac_lo
=$ac_mid; break
24361 echo "$as_me: failed program was:" >&5
24362 sed 's/^/| /' conftest.
$ac_ext >&5
24364 ac_hi
=`expr '(' $ac_mid ')' - 1`
24365 if test $ac_mid -le $ac_hi; then
24369 ac_mid
=`expr 2 '*' $ac_mid`
24372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24375 echo "$as_me: failed program was:" >&5
24376 sed 's/^/| /' conftest.
$ac_ext >&5
24381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24385 # Binary search between lo and hi bounds.
24386 while test "x$ac_lo" != "x$ac_hi"; do
24387 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24388 cat >conftest.
$ac_ext <<_ACEOF
24391 cat confdefs.h
>>conftest.
$ac_ext
24392 cat >>conftest.
$ac_ext <<_ACEOF
24393 /* end confdefs.h. */
24395 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24396 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24397 # error "fake wchar_t"
24399 #ifdef HAVE_WCHAR_H
24401 # include <stddef.h>
24403 # include <wchar.h>
24405 #ifdef HAVE_STDLIB_H
24406 # include <stdlib.h>
24412 typedef wchar_t ac__type_sizeof_;
24416 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24423 rm -f conftest.
$ac_objext
24424 if { (ac_try
="$ac_compile"
24425 case "(($ac_try" in
24426 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24427 *) ac_try_echo=$ac_try;;
24429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24430 (eval "$ac_compile") 2>conftest.er1
24432 grep -v '^ *+' conftest.er1 >conftest.err
24434 cat conftest.err >&5
24435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436 (exit $ac_status); } && {
24437 test -z "$ac_c_werror_flag" ||
24438 test ! -s conftest.err
24439 } && test -s conftest.$ac_objext; then
24442 echo "$as_me: failed program was:" >&5
24443 sed 's/^/| /' conftest.$ac_ext >&5
24445 ac_lo=`expr '(' $ac_mid ')' + 1`
24448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24451 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24452 '') if test "$ac_cv_type_wchar_t" = yes; then
24453 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24454 See \`config.log
' for more details." >&5
24455 echo "$as_me: error: cannot compute sizeof (wchar_t)
24456 See \`config.log' for more details.
" >&2;}
24457 { (exit 77); exit 77; }; }
24459 ac_cv_sizeof_wchar_t=0
24463 cat >conftest.$ac_ext <<_ACEOF
24466 cat confdefs.h >>conftest.$ac_ext
24467 cat >>conftest.$ac_ext <<_ACEOF
24468 /* end confdefs.h. */
24470 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24471 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24472 # error "fake wchar_t
"
24474 #ifdef HAVE_WCHAR_H
24476 # include <stddef.h>
24478 # include <wchar.h>
24480 #ifdef HAVE_STDLIB_H
24481 # include <stdlib.h>
24487 typedef wchar_t ac__type_sizeof_;
24488 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24489 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24491 #include <stdlib.h>
24496 FILE *f = fopen ("conftest.val
", "w
");
24499 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24501 long int i = longval ();
24502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24504 fprintf (f, "%ld
\n", i);
24508 unsigned long int i = ulongval ();
24509 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24511 fprintf (f, "%lu
\n", i);
24513 return ferror (f) || fclose (f) != 0;
24519 rm -f conftest$ac_exeext
24520 if { (ac_try="$ac_link"
24521 case "(($ac_try" in
24522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24523 *) ac_try_echo=$ac_try;;
24525 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24526 (eval "$ac_link") 2>&5
24528 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24529 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24530 { (case "(($ac_try" in
24531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24532 *) ac_try_echo=$ac_try;;
24534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24535 (eval "$ac_try") 2>&5
24537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24538 (exit $ac_status); }; }; then
24539 ac_cv_sizeof_wchar_t=`cat conftest.val`
24541 echo "$as_me: program exited with status
$ac_status" >&5
24542 echo "$as_me: failed program was
:" >&5
24543 sed 's/^/| /' conftest.$ac_ext >&5
24545 ( exit $ac_status )
24546 if test "$ac_cv_type_wchar_t" = yes; then
24547 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24548 See \
`config.log' for more details." >&5
24549 echo "$as_me: error: cannot compute sizeof (wchar_t)
24550 See \`config.log
' for more details." >&2;}
24551 { (exit 77); exit 77; }; }
24553 ac_cv_sizeof_wchar_t=0
24556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24560 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24561 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24565 cat >>confdefs.h <<_ACEOF
24566 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24570 if test "$ac_cv_sizeof_wchar_t" = 0; then
24571 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24572 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24573 { (exit 1); exit 1; }; }
24575 cat >>confdefs.h <<\_ACEOF
24576 #define wxUSE_WCHAR_T 1
24580 { echo "$as_me:$LINENO: checking for va_copy" >&5
24581 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24582 if test "${wx_cv_func_va_copy+set}" = set; then
24583 echo $ECHO_N "(cached) $ECHO_C" >&6
24587 ac_cpp='$CXXCPP $CPPFLAGS'
24588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24589 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24592 cat >conftest.$ac_ext <<_ACEOF
24596 cat confdefs.h >>conftest.$ac_ext
24597 cat >>conftest.$ac_ext <<_ACEOF
24598 /* end confdefs.h. */
24600 #include <stdarg.h>
24601 void foo(char *f, ...)
24616 rm -f conftest.$ac_objext conftest$ac_exeext
24617 if { (ac_try="$ac_link"
24618 case "(($ac_try" in
24619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24620 *) ac_try_echo=$ac_try;;
24622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24623 (eval "$ac_link") 2>conftest.er1
24625 grep -v '^
*+' conftest.er1 >conftest.err
24627 cat conftest.err >&5
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); } && {
24630 test -z "$ac_cxx_werror_flag" ||
24631 test ! -s conftest.err
24632 } && test -s conftest$ac_exeext &&
24633 $as_test_x conftest$ac_exeext; then
24634 wx_cv_func_va_copy=yes
24636 echo "$as_me: failed program was:" >&5
24637 sed 's
/^
/| /' conftest.$ac_ext >&5
24639 wx_cv_func_va_copy=no
24643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24644 conftest$ac_exeext conftest.$ac_ext
24646 ac_cpp='$CPP $CPPFLAGS'
24647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24648 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24654 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24655 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24657 if test $wx_cv_func_va_copy = "yes"; then
24658 cat >>confdefs.h <<\_ACEOF
24659 #define HAVE_VA_COPY 1
24663 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24664 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24665 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24666 echo $ECHO_N "(cached) $ECHO_C" >&6
24669 if test "$cross_compiling" = yes; then
24670 wx_cv_type_va_list_lvalue=yes
24673 cat >conftest.$ac_ext <<_ACEOF
24677 cat confdefs.h >>conftest.$ac_ext
24678 cat >>conftest.$ac_ext <<_ACEOF
24679 /* end confdefs.h. */
24681 #include <stdarg.h>
24682 int foo(char *f, ...)
24687 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24695 return foo("hi", 17);
24699 rm -f conftest$ac_exeext
24700 if { (ac_try="$ac_link"
24701 case "(($ac_try" in
24702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24703 *) ac_try_echo=$ac_try;;
24705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24706 (eval "$ac_link") 2>&5
24708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24709 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24710 { (case "(($ac_try" in
24711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24712 *) ac_try_echo=$ac_try;;
24714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24715 (eval "$ac_try") 2>&5
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); }; }; then
24719 wx_cv_type_va_list_lvalue=yes
24721 echo "$as_me: program exited with status $ac_status" >&5
24722 echo "$as_me: failed program was:" >&5
24723 sed 's
/^
/| /' conftest.$ac_ext >&5
24725 ( exit $ac_status )
24726 wx_cv_type_va_list_lvalue=no
24728 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24735 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24736 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24738 if test $wx_cv_type_va_list_lvalue != "yes"; then
24739 cat >>confdefs.h <<\_ACEOF
24740 #define VA_LIST_IS_ARRAY 1
24746 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24748 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24749 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24750 if test "${wx_cv_have_variadic_macros+set}" = set; then
24751 echo $ECHO_N "(cached) $ECHO_C" >&6
24755 ac_cpp='$CXXCPP $CPPFLAGS'
24756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24757 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24760 cat >conftest.$ac_ext <<_ACEOF
24764 cat confdefs.h >>conftest.$ac_ext
24765 cat >>conftest.$ac_ext <<_ACEOF
24766 /* end confdefs.h. */
24769 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24775 test("%s %d %p", "test", 1, 0);
24782 rm -f conftest.$ac_objext
24783 if { (ac_try="$ac_compile"
24784 case "(($ac_try" in
24785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24786 *) ac_try_echo=$ac_try;;
24788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24789 (eval "$ac_compile") 2>conftest.er1
24791 grep -v '^
*+' conftest.er1 >conftest.err
24793 cat conftest.err >&5
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); } && {
24796 test -z "$ac_cxx_werror_flag" ||
24797 test ! -s conftest.err
24798 } && test -s conftest.$ac_objext; then
24799 wx_cv_have_variadic_macros=yes
24801 echo "$as_me: failed program was:" >&5
24802 sed 's
/^
/| /' conftest.$ac_ext >&5
24804 wx_cv_have_variadic_macros=no
24808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24810 ac_cpp='$CPP $CPPFLAGS'
24811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24812 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24818 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24819 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24821 if test $wx_cv_have_variadic_macros = "yes"; then
24822 cat >>confdefs.h <<\_ACEOF
24823 #define HAVE_VARIADIC_MACROS 1
24830 LARGEFILE_CPPFLAGS=
24831 # Check whether --enable-largefile was given.
24832 if test "${enable_largefile+set}" = set; then
24833 enableval=$enable_largefile;
24836 if test "$enable_largefile" != no; then
24839 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24840 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24841 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24842 echo $ECHO_N "(cached) $ECHO_C" >&6
24845 cat >conftest.$ac_ext <<_ACEOF
24848 cat confdefs.h >>conftest.$ac_ext
24849 cat >>conftest.$ac_ext <<_ACEOF
24850 /* end confdefs.h. */
24851 #define _FILE_OFFSET_BITS 64
24852 #include <sys/types.h>
24857 unsigned int field: sizeof(off_t) == 8;
24864 rm -f conftest.$ac_objext
24865 if { (ac_try="$ac_compile"
24866 case "(($ac_try" in
24867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24868 *) ac_try_echo=$ac_try;;
24870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24871 (eval "$ac_compile") 2>conftest.er1
24873 grep -v '^
*+' conftest.er1 >conftest.err
24875 cat conftest.err >&5
24876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24877 (exit $ac_status); } && {
24878 test -z "$ac_c_werror_flag" ||
24879 test ! -s conftest.err
24880 } && test -s conftest.$ac_objext; then
24881 ac_cv_sys_file_offset_bits=64
24883 echo "$as_me: failed program was:" >&5
24884 sed 's
/^
/| /' conftest.$ac_ext >&5
24886 ac_cv_sys_file_offset_bits=no
24889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24893 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24894 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24896 if test "$ac_cv_sys_file_offset_bits" != no; then
24898 cat >>confdefs.h <<_ACEOF
24899 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24904 if test "x$wx_largefile" != "xyes"; then
24906 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24907 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24908 if test "${ac_cv_sys_large_files+set}" = set; then
24909 echo $ECHO_N "(cached) $ECHO_C" >&6
24912 cat >conftest.$ac_ext <<_ACEOF
24915 cat confdefs.h >>conftest.$ac_ext
24916 cat >>conftest.$ac_ext <<_ACEOF
24917 /* end confdefs.h. */
24918 #define _LARGE_FILES 1
24919 #include <sys/types.h>
24924 unsigned int field: sizeof(off_t) == 8;
24931 rm -f conftest.$ac_objext
24932 if { (ac_try="$ac_compile"
24933 case "(($ac_try" in
24934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24935 *) ac_try_echo=$ac_try;;
24937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24938 (eval "$ac_compile") 2>conftest.er1
24940 grep -v '^
*+' conftest.er1 >conftest.err
24942 cat conftest.err >&5
24943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24944 (exit $ac_status); } && {
24945 test -z "$ac_c_werror_flag" ||
24946 test ! -s conftest.err
24947 } && test -s conftest.$ac_objext; then
24948 ac_cv_sys_large_files=1
24950 echo "$as_me: failed program was:" >&5
24951 sed 's
/^
/| /' conftest.$ac_ext >&5
24953 ac_cv_sys_large_files=no
24956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24960 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24961 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24963 if test "$ac_cv_sys_large_files" != no; then
24965 cat >>confdefs.h <<_ACEOF
24966 #define _LARGE_FILES $ac_cv_sys_large_files
24973 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24974 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24975 if test "x$wx_largefile" = "xyes"; then
24976 cat >>confdefs.h <<\_ACEOF
24977 #define HAVE_LARGEFILE_SUPPORT 1
24981 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24982 echo "${ECHO_T}$wx_largefile" >&6; }
24985 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24986 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24987 elif test "$ac_cv_sys_large_files" = 1; then
24988 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24991 if test -n "$LARGEFILE_CPPFLAGS"; then
24992 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24994 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24995 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24996 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24997 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24998 echo $ECHO_N "(cached) $ECHO_C" >&6
25002 ac_cpp='$CXXCPP $CPPFLAGS'
25003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25004 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25007 cat >conftest.$ac_ext <<_ACEOF
25010 cat confdefs.h >>conftest.$ac_ext
25011 cat >>conftest.$ac_ext <<_ACEOF
25012 /* end confdefs.h. */
25018 #ifndef __STDC_EXT__
25026 rm -f conftest.$ac_objext
25027 if { (ac_try="$ac_compile"
25028 case "(($ac_try" in
25029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25030 *) ac_try_echo=$ac_try;;
25032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25033 (eval "$ac_compile") 2>conftest.er1
25035 grep -v '^
*+' conftest.er1 >conftest.err
25037 cat conftest.err >&5
25038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039 (exit $ac_status); } && {
25040 test -z "$ac_cxx_werror_flag" ||
25041 test ! -s conftest.err
25042 } && test -s conftest.$ac_objext; then
25043 wx_cv_STDC_EXT_required=no
25045 echo "$as_me: failed program was:" >&5
25046 sed 's
/^
/| /' conftest.$ac_ext >&5
25048 wx_cv_STDC_EXT_required=yes
25052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25054 ac_cpp='$CPP $CPPFLAGS'
25055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25056 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25062 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25063 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25064 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25065 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25071 ac_cpp='$CXXCPP $CPPFLAGS'
25072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25073 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25076 old_CPPFLAGS="$CPPFLAGS"
25077 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25078 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25079 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25080 if test "${ac_cv_sys_largefile_source+set}" = set; then
25081 echo $ECHO_N "(cached) $ECHO_C" >&6
25084 cat >conftest.$ac_ext <<_ACEOF
25087 cat confdefs.h >>conftest.$ac_ext
25088 cat >>conftest.$ac_ext <<_ACEOF
25089 /* end confdefs.h. */
25090 #include <sys/types.h> /* for off_t */
25095 int (*fp) (FILE *, off_t, int) = fseeko;
25096 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25101 rm -f conftest.$ac_objext conftest$ac_exeext
25102 if { (ac_try="$ac_link"
25103 case "(($ac_try" in
25104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25105 *) ac_try_echo=$ac_try;;
25107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25108 (eval "$ac_link") 2>conftest.er1
25110 grep -v '^
*+' conftest.er1 >conftest.err
25112 cat conftest.err >&5
25113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 (exit $ac_status); } && {
25115 test -z "$ac_cxx_werror_flag" ||
25116 test ! -s conftest.err
25117 } && test -s conftest$ac_exeext &&
25118 $as_test_x conftest$ac_exeext; then
25119 ac_cv_sys_largefile_source=no; break
25121 echo "$as_me: failed program was:" >&5
25122 sed 's
/^
/| /' conftest.$ac_ext >&5
25127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25128 conftest$ac_exeext conftest.$ac_ext
25129 cat >conftest.$ac_ext <<_ACEOF
25132 cat confdefs.h >>conftest.$ac_ext
25133 cat >>conftest.$ac_ext <<_ACEOF
25134 /* end confdefs.h. */
25135 #define _LARGEFILE_SOURCE 1
25136 #include <sys/types.h> /* for off_t */
25141 int (*fp) (FILE *, off_t, int) = fseeko;
25142 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25147 rm -f conftest.$ac_objext conftest$ac_exeext
25148 if { (ac_try="$ac_link"
25149 case "(($ac_try" in
25150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25151 *) ac_try_echo=$ac_try;;
25153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25154 (eval "$ac_link") 2>conftest.er1
25156 grep -v '^
*+' conftest.er1 >conftest.err
25158 cat conftest.err >&5
25159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25160 (exit $ac_status); } && {
25161 test -z "$ac_cxx_werror_flag" ||
25162 test ! -s conftest.err
25163 } && test -s conftest$ac_exeext &&
25164 $as_test_x conftest$ac_exeext; then
25165 ac_cv_sys_largefile_source=1; break
25167 echo "$as_me: failed program was:" >&5
25168 sed 's
/^
/| /' conftest.$ac_ext >&5
25173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25174 conftest$ac_exeext conftest.$ac_ext
25175 ac_cv_sys_largefile_source=unknown
25179 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25180 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25181 case $ac_cv_sys_largefile_source in #(
25184 cat >>confdefs.h <<_ACEOF
25185 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25191 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25192 # in glibc 2.1.3, but that breaks too many other things.
25193 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25194 if test $ac_cv_sys_largefile_source != unknown; then
25196 cat >>confdefs.h <<\_ACEOF
25197 #define HAVE_FSEEKO 1
25202 CPPFLAGS="$old_CPPFLAGS"
25204 ac_cpp='$CPP $CPPFLAGS'
25205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25206 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25209 if test "$ac_cv_sys_largefile_source" != no; then
25210 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25213 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25214 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25215 if test "${ac_cv_c_bigendian+set}" = set; then
25216 echo $ECHO_N "(cached) $ECHO_C" >&6
25218 ac_cv_c_bigendian=unknown
25219 # See if sys/param.h defines the BYTE_ORDER macro.
25220 cat >conftest.$ac_ext <<_ACEOF
25223 cat confdefs.h >>conftest.$ac_ext
25224 cat >>conftest.$ac_ext <<_ACEOF
25225 /* end confdefs.h. */
25226 #include <sys/types.h>
25227 #include <sys/param.h>
25232 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25233 bogus endian macros
25239 rm -f conftest.$ac_objext
25240 if { (ac_try="$ac_compile"
25241 case "(($ac_try" in
25242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25243 *) ac_try_echo=$ac_try;;
25245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25246 (eval "$ac_compile") 2>conftest.er1
25248 grep -v '^
*+' conftest.er1 >conftest.err
25250 cat conftest.err >&5
25251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25252 (exit $ac_status); } && {
25253 test -z "$ac_c_werror_flag" ||
25254 test ! -s conftest.err
25255 } && test -s conftest.$ac_objext; then
25256 # It does; now see whether it defined to BIG_ENDIAN or not.
25257 cat >conftest.$ac_ext <<_ACEOF
25260 cat confdefs.h >>conftest.$ac_ext
25261 cat >>conftest.$ac_ext <<_ACEOF
25262 /* end confdefs.h. */
25263 #include <sys/types.h>
25264 #include <sys/param.h>
25269 #if BYTE_ORDER != BIG_ENDIAN
25276 rm -f conftest.$ac_objext
25277 if { (ac_try="$ac_compile"
25278 case "(($ac_try" in
25279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25280 *) ac_try_echo=$ac_try;;
25282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25283 (eval "$ac_compile") 2>conftest.er1
25285 grep -v '^
*+' conftest.er1 >conftest.err
25287 cat conftest.err >&5
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); } && {
25290 test -z "$ac_c_werror_flag" ||
25291 test ! -s conftest.err
25292 } && test -s conftest.$ac_objext; then
25293 ac_cv_c_bigendian=yes
25295 echo "$as_me: failed program was:" >&5
25296 sed 's
/^
/| /' conftest.$ac_ext >&5
25298 ac_cv_c_bigendian=no
25301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25303 echo "$as_me: failed program was:" >&5
25304 sed 's
/^
/| /' conftest.$ac_ext >&5
25309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25310 if test $ac_cv_c_bigendian = unknown; then
25311 if test "$cross_compiling" = yes; then
25312 ac_cv_c_bigendian=unknown
25314 cat >conftest.$ac_ext <<_ACEOF
25317 cat confdefs.h >>conftest.$ac_ext
25318 cat >>conftest.$ac_ext <<_ACEOF
25319 /* end confdefs.h. */
25321 /* Are we little or big endian? From Harbison&Steele. */
25325 char c[sizeof (long)];
25328 exit (u.c[sizeof (long) - 1] == 1);
25331 rm -f conftest$ac_exeext
25332 if { (ac_try="$ac_link"
25333 case "(($ac_try" in
25334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25335 *) ac_try_echo=$ac_try;;
25337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25338 (eval "$ac_link") 2>&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25342 { (case "(($ac_try" in
25343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25344 *) ac_try_echo=$ac_try;;
25346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25347 (eval "$ac_try") 2>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; }; then
25351 ac_cv_c_bigendian=no
25353 echo "$as_me: program exited with status $ac_status" >&5
25354 echo "$as_me: failed program was:" >&5
25355 sed 's
/^
/| /' conftest.$ac_ext >&5
25357 ( exit $ac_status )
25358 ac_cv_c_bigendian=yes
25360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25366 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25367 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25368 if test $ac_cv_c_bigendian = unknown; then
25369 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25370 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25372 if test $ac_cv_c_bigendian = yes; then
25373 cat >>confdefs.h <<\_ACEOF
25374 #define WORDS_BIGENDIAN 1
25383 ac_cpp='$CXXCPP $CPPFLAGS'
25384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25385 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25390 for ac_header in iostream
25392 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25393 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25395 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25396 echo $ECHO_N "(cached) $ECHO_C" >&6
25398 cat >conftest.$ac_ext <<_ACEOF
25401 cat confdefs.h >>conftest.$ac_ext
25402 cat >>conftest.$ac_ext <<_ACEOF
25403 /* end confdefs.h. */
25406 #include <$ac_header>
25408 rm -f conftest.$ac_objext
25409 if { (ac_try="$ac_compile"
25410 case "(($ac_try" in
25411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25412 *) ac_try_echo=$ac_try;;
25414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25415 (eval "$ac_compile") 2>conftest.er1
25417 grep -v '^
*+' conftest.er1 >conftest.err
25419 cat conftest.err >&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); } && {
25422 test -z "$ac_cxx_werror_flag" ||
25423 test ! -s conftest.err
25424 } && test -s conftest.$ac_objext; then
25425 eval "$as_ac_Header=yes"
25427 echo "$as_me: failed program was:" >&5
25428 sed 's
/^
/| /' conftest.$ac_ext >&5
25430 eval "$as_ac_Header=no"
25433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25435 ac_res=`eval echo '${'$as_ac_Header'}'`
25436 { echo "$as_me:$LINENO: result: $ac_res" >&5
25437 echo "${ECHO_T}$ac_res" >&6; }
25438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25439 cat >>confdefs.h <<_ACEOF
25440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25448 if test "$ac_cv_header_iostream" = "yes" ; then
25451 cat >>confdefs.h <<\_ACEOF
25452 #define wxUSE_IOSTREAMH 1
25458 ac_cpp='$CPP $CPPFLAGS'
25459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25460 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25466 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25467 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25468 if test "${wx_cv_explicit+set}" = set; then
25469 echo $ECHO_N "(cached) $ECHO_C" >&6
25474 ac_cpp='$CXXCPP $CPPFLAGS'
25475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25476 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25480 cat >conftest.$ac_ext <<_ACEOF
25483 cat confdefs.h >>conftest.$ac_ext
25484 cat >>conftest.$ac_ext <<_ACEOF
25485 /* end confdefs.h. */
25487 class Foo { public: explicit Foo(int) {} };
25499 rm -f conftest.$ac_objext
25500 if { (ac_try="$ac_compile"
25501 case "(($ac_try" in
25502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25503 *) ac_try_echo=$ac_try;;
25505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25506 (eval "$ac_compile") 2>conftest.er1
25508 grep -v '^
*+' conftest.er1 >conftest.err
25510 cat conftest.err >&5
25511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25512 (exit $ac_status); } && {
25513 test -z "$ac_cxx_werror_flag" ||
25514 test ! -s conftest.err
25515 } && test -s conftest.$ac_objext; then
25517 cat >conftest.$ac_ext <<_ACEOF
25520 cat confdefs.h >>conftest.$ac_ext
25521 cat >>conftest.$ac_ext <<_ACEOF
25522 /* end confdefs.h. */
25524 class Foo { public: explicit Foo(int) {} };
25525 static void TakeFoo(const Foo& foo) { }
25538 rm -f conftest.$ac_objext
25539 if { (ac_try="$ac_compile"
25540 case "(($ac_try" in
25541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25542 *) ac_try_echo=$ac_try;;
25544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25545 (eval "$ac_compile") 2>conftest.er1
25547 grep -v '^
*+' conftest.er1 >conftest.err
25549 cat conftest.err >&5
25550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 (exit $ac_status); } && {
25552 test -z "$ac_cxx_werror_flag" ||
25553 test ! -s conftest.err
25554 } && test -s conftest.$ac_objext; then
25557 echo "$as_me: failed program was:" >&5
25558 sed 's
/^
/| /' conftest.$ac_ext >&5
25564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25567 echo "$as_me: failed program was:" >&5
25568 sed 's
/^
/| /' conftest.$ac_ext >&5
25574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25577 ac_cpp='$CPP $CPPFLAGS'
25578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25579 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25584 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25585 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25587 if test "$wx_cv_explicit" = "yes"; then
25588 cat >>confdefs.h <<\_ACEOF
25589 #define HAVE_EXPLICIT 1
25595 if test "x$SUNCXX" = xyes; then
25596 CXXFLAGS="-features=tmplife $CXXFLAGS"
25599 if test "x$SUNCC" = xyes; then
25600 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25603 if test "x$SGICC" = "xyes"; then
25604 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25605 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25606 if test "${wx_cv_prog_sgicc744+set}" = set; then
25607 echo $ECHO_N "(cached) $ECHO_C" >&6
25610 cat >conftest.$ac_ext <<_ACEOF
25613 cat confdefs.h >>conftest.$ac_ext
25614 cat >>conftest.$ac_ext <<_ACEOF
25615 /* end confdefs.h. */
25621 #if _SGI_COMPILER_VERSION >= 744
25622 chock me: mipsPro is 7.4.4 or later
25629 rm -f conftest.$ac_objext
25630 if { (ac_try="$ac_compile"
25631 case "(($ac_try" in
25632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25633 *) ac_try_echo=$ac_try;;
25635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25636 (eval "$ac_compile") 2>conftest.er1
25638 grep -v '^
*+' conftest.er1 >conftest.err
25640 cat conftest.err >&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); } && {
25643 test -z "$ac_c_werror_flag" ||
25644 test ! -s conftest.err
25645 } && test -s conftest.$ac_objext; then
25646 wx_cv_prog_sgicc744=no
25648 echo "$as_me: failed program was:" >&5
25649 sed 's
/^
/| /' conftest.$ac_ext >&5
25651 wx_cv_prog_sgicc744=yes
25655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25659 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25660 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25662 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25663 CFLAGS="-woff 3970 $CFLAGS"
25666 if test "x$SGICXX" = "xyes"; then
25667 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25668 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25669 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25670 echo $ECHO_N "(cached) $ECHO_C" >&6
25674 ac_cpp='$CXXCPP $CPPFLAGS'
25675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25676 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25679 cat >conftest.$ac_ext <<_ACEOF
25682 cat confdefs.h >>conftest.$ac_ext
25683 cat >>conftest.$ac_ext <<_ACEOF
25684 /* end confdefs.h. */
25690 #if _SGI_COMPILER_VERSION >= 744
25691 chock me: mipsPro is 7.4.4 or later
25698 rm -f conftest.$ac_objext
25699 if { (ac_try="$ac_compile"
25700 case "(($ac_try" in
25701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25702 *) ac_try_echo=$ac_try;;
25704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25705 (eval "$ac_compile") 2>conftest.er1
25707 grep -v '^
*+' conftest.er1 >conftest.err
25709 cat conftest.err >&5
25710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25711 (exit $ac_status); } && {
25712 test -z "$ac_cxx_werror_flag" ||
25713 test ! -s conftest.err
25714 } && test -s conftest.$ac_objext; then
25715 wx_cv_prog_sgicxx744=no
25717 echo "$as_me: failed program was:" >&5
25718 sed 's
/^
/| /' conftest.$ac_ext >&5
25720 wx_cv_prog_sgicxx744=yes
25724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25726 ac_cpp='$CPP $CPPFLAGS'
25727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25728 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25734 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25735 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25737 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25738 CXXFLAGS="-woff 3970 $CXXFLAGS"
25742 if test "x$HPCC" = "xyes"; then
25743 CFLAGS="+W 2011,2450 $CFLAGS"
25745 if test "x$HPCXX" = "xyes"; then
25746 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25749 if test "x$COMPAQCXX" = "xyes"; then
25750 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25754 ac_cpp='$CXXCPP $CPPFLAGS'
25755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25756 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25760 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25761 if test "$wxUSE_UNICODE" = "yes"; then
25762 std_string="std::wstring"
25763 char_type="wchar_t"
25765 std_string="std::string"
25769 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25770 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25771 if test "${wx_cv_class_stdstring+set}" = set; then
25772 echo $ECHO_N "(cached) $ECHO_C" >&6
25775 cat >conftest.$ac_ext <<_ACEOF
25778 cat confdefs.h >>conftest.$ac_ext
25779 cat >>conftest.$ac_ext <<_ACEOF
25780 /* end confdefs.h. */
25790 rm -f conftest.$ac_objext
25791 if { (ac_try="$ac_compile"
25792 case "(($ac_try" in
25793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25794 *) ac_try_echo=$ac_try;;
25796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25797 (eval "$ac_compile") 2>conftest.er1
25799 grep -v '^
*+' conftest.er1 >conftest.err
25801 cat conftest.err >&5
25802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25803 (exit $ac_status); } && {
25804 test -z "$ac_cxx_werror_flag" ||
25805 test ! -s conftest.err
25806 } && test -s conftest.$ac_objext; then
25807 wx_cv_class_stdstring=yes
25809 echo "$as_me: failed program was:" >&5
25810 sed 's
/^
/| /' conftest.$ac_ext >&5
25812 wx_cv_class_stdstring=no
25816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25820 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25821 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25823 if test "$wx_cv_class_stdstring" = yes; then
25824 if test "$wxUSE_UNICODE" = "yes"; then
25825 cat >>confdefs.h <<\_ACEOF
25826 #define HAVE_STD_WSTRING 1
25831 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25832 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25833 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25834 echo $ECHO_N "(cached) $ECHO_C" >&6
25837 cat >conftest.$ac_ext <<_ACEOF
25840 cat confdefs.h >>conftest.$ac_ext
25841 cat >>conftest.$ac_ext <<_ACEOF
25842 /* end confdefs.h. */
25844 #ifdef HAVE_WCHAR_H
25846 # include <stddef.h>
25848 # include <wchar.h>
25850 #ifdef HAVE_STDLIB_H
25851 # include <stdlib.h>
25859 std::basic_string<$char_type> foo;
25860 const $char_type* dummy = foo.c_str();
25865 rm -f conftest.$ac_objext
25866 if { (ac_try="$ac_compile"
25867 case "(($ac_try" in
25868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25869 *) ac_try_echo=$ac_try;;
25871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25872 (eval "$ac_compile") 2>conftest.er1
25874 grep -v '^
*+' conftest.er1 >conftest.err
25876 cat conftest.err >&5
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); } && {
25879 test -z "$ac_cxx_werror_flag" ||
25880 test ! -s conftest.err
25881 } && test -s conftest.$ac_objext; then
25882 wx_cv_class_stdbasicstring=yes
25884 echo "$as_me: failed program was:" >&5
25885 sed 's
/^
/| /' conftest.$ac_ext >&5
25887 wx_cv_class_stdbasicstring=no
25891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25895 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25896 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25898 if test "$wx_cv_class_stdbasicstring" != yes; then
25899 if test "$wxUSE_STL" = "yes"; then
25900 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25901 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25902 { (exit 1); exit 1; }; }
25903 elif test "$wxUSE_STD_STRING" = "yes"; then
25904 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25905 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25906 { (exit 1); exit 1; }; }
25908 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25909 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25910 wxUSE_STD_STRING=no
25916 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25917 { echo "$as_me:$LINENO: checking for std::istream" >&5
25918 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25919 if test "${ac_cv_type_std__istream+set}" = set; then
25920 echo $ECHO_N "(cached) $ECHO_C" >&6
25922 cat >conftest.$ac_ext <<_ACEOF
25925 cat confdefs.h >>conftest.$ac_ext
25926 cat >>conftest.$ac_ext <<_ACEOF
25927 /* end confdefs.h. */
25928 #include <iostream>
25930 typedef std::istream ac__type_new_;
25934 if ((ac__type_new_ *) 0)
25936 if (sizeof (ac__type_new_))
25942 rm -f conftest.$ac_objext
25943 if { (ac_try="$ac_compile"
25944 case "(($ac_try" in
25945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25946 *) ac_try_echo=$ac_try;;
25948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25949 (eval "$ac_compile") 2>conftest.er1
25951 grep -v '^
*+' conftest.er1 >conftest.err
25953 cat conftest.err >&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } && {
25956 test -z "$ac_cxx_werror_flag" ||
25957 test ! -s conftest.err
25958 } && test -s conftest.$ac_objext; then
25959 ac_cv_type_std__istream=yes
25961 echo "$as_me: failed program was:" >&5
25962 sed 's
/^
/| /' conftest.$ac_ext >&5
25964 ac_cv_type_std__istream=no
25967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25969 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25970 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25971 if test $ac_cv_type_std__istream = yes; then
25973 cat >>confdefs.h <<_ACEOF
25974 #define HAVE_STD__ISTREAM 1
25979 wxUSE_STD_IOSTREAM=no
25981 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25982 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25983 if test "${ac_cv_type_std__ostream+set}" = set; then
25984 echo $ECHO_N "(cached) $ECHO_C" >&6
25986 cat >conftest.$ac_ext <<_ACEOF
25989 cat confdefs.h >>conftest.$ac_ext
25990 cat >>conftest.$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25992 #include <iostream>
25994 typedef std::ostream ac__type_new_;
25998 if ((ac__type_new_ *) 0)
26000 if (sizeof (ac__type_new_))
26006 rm -f conftest.$ac_objext
26007 if { (ac_try="$ac_compile"
26008 case "(($ac_try" in
26009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26010 *) ac_try_echo=$ac_try;;
26012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26013 (eval "$ac_compile") 2>conftest.er1
26015 grep -v '^
*+' conftest.er1 >conftest.err
26017 cat conftest.err >&5
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); } && {
26020 test -z "$ac_cxx_werror_flag" ||
26021 test ! -s conftest.err
26022 } && test -s conftest.$ac_objext; then
26023 ac_cv_type_std__ostream=yes
26025 echo "$as_me: failed program was:" >&5
26026 sed 's
/^
/| /' conftest.$ac_ext >&5
26028 ac_cv_type_std__ostream=no
26031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26033 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26034 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26035 if test $ac_cv_type_std__ostream = yes; then
26037 cat >>confdefs.h <<_ACEOF
26038 #define HAVE_STD__OSTREAM 1
26043 wxUSE_STD_IOSTREAM=no
26047 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26048 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26049 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
26050 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26051 { (exit 1); exit 1; }; }
26053 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26054 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26059 if test "$wxUSE_STL" = "yes"; then
26060 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26061 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26062 if test "${wx_cv_lib_stl+set}" = set; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26065 cat >conftest.$ac_ext <<_ACEOF
26068 cat confdefs.h >>conftest.$ac_ext
26069 cat >>conftest.$ac_ext <<_ACEOF
26070 /* end confdefs.h. */
26072 #include <functional>
26073 #include <algorithm>
26079 std::vector<int> moo;
26080 std::list<int> foo;
26081 std::vector<int>::iterator it =
26082 std::find_if(moo.begin(), moo.end(),
26083 std::bind2nd(std::less<int>(), 3));
26088 rm -f conftest.$ac_objext
26089 if { (ac_try="$ac_compile"
26090 case "(($ac_try" in
26091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26092 *) ac_try_echo=$ac_try;;
26094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26095 (eval "$ac_compile") 2>conftest.er1
26097 grep -v '^
*+' conftest.er1 >conftest.err
26099 cat conftest.err >&5
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); } && {
26102 test -z "$ac_cxx_werror_flag" ||
26103 test ! -s conftest.err
26104 } && test -s conftest.$ac_objext; then
26107 echo "$as_me: failed program was:" >&5
26108 sed 's
/^
/| /' conftest.$ac_ext >&5
26114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26117 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26118 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26120 if test "$wx_cv_lib_stl" != yes; then
26121 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
26122 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
26123 { (exit 1); exit 1; }; }
26126 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26127 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26128 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26129 echo $ECHO_N "(cached) $ECHO_C" >&6
26131 cat >conftest.$ac_ext <<_ACEOF
26134 cat confdefs.h >>conftest.$ac_ext
26135 cat >>conftest.$ac_ext <<_ACEOF
26136 /* end confdefs.h. */
26141 std::string foo, bar;
26143 foo.compare(1, 1, bar);
26144 foo.compare(1, 1, bar, 1, 1);
26146 foo.compare(1, 1, "");
26147 foo.compare(1, 1, "", 2);
26152 rm -f conftest.$ac_objext
26153 if { (ac_try="$ac_compile"
26154 case "(($ac_try" in
26155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26156 *) ac_try_echo=$ac_try;;
26158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26159 (eval "$ac_compile") 2>conftest.er1
26161 grep -v '^
*+' conftest.er1 >conftest.err
26163 cat conftest.err >&5
26164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26165 (exit $ac_status); } && {
26166 test -z "$ac_cxx_werror_flag" ||
26167 test ! -s conftest.err
26168 } && test -s conftest.$ac_objext; then
26169 wx_cv_func_stdstring_compare=yes
26171 echo "$as_me: failed program was:" >&5
26172 sed 's
/^
/| /' conftest.$ac_ext >&5
26174 wx_cv_func_stdstring_compare=no
26178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26181 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26182 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26184 if test "$wx_cv_func_stdstring_compare" = yes; then
26185 cat >>confdefs.h <<\_ACEOF
26186 #define HAVE_STD_STRING_COMPARE 1
26191 if test "$wx_cv_class_gnuhashmapset" = yes; then
26192 cat >>confdefs.h <<\_ACEOF
26193 #define HAVE_EXT_HASH_MAP 1
26196 cat >>confdefs.h <<\_ACEOF
26197 #define HAVE_GNU_CXX_HASH_MAP 1
26202 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26203 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26204 if test "${ac_cv_header_unordered_map+set}" = set; then
26205 echo $ECHO_N "(cached) $ECHO_C" >&6
26207 cat >conftest.$ac_ext <<_ACEOF
26210 cat confdefs.h >>conftest.$ac_ext
26211 cat >>conftest.$ac_ext <<_ACEOF
26212 /* end confdefs.h. */
26216 #include <unordered_map>
26218 rm -f conftest.$ac_objext
26219 if { (ac_try="$ac_compile"
26220 case "(($ac_try" in
26221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26222 *) ac_try_echo=$ac_try;;
26224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26225 (eval "$ac_compile") 2>conftest.er1
26227 grep -v '^
*+' conftest.er1 >conftest.err
26229 cat conftest.err >&5
26230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231 (exit $ac_status); } && {
26232 test -z "$ac_cxx_werror_flag" ||
26233 test ! -s conftest.err
26234 } && test -s conftest.$ac_objext; then
26235 ac_cv_header_unordered_map=yes
26237 echo "$as_me: failed program was:" >&5
26238 sed 's
/^
/| /' conftest.$ac_ext >&5
26240 ac_cv_header_unordered_map=no
26243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26245 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26246 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26247 if test $ac_cv_header_unordered_map = yes; then
26248 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26249 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26250 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26251 echo $ECHO_N "(cached) $ECHO_C" >&6
26253 cat >conftest.$ac_ext <<_ACEOF
26256 cat confdefs.h >>conftest.$ac_ext
26257 cat >>conftest.$ac_ext <<_ACEOF
26258 /* end confdefs.h. */
26259 #include <unordered_map>
26260 #include <unordered_set>
26264 std::unordered_map<double*, char*> test1;
26265 std::unordered_set<char*> test2;
26270 rm -f conftest.$ac_objext
26271 if { (ac_try="$ac_compile"
26272 case "(($ac_try" in
26273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26274 *) ac_try_echo=$ac_try;;
26276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26277 (eval "$ac_compile") 2>conftest.er1
26279 grep -v '^
*+' conftest.er1 >conftest.err
26281 cat conftest.err >&5
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); } && {
26284 test -z "$ac_cxx_werror_flag" ||
26285 test ! -s conftest.err
26286 } && test -s conftest.$ac_objext; then
26287 wx_cv_class_stdunorderedmapset=yes
26289 echo "$as_me: failed program was:" >&5
26290 sed 's
/^
/| /' conftest.$ac_ext >&5
26292 wx_cv_class_stdunorderedmapset=no
26295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26299 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26300 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26305 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26306 cat >>confdefs.h <<\_ACEOF
26307 #define HAVE_STD_UNORDERED_MAP 1
26310 cat >>confdefs.h <<\_ACEOF
26311 #define HAVE_STD_UNORDERED_SET 1
26315 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26316 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26317 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26318 echo $ECHO_N "(cached) $ECHO_C" >&6
26320 cat >conftest.$ac_ext <<_ACEOF
26323 cat confdefs.h >>conftest.$ac_ext
26324 cat >>conftest.$ac_ext <<_ACEOF
26325 /* end confdefs.h. */
26329 #include <tr1/unordered_map>
26331 rm -f conftest.$ac_objext
26332 if { (ac_try="$ac_compile"
26333 case "(($ac_try" in
26334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26335 *) ac_try_echo=$ac_try;;
26337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26338 (eval "$ac_compile") 2>conftest.er1
26340 grep -v '^
*+' conftest.er1 >conftest.err
26342 cat conftest.err >&5
26343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344 (exit $ac_status); } && {
26345 test -z "$ac_cxx_werror_flag" ||
26346 test ! -s conftest.err
26347 } && test -s conftest.$ac_objext; then
26348 ac_cv_header_tr1_unordered_map=yes
26350 echo "$as_me: failed program was:" >&5
26351 sed 's
/^
/| /' conftest.$ac_ext >&5
26353 ac_cv_header_tr1_unordered_map=no
26356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26358 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26359 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26360 if test $ac_cv_header_tr1_unordered_map = yes; then
26361 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26362 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26363 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26364 echo $ECHO_N "(cached) $ECHO_C" >&6
26366 cat >conftest.$ac_ext <<_ACEOF
26369 cat confdefs.h >>conftest.$ac_ext
26370 cat >>conftest.$ac_ext <<_ACEOF
26371 /* end confdefs.h. */
26372 #include <tr1/unordered_map>
26373 #include <tr1/unordered_set>
26377 std::tr1::unordered_map<double*, char*> test1;
26378 std::tr1::unordered_set<char*> test2;
26379 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26380 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
26386 rm -f conftest.
$ac_objext
26387 if { (ac_try
="$ac_compile"
26388 case "(($ac_try" in
26389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26390 *) ac_try_echo=$ac_try;;
26392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26393 (eval "$ac_compile") 2>conftest.er1
26395 grep -v '^ *+' conftest.er1 >conftest.err
26397 cat conftest.err >&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } && {
26400 test -z "$ac_cxx_werror_flag" ||
26401 test ! -s conftest.err
26402 } && test -s conftest.$ac_objext; then
26403 wx_cv_class_tr1unorderedmapset=yes
26405 echo "$as_me: failed program was:" >&5
26406 sed 's/^/| /' conftest.$ac_ext >&5
26408 wx_cv_class_tr1unorderedmapset=no
26411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26415 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26416 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26421 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26422 cat >>confdefs.h <<\_ACEOF
26423 #define HAVE_TR1_UNORDERED_MAP 1
26426 cat >>confdefs.h <<\_ACEOF
26427 #define HAVE_TR1_UNORDERED_SET 1
26431 { echo "$as_me:$LINENO: checking for hash_map" >&5
26432 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26433 if test "${ac_cv_header_hash_map+set}" = set; then
26434 echo $ECHO_N "(cached) $ECHO_C" >&6
26436 cat >conftest.$ac_ext <<_ACEOF
26439 cat confdefs.h >>conftest.$ac_ext
26440 cat >>conftest.$ac_ext <<_ACEOF
26441 /* end confdefs.h. */
26445 #include <hash_map>
26447 rm -f conftest.$ac_objext
26448 if { (ac_try="$ac_compile"
26449 case "(($ac_try" in
26450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26451 *) ac_try_echo
=$ac_try;;
26453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26454 (eval "$ac_compile") 2>conftest.er1
26456 grep -v '^ *+' conftest.er1
>conftest.err
26458 cat conftest.err
>&5
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); } && {
26461 test -z "$ac_cxx_werror_flag" ||
26462 test ! -s conftest.err
26463 } && test -s conftest.
$ac_objext; then
26464 ac_cv_header_hash_map
=yes
26466 echo "$as_me: failed program was:" >&5
26467 sed 's/^/| /' conftest.
$ac_ext >&5
26469 ac_cv_header_hash_map
=no
26472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26474 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26475 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26476 if test $ac_cv_header_hash_map = yes; then
26477 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26478 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26479 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26480 echo $ECHO_N "(cached) $ECHO_C" >&6
26482 cat >conftest.
$ac_ext <<_ACEOF
26485 cat confdefs.h
>>conftest.
$ac_ext
26486 cat >>conftest.
$ac_ext <<_ACEOF
26487 /* end confdefs.h. */
26488 #include <hash_map>
26489 #include <hash_set>
26493 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26494 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26499 rm -f conftest.
$ac_objext
26500 if { (ac_try
="$ac_compile"
26501 case "(($ac_try" in
26502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26503 *) ac_try_echo=$ac_try;;
26505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26506 (eval "$ac_compile") 2>conftest.er1
26508 grep -v '^ *+' conftest.er1 >conftest.err
26510 cat conftest.err >&5
26511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 (exit $ac_status); } && {
26513 test -z "$ac_cxx_werror_flag" ||
26514 test ! -s conftest.err
26515 } && test -s conftest.$ac_objext; then
26516 wx_cv_class_stdhashmapset=yes
26518 echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.$ac_ext >&5
26521 wx_cv_class_stdhashmapset=no
26524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26528 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26529 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26534 if test "$wx_cv_class_stdhashmapset" = yes; then
26535 cat >>confdefs.h <<\_ACEOF
26536 #define HAVE_HASH_MAP 1
26539 cat >>confdefs.h <<\_ACEOF
26540 #define HAVE_STD_HASH_MAP 1
26545 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26546 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26547 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26548 echo $ECHO_N "(cached) $ECHO_C" >&6
26550 cat >conftest.$ac_ext <<_ACEOF
26553 cat confdefs.h >>conftest.$ac_ext
26554 cat >>conftest.$ac_ext <<_ACEOF
26555 /* end confdefs.h. */
26559 #include <ext/hash_map>
26561 rm -f conftest.$ac_objext
26562 if { (ac_try="$ac_compile"
26563 case "(($ac_try" in
26564 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26565 *) ac_try_echo
=$ac_try;;
26567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26568 (eval "$ac_compile") 2>conftest.er1
26570 grep -v '^ *+' conftest.er1
>conftest.err
26572 cat conftest.err
>&5
26573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26574 (exit $ac_status); } && {
26575 test -z "$ac_cxx_werror_flag" ||
26576 test ! -s conftest.err
26577 } && test -s conftest.
$ac_objext; then
26578 ac_cv_header_ext_hash_map
=yes
26580 echo "$as_me: failed program was:" >&5
26581 sed 's/^/| /' conftest.
$ac_ext >&5
26583 ac_cv_header_ext_hash_map
=no
26586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26588 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26589 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26590 if test $ac_cv_header_ext_hash_map = yes; then
26591 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26592 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26593 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26594 echo $ECHO_N "(cached) $ECHO_C" >&6
26596 cat >conftest.
$ac_ext <<_ACEOF
26599 cat confdefs.h
>>conftest.
$ac_ext
26600 cat >>conftest.
$ac_ext <<_ACEOF
26601 /* end confdefs.h. */
26602 #include <ext/hash_map>
26603 #include <ext/hash_set>
26607 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26608 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26613 rm -f conftest.
$ac_objext
26614 if { (ac_try
="$ac_compile"
26615 case "(($ac_try" in
26616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26617 *) ac_try_echo=$ac_try;;
26619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26620 (eval "$ac_compile") 2>conftest.er1
26622 grep -v '^ *+' conftest.er1 >conftest.err
26624 cat conftest.err >&5
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); } && {
26627 test -z "$ac_cxx_werror_flag" ||
26628 test ! -s conftest.err
26629 } && test -s conftest.$ac_objext; then
26630 wx_cv_class_gnuhashmapset=yes
26632 echo "$as_me: failed program was:" >&5
26633 sed 's/^/| /' conftest.$ac_ext >&5
26635 wx_cv_class_gnuhashmapset=no
26638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26642 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26643 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26653 ac_cpp='$CXXCPP $CPPFLAGS'
26654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26657 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26658 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26659 if test -z "$CXXCPP"; then
26660 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26661 echo $ECHO_N "(cached) $ECHO_C" >&6
26663 # Double quotes because CXXCPP needs to be expanded
26664 for CXXCPP in "$CXX -E" "/lib/cpp"
26666 ac_preproc_ok=false
26667 for ac_cxx_preproc_warn_flag in '' yes
26669 # Use a header file that comes with gcc, so configuring glibc
26670 # with a fresh cross-compiler works.
26671 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26672 # <limits.h> exists even on freestanding compilers.
26673 # On the NeXT, cc -E runs the code through the compiler's parser,
26674 # not just through cpp. "Syntax error" is here to catch this case.
26675 cat >conftest.$ac_ext <<_ACEOF
26678 cat confdefs.h >>conftest.$ac_ext
26679 cat >>conftest.$ac_ext <<_ACEOF
26680 /* end confdefs.h. */
26682 # include <limits.h>
26684 # include <assert.h>
26688 if { (ac_try="$ac_cpp conftest.$ac_ext"
26689 case "(($ac_try" in
26690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26691 *) ac_try_echo
=$ac_try;;
26693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26696 grep -v '^ *+' conftest.er1
>conftest.err
26698 cat conftest.err
>&5
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); } >/dev
/null
&& {
26701 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26702 test ! -s conftest.err
26706 echo "$as_me: failed program was:" >&5
26707 sed 's/^/| /' conftest.
$ac_ext >&5
26709 # Broken: fails on valid input.
26713 rm -f conftest.err conftest.
$ac_ext
26715 # OK, works on sane cases. Now check whether nonexistent headers
26716 # can be detected and how.
26717 cat >conftest.
$ac_ext <<_ACEOF
26720 cat confdefs.h
>>conftest.
$ac_ext
26721 cat >>conftest.
$ac_ext <<_ACEOF
26722 /* end confdefs.h. */
26723 #include <ac_nonexistent.h>
26725 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26726 case "(($ac_try" in
26727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26728 *) ac_try_echo=$ac_try;;
26730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26733 grep -v '^ *+' conftest.er1 >conftest.err
26735 cat conftest.err >&5
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); } >/dev/null && {
26738 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26739 test ! -s conftest.err
26741 # Broken: success on invalid input.
26744 echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.$ac_ext >&5
26747 # Passes both tests.
26752 rm -f conftest.err conftest.$ac_ext
26755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26756 rm -f conftest.err conftest.
$ac_ext
26757 if $ac_preproc_ok; then
26762 ac_cv_prog_CXXCPP
=$CXXCPP
26765 CXXCPP
=$ac_cv_prog_CXXCPP
26767 ac_cv_prog_CXXCPP
=$CXXCPP
26769 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26770 echo "${ECHO_T}$CXXCPP" >&6; }
26771 ac_preproc_ok
=false
26772 for ac_cxx_preproc_warn_flag
in '' yes
26774 # Use a header file that comes with gcc, so configuring glibc
26775 # with a fresh cross-compiler works.
26776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26777 # <limits.h> exists even on freestanding compilers.
26778 # On the NeXT, cc -E runs the code through the compiler's parser,
26779 # not just through cpp. "Syntax error" is here to catch this case.
26780 cat >conftest.
$ac_ext <<_ACEOF
26783 cat confdefs.h
>>conftest.
$ac_ext
26784 cat >>conftest.
$ac_ext <<_ACEOF
26785 /* end confdefs.h. */
26787 # include <limits.h>
26789 # include <assert.h>
26793 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26794 case "(($ac_try" in
26795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26796 *) ac_try_echo=$ac_try;;
26798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26801 grep -v '^ *+' conftest.er1 >conftest.err
26803 cat conftest.err >&5
26804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 (exit $ac_status); } >/dev/null && {
26806 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26807 test ! -s conftest.err
26811 echo "$as_me: failed program was:" >&5
26812 sed 's/^/| /' conftest.$ac_ext >&5
26814 # Broken: fails on valid input.
26818 rm -f conftest.err conftest.$ac_ext
26820 # OK, works on sane cases. Now check whether nonexistent headers
26821 # can be detected and how.
26822 cat >conftest.$ac_ext <<_ACEOF
26825 cat confdefs.h >>conftest.$ac_ext
26826 cat >>conftest.$ac_ext <<_ACEOF
26827 /* end confdefs.h. */
26828 #include <ac_nonexistent.h>
26830 if { (ac_try="$ac_cpp conftest.$ac_ext"
26831 case "(($ac_try" in
26832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26833 *) ac_try_echo
=$ac_try;;
26835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26838 grep -v '^ *+' conftest.er1
>conftest.err
26840 cat conftest.err
>&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); } >/dev
/null
&& {
26843 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26844 test ! -s conftest.err
26846 # Broken: success on invalid input.
26849 echo "$as_me: failed program was:" >&5
26850 sed 's/^/| /' conftest.
$ac_ext >&5
26852 # Passes both tests.
26857 rm -f conftest.err conftest.
$ac_ext
26860 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26861 rm -f conftest.err conftest.
$ac_ext
26862 if $ac_preproc_ok; then
26865 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26866 See \`config.log' for more details." >&5
26867 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26868 See \`config.log' for more details." >&2;}
26869 { (exit 1); exit 1; }; }
26873 ac_cpp
='$CXXCPP $CPPFLAGS'
26874 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26875 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26876 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26881 for ac_header
in type_traits tr
1/type_traits
26883 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26884 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26885 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26887 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26888 echo $ECHO_N "(cached) $ECHO_C" >&6
26890 ac_res
=`eval echo '${'$as_ac_Header'}'`
26891 { echo "$as_me:$LINENO: result: $ac_res" >&5
26892 echo "${ECHO_T}$ac_res" >&6; }
26894 # Is the header compilable?
26895 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26896 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26897 cat >conftest.
$ac_ext <<_ACEOF
26900 cat confdefs.h
>>conftest.
$ac_ext
26901 cat >>conftest.
$ac_ext <<_ACEOF
26902 /* end confdefs.h. */
26903 $ac_includes_default
26904 #include <$ac_header>
26906 rm -f conftest.
$ac_objext
26907 if { (ac_try
="$ac_compile"
26908 case "(($ac_try" in
26909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26910 *) ac_try_echo=$ac_try;;
26912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26913 (eval "$ac_compile") 2>conftest.er1
26915 grep -v '^ *+' conftest.er1 >conftest.err
26917 cat conftest.err >&5
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); } && {
26920 test -z "$ac_cxx_werror_flag" ||
26921 test ! -s conftest.err
26922 } && test -s conftest.$ac_objext; then
26923 ac_header_compiler=yes
26925 echo "$as_me: failed program was:" >&5
26926 sed 's/^/| /' conftest.$ac_ext >&5
26928 ac_header_compiler=no
26931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26932 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26933 echo "${ECHO_T}$ac_header_compiler" >&6; }
26935 # Is the header present?
26936 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26938 cat >conftest.$ac_ext <<_ACEOF
26941 cat confdefs.h >>conftest.$ac_ext
26942 cat >>conftest.$ac_ext <<_ACEOF
26943 /* end confdefs.h. */
26944 #include <$ac_header>
26946 if { (ac_try="$ac_cpp conftest.$ac_ext"
26947 case "(($ac_try" in
26948 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26949 *) ac_try_echo
=$ac_try;;
26951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26954 grep -v '^ *+' conftest.er1
>conftest.err
26956 cat conftest.err
>&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); } >/dev
/null
&& {
26959 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26960 test ! -s conftest.err
26962 ac_header_preproc
=yes
26964 echo "$as_me: failed program was:" >&5
26965 sed 's/^/| /' conftest.
$ac_ext >&5
26967 ac_header_preproc
=no
26970 rm -f conftest.err conftest.
$ac_ext
26971 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26972 echo "${ECHO_T}$ac_header_preproc" >&6; }
26974 # So? What about this header?
26975 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26977 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26978 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26980 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26981 ac_header_preproc
=yes
26984 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26985 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26986 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26987 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26988 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26989 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26990 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26991 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26993 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26994 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26995 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26997 ## ----------------------------------------- ##
26998 ## Report this to wx-dev@lists.wxwidgets.org ##
26999 ## ----------------------------------------- ##
27001 ) | sed "s/^/$as_me: WARNING: /" >&2
27004 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27006 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27007 echo $ECHO_N "(cached) $ECHO_C" >&6
27009 eval "$as_ac_Header=\$ac_header_preproc"
27011 ac_res
=`eval echo '${'$as_ac_Header'}'`
27012 { echo "$as_me:$LINENO: result: $ac_res" >&5
27013 echo "${ECHO_T}$ac_res" >&6; }
27016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27017 cat >>confdefs.h
<<_ACEOF
27018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27028 if test -n "$GCC"; then
27029 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
27030 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
27031 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27032 echo $ECHO_N "(cached) $ECHO_C" >&6
27035 cat >conftest.
$ac_ext <<_ACEOF
27038 cat confdefs.h
>>conftest.
$ac_ext
27039 cat >>conftest.
$ac_ext <<_ACEOF
27040 /* end confdefs.h. */
27046 unsigned int value=0;
27047 /* wxAtomicInc doesn't use return value here */
27048 __sync_fetch_and_add(&value, 2);
27049 __sync_sub_and_fetch(&value, 1);
27050 /* but wxAtomicDec does, so mimic that: */
27051 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27057 rm -f conftest.
$ac_objext conftest
$ac_exeext
27058 if { (ac_try
="$ac_link"
27059 case "(($ac_try" in
27060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27061 *) ac_try_echo=$ac_try;;
27063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27064 (eval "$ac_link") 2>conftest.er1
27066 grep -v '^ *+' conftest.er1 >conftest.err
27068 cat conftest.err >&5
27069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27070 (exit $ac_status); } && {
27071 test -z "$ac_cxx_werror_flag" ||
27072 test ! -s conftest.err
27073 } && test -s conftest$ac_exeext &&
27074 $as_test_x conftest$ac_exeext; then
27075 wx_cv_cc_gcc_atomic_builtins=yes
27077 echo "$as_me: failed program was:" >&5
27078 sed 's/^/| /' conftest.$ac_ext >&5
27080 wx_cv_cc_gcc_atomic_builtins=no
27083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27084 conftest$ac_exeext conftest.$ac_ext
27088 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27089 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27090 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27091 cat >>confdefs.h <<\_ACEOF
27092 #define HAVE_GCC_ATOMIC_BUILTINS 1
27100 ac_cpp='$CPP $CPPFLAGS'
27101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27108 /usr/local/include \
27109 /usr/local/X11/include \
27110 /usr/local/include/X11 \
27111 /usr/local/X11R7/include \
27112 /usr/local/X11R6/include \
27113 /usr/local/include/X11R7 \
27114 /usr/local/include/X11R6 \
27116 /usr/Motif-2.1/include \
27117 /usr/Motif-1.2/include \
27118 /usr/include/Motif1.2 \
27121 /usr/openwin/include \
27125 /usr/X11R7/include \
27126 /usr/X11R6/include \
27127 /usr/X11R6.4/include \
27129 /usr/include/X11R7 \
27130 /usr/include/X11R6 \
27135 /usr/XFree86/include/X11 \
27138 /usr/local/X1R5/include \
27139 /usr/local/include/X11R5 \
27140 /usr/X11R5/include \
27141 /usr/include/X11R5 \
27143 /usr/local/X11R4/include \
27144 /usr/local/include/X11R4 \
27145 /usr/X11R4/include \
27146 /usr/include/X11R4 \
27148 /usr/openwin/share/include"
27150 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27151 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27155 if test "${wx_cv_std_libpath+set}" = set; then
27156 echo $ECHO_N "(cached) $ECHO_C" >&6
27159 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27160 for e in a so sl dylib dll.a; do
27162 if test -f $libc; then
27165 cat >conftest.$ac_ext <<_ACEOF
27169 cat confdefs.h >>conftest.$ac_ext
27170 cat >>conftest.$ac_ext <<_ACEOF
27171 /* end confdefs.h. */
27172 int main() { return 0; }
27175 rm -f conftest.$ac_objext conftest$ac_exeext
27176 if { (ac_try="$ac_link"
27177 case "(($ac_try" in
27178 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27179 *) ac_try_echo
=$ac_try;;
27181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27182 (eval "$ac_link") 2>conftest.er1
27184 grep -v '^ *+' conftest.er1
>conftest.err
27186 cat conftest.err
>&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); } && {
27189 test -z "$ac_c_werror_flag" ||
27190 test ! -s conftest.err
27191 } && test -s conftest
$ac_exeext &&
27192 $as_test_x conftest
$ac_exeext; then
27193 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
27195 echo "$as_me: failed program was:" >&5
27196 sed 's/^/| /' conftest.
$ac_ext >&5
27201 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27202 conftest
$ac_exeext conftest.
$ac_ext
27204 if test "x$wx_cv_std_libpath" != "x"; then
27217 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27218 wx_cv_std_libpath
="lib/64"
27223 if test "$ac_cv_sizeof_void_p" = 8; then
27224 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27225 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
27226 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27227 wx_cv_std_libpath
="lib64"
27232 if test -d '/usr/lib/i386-linux-gnu'; then
27233 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
27238 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27239 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
27244 if test -z "$wx_cv_std_libpath"; then
27245 wx_cv_std_libpath
="lib"
27248 if test -z "$wx_cv_std_libfullpath"; then
27249 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
27253 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27254 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27256 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27258 if test "$build" != "$host" -a "$GCC" = yes; then
27259 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
27260 cross_root
=`dirname $cross_root`
27261 cross_root
=`dirname $cross_root`
27263 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27264 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27265 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
27267 if test -z "$PKG_CONFIG_PATH"; then
27268 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27269 export PKG_CONFIG_PATH
27272 if test -z "$x_includes" -o "$x_includes" = NONE
; then
27275 for ac_dir
in $SEARCH_INCLUDE /usr
/include
27277 if test -f "$ac_dir/X11/Intrinsic.h"; then
27278 ac_find_includes
=$ac_dir
27283 x_includes
=$ac_find_includes
27285 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
27288 for ac_dir
in $SEARCH_LIB
27290 for ac_extension
in a so sl dylib dll.a
; do
27291 if test -f "$ac_dir/libXt.$ac_extension"; then
27292 ac_find_libraries
=$ac_dir
27298 x_libraries
=$ac_find_libraries
27304 cat >confcache
<<\_ACEOF
27305 # This file is a shell script that caches the results of configure
27306 # tests run on this system so they can be shared between configure
27307 # scripts and configure runs, see configure's option --config-cache.
27308 # It is not useful on other systems. If it contains results you don't
27309 # want to keep, you may remove or edit it.
27311 # config.status only pays attention to the cache file if you give it
27312 # the --recheck option to rerun configure.
27314 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27315 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27316 # following values.
27320 # The following way of writing the cache mishandles newlines in values,
27321 # but we know of no workaround that is simple, portable, and efficient.
27322 # So, we kill variables containing newlines.
27323 # Ultrix sh set writes to stderr and can't be redirected directly,
27324 # and sets the high bit in the cache file unless we assign to the vars.
27326 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27327 eval ac_val
=\$
$ac_var
27331 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27332 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27335 _
| IFS
| as_nl
) ;; #(
27336 *) $as_unset $ac_var ;;
27342 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27343 *${as_nl}ac_space
=\
*)
27344 # `set' does not quote correctly, so add quotes (double-quote
27345 # substitution turns \\\\ into \\, and sed turns \\ into \).
27348 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27351 # `set' quotes correctly as required by POSIX, so do not add quotes.
27352 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27361 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27363 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27365 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27366 if test -w "$cache_file"; then
27367 test "x$cache_file" != "x/dev/null" &&
27368 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27369 echo "$as_me: updating cache $cache_file" >&6;}
27370 cat confcache
>$cache_file
27372 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27373 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27378 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27379 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27380 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27381 if test "${wx_cv_lib_glibc21+set}" = set; then
27382 echo $ECHO_N "(cached) $ECHO_C" >&6
27385 cat >conftest.
$ac_ext <<_ACEOF
27388 cat confdefs.h
>>conftest.
$ac_ext
27389 cat >>conftest.
$ac_ext <<_ACEOF
27390 /* end confdefs.h. */
27391 #include <features.h>
27396 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27404 rm -f conftest.
$ac_objext
27405 if { (ac_try
="$ac_compile"
27406 case "(($ac_try" in
27407 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27408 *) ac_try_echo=$ac_try;;
27410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27411 (eval "$ac_compile") 2>conftest.er1
27413 grep -v '^ *+' conftest.er1 >conftest.err
27415 cat conftest.err >&5
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); } && {
27418 test -z "$ac_c_werror_flag" ||
27419 test ! -s conftest.err
27420 } && test -s conftest.$ac_objext; then
27422 wx_cv_lib_glibc21=yes
27425 echo "$as_me: failed program was:" >&5
27426 sed 's/^/| /' conftest.$ac_ext >&5
27429 wx_cv_lib_glibc21=no
27434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27437 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27438 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27439 if test "$wx_cv_lib_glibc21" = "yes"; then
27440 cat >>confdefs.h <<\_ACEOF
27441 #define wxHAVE_GLIBC2 1
27447 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27448 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27449 cat >>confdefs.h <<\_ACEOF
27450 #define _GNU_SOURCE 1
27461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27462 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27464 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27465 echo $ECHO_N "(cached) $ECHO_C" >&6
27467 cat >conftest.$ac_ext <<_ACEOF
27470 cat confdefs.h >>conftest.$ac_ext
27471 cat >>conftest.$ac_ext <<_ACEOF
27472 /* end confdefs.h. */
27473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27475 #define $ac_func innocuous_$ac_func
27477 /* System header to define __stub macros and hopefully few prototypes,
27478 which can conflict with char $ac_func (); below.
27479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27480 <limits.h> exists even on freestanding compilers. */
27483 # include <limits.h>
27485 # include <assert.h>
27490 /* Override any GCC internal prototype to avoid an error.
27491 Use char because int might match the return type of a GCC
27492 builtin and then its argument prototype would still apply. */
27497 /* The GNU C library defines this for functions which it implements
27498 to always fail with ENOSYS. Some functions are actually named
27499 something starting with __ and the normal name is an alias. */
27500 #if defined __stub_$ac_func || defined __stub___$ac_func
27507 return $ac_func ();
27512 rm -f conftest.$ac_objext conftest$ac_exeext
27513 if { (ac_try="$ac_link"
27514 case "(($ac_try" in
27515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27516 *) ac_try_echo
=$ac_try;;
27518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27519 (eval "$ac_link") 2>conftest.er1
27521 grep -v '^ *+' conftest.er1
>conftest.err
27523 cat conftest.err
>&5
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); } && {
27526 test -z "$ac_c_werror_flag" ||
27527 test ! -s conftest.err
27528 } && test -s conftest
$ac_exeext &&
27529 $as_test_x conftest
$ac_exeext; then
27530 eval "$as_ac_var=yes"
27532 echo "$as_me: failed program was:" >&5
27533 sed 's/^/| /' conftest.
$ac_ext >&5
27535 eval "$as_ac_var=no"
27538 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27539 conftest
$ac_exeext conftest.
$ac_ext
27541 ac_res
=`eval echo '${'$as_ac_var'}'`
27542 { echo "$as_me:$LINENO: result: $ac_res" >&5
27543 echo "${ECHO_T}$ac_res" >&6; }
27544 if test `eval echo '${'$as_ac_var'}'` = yes; then
27545 cat >>confdefs.h
<<_ACEOF
27546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27553 for ac_func
in floor
27555 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27556 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27558 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27559 echo $ECHO_N "(cached) $ECHO_C" >&6
27561 cat >conftest.
$ac_ext <<_ACEOF
27564 cat confdefs.h
>>conftest.
$ac_ext
27565 cat >>conftest.
$ac_ext <<_ACEOF
27566 /* end confdefs.h. */
27567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27569 #define $ac_func innocuous_$ac_func
27571 /* System header to define __stub macros and hopefully few prototypes,
27572 which can conflict with char $ac_func (); below.
27573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27574 <limits.h> exists even on freestanding compilers. */
27577 # include <limits.h>
27579 # include <assert.h>
27584 /* Override any GCC internal prototype to avoid an error.
27585 Use char because int might match the return type of a GCC
27586 builtin and then its argument prototype would still apply. */
27591 /* The GNU C library defines this for functions which it implements
27592 to always fail with ENOSYS. Some functions are actually named
27593 something starting with __ and the normal name is an alias. */
27594 #if defined __stub_$ac_func || defined __stub___$ac_func
27601 return $ac_func ();
27606 rm -f conftest.
$ac_objext conftest
$ac_exeext
27607 if { (ac_try
="$ac_link"
27608 case "(($ac_try" in
27609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27610 *) ac_try_echo=$ac_try;;
27612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27613 (eval "$ac_link") 2>conftest.er1
27615 grep -v '^ *+' conftest.er1 >conftest.err
27617 cat conftest.err >&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); } && {
27620 test -z "$ac_c_werror_flag" ||
27621 test ! -s conftest.err
27622 } && test -s conftest$ac_exeext &&
27623 $as_test_x conftest$ac_exeext; then
27624 eval "$as_ac_var=yes"
27626 echo "$as_me: failed program was:" >&5
27627 sed 's/^/| /' conftest.$ac_ext >&5
27629 eval "$as_ac_var=no"
27632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27633 conftest$ac_exeext conftest.$ac_ext
27635 ac_res=`eval echo '${'$as_ac_var'}'`
27636 { echo "$as_me:$LINENO: result: $ac_res" >&5
27637 echo "${ECHO_T}$ac_res" >&6; }
27638 if test `eval echo '${'$as_ac_var'}'` = yes; then
27639 cat >>confdefs.h <<_ACEOF
27640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27646 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27647 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27648 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27649 { echo "$as_me:$LINENO: result: yes" >&5
27650 echo "${ECHO_T}yes" >&6; }
27652 { echo "$as_me:$LINENO: result: no" >&5
27653 echo "${ECHO_T}no" >&6; }
27655 # use different functions to avoid configure caching
27661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27662 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27664 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27665 echo $ECHO_N "(cached) $ECHO_C" >&6
27667 cat >conftest.$ac_ext <<_ACEOF
27670 cat confdefs.h >>conftest.$ac_ext
27671 cat >>conftest.$ac_ext <<_ACEOF
27672 /* end confdefs.h. */
27673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27675 #define $ac_func innocuous_$ac_func
27677 /* System header to define __stub macros and hopefully few prototypes,
27678 which can conflict with char $ac_func (); below.
27679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27680 <limits.h> exists even on freestanding compilers. */
27683 # include <limits.h>
27685 # include <assert.h>
27690 /* Override any GCC internal prototype to avoid an error.
27691 Use char because int might match the return type of a GCC
27692 builtin and then its argument prototype would still apply. */
27697 /* The GNU C library defines this for functions which it implements
27698 to always fail with ENOSYS. Some functions are actually named
27699 something starting with __ and the normal name is an alias. */
27700 #if defined __stub_$ac_func || defined __stub___$ac_func
27707 return $ac_func ();
27712 rm -f conftest.$ac_objext conftest$ac_exeext
27713 if { (ac_try="$ac_link"
27714 case "(($ac_try" in
27715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27716 *) ac_try_echo
=$ac_try;;
27718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27719 (eval "$ac_link") 2>conftest.er1
27721 grep -v '^ *+' conftest.er1
>conftest.err
27723 cat conftest.err
>&5
27724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27725 (exit $ac_status); } && {
27726 test -z "$ac_c_werror_flag" ||
27727 test ! -s conftest.err
27728 } && test -s conftest
$ac_exeext &&
27729 $as_test_x conftest
$ac_exeext; then
27730 eval "$as_ac_var=yes"
27732 echo "$as_me: failed program was:" >&5
27733 sed 's/^/| /' conftest.
$ac_ext >&5
27735 eval "$as_ac_var=no"
27738 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27739 conftest
$ac_exeext conftest.
$ac_ext
27741 ac_res
=`eval echo '${'$as_ac_var'}'`
27742 { echo "$as_me:$LINENO: result: $ac_res" >&5
27743 echo "${ECHO_T}$ac_res" >&6; }
27744 if test `eval echo '${'$as_ac_var'}'` = yes; then
27745 cat >>confdefs.h
<<_ACEOF
27746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27753 for ac_func
in ceil
27755 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27756 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27758 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27759 echo $ECHO_N "(cached) $ECHO_C" >&6
27761 cat >conftest.
$ac_ext <<_ACEOF
27764 cat confdefs.h
>>conftest.
$ac_ext
27765 cat >>conftest.
$ac_ext <<_ACEOF
27766 /* end confdefs.h. */
27767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27769 #define $ac_func innocuous_$ac_func
27771 /* System header to define __stub macros and hopefully few prototypes,
27772 which can conflict with char $ac_func (); below.
27773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27774 <limits.h> exists even on freestanding compilers. */
27777 # include <limits.h>
27779 # include <assert.h>
27784 /* Override any GCC internal prototype to avoid an error.
27785 Use char because int might match the return type of a GCC
27786 builtin and then its argument prototype would still apply. */
27791 /* The GNU C library defines this for functions which it implements
27792 to always fail with ENOSYS. Some functions are actually named
27793 something starting with __ and the normal name is an alias. */
27794 #if defined __stub_$ac_func || defined __stub___$ac_func
27801 return $ac_func ();
27806 rm -f conftest.
$ac_objext conftest
$ac_exeext
27807 if { (ac_try
="$ac_link"
27808 case "(($ac_try" in
27809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27810 *) ac_try_echo=$ac_try;;
27812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27813 (eval "$ac_link") 2>conftest.er1
27815 grep -v '^ *+' conftest.er1 >conftest.err
27817 cat conftest.err >&5
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); } && {
27820 test -z "$ac_c_werror_flag" ||
27821 test ! -s conftest.err
27822 } && test -s conftest$ac_exeext &&
27823 $as_test_x conftest$ac_exeext; then
27824 eval "$as_ac_var=yes"
27826 echo "$as_me: failed program was:" >&5
27827 sed 's/^/| /' conftest.$ac_ext >&5
27829 eval "$as_ac_var=no"
27832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27833 conftest$ac_exeext conftest.$ac_ext
27835 ac_res=`eval echo '${'$as_ac_var'}'`
27836 { echo "$as_me:$LINENO: result: $ac_res" >&5
27837 echo "${ECHO_T}$ac_res" >&6; }
27838 if test `eval echo '${'$as_ac_var'}'` = yes; then
27839 cat >>confdefs.h <<_ACEOF
27840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27846 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27847 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27848 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27849 { echo "$as_me:$LINENO: result: yes" >&5
27850 echo "${ECHO_T}yes" >&6; }
27852 { echo "$as_me:$LINENO: result: no" >&5
27853 echo "${ECHO_T}no" >&6; }
27854 # not sure we should warn the user, crash, etc.
27859 ac_cpp='$CXXCPP $CPPFLAGS'
27860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27864 if test "wxUSE_UNICODE" = "yes"; then
27866 for wx_func in wcstoull
27868 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27869 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27870 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27871 echo $ECHO_N "(cached) $ECHO_C" >&6
27874 cat >conftest.$ac_ext <<_ACEOF
27878 cat confdefs.h >>conftest.$ac_ext
27879 cat >>conftest.$ac_ext <<_ACEOF
27880 /* end confdefs.h. */
27883 $ac_includes_default
27899 rm -f conftest.$ac_objext conftest$ac_exeext
27900 if { (ac_try="$ac_link"
27901 case "(($ac_try" in
27902 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27903 *) ac_try_echo
=$ac_try;;
27905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27906 (eval "$ac_link") 2>conftest.er1
27908 grep -v '^ *+' conftest.er1
>conftest.err
27910 cat conftest.err
>&5
27911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912 (exit $ac_status); } && {
27913 test -z "$ac_cxx_werror_flag" ||
27914 test ! -s conftest.err
27915 } && test -s conftest
$ac_exeext &&
27916 $as_test_x conftest
$ac_exeext; then
27917 eval wx_cv_func_
$wx_func=yes
27919 echo "$as_me: failed program was:" >&5
27920 sed 's/^/| /' conftest.
$ac_ext >&5
27922 eval wx_cv_func_
$wx_func=no
27925 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27926 conftest
$ac_exeext conftest.
$ac_ext
27929 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27930 { echo "$as_me:$LINENO: result: $ac_res" >&5
27931 echo "${ECHO_T}$ac_res" >&6; }
27933 if eval test \
$wx_cv_func_$wx_func = yes
27935 cat >>confdefs.h
<<_ACEOF
27936 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27948 for wx_func
in strtoull
27950 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27951 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27952 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27953 echo $ECHO_N "(cached) $ECHO_C" >&6
27956 cat >conftest.
$ac_ext <<_ACEOF
27960 cat confdefs.h
>>conftest.
$ac_ext
27961 cat >>conftest.
$ac_ext <<_ACEOF
27962 /* end confdefs.h. */
27965 $ac_includes_default
27981 rm -f conftest.
$ac_objext conftest
$ac_exeext
27982 if { (ac_try
="$ac_link"
27983 case "(($ac_try" in
27984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27985 *) ac_try_echo=$ac_try;;
27987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27988 (eval "$ac_link") 2>conftest.er1
27990 grep -v '^ *+' conftest.er1 >conftest.err
27992 cat conftest.err >&5
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); } && {
27995 test -z "$ac_cxx_werror_flag" ||
27996 test ! -s conftest.err
27997 } && test -s conftest$ac_exeext &&
27998 $as_test_x conftest$ac_exeext; then
27999 eval wx_cv_func_$wx_func=yes
28001 echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.$ac_ext >&5
28004 eval wx_cv_func_$wx_func=no
28007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28008 conftest$ac_exeext conftest.$ac_ext
28011 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28012 { echo "$as_me:$LINENO: result: $ac_res" >&5
28013 echo "${ECHO_T}$ac_res" >&6; }
28015 if eval test \$wx_cv_func_$wx_func = yes
28017 cat >>confdefs.h <<_ACEOF
28018 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28030 ac_cpp='$CPP $CPPFLAGS'
28031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28038 if test "$wxUSE_REGEX" != "no"; then
28039 cat >>confdefs.h <<\_ACEOF
28040 #define wxUSE_REGEX 1
28044 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28045 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
28046 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
28047 wxUSE_REGEX=builtin
28050 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28051 { echo "$as_me:$LINENO: checking for regex.h" >&5
28052 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28053 if test "${ac_cv_header_regex_h+set}" = set; then
28054 echo $ECHO_N "(cached) $ECHO_C" >&6
28056 cat >conftest.$ac_ext <<_ACEOF
28059 cat confdefs.h >>conftest.$ac_ext
28060 cat >>conftest.$ac_ext <<_ACEOF
28061 /* end confdefs.h. */
28066 rm -f conftest.$ac_objext
28067 if { (ac_try="$ac_compile"
28068 case "(($ac_try" in
28069 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28070 *) ac_try_echo
=$ac_try;;
28072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28073 (eval "$ac_compile") 2>conftest.er1
28075 grep -v '^ *+' conftest.er1
>conftest.err
28077 cat conftest.err
>&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); } && {
28080 test -z "$ac_c_werror_flag" ||
28081 test ! -s conftest.err
28082 } && test -s conftest.
$ac_objext; then
28083 ac_cv_header_regex_h
=yes
28085 echo "$as_me: failed program was:" >&5
28086 sed 's/^/| /' conftest.
$ac_ext >&5
28088 ac_cv_header_regex_h
=no
28091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28093 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28094 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28095 if test $ac_cv_header_regex_h = yes; then
28098 for ac_func
in regcomp re_search
28100 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28101 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28103 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28104 echo $ECHO_N "(cached) $ECHO_C" >&6
28106 cat >conftest.
$ac_ext <<_ACEOF
28109 cat confdefs.h
>>conftest.
$ac_ext
28110 cat >>conftest.
$ac_ext <<_ACEOF
28111 /* end confdefs.h. */
28112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28114 #define $ac_func innocuous_$ac_func
28116 /* System header to define __stub macros and hopefully few prototypes,
28117 which can conflict with char $ac_func (); below.
28118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28119 <limits.h> exists even on freestanding compilers. */
28122 # include <limits.h>
28124 # include <assert.h>
28129 /* Override any GCC internal prototype to avoid an error.
28130 Use char because int might match the return type of a GCC
28131 builtin and then its argument prototype would still apply. */
28136 /* The GNU C library defines this for functions which it implements
28137 to always fail with ENOSYS. Some functions are actually named
28138 something starting with __ and the normal name is an alias. */
28139 #if defined __stub_$ac_func || defined __stub___$ac_func
28146 return $ac_func ();
28151 rm -f conftest.
$ac_objext conftest
$ac_exeext
28152 if { (ac_try
="$ac_link"
28153 case "(($ac_try" in
28154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28155 *) ac_try_echo=$ac_try;;
28157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28158 (eval "$ac_link") 2>conftest.er1
28160 grep -v '^ *+' conftest.er1 >conftest.err
28162 cat conftest.err >&5
28163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28164 (exit $ac_status); } && {
28165 test -z "$ac_c_werror_flag" ||
28166 test ! -s conftest.err
28167 } && test -s conftest$ac_exeext &&
28168 $as_test_x conftest$ac_exeext; then
28169 eval "$as_ac_var=yes"
28171 echo "$as_me: failed program was:" >&5
28172 sed 's/^/| /' conftest.$ac_ext >&5
28174 eval "$as_ac_var=no"
28177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28178 conftest$ac_exeext conftest.$ac_ext
28180 ac_res=`eval echo '${'$as_ac_var'}'`
28181 { echo "$as_me:$LINENO: result: $ac_res" >&5
28182 echo "${ECHO_T}$ac_res" >&6; }
28183 if test `eval echo '${'$as_ac_var'}'` = yes; then
28184 cat >>confdefs.h <<_ACEOF
28185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28195 if test "x$ac_cv_func_regcomp" != "xyes"; then
28196 if test "$wxUSE_REGEX" = "sys" ; then
28197 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28198 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28199 { (exit 1); exit 1; }; }
28201 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28202 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28203 wxUSE_REGEX=builtin
28207 cat >>confdefs.h <<\_ACEOF
28208 #define WX_NO_REGEX_ADVANCED 1
28217 if test "$wxUSE_ZLIB" != "no" ; then
28218 cat >>confdefs.h <<\_ACEOF
28219 #define wxUSE_ZLIB 1
28223 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28224 if test "$USE_DARWIN" = 1; then
28225 system_zlib_h_ok="yes"
28227 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28228 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28229 if test "${ac_cv_header_zlib_h+set}" = set; then
28230 echo $ECHO_N "(cached) $ECHO_C" >&6
28232 if test "$cross_compiling" = yes; then
28233 unset ac_cv_header_zlib_h
28236 cat >conftest.$ac_ext <<_ACEOF
28239 cat confdefs.h >>conftest.$ac_ext
28240 cat >>conftest.$ac_ext <<_ACEOF
28241 /* end confdefs.h. */
28248 FILE *f=fopen("conftestval", "w");
28251 ZLIB_VERSION[0] == '1' &&
28252 (ZLIB_VERSION[2] > '1' ||
28253 (ZLIB_VERSION[2] == '1' &&
28254 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28259 rm -f conftest$ac_exeext
28260 if { (ac_try="$ac_link"
28261 case "(($ac_try" in
28262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28263 *) ac_try_echo
=$ac_try;;
28265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28266 (eval "$ac_link") 2>&5
28268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28269 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28270 { (case "(($ac_try" in
28271 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28272 *) ac_try_echo=$ac_try;;
28274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28275 (eval "$ac_try") 2>&5
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); }; }; then
28279 ac_cv_header_zlib_h=`cat conftestval
`
28281 echo "$as_me: program exited with status $ac_status" >&5
28282 echo "$as_me: failed program was:" >&5
28283 sed 's/^/| /' conftest.$ac_ext >&5
28285 ( exit $ac_status )
28286 ac_cv_header_zlib_h=no
28288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28294 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28295 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28296 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28297 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28298 if test "${ac_cv_header_zlib_h+set}" = set; then
28299 echo $ECHO_N "(cached) $ECHO_C" >&6
28301 cat >conftest.$ac_ext <<_ACEOF
28304 cat confdefs.h >>conftest.$ac_ext
28305 cat >>conftest.$ac_ext <<_ACEOF
28306 /* end confdefs.h. */
28311 rm -f conftest.$ac_objext
28312 if { (ac_try="$ac_compile"
28313 case "(($ac_try" in
28314 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28315 *) ac_try_echo
=$ac_try;;
28317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28318 (eval "$ac_compile") 2>conftest.er1
28320 grep -v '^ *+' conftest.er1
>conftest.err
28322 cat conftest.err
>&5
28323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28324 (exit $ac_status); } && {
28325 test -z "$ac_c_werror_flag" ||
28326 test ! -s conftest.err
28327 } && test -s conftest.
$ac_objext; then
28328 ac_cv_header_zlib_h
=yes
28330 echo "$as_me: failed program was:" >&5
28331 sed 's/^/| /' conftest.
$ac_ext >&5
28333 ac_cv_header_zlib_h
=no
28336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28338 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28339 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28343 system_zlib_h_ok
=$ac_cv_header_zlib_h
28346 if test "$system_zlib_h_ok" = "yes"; then
28347 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28348 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28349 if test "${ac_cv_lib_z_deflate+set}" = set; then
28350 echo $ECHO_N "(cached) $ECHO_C" >&6
28352 ac_check_lib_save_LIBS
=$LIBS
28354 cat >conftest.
$ac_ext <<_ACEOF
28357 cat confdefs.h
>>conftest.
$ac_ext
28358 cat >>conftest.
$ac_ext <<_ACEOF
28359 /* end confdefs.h. */
28361 /* Override any GCC internal prototype to avoid an error.
28362 Use char because int might match the return type of a GCC
28363 builtin and then its argument prototype would still apply. */
28376 rm -f conftest.
$ac_objext conftest
$ac_exeext
28377 if { (ac_try
="$ac_link"
28378 case "(($ac_try" in
28379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28380 *) ac_try_echo=$ac_try;;
28382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28383 (eval "$ac_link") 2>conftest.er1
28385 grep -v '^ *+' conftest.er1 >conftest.err
28387 cat conftest.err >&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); } && {
28390 test -z "$ac_c_werror_flag" ||
28391 test ! -s conftest.err
28392 } && test -s conftest$ac_exeext &&
28393 $as_test_x conftest$ac_exeext; then
28394 ac_cv_lib_z_deflate=yes
28396 echo "$as_me: failed program was:" >&5
28397 sed 's/^/| /' conftest.$ac_ext >&5
28399 ac_cv_lib_z_deflate=no
28402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28403 conftest$ac_exeext conftest.$ac_ext
28404 LIBS=$ac_check_lib_save_LIBS
28406 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28407 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28408 if test $ac_cv_lib_z_deflate = yes; then
28414 if test "x$ZLIB_LINK" = "x" ; then
28415 if test "$wxUSE_ZLIB" = "sys" ; then
28416 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28417 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28418 { (exit 1); exit 1; }; }
28420 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28421 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28432 if test "$wxUSE_LIBPNG" != "no" ; then
28433 cat >>confdefs.h <<\_ACEOF
28434 #define wxUSE_LIBPNG 1
28438 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28439 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28440 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28444 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28445 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28446 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28447 wxUSE_LIBPNG=builtin
28450 if test "$wxUSE_MGL" != 1 ; then
28451 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28452 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28453 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28454 if test "${ac_cv_header_png_h+set}" = set; then
28455 echo $ECHO_N "(cached) $ECHO_C" >&6
28457 if test "$cross_compiling" = yes; then
28458 unset ac_cv_header_png_h
28461 cat >conftest.$ac_ext <<_ACEOF
28464 cat confdefs.h >>conftest.$ac_ext
28465 cat >>conftest.$ac_ext <<_ACEOF
28466 /* end confdefs.h. */
28473 FILE *f=fopen("conftestval", "w");
28476 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28481 rm -f conftest$ac_exeext
28482 if { (ac_try="$ac_link"
28483 case "(($ac_try" in
28484 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28485 *) ac_try_echo
=$ac_try;;
28487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28488 (eval "$ac_link") 2>&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28492 { (case "(($ac_try" in
28493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28494 *) ac_try_echo=$ac_try;;
28496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28497 (eval "$ac_try") 2>&5
28499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28500 (exit $ac_status); }; }; then
28501 ac_cv_header_png_h=`cat conftestval
`
28503 echo "$as_me: program exited with status $ac_status" >&5
28504 echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.$ac_ext >&5
28507 ( exit $ac_status )
28508 ac_cv_header_png_h=no
28510 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28516 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28517 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28518 { echo "$as_me:$LINENO: checking for png.h" >&5
28519 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28520 if test "${ac_cv_header_png_h+set}" = set; then
28521 echo $ECHO_N "(cached) $ECHO_C" >&6
28523 cat >conftest.$ac_ext <<_ACEOF
28526 cat confdefs.h >>conftest.$ac_ext
28527 cat >>conftest.$ac_ext <<_ACEOF
28528 /* end confdefs.h. */
28533 rm -f conftest.$ac_objext
28534 if { (ac_try="$ac_compile"
28535 case "(($ac_try" in
28536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28537 *) ac_try_echo
=$ac_try;;
28539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28540 (eval "$ac_compile") 2>conftest.er1
28542 grep -v '^ *+' conftest.er1
>conftest.err
28544 cat conftest.err
>&5
28545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28546 (exit $ac_status); } && {
28547 test -z "$ac_c_werror_flag" ||
28548 test ! -s conftest.err
28549 } && test -s conftest.
$ac_objext; then
28550 ac_cv_header_png_h
=yes
28552 echo "$as_me: failed program was:" >&5
28553 sed 's/^/| /' conftest.
$ac_ext >&5
28555 ac_cv_header_png_h
=no
28558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28560 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28561 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28565 if test "$ac_cv_header_png_h" = "yes"; then
28566 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28567 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28568 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28569 echo $ECHO_N "(cached) $ECHO_C" >&6
28571 ac_check_lib_save_LIBS
=$LIBS
28572 LIBS
="-lpng -lz -lm $LIBS"
28573 cat >conftest.
$ac_ext <<_ACEOF
28576 cat confdefs.h
>>conftest.
$ac_ext
28577 cat >>conftest.
$ac_ext <<_ACEOF
28578 /* end confdefs.h. */
28580 /* Override any GCC internal prototype to avoid an error.
28581 Use char because int might match the return type of a GCC
28582 builtin and then its argument prototype would still apply. */
28586 char png_sig_cmp ();
28590 return png_sig_cmp ();
28595 rm -f conftest.
$ac_objext conftest
$ac_exeext
28596 if { (ac_try
="$ac_link"
28597 case "(($ac_try" in
28598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28599 *) ac_try_echo=$ac_try;;
28601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28602 (eval "$ac_link") 2>conftest.er1
28604 grep -v '^ *+' conftest.er1 >conftest.err
28606 cat conftest.err >&5
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); } && {
28609 test -z "$ac_c_werror_flag" ||
28610 test ! -s conftest.err
28611 } && test -s conftest$ac_exeext &&
28612 $as_test_x conftest$ac_exeext; then
28613 ac_cv_lib_png_png_sig_cmp=yes
28615 echo "$as_me: failed program was:" >&5
28616 sed 's/^/| /' conftest.$ac_ext >&5
28618 ac_cv_lib_png_png_sig_cmp=no
28621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28622 conftest$ac_exeext conftest.$ac_ext
28623 LIBS=$ac_check_lib_save_LIBS
28625 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28626 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28627 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28628 PNG_LINK=" -lpng -lz"
28633 if test "x$PNG_LINK" = "x" ; then
28634 if test "$wxUSE_LIBPNG" = "sys" ; then
28635 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28636 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28637 { (exit 1); exit 1; }; }
28639 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28640 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28641 wxUSE_LIBPNG=builtin
28652 if test "$wxUSE_LIBJPEG" != "no" ; then
28653 cat >>confdefs.h <<\_ACEOF
28654 #define wxUSE_LIBJPEG 1
28658 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28659 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28660 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28664 if test "$wxUSE_MGL" != 1 ; then
28665 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28666 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28667 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28668 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28669 echo $ECHO_N "(cached) $ECHO_C" >&6
28671 cat >conftest.$ac_ext <<_ACEOF
28674 cat confdefs.h >>conftest.$ac_ext
28675 cat >>conftest.$ac_ext <<_ACEOF
28676 /* end confdefs.h. */
28678 #undef HAVE_STDLIB_H
28680 #include <jpeglib.h>
28691 rm -f conftest.$ac_objext
28692 if { (ac_try="$ac_compile"
28693 case "(($ac_try" in
28694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28695 *) ac_try_echo
=$ac_try;;
28697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28698 (eval "$ac_compile") 2>conftest.er1
28700 grep -v '^ *+' conftest.er1
>conftest.err
28702 cat conftest.err
>&5
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); } && {
28705 test -z "$ac_c_werror_flag" ||
28706 test ! -s conftest.err
28707 } && test -s conftest.
$ac_objext; then
28708 ac_cv_header_jpeglib_h
=yes
28710 echo "$as_me: failed program was:" >&5
28711 sed 's/^/| /' conftest.
$ac_ext >&5
28713 ac_cv_header_jpeglib_h
=no
28717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28721 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28722 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28724 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28725 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28726 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28727 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28728 echo $ECHO_N "(cached) $ECHO_C" >&6
28730 ac_check_lib_save_LIBS
=$LIBS
28731 LIBS
="-ljpeg $LIBS"
28732 cat >conftest.
$ac_ext <<_ACEOF
28735 cat confdefs.h
>>conftest.
$ac_ext
28736 cat >>conftest.
$ac_ext <<_ACEOF
28737 /* end confdefs.h. */
28739 /* Override any GCC internal prototype to avoid an error.
28740 Use char because int might match the return type of a GCC
28741 builtin and then its argument prototype would still apply. */
28745 char jpeg_read_header ();
28749 return jpeg_read_header ();
28754 rm -f conftest.
$ac_objext conftest
$ac_exeext
28755 if { (ac_try
="$ac_link"
28756 case "(($ac_try" in
28757 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28758 *) ac_try_echo=$ac_try;;
28760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28761 (eval "$ac_link") 2>conftest.er1
28763 grep -v '^ *+' conftest.er1 >conftest.err
28765 cat conftest.err >&5
28766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28767 (exit $ac_status); } && {
28768 test -z "$ac_c_werror_flag" ||
28769 test ! -s conftest.err
28770 } && test -s conftest$ac_exeext &&
28771 $as_test_x conftest$ac_exeext; then
28772 ac_cv_lib_jpeg_jpeg_read_header=yes
28774 echo "$as_me: failed program was:" >&5
28775 sed 's/^/| /' conftest.$ac_ext >&5
28777 ac_cv_lib_jpeg_jpeg_read_header=no
28780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28781 conftest$ac_exeext conftest.$ac_ext
28782 LIBS=$ac_check_lib_save_LIBS
28784 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28785 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28786 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28787 JPEG_LINK=" -ljpeg"
28792 if test "x$JPEG_LINK" = "x" ; then
28793 if test "$wxUSE_LIBJPEG" = "sys" ; then
28794 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28795 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28796 { (exit 1); exit 1; }; }
28798 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28799 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28800 wxUSE_LIBJPEG=builtin
28805 if test "$wxUSE_MSW" = 1; then
28806 { echo "$as_me:$LINENO: checking for boolean" >&5
28807 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28808 if test "${ac_cv_type_boolean+set}" = set; then
28809 echo $ECHO_N "(cached) $ECHO_C" >&6
28811 cat >conftest.$ac_ext <<_ACEOF
28814 cat confdefs.h >>conftest.$ac_ext
28815 cat >>conftest.$ac_ext <<_ACEOF
28816 /* end confdefs.h. */
28817 #include <windows.h>
28819 typedef boolean ac__type_new_;
28823 if ((ac__type_new_ *) 0)
28825 if (sizeof (ac__type_new_))
28831 rm -f conftest.$ac_objext
28832 if { (ac_try="$ac_compile"
28833 case "(($ac_try" in
28834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28835 *) ac_try_echo
=$ac_try;;
28837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28838 (eval "$ac_compile") 2>conftest.er1
28840 grep -v '^ *+' conftest.er1
>conftest.err
28842 cat conftest.err
>&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } && {
28845 test -z "$ac_c_werror_flag" ||
28846 test ! -s conftest.err
28847 } && test -s conftest.
$ac_objext; then
28848 ac_cv_type_boolean
=yes
28850 echo "$as_me: failed program was:" >&5
28851 sed 's/^/| /' conftest.
$ac_ext >&5
28853 ac_cv_type_boolean
=no
28856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28858 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28859 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28860 if test $ac_cv_type_boolean = yes; then
28862 cat >>confdefs.h
<<_ACEOF
28863 #define HAVE_BOOLEAN 1
28867 { echo "$as_me:$LINENO: checking for boolean" >&5
28868 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28869 if test "${ac_cv_type_boolean+set}" = set; then
28870 echo $ECHO_N "(cached) $ECHO_C" >&6
28872 cat >conftest.
$ac_ext <<_ACEOF
28875 cat confdefs.h
>>conftest.
$ac_ext
28876 cat >>conftest.
$ac_ext <<_ACEOF
28877 /* end confdefs.h. */
28879 #undef HAVE_BOOLEAN
28881 #include <jpeglib.h>
28884 typedef boolean ac__type_new_;
28888 if ((ac__type_new_ *) 0)
28890 if (sizeof (ac__type_new_))
28896 rm -f conftest.
$ac_objext
28897 if { (ac_try
="$ac_compile"
28898 case "(($ac_try" in
28899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28900 *) ac_try_echo=$ac_try;;
28902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28903 (eval "$ac_compile") 2>conftest.er1
28905 grep -v '^ *+' conftest.er1 >conftest.err
28907 cat conftest.err >&5
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); } && {
28910 test -z "$ac_c_werror_flag" ||
28911 test ! -s conftest.err
28912 } && test -s conftest.$ac_objext; then
28913 ac_cv_type_boolean=yes
28915 echo "$as_me: failed program was:" >&5
28916 sed 's/^/| /' conftest.$ac_ext >&5
28918 ac_cv_type_boolean=no
28921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28923 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28924 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28926 # The cast to long int works around a bug in the HP C Compiler
28927 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28928 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28929 # This bug is HP SR number 8606223364.
28930 { echo "$as_me:$LINENO: checking size of boolean" >&5
28931 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28932 if test "${ac_cv_sizeof_boolean+set}" = set; then
28933 echo $ECHO_N "(cached) $ECHO_C" >&6
28935 if test "$cross_compiling" = yes; then
28936 # Depending upon the size, compute the lo and hi bounds.
28937 cat >conftest.$ac_ext <<_ACEOF
28940 cat confdefs.h >>conftest.$ac_ext
28941 cat >>conftest.$ac_ext <<_ACEOF
28942 /* end confdefs.h. */
28944 #undef HAVE_BOOLEAN
28946 #include <jpeglib.h>
28949 typedef boolean ac__type_sizeof_;
28953 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28960 rm -f conftest.$ac_objext
28961 if { (ac_try="$ac_compile"
28962 case "(($ac_try" in
28963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28964 *) ac_try_echo=$ac_try;;
28966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28967 (eval "$ac_compile") 2>conftest.er1
28969 grep -v '^
*+' conftest.er1 >conftest.err
28971 cat conftest.err >&5
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); } && {
28974 test -z "$ac_c_werror_flag" ||
28975 test ! -s conftest.err
28976 } && test -s conftest.$ac_objext; then
28979 cat >conftest.$ac_ext <<_ACEOF
28982 cat confdefs.h >>conftest.$ac_ext
28983 cat >>conftest.$ac_ext <<_ACEOF
28984 /* end confdefs.h. */
28986 #undef HAVE_BOOLEAN
28988 #include <jpeglib.h>
28991 typedef boolean ac__type_sizeof_;
28995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29002 rm -f conftest.$ac_objext
29003 if { (ac_try="$ac_compile"
29004 case "(($ac_try" in
29005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29006 *) ac_try_echo=$ac_try;;
29008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29009 (eval "$ac_compile") 2>conftest.er1
29011 grep -v '^
*+' conftest.er1 >conftest.err
29013 cat conftest.err >&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); } && {
29016 test -z "$ac_c_werror_flag" ||
29017 test ! -s conftest.err
29018 } && test -s conftest.$ac_objext; then
29019 ac_hi=$ac_mid; break
29021 echo "$as_me: failed program was:" >&5
29022 sed 's
/^
/| /' conftest.$ac_ext >&5
29024 ac_lo=`expr $ac_mid + 1`
29025 if test $ac_lo -le $ac_mid; then
29029 ac_mid=`expr 2 '*' $ac_mid + 1`
29032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29035 echo "$as_me: failed program was:" >&5
29036 sed 's
/^
/| /' conftest.$ac_ext >&5
29038 cat >conftest.$ac_ext <<_ACEOF
29041 cat confdefs.h >>conftest.$ac_ext
29042 cat >>conftest.$ac_ext <<_ACEOF
29043 /* end confdefs.h. */
29045 #undef HAVE_BOOLEAN
29047 #include <jpeglib.h>
29050 typedef boolean ac__type_sizeof_;
29054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29061 rm -f conftest.$ac_objext
29062 if { (ac_try="$ac_compile"
29063 case "(($ac_try" in
29064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29065 *) ac_try_echo=$ac_try;;
29067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29068 (eval "$ac_compile") 2>conftest.er1
29070 grep -v '^
*+' conftest.er1 >conftest.err
29072 cat conftest.err >&5
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); } && {
29075 test -z "$ac_c_werror_flag" ||
29076 test ! -s conftest.err
29077 } && test -s conftest.$ac_objext; then
29080 cat >conftest.$ac_ext <<_ACEOF
29083 cat confdefs.h >>conftest.$ac_ext
29084 cat >>conftest.$ac_ext <<_ACEOF
29085 /* end confdefs.h. */
29087 #undef HAVE_BOOLEAN
29089 #include <jpeglib.h>
29092 typedef boolean ac__type_sizeof_;
29096 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29103 rm -f conftest.$ac_objext
29104 if { (ac_try="$ac_compile"
29105 case "(($ac_try" in
29106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29107 *) ac_try_echo=$ac_try;;
29109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29110 (eval "$ac_compile") 2>conftest.er1
29112 grep -v '^
*+' conftest.er1 >conftest.err
29114 cat conftest.err >&5
29115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29116 (exit $ac_status); } && {
29117 test -z "$ac_c_werror_flag" ||
29118 test ! -s conftest.err
29119 } && test -s conftest.$ac_objext; then
29120 ac_lo=$ac_mid; break
29122 echo "$as_me: failed program was:" >&5
29123 sed 's
/^
/| /' conftest.$ac_ext >&5
29125 ac_hi=`expr '(' $ac_mid ')' - 1`
29126 if test $ac_mid -le $ac_hi; then
29130 ac_mid=`expr 2 '*' $ac_mid`
29133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29136 echo "$as_me: failed program was:" >&5
29137 sed 's
/^
/| /' conftest.$ac_ext >&5
29142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29146 # Binary search between lo and hi bounds.
29147 while test "x$ac_lo" != "x$ac_hi"; do
29148 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29149 cat >conftest.$ac_ext <<_ACEOF
29152 cat confdefs.h >>conftest.$ac_ext
29153 cat >>conftest.$ac_ext <<_ACEOF
29154 /* end confdefs.h. */
29156 #undef HAVE_BOOLEAN
29158 #include <jpeglib.h>
29161 typedef boolean ac__type_sizeof_;
29165 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29172 rm -f conftest.$ac_objext
29173 if { (ac_try="$ac_compile"
29174 case "(($ac_try" in
29175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29176 *) ac_try_echo=$ac_try;;
29178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29179 (eval "$ac_compile") 2>conftest.er1
29181 grep -v '^
*+' conftest.er1 >conftest.err
29183 cat conftest.err >&5
29184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29185 (exit $ac_status); } && {
29186 test -z "$ac_c_werror_flag" ||
29187 test ! -s conftest.err
29188 } && test -s conftest.$ac_objext; then
29191 echo "$as_me: failed program was:" >&5
29192 sed 's
/^
/| /' conftest.$ac_ext >&5
29194 ac_lo=`expr '(' $ac_mid ')' + 1`
29197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29200 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29201 '') if test "$ac_cv_type_boolean" = yes; then
29202 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29203 See \`config.log' for more details.
" >&5
29204 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29205 See \
`config.log' for more details." >&2;}
29206 { (exit 77); exit 77; }; }
29208 ac_cv_sizeof_boolean=0
29212 cat >conftest.$ac_ext <<_ACEOF
29215 cat confdefs.h >>conftest.$ac_ext
29216 cat >>conftest.$ac_ext <<_ACEOF
29217 /* end confdefs.h. */
29219 #undef HAVE_BOOLEAN
29221 #include <jpeglib.h>
29224 typedef boolean ac__type_sizeof_;
29225 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29226 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29228 #include <stdlib.h>
29233 FILE *f = fopen ("conftest.val", "w");
29236 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29238 long int i = longval ();
29239 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29241 fprintf (f, "%ld\n", i);
29245 unsigned long int i = ulongval ();
29246 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29248 fprintf (f, "%lu\n", i);
29250 return ferror (f) || fclose (f) != 0;
29256 rm -f conftest$ac_exeext
29257 if { (ac_try="$ac_link"
29258 case "(($ac_try" in
29259 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29260 *) ac_try_echo
=$ac_try;;
29262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29263 (eval "$ac_link") 2>&5
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29267 { (case "(($ac_try" in
29268 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29269 *) ac_try_echo=$ac_try;;
29271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29272 (eval "$ac_try") 2>&5
29274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29275 (exit $ac_status); }; }; then
29276 ac_cv_sizeof_boolean=`cat conftest.val
`
29278 echo "$as_me: program exited with status $ac_status" >&5
29279 echo "$as_me: failed program was:" >&5
29280 sed 's/^/| /' conftest.$ac_ext >&5
29282 ( exit $ac_status )
29283 if test "$ac_cv_type_boolean" = yes; then
29284 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29285 See \`config.log
' for more details." >&5
29286 echo "$as_me: error: cannot compute sizeof (boolean)
29287 See \`config.log' for more details.
" >&2;}
29288 { (exit 77); exit 77; }; }
29290 ac_cv_sizeof_boolean=0
29293 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29297 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29298 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29302 cat >>confdefs.h <<_ACEOF
29303 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29307 cat >>confdefs.h <<_ACEOF
29308 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29322 TIFF_PREREQ_LINKS=-lm
29323 if test "$wxUSE_LIBTIFF" != "no
" ; then
29324 cat >>confdefs.h <<\_ACEOF
29325 #define wxUSE_LIBTIFF 1
29329 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29330 if test "$wxUSE_LIBJPEG" = "sys
"; then
29331 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29333 if test "$wxUSE_ZLIB" = "sys
"; then
29334 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29336 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29337 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29338 if test "${ac_cv_header_tiffio_h+set}" = set; then
29339 echo $ECHO_N "(cached
) $ECHO_C" >&6
29341 cat >conftest.$ac_ext <<_ACEOF
29344 cat confdefs.h >>conftest.$ac_ext
29345 cat >>conftest.$ac_ext <<_ACEOF
29346 /* end confdefs.h. */
29350 #include <tiffio.h>
29352 rm -f conftest.$ac_objext
29353 if { (ac_try="$ac_compile"
29354 case "(($ac_try" in
29355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29356 *) ac_try_echo=$ac_try;;
29358 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29359 (eval "$ac_compile") 2>conftest.er1
29361 grep -v '^ *+' conftest.er1 >conftest.err
29363 cat conftest.err >&5
29364 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29365 (exit $ac_status); } && {
29366 test -z "$ac_c_werror_flag" ||
29367 test ! -s conftest.err
29368 } && test -s conftest.$ac_objext; then
29369 ac_cv_header_tiffio_h=yes
29371 echo "$as_me: failed program was
:" >&5
29372 sed 's/^/| /' conftest.$ac_ext >&5
29374 ac_cv_header_tiffio_h=no
29377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29379 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29380 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29381 if test $ac_cv_header_tiffio_h = yes; then
29383 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29384 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29385 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29386 echo $ECHO_N "(cached
) $ECHO_C" >&6
29388 ac_check_lib_save_LIBS=$LIBS
29389 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29390 cat >conftest.$ac_ext <<_ACEOF
29393 cat confdefs.h >>conftest.$ac_ext
29394 cat >>conftest.$ac_ext <<_ACEOF
29395 /* end confdefs.h. */
29397 /* Override any GCC internal prototype to avoid an error.
29398 Use char because int might match the return type of a GCC
29399 builtin and then its argument prototype would still apply. */
29407 return TIFFError ();
29412 rm -f conftest.$ac_objext conftest$ac_exeext
29413 if { (ac_try="$ac_link"
29414 case "(($ac_try" in
29415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29416 *) ac_try_echo=$ac_try;;
29418 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29419 (eval "$ac_link") 2>conftest.er1
29421 grep -v '^ *+' conftest.er1 >conftest.err
29423 cat conftest.err >&5
29424 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29425 (exit $ac_status); } && {
29426 test -z "$ac_c_werror_flag" ||
29427 test ! -s conftest.err
29428 } && test -s conftest$ac_exeext &&
29429 $as_test_x conftest$ac_exeext; then
29430 ac_cv_lib_tiff_TIFFError=yes
29432 echo "$as_me: failed program was
:" >&5
29433 sed 's/^/| /' conftest.$ac_ext >&5
29435 ac_cv_lib_tiff_TIFFError=no
29438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29439 conftest$ac_exeext conftest.$ac_ext
29440 LIBS=$ac_check_lib_save_LIBS
29442 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29443 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29444 if test $ac_cv_lib_tiff_TIFFError = yes; then
29445 TIFF_LINK=" -ltiff"
29453 if test "x
$TIFF_LINK" = "x
" ; then
29454 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29455 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29456 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29457 { (exit 1); exit 1; }; }
29459 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29460 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29461 wxUSE_LIBTIFF=builtin
29467 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29468 if test "$wxUSE_LIBJPEG" = "no
"; then
29469 ac_configure_args="$ac_configure_args --disable-jpeg"
29471 subdirs="$subdirs src
/tiff
"
29477 if test "$wxUSE_EXPAT" != "no
"; then
29479 cat >>confdefs.h <<\_ACEOF
29480 #define wxUSE_EXPAT 1
29483 cat >>confdefs.h <<\_ACEOF
29484 #define wxUSE_XML 1
29488 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
29489 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
29490 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
29491 if test "${ac_cv_header_expat_h+set}" = set; then
29492 echo $ECHO_N "(cached
) $ECHO_C" >&6
29494 cat >conftest.$ac_ext <<_ACEOF
29497 cat confdefs.h >>conftest.$ac_ext
29498 cat >>conftest.$ac_ext <<_ACEOF
29499 /* end confdefs.h. */
29504 rm -f conftest.$ac_objext
29505 if { (ac_try="$ac_compile"
29506 case "(($ac_try" in
29507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29508 *) ac_try_echo=$ac_try;;
29510 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29511 (eval "$ac_compile") 2>conftest.er1
29513 grep -v '^ *+' conftest.er1 >conftest.err
29515 cat conftest.err >&5
29516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29517 (exit $ac_status); } && {
29518 test -z "$ac_c_werror_flag" ||
29519 test ! -s conftest.err
29520 } && test -s conftest.$ac_objext; then
29521 ac_cv_header_expat_h=yes
29523 echo "$as_me: failed program was
:" >&5
29524 sed 's/^/| /' conftest.$ac_ext >&5
29526 ac_cv_header_expat_h=no
29529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29531 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
29532 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29533 if test $ac_cv_header_expat_h = yes; then
29538 if test "x
$found_expat_h" = "x1
"; then
29539 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
29540 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
29541 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29542 echo $ECHO_N "(cached
) $ECHO_C" >&6
29546 ac_cpp='$CXXCPP $CPPFLAGS'
29547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29551 cat >conftest.$ac_ext <<_ACEOF
29554 cat confdefs.h >>conftest.$ac_ext
29555 cat >>conftest.$ac_ext <<_ACEOF
29556 /* end confdefs.h. */
29566 rm -f conftest.$ac_objext
29567 if { (ac_try="$ac_compile"
29568 case "(($ac_try" in
29569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29570 *) ac_try_echo=$ac_try;;
29572 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29573 (eval "$ac_compile") 2>conftest.er1
29575 grep -v '^ *+' conftest.er1 >conftest.err
29577 cat conftest.err >&5
29578 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29579 (exit $ac_status); } && {
29580 test -z "$ac_cxx_werror_flag" ||
29581 test ! -s conftest.err
29582 } && test -s conftest.$ac_objext; then
29583 wx_cv_expat_is_not_broken=yes
29585 echo "$as_me: failed program was
:" >&5
29586 sed 's/^/| /' conftest.$ac_ext >&5
29588 wx_cv_expat_is_not_broken=no
29592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29594 ac_cpp='$CPP $CPPFLAGS'
29595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29602 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
29603 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29604 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29605 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
29606 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
29607 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29608 echo $ECHO_N "(cached
) $ECHO_C" >&6
29610 ac_check_lib_save_LIBS=$LIBS
29611 LIBS="-lexpat $LIBS"
29612 cat >conftest.$ac_ext <<_ACEOF
29615 cat confdefs.h >>conftest.$ac_ext
29616 cat >>conftest.$ac_ext <<_ACEOF
29617 /* end confdefs.h. */
29619 /* Override any GCC internal prototype to avoid an error.
29620 Use char because int might match the return type of a GCC
29621 builtin and then its argument prototype would still apply. */
29625 char XML_ParserCreate ();
29629 return XML_ParserCreate ();
29634 rm -f conftest.$ac_objext conftest$ac_exeext
29635 if { (ac_try="$ac_link"
29636 case "(($ac_try" in
29637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29638 *) ac_try_echo=$ac_try;;
29640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29641 (eval "$ac_link") 2>conftest.er1
29643 grep -v '^ *+' conftest.er1 >conftest.err
29645 cat conftest.err >&5
29646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29647 (exit $ac_status); } && {
29648 test -z "$ac_c_werror_flag" ||
29649 test ! -s conftest.err
29650 } && test -s conftest$ac_exeext &&
29651 $as_test_x conftest$ac_exeext; then
29652 ac_cv_lib_expat_XML_ParserCreate=yes
29654 echo "$as_me: failed program was
:" >&5
29655 sed 's/^/| /' conftest.$ac_ext >&5
29657 ac_cv_lib_expat_XML_ParserCreate=no
29660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29661 conftest$ac_exeext conftest.$ac_ext
29662 LIBS=$ac_check_lib_save_LIBS
29664 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
29665 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29666 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29667 EXPAT_LINK=" -lexpat"
29672 if test "x
$EXPAT_LINK" = "x
" ; then
29673 if test "$wxUSE_EXPAT" = "sys
" ; then
29674 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29675 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29676 { (exit 1); exit 1; }; }
29678 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29679 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29680 wxUSE_EXPAT=builtin
29686 if test "$wxUSE_EXPAT" = "builtin" ; then
29687 subdirs="$subdirs src
/expat
"
29694 if test "$wxUSE_LIBMSPACK" != "no
"; then
29695 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29696 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29697 if test "${ac_cv_header_mspack_h+set}" = set; then
29698 echo $ECHO_N "(cached
) $ECHO_C" >&6
29700 cat >conftest.$ac_ext <<_ACEOF
29703 cat confdefs.h >>conftest.$ac_ext
29704 cat >>conftest.$ac_ext <<_ACEOF
29705 /* end confdefs.h. */
29708 #include <mspack.h>
29710 rm -f conftest.$ac_objext
29711 if { (ac_try="$ac_compile"
29712 case "(($ac_try" in
29713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29714 *) ac_try_echo=$ac_try;;
29716 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29717 (eval "$ac_compile") 2>conftest.er1
29719 grep -v '^ *+' conftest.er1 >conftest.err
29721 cat conftest.err >&5
29722 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29723 (exit $ac_status); } && {
29724 test -z "$ac_c_werror_flag" ||
29725 test ! -s conftest.err
29726 } && test -s conftest.$ac_objext; then
29727 ac_cv_header_mspack_h=yes
29729 echo "$as_me: failed program was
:" >&5
29730 sed 's/^/| /' conftest.$ac_ext >&5
29732 ac_cv_header_mspack_h=no
29735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29737 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29738 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29739 if test $ac_cv_header_mspack_h = yes; then
29744 if test "x
$found_mspack_h" = "x1
"; then
29745 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29746 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29747 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29748 echo $ECHO_N "(cached
) $ECHO_C" >&6
29750 ac_check_lib_save_LIBS=$LIBS
29751 LIBS="-lmspack $LIBS"
29752 cat >conftest.$ac_ext <<_ACEOF
29755 cat confdefs.h >>conftest.$ac_ext
29756 cat >>conftest.$ac_ext <<_ACEOF
29757 /* end confdefs.h. */
29759 /* Override any GCC internal prototype to avoid an error.
29760 Use char because int might match the return type of a GCC
29761 builtin and then its argument prototype would still apply. */
29765 char mspack_create_chm_decompressor ();
29769 return mspack_create_chm_decompressor ();
29774 rm -f conftest.$ac_objext conftest$ac_exeext
29775 if { (ac_try="$ac_link"
29776 case "(($ac_try" in
29777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29778 *) ac_try_echo=$ac_try;;
29780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29781 (eval "$ac_link") 2>conftest.er1
29783 grep -v '^ *+' conftest.er1 >conftest.err
29785 cat conftest.err >&5
29786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29787 (exit $ac_status); } && {
29788 test -z "$ac_c_werror_flag" ||
29789 test ! -s conftest.err
29790 } && test -s conftest$ac_exeext &&
29791 $as_test_x conftest$ac_exeext; then
29792 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29794 echo "$as_me: failed program was
:" >&5
29795 sed 's/^/| /' conftest.$ac_ext >&5
29797 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29801 conftest$ac_exeext conftest.$ac_ext
29802 LIBS=$ac_check_lib_save_LIBS
29804 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29805 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29806 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29807 MSPACK_LINK=" -lmspack"
29811 if test "x
$MSPACK_LINK" = "x
" ; then
29816 if test "$wxUSE_LIBMSPACK" != "no
"; then
29817 cat >>confdefs.h <<\_ACEOF
29818 #define wxUSE_LIBMSPACK 1
29832 if test "$USE_WIN32" = 1 ; then
29834 for ac_header in w32api.h
29836 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
29837 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
29838 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
29839 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
29840 echo $ECHO_N "(cached
) $ECHO_C" >&6
29842 cat >conftest.$ac_ext <<_ACEOF
29845 cat confdefs.h >>conftest.$ac_ext
29846 cat >>conftest.$ac_ext <<_ACEOF
29847 /* end confdefs.h. */
29850 #include <$ac_header>
29852 rm -f conftest.$ac_objext
29853 if { (ac_try="$ac_compile"
29854 case "(($ac_try" in
29855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29856 *) ac_try_echo=$ac_try;;
29858 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29859 (eval "$ac_compile") 2>conftest.er1
29861 grep -v '^ *+' conftest.er1 >conftest.err
29863 cat conftest.err >&5
29864 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29865 (exit $ac_status); } && {
29866 test -z "$ac_c_werror_flag" ||
29867 test ! -s conftest.err
29868 } && test -s conftest.$ac_objext; then
29869 eval "$as_ac_Header=yes"
29871 echo "$as_me: failed program was
:" >&5
29872 sed 's/^/| /' conftest.$ac_ext >&5
29874 eval "$as_ac_Header=no
"
29877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29879 ac_res=`eval echo '${'$as_ac_Header'}'`
29880 { echo "$as_me:$LINENO: result
: $ac_res" >&5
29881 echo "${ECHO_T}$ac_res" >&6; }
29882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29883 cat >>confdefs.h <<_ACEOF
29884 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
29891 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29892 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29893 if test "${ac_cv_header_windows_h+set}" = set; then
29894 echo $ECHO_N "(cached
) $ECHO_C" >&6
29896 cat >conftest.$ac_ext <<_ACEOF
29899 cat confdefs.h >>conftest.$ac_ext
29900 cat >>conftest.$ac_ext <<_ACEOF
29901 /* end confdefs.h. */
29904 #include <windows.h>
29906 rm -f conftest.$ac_objext
29907 if { (ac_try="$ac_compile"
29908 case "(($ac_try" in
29909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29910 *) ac_try_echo=$ac_try;;
29912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29913 (eval "$ac_compile") 2>conftest.er1
29915 grep -v '^ *+' conftest.er1 >conftest.err
29917 cat conftest.err >&5
29918 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29919 (exit $ac_status); } && {
29920 test -z "$ac_c_werror_flag" ||
29921 test ! -s conftest.err
29922 } && test -s conftest.$ac_objext; then
29923 ac_cv_header_windows_h=yes
29925 echo "$as_me: failed program was
:" >&5
29926 sed 's/^/| /' conftest.$ac_ext >&5
29928 ac_cv_header_windows_h=no
29931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29933 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29934 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29935 if test $ac_cv_header_windows_h = yes; then
29939 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29940 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29941 { (exit 1); exit 1; }; }
29947 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29949 x86_64-*-mingw32* )
29950 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
29953 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29954 LIBS="$LIBS -loleacc"
29959 LIBS="$LIBS -lkernel32 -luser32"
29962 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29963 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29965 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29967 WIN32INSTALL=win32install
29969 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29970 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29971 if test "${ac_cv_header_pbt_h+set}" = set; then
29972 echo $ECHO_N "(cached
) $ECHO_C" >&6
29974 cat >conftest.$ac_ext <<_ACEOF
29977 cat confdefs.h >>conftest.$ac_ext
29978 cat >>conftest.$ac_ext <<_ACEOF
29979 /* end confdefs.h. */
29984 rm -f conftest.$ac_objext
29985 if { (ac_try="$ac_compile"
29986 case "(($ac_try" in
29987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29988 *) ac_try_echo=$ac_try;;
29990 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29991 (eval "$ac_compile") 2>conftest.er1
29993 grep -v '^ *+' conftest.er1 >conftest.err
29995 cat conftest.err >&5
29996 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29997 (exit $ac_status); } && {
29998 test -z "$ac_c_werror_flag" ||
29999 test ! -s conftest.err
30000 } && test -s conftest.$ac_objext; then
30001 ac_cv_header_pbt_h=yes
30003 echo "$as_me: failed program was
:" >&5
30004 sed 's/^/| /' conftest.$ac_ext >&5
30006 ac_cv_header_pbt_h=no
30009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30011 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30012 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30013 if test $ac_cv_header_pbt_h = yes; then
30016 cat >>confdefs.h <<\_ACEOF
30017 #define NEED_PBT_H 1
30025 if test "$wxUSE_GUI" = "yes"; then
30034 if test "$wxUSE_OLD_COCOA" = 1 ; then
30035 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30036 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30037 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30038 wxUSE_PRINTING_ARCHITECTURE=no
30040 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30041 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30042 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30043 wxUSE_DRAG_AND_DROP=no
30045 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30046 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30047 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30052 if test "$wxUSE_MSW" = 1 ; then
30058 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30062 if test "$wxUSE_GTK" = 1; then
30063 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30064 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30066 gtk_version_cached=1
30067 if test "${wx_cv_lib_gtk+set}" = set; then
30068 echo $ECHO_N "(cached
) $ECHO_C" >&6
30071 gtk_version_cached=0
30072 { echo "$as_me:$LINENO: result
: " >&5
30073 echo "${ECHO_T}" >&6; }
30076 if test "$wxUSE_THREADS" = "yes"; then
30077 GTK_MODULES=gthread
30081 if test "x
$wxGTK_VERSION" != "x1
"
30085 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30090 # Check whether --enable-gtktest was given.
30091 if test "${enable_gtktest+set}" = set; then
30092 enableval=$enable_gtktest;
30098 pkg_config_args=gtk+-2.0
30099 for module in . $GTK_MODULES
30103 pkg_config_args="$pkg_config_args gthread
-2.0
"
30110 # Extract the first word of "pkg
-config", so it can be a program name with args.
30111 set dummy pkg-config; ac_word=$2
30112 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30113 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30114 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30115 echo $ECHO_N "(cached
) $ECHO_C" >&6
30117 case $PKG_CONFIG in
30119 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30123 for as_dir in $PATH
30126 test -z "$as_dir" && as_dir=.
30127 for ac_exec_ext in '' $ac_executable_extensions; do
30128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30129 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30130 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30137 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30141 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30142 if test -n "$PKG_CONFIG"; then
30143 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30144 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30146 { echo "$as_me:$LINENO: result
: no
" >&5
30147 echo "${ECHO_T}no
" >&6; }
30152 if test x$PKG_CONFIG != xno ; then
30153 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30156 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30164 min_gtk_version=2.4.0
30165 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30166 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30168 if test x$PKG_CONFIG != xno ; then
30169 ## don't try to run the test against uninstalled libtool libs
30170 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30171 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30175 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30182 if test x"$no_gtk" = x ; then
30183 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30184 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30185 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30186 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30187 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30189 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30191 if test "x
$enable_gtktest" = "xyes
" ; then
30192 ac_save_CFLAGS="$CFLAGS"
30193 ac_save_LIBS="$LIBS"
30194 CFLAGS="$CFLAGS $GTK_CFLAGS"
30195 LIBS="$GTK_LIBS $LIBS"
30197 if test "$cross_compiling" = yes; then
30198 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30200 cat >conftest.$ac_ext <<_ACEOF
30203 cat confdefs.h >>conftest.$ac_ext
30204 cat >>conftest.$ac_ext <<_ACEOF
30205 /* end confdefs.h. */
30207 #include <gtk/gtk.h>
30209 #include <stdlib.h>
30214 int major, minor, micro;
30217 system ("touch conf.gtktest
");
30219 /* HP/UX 9 (%@#!) writes to sscanf strings */
30220 tmp_version = g_strdup("$min_gtk_version");
30221 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30222 printf("%s
, bad version string
\n", "$min_gtk_version");
30226 if ((gtk_major_version != $gtk_config_major_version) ||
30227 (gtk_minor_version != $gtk_config_minor_version) ||
30228 (gtk_micro_version != $gtk_config_micro_version))
30230 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30231 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30232 gtk_major_version, gtk_minor_version, gtk_micro_version);
30233 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30234 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30235 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30236 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30237 printf("*** required on your system.
\n");
30238 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30239 printf("*** to point to the correct configuration files
\n");
30241 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30242 (gtk_minor_version != GTK_MINOR_VERSION) ||
30243 (gtk_micro_version != GTK_MICRO_VERSION))
30245 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30246 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30247 printf("*** library
(version
%d.
%d.
%d
)\n",
30248 gtk_major_version, gtk_minor_version, gtk_micro_version);
30252 if ((gtk_major_version > major) ||
30253 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30254 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30260 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30261 gtk_major_version, gtk_minor_version, gtk_micro_version);
30262 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30263 major, minor, micro);
30264 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30266 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30267 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30268 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30269 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30270 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30271 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30272 printf("*** so that the correct libraries are found
at run
-time))\n");
30279 rm -f conftest$ac_exeext
30280 if { (ac_try="$ac_link"
30281 case "(($ac_try" in
30282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30283 *) ac_try_echo=$ac_try;;
30285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30286 (eval "$ac_link") 2>&5
30288 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30289 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30290 { (case "(($ac_try" in
30291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30292 *) ac_try_echo=$ac_try;;
30294 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30295 (eval "$ac_try") 2>&5
30297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30298 (exit $ac_status); }; }; then
30301 echo "$as_me: program exited with status
$ac_status" >&5
30302 echo "$as_me: failed program was
:" >&5
30303 sed 's/^/| /' conftest.$ac_ext >&5
30305 ( exit $ac_status )
30308 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30312 CFLAGS="$ac_save_CFLAGS"
30313 LIBS="$ac_save_LIBS"
30316 if test "x
$no_gtk" = x ; then
30317 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30318 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30321 { echo "$as_me:$LINENO: result
: no
" >&5
30322 echo "${ECHO_T}no
" >&6; }
30323 if test "$PKG_CONFIG" = "no
" ; then
30324 echo "*** A new enough version of pkg
-config was not found.
"
30325 echo "*** See http
://pkgconfig.sourceforge.net
"
30327 if test -f conf.gtktest ; then
30330 echo "*** Could not run GTK
+ test program
, checking why...
"
30331 ac_save_CFLAGS="$CFLAGS"
30332 ac_save_LIBS="$LIBS"
30333 CFLAGS="$CFLAGS $GTK_CFLAGS"
30334 LIBS="$LIBS $GTK_LIBS"
30335 cat >conftest.$ac_ext <<_ACEOF
30338 cat confdefs.h >>conftest.$ac_ext
30339 cat >>conftest.$ac_ext <<_ACEOF
30340 /* end confdefs.h. */
30342 #include <gtk/gtk.h>
30348 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30353 rm -f conftest.$ac_objext conftest$ac_exeext
30354 if { (ac_try="$ac_link"
30355 case "(($ac_try" in
30356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30357 *) ac_try_echo=$ac_try;;
30359 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30360 (eval "$ac_link") 2>conftest.er1
30362 grep -v '^ *+' conftest.er1 >conftest.err
30364 cat conftest.err >&5
30365 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30366 (exit $ac_status); } && {
30367 test -z "$ac_c_werror_flag" ||
30368 test ! -s conftest.err
30369 } && test -s conftest$ac_exeext &&
30370 $as_test_x conftest$ac_exeext; then
30371 echo "*** The
test program compiled
, but did not run. This usually means
"
30372 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30373 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30374 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30375 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30376 echo "*** is required on your system"
30378 echo "*** If you have an old version installed, it is best to remove it, although"
30379 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30381 echo "$as_me: failed program was:" >&5
30382 sed 's
/^
/| /' conftest.$ac_ext >&5
30384 echo "*** The test program failed to compile or link. See the file config.log for the"
30385 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30389 conftest$ac_exeext conftest.$ac_ext
30390 CFLAGS="$ac_save_CFLAGS"
30391 LIBS="$ac_save_LIBS"
30404 if test -z "$wx_cv_lib_gtk"; then
30405 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30407 # Check whether --with-gtk-prefix was given.
30408 if test "${with_gtk_prefix+set}" = set; then
30409 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30411 gtk_config_prefix=""
30415 # Check whether --with-gtk-exec-prefix was given.
30416 if test "${with_gtk_exec_prefix+set}" = set; then
30417 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30419 gtk_config_exec_prefix=""
30422 # Check whether --enable-gtktest was given.
30423 if test "${enable_gtktest+set}" = set; then
30424 enableval=$enable_gtktest;
30430 for module in . $GTK_MODULES
30434 gtk_config_args="$gtk_config_args gthread"
30439 if test x$gtk_config_exec_prefix != x ; then
30440 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30441 if test x${GTK_CONFIG+set} != xset ; then
30442 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30445 if test x$gtk_config_prefix != x ; then
30446 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30447 if test x${GTK_CONFIG+set} != xset ; then
30448 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30452 # Extract the first word of "gtk-config", so it can be a program name with args.
30453 set dummy gtk-config; ac_word=$2
30454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30456 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30459 case $GTK_CONFIG in
30461 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30465 for as_dir in $PATH
30468 test -z "$as_dir" && as_dir=.
30469 for ac_exec_ext in '' $ac_executable_extensions; do
30470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30471 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30479 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30483 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30484 if test -n "$GTK_CONFIG"; then
30485 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30486 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30488 { echo "$as_me:$LINENO: result: no" >&5
30489 echo "${ECHO_T}no" >&6; }
30493 min_gtk_version=1.2.7
30494 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30495 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30497 if test "$GTK_CONFIG" = "no" ; then
30500 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30501 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30502 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30503 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
30504 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30505 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
30506 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30507 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
30508 if test "x$enable_gtktest" = "xyes" ; then
30509 ac_save_CFLAGS="$CFLAGS"
30510 ac_save_LIBS="$LIBS"
30511 CFLAGS="$CFLAGS $GTK_CFLAGS"
30512 LIBS="$GTK_LIBS $LIBS"
30514 if test "$cross_compiling" = yes; then
30515 echo $ac_n "cross compiling; assumed OK... $ac_c"
30517 cat >conftest.$ac_ext <<_ACEOF
30520 cat confdefs.h >>conftest.$ac_ext
30521 cat >>conftest.$ac_ext <<_ACEOF
30522 /* end confdefs.h. */
30524 #include <gtk/gtk.h>
30526 #include <stdlib.h>
30531 int major, minor, micro;
30534 system ("touch conf.gtktest");
30536 /* HP/UX 9 (%@#!) writes to sscanf strings */
30537 tmp_version = g_strdup("$min_gtk_version");
30538 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30539 printf("%s, bad version string\n", "$min_gtk_version");
30543 if ((gtk_major_version != $gtk_config_major_version) ||
30544 (gtk_minor_version != $gtk_config_minor_version) ||
30545 (gtk_micro_version != $gtk_config_micro_version))
30547 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30548 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30549 gtk_major_version, gtk_minor_version, gtk_micro_version);
30550 printf ("*** was found! If gtk-config was correct, then it is best\n");
30551 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30552 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30553 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30554 printf("*** required on your system.\n");
30555 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30556 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30557 printf("*** before re-running configure\n");
30559 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30560 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30561 (gtk_minor_version != GTK_MINOR_VERSION) ||
30562 (gtk_micro_version != GTK_MICRO_VERSION))
30564 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30565 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30566 printf("*** library (version %d.%d.%d)\n",
30567 gtk_major_version, gtk_minor_version, gtk_micro_version);
30569 #endif /* defined (GTK_MAJOR_VERSION) ... */
30572 if ((gtk_major_version > major) ||
30573 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30574 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30580 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30581 gtk_major_version, gtk_minor_version, gtk_micro_version);
30582 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30583 major, minor, micro);
30584 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30586 printf("*** If you have already installed a sufficiently new version, this error\n");
30587 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30588 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30589 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30590 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30591 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30592 printf("*** so that the correct libraries are found at run-time))\n");
30599 rm -f conftest$ac_exeext
30600 if { (ac_try="$ac_link"
30601 case "(($ac_try" in
30602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30603 *) ac_try_echo=$ac_try;;
30605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30606 (eval "$ac_link") 2>&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30610 { (case "(($ac_try" in
30611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30612 *) ac_try_echo=$ac_try;;
30614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30615 (eval "$ac_try") 2>&5
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); }; }; then
30621 echo "$as_me: program exited with status $ac_status" >&5
30622 echo "$as_me: failed program was:" >&5
30623 sed 's
/^
/| /' conftest.$ac_ext >&5
30625 ( exit $ac_status )
30628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30632 CFLAGS="$ac_save_CFLAGS"
30633 LIBS="$ac_save_LIBS"
30636 if test "x$no_gtk" = x ; then
30637 { echo "$as_me:$LINENO: result: yes" >&5
30638 echo "${ECHO_T}yes" >&6; }
30639 wx_cv_lib_gtk=1.2.7
30641 { echo "$as_me:$LINENO: result: no" >&5
30642 echo "${ECHO_T}no" >&6; }
30643 if test "$GTK_CONFIG" = "no" ; then
30644 echo "*** The gtk-config script installed by GTK could not be found"
30645 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30646 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30647 echo "*** full path to gtk-config."
30649 if test -f conf.gtktest ; then
30652 echo "*** Could not run GTK test program, checking why..."
30653 CFLAGS="$CFLAGS $GTK_CFLAGS"
30654 LIBS="$LIBS $GTK_LIBS"
30655 cat >conftest.$ac_ext <<_ACEOF
30658 cat confdefs.h >>conftest.$ac_ext
30659 cat >>conftest.$ac_ext <<_ACEOF
30660 /* end confdefs.h. */
30662 #include <gtk/gtk.h>
30668 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30673 rm -f conftest.$ac_objext conftest$ac_exeext
30674 if { (ac_try="$ac_link"
30675 case "(($ac_try" in
30676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30677 *) ac_try_echo=$ac_try;;
30679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30680 (eval "$ac_link") 2>conftest.er1
30682 grep -v '^
*+' conftest.er1 >conftest.err
30684 cat conftest.err >&5
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); } && {
30687 test -z "$ac_c_werror_flag" ||
30688 test ! -s conftest.err
30689 } && test -s conftest$ac_exeext &&
30690 $as_test_x conftest$ac_exeext; then
30691 echo "*** The test program compiled, but did not run. This usually means"
30692 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30693 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30694 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30695 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30696 echo "*** is required on your system
"
30698 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30699 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30701 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30702 echo "*** came with the system with the
command"
30704 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30706 echo "$as_me: failed program was
:" >&5
30707 sed 's/^/| /' conftest.$ac_ext >&5
30709 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30710 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30711 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30712 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30716 conftest$ac_exeext conftest.$ac_ext
30717 CFLAGS="$ac_save_CFLAGS"
30718 LIBS="$ac_save_LIBS"
30730 if test -z "$wx_cv_lib_gtk"; then
30732 # Check whether --with-gtk-prefix was given.
30733 if test "${with_gtk_prefix+set}" = set; then
30734 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30736 gtk_config_prefix=""
30740 # Check whether --with-gtk-exec-prefix was given.
30741 if test "${with_gtk_exec_prefix+set}" = set; then
30742 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30744 gtk_config_exec_prefix=""
30747 # Check whether --enable-gtktest was given.
30748 if test "${enable_gtktest+set}" = set; then
30749 enableval=$enable_gtktest;
30755 for module in . $GTK_MODULES
30759 gtk_config_args="$gtk_config_args gthread
"
30764 if test x$gtk_config_exec_prefix != x ; then
30765 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30766 if test x${GTK_CONFIG+set} != xset ; then
30767 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30770 if test x$gtk_config_prefix != x ; then
30771 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30772 if test x${GTK_CONFIG+set} != xset ; then
30773 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30777 # Extract the first word of "gtk
-config", so it can be a program name with args.
30778 set dummy gtk-config; ac_word=$2
30779 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30780 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30781 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30782 echo $ECHO_N "(cached
) $ECHO_C" >&6
30784 case $GTK_CONFIG in
30786 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30790 for as_dir in $PATH
30793 test -z "$as_dir" && as_dir=.
30794 for ac_exec_ext in '' $ac_executable_extensions; do
30795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30796 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30797 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30804 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30808 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30809 if test -n "$GTK_CONFIG"; then
30810 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30811 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30813 { echo "$as_me:$LINENO: result
: no
" >&5
30814 echo "${ECHO_T}no
" >&6; }
30818 min_gtk_version=1.2.3
30819 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30820 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30822 if test "$GTK_CONFIG" = "no
" ; then
30825 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30826 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30827 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30828 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30829 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30830 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30831 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30832 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30833 if test "x
$enable_gtktest" = "xyes
" ; then
30834 ac_save_CFLAGS="$CFLAGS"
30835 ac_save_LIBS="$LIBS"
30836 CFLAGS="$CFLAGS $GTK_CFLAGS"
30837 LIBS="$GTK_LIBS $LIBS"
30839 if test "$cross_compiling" = yes; then
30840 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30842 cat >conftest.$ac_ext <<_ACEOF
30845 cat confdefs.h >>conftest.$ac_ext
30846 cat >>conftest.$ac_ext <<_ACEOF
30847 /* end confdefs.h. */
30849 #include <gtk/gtk.h>
30851 #include <stdlib.h>
30856 int major, minor, micro;
30859 system ("touch conf.gtktest
");
30861 /* HP/UX 9 (%@#!) writes to sscanf strings */
30862 tmp_version = g_strdup("$min_gtk_version");
30863 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30864 printf("%s
, bad version string
\n", "$min_gtk_version");
30868 if ((gtk_major_version != $gtk_config_major_version) ||
30869 (gtk_minor_version != $gtk_config_minor_version) ||
30870 (gtk_micro_version != $gtk_config_micro_version))
30872 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30873 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30874 gtk_major_version, gtk_minor_version, gtk_micro_version);
30875 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30876 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30877 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30878 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30879 printf("*** required on your system.
\n");
30880 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30881 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30882 printf("*** before re
-running configure
\n");
30884 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30885 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30886 (gtk_minor_version != GTK_MINOR_VERSION) ||
30887 (gtk_micro_version != GTK_MICRO_VERSION))
30889 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30890 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30891 printf("*** library
(version
%d.
%d.
%d
)\n",
30892 gtk_major_version, gtk_minor_version, gtk_micro_version);
30894 #endif /* defined (GTK_MAJOR_VERSION) ... */
30897 if ((gtk_major_version > major) ||
30898 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30899 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30905 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30906 gtk_major_version, gtk_minor_version, gtk_micro_version);
30907 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30908 major, minor, micro);
30909 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30911 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30912 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30913 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30914 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30915 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30916 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30917 printf("*** so that the correct libraries are found
at run
-time))\n");
30924 rm -f conftest$ac_exeext
30925 if { (ac_try="$ac_link"
30926 case "(($ac_try" in
30927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30928 *) ac_try_echo=$ac_try;;
30930 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30931 (eval "$ac_link") 2>&5
30933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30934 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30935 { (case "(($ac_try" in
30936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30937 *) ac_try_echo=$ac_try;;
30939 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30940 (eval "$ac_try") 2>&5
30942 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30943 (exit $ac_status); }; }; then
30946 echo "$as_me: program exited with status
$ac_status" >&5
30947 echo "$as_me: failed program was
:" >&5
30948 sed 's/^/| /' conftest.$ac_ext >&5
30950 ( exit $ac_status )
30953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30957 CFLAGS="$ac_save_CFLAGS"
30958 LIBS="$ac_save_LIBS"
30961 if test "x
$no_gtk" = x ; then
30962 { echo "$as_me:$LINENO: result
: yes" >&5
30963 echo "${ECHO_T}yes" >&6; }
30964 wx_cv_lib_gtk=1.2.3
30966 { echo "$as_me:$LINENO: result
: no
" >&5
30967 echo "${ECHO_T}no
" >&6; }
30968 if test "$GTK_CONFIG" = "no
" ; then
30969 echo "*** The gtk
-config script installed by GTK could not be found
"
30970 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30971 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30972 echo "*** full path to gtk
-config.
"
30974 if test -f conf.gtktest ; then
30977 echo "*** Could not run GTK
test program
, checking why...
"
30978 CFLAGS="$CFLAGS $GTK_CFLAGS"
30979 LIBS="$LIBS $GTK_LIBS"
30980 cat >conftest.$ac_ext <<_ACEOF
30983 cat confdefs.h >>conftest.$ac_ext
30984 cat >>conftest.$ac_ext <<_ACEOF
30985 /* end confdefs.h. */
30987 #include <gtk/gtk.h>
30993 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30998 rm -f conftest.$ac_objext conftest$ac_exeext
30999 if { (ac_try="$ac_link"
31000 case "(($ac_try" in
31001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31002 *) ac_try_echo=$ac_try;;
31004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31005 (eval "$ac_link") 2>conftest.er1
31007 grep -v '^ *+' conftest.er1 >conftest.err
31009 cat conftest.err >&5
31010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31011 (exit $ac_status); } && {
31012 test -z "$ac_c_werror_flag" ||
31013 test ! -s conftest.err
31014 } && test -s conftest$ac_exeext &&
31015 $as_test_x conftest$ac_exeext; then
31016 echo "*** The
test program compiled
, but did not run. This usually means
"
31017 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31018 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31019 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31020 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31021 echo "*** is required on your system"
31023 echo "*** If you have an old version installed, it is best to remove it, although"
31024 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31026 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31027 echo "*** came with the system with the command"
31029 echo "*** rpm --erase --nodeps gtk gtk-devel"
31031 echo "$as_me: failed program was:" >&5
31032 sed 's
/^
/| /' conftest.$ac_ext >&5
31034 echo "*** The test program failed to compile or link. See the file config.log for the"
31035 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31036 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31037 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31041 conftest$ac_exeext conftest.$ac_ext
31042 CFLAGS="$ac_save_CFLAGS"
31043 LIBS="$ac_save_LIBS"
31058 if test -z "$wx_cv_lib_gtk"; then
31061 GTK_LIBS="$GTK_LIBS -lX11"
31063 wx_cv_cflags_gtk=$GTK_CFLAGS
31064 wx_cv_libs_gtk=$GTK_LIBS
31071 if test "$gtk_version_cached" = 1; then
31072 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31073 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31076 case "$wx_cv_lib_gtk" in
31083 *) { { echo "$as_me:$LINENO: error:
31084 The development files for GTK+ were not found. For GTK+ 2, please
31085 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31086 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31087 and that the version is 1.2.3 or above. Also check that the
31088 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31089 --libs' are in the LD_LIBRARY_PATH or equivalent.
31091 echo "$as_me: error:
31092 The development files for GTK+ were not found. For GTK+ 2, please
31093 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31094 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31095 and that the version is 1.2.3 or above. Also check that the
31096 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31097 --libs' are in the LD_LIBRARY_PATH or equivalent.
31099 { (exit 1); exit 1; }; }
31103 if test "$WXGTK2" = 1; then
31104 save_CFLAGS="$CFLAGS"
31106 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31107 LIBS="$LIBS $wx_cv_libs_gtk"
31109 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
31110 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
31111 cat >conftest.$ac_ext <<_ACEOF
31114 cat confdefs.h >>conftest.$ac_ext
31115 cat >>conftest.$ac_ext <<_ACEOF
31116 /* end confdefs.h. */
31118 #include <gtk/gtk.h>
31124 #if !GTK_CHECK_VERSION(2,18,0)
31132 rm -f conftest.$ac_objext
31133 if { (ac_try="$ac_compile"
31134 case "(($ac_try" in
31135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31136 *) ac_try_echo=$ac_try;;
31138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31139 (eval "$ac_compile") 2>conftest.er1
31141 grep -v '^
*+' conftest.er1 >conftest.err
31143 cat conftest.err >&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); } && {
31146 test -z "$ac_c_werror_flag" ||
31147 test ! -s conftest.err
31148 } && test -s conftest.$ac_objext; then
31150 cat >>confdefs.h <<\_ACEOF
31151 #define __WXGTK218__ 1
31154 cat >>confdefs.h <<\_ACEOF
31155 #define __WXGTK210__ 1
31158 cat >>confdefs.h <<\_ACEOF
31159 #define __WXGTK26__ 1
31162 { echo "$as_me:$LINENO: result: yes" >&5
31163 echo "${ECHO_T}yes" >&6; }
31167 echo "$as_me: failed program was:" >&5
31168 sed 's
/^
/| /' conftest.$ac_ext >&5
31171 { echo "$as_me:$LINENO: result: no" >&5
31172 echo "${ECHO_T}no" >&6; }
31177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31179 if test "$ac_wxgtk218" = 0; then
31180 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31181 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31182 cat >conftest.$ac_ext <<_ACEOF
31185 cat confdefs.h >>conftest.$ac_ext
31186 cat >>conftest.$ac_ext <<_ACEOF
31187 /* end confdefs.h. */
31189 #include <gtk/gtk.h>
31195 #if !GTK_CHECK_VERSION(2,10,0)
31203 rm -f conftest.$ac_objext
31204 if { (ac_try="$ac_compile"
31205 case "(($ac_try" in
31206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31207 *) ac_try_echo=$ac_try;;
31209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31210 (eval "$ac_compile") 2>conftest.er1
31212 grep -v '^
*+' conftest.er1 >conftest.err
31214 cat conftest.err >&5
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); } && {
31217 test -z "$ac_c_werror_flag" ||
31218 test ! -s conftest.err
31219 } && test -s conftest.$ac_objext; then
31221 cat >>confdefs.h <<\_ACEOF
31222 #define __WXGTK210__ 1
31225 cat >>confdefs.h <<\_ACEOF
31226 #define __WXGTK26__ 1
31229 { echo "$as_me:$LINENO: result: yes" >&5
31230 echo "${ECHO_T}yes" >&6; }
31234 echo "$as_me: failed program was:" >&5
31235 sed 's
/^
/| /' conftest.$ac_ext >&5
31238 { echo "$as_me:$LINENO: result: no" >&5
31239 echo "${ECHO_T}no" >&6; }
31244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31246 if test "$ac_wxgtk210" = 0; then
31247 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31248 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31249 cat >conftest.$ac_ext <<_ACEOF
31252 cat confdefs.h >>conftest.$ac_ext
31253 cat >>conftest.$ac_ext <<_ACEOF
31254 /* end confdefs.h. */
31256 #include <gtk/gtk.h>
31262 #if !GTK_CHECK_VERSION(2,6,0)
31270 rm -f conftest.$ac_objext
31271 if { (ac_try="$ac_compile"
31272 case "(($ac_try" in
31273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31274 *) ac_try_echo=$ac_try;;
31276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31277 (eval "$ac_compile") 2>conftest.er1
31279 grep -v '^
*+' conftest.er1 >conftest.err
31281 cat conftest.err >&5
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); } && {
31284 test -z "$ac_c_werror_flag" ||
31285 test ! -s conftest.err
31286 } && test -s conftest.$ac_objext; then
31288 cat >>confdefs.h <<\_ACEOF
31289 #define __WXGTK26__ 1
31292 { echo "$as_me:$LINENO: result: yes" >&5
31293 echo "${ECHO_T}yes" >&6; }
31297 echo "$as_me: failed program was:" >&5
31298 sed 's
/^
/| /' conftest.$ac_ext >&5
31301 { echo "$as_me:$LINENO: result: no" >&5
31302 echo "${ECHO_T}no" >&6; }
31307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31311 CFLAGS="$save_CFLAGS"
31314 if test "$wxUSE_UNICODE" = "yes"; then
31315 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31316 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31320 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31321 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31322 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31323 echo $ECHO_N "(cached) $ECHO_C" >&6
31325 ac_check_lib_save_LIBS=$LIBS
31327 cat >conftest.$ac_ext <<_ACEOF
31330 cat confdefs.h >>conftest.$ac_ext
31331 cat >>conftest.$ac_ext <<_ACEOF
31332 /* end confdefs.h. */
31334 /* Override any GCC internal prototype to avoid an error.
31335 Use char because int might match the return type of a GCC
31336 builtin and then its argument prototype would still apply. */
31340 char gdk_im_open ();
31344 return gdk_im_open ();
31349 rm -f conftest.$ac_objext conftest$ac_exeext
31350 if { (ac_try="$ac_link"
31351 case "(($ac_try" in
31352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31353 *) ac_try_echo=$ac_try;;
31355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31356 (eval "$ac_link") 2>conftest.er1
31358 grep -v '^
*+' conftest.er1 >conftest.err
31360 cat conftest.err >&5
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); } && {
31363 test -z "$ac_c_werror_flag" ||
31364 test ! -s conftest.err
31365 } && test -s conftest$ac_exeext &&
31366 $as_test_x conftest$ac_exeext; then
31367 ac_cv_lib_gdk_gdk_im_open=yes
31369 echo "$as_me: failed program was:" >&5
31370 sed 's
/^
/| /' conftest.$ac_ext >&5
31372 ac_cv_lib_gdk_gdk_im_open=no
31375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31376 conftest$ac_exeext conftest.$ac_ext
31377 LIBS=$ac_check_lib_save_LIBS
31379 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31380 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31381 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31382 cat >>confdefs.h <<\_ACEOF
31389 if test "$USE_DARWIN" != 1; then
31391 for ac_func in poll
31393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31394 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31396 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31399 cat >conftest.$ac_ext <<_ACEOF
31402 cat confdefs.h >>conftest.$ac_ext
31403 cat >>conftest.$ac_ext <<_ACEOF
31404 /* end confdefs.h. */
31405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31407 #define $ac_func innocuous_$ac_func
31409 /* System header to define __stub macros and hopefully few prototypes,
31410 which can conflict with char $ac_func (); below.
31411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31412 <limits.h> exists even on freestanding compilers. */
31415 # include <limits.h>
31417 # include <assert.h>
31422 /* Override any GCC internal prototype to avoid an error.
31423 Use char because int might match the return type of a GCC
31424 builtin and then its argument prototype would still apply. */
31429 /* The GNU C library defines this for functions which it implements
31430 to always fail with ENOSYS. Some functions are actually named
31431 something starting with __ and the normal name is an alias. */
31432 #if defined __stub_$ac_func || defined __stub___$ac_func
31439 return $ac_func ();
31444 rm -f conftest.$ac_objext conftest$ac_exeext
31445 if { (ac_try="$ac_link"
31446 case "(($ac_try" in
31447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31448 *) ac_try_echo=$ac_try;;
31450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31451 (eval "$ac_link") 2>conftest.er1
31453 grep -v '^
*+' conftest.er1 >conftest.err
31455 cat conftest.err >&5
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); } && {
31458 test -z "$ac_c_werror_flag" ||
31459 test ! -s conftest.err
31460 } && test -s conftest$ac_exeext &&
31461 $as_test_x conftest$ac_exeext; then
31462 eval "$as_ac_var=yes"
31464 echo "$as_me: failed program was:" >&5
31465 sed 's
/^
/| /' conftest.$ac_ext >&5
31467 eval "$as_ac_var=no"
31470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31471 conftest$ac_exeext conftest.$ac_ext
31473 ac_res=`eval echo '${'$as_ac_var'}'`
31474 { echo "$as_me:$LINENO: result: $ac_res" >&5
31475 echo "${ECHO_T}$ac_res" >&6; }
31476 if test `eval echo '${'$as_ac_var'}'` = yes; then
31477 cat >>confdefs.h <<_ACEOF
31478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31487 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31488 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31489 AFMINSTALL=afminstall
31493 if test "$wxUSE_GPE" = "yes"; then
31494 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31495 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31498 for ac_dir in $SEARCH_LIB
31500 for ac_extension in a so sl dylib dll.a; do
31501 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31502 ac_find_libraries=$ac_dir
31508 if test "$ac_find_libraries" != "" ; then
31510 if test "$ac_find_libraries" = "default location"; then
31513 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31515 if test $result = 0; then
31518 ac_path_to_link=" -L$ac_find_libraries"
31522 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31524 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31525 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31527 { echo "$as_me:$LINENO: result: not found" >&5
31528 echo "${ECHO_T}not found" >&6; }
31534 if test "$wxUSE_MGL" = 1; then
31535 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31536 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31537 if test "x$MGL_ROOT" = x ; then
31538 { echo "$as_me:$LINENO: result: not found" >&5
31539 echo "${ECHO_T}not found" >&6; }
31540 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31541 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31542 { (exit 1); exit 1; }; }
31544 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31545 echo "${ECHO_T}$MGL_ROOT" >&6; }
31548 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31549 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31552 if test "x$wxUSE_SHARED" = xyes ; then
31553 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31555 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31559 mgl_os_candidates="dos32/dj2"
31562 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31563 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31564 { (exit 1); exit 1; }; }
31570 for mgl_os_i in $mgl_os_candidates ; do
31571 if test "x$mgl_os" = x ; then
31572 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31573 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31574 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31579 if test "x$mgl_lib_type" = x ; then
31580 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31581 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31582 mgl_lib_type=release
31589 if test "x$mgl_os" = x ; then
31590 { echo "$as_me:$LINENO: result: not found" >&5
31591 echo "${ECHO_T}not found" >&6; }
31592 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31593 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31594 { (exit 1); exit 1; }; }
31596 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31597 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31599 wxUSE_UNIVERSAL="yes"
31601 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31602 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31604 AFMINSTALL=afminstall
31609 if test "$wxUSE_DFB" = 1; then
31612 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31613 if test -n "$ac_tool_prefix"; then
31614 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31615 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31618 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31619 echo $ECHO_N "(cached) $ECHO_C" >&6
31621 case $PKG_CONFIG in
31623 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31627 for as_dir in $PATH
31630 test -z "$as_dir" && as_dir=.
31631 for ac_exec_ext in '' $ac_executable_extensions; do
31632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31633 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31644 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31645 if test -n "$PKG_CONFIG"; then
31646 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31647 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31649 { echo "$as_me:$LINENO: result: no" >&5
31650 echo "${ECHO_T}no" >&6; }
31655 if test -z "$ac_cv_path_PKG_CONFIG"; then
31656 ac_pt_PKG_CONFIG=$PKG_CONFIG
31657 # Extract the first word of "pkg-config", so it can be a program name with args.
31658 set dummy pkg-config; ac_word=$2
31659 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31661 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31662 echo $ECHO_N "(cached) $ECHO_C" >&6
31664 case $ac_pt_PKG_CONFIG in
31666 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31670 for as_dir in $PATH
31673 test -z "$as_dir" && as_dir=.
31674 for ac_exec_ext in '' $ac_executable_extensions; do
31675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31676 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31687 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31688 if test -n "$ac_pt_PKG_CONFIG"; then
31689 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31690 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31692 { echo "$as_me:$LINENO: result: no" >&5
31693 echo "${ECHO_T}no" >&6; }
31696 if test "x$ac_pt_PKG_CONFIG" = x; then
31699 case $cross_compiling:$ac_tool_warned in
31701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31702 whose name does not start with the host triplet. If you think this
31703 configuration is useful to you, please write to autoconf@gnu.org." >&5
31704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31705 whose name does not start with the host triplet. If you think this
31706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31707 ac_tool_warned=yes ;;
31709 PKG_CONFIG=$ac_pt_PKG_CONFIG
31712 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31716 if test -n "$PKG_CONFIG"; then
31717 _pkg_min_version=0.9.0
31718 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31719 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31720 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31721 { echo "$as_me:$LINENO: result: yes" >&5
31722 echo "${ECHO_T}yes" >&6; }
31724 { echo "$as_me:$LINENO: result: no" >&5
31725 echo "${ECHO_T}no" >&6; }
31733 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31734 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31736 if test -n "$PKG_CONFIG"; then
31737 if test -n "$DIRECTFB_CFLAGS"; then
31738 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31740 if test -n "$PKG_CONFIG" && \
31741 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31742 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); }; then
31746 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31754 if test -n "$PKG_CONFIG"; then
31755 if test -n "$DIRECTFB_LIBS"; then
31756 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31758 if test -n "$PKG_CONFIG" && \
31759 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31760 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); }; then
31764 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31775 if test $pkg_failed = yes; then
31777 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31778 _pkg_short_errors_supported=yes
31780 _pkg_short_errors_supported=no
31782 if test $_pkg_short_errors_supported = yes; then
31783 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31785 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31787 # Put the nasty error message in config.log where it belongs
31788 echo "$DIRECTFB_PKG_ERRORS" >&5
31791 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31792 echo "$as_me: error: DirectFB not found." >&2;}
31793 { (exit 1); exit 1; }; }
31796 elif test $pkg_failed = untried; then
31798 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31799 echo "$as_me: error: DirectFB not found." >&2;}
31800 { (exit 1); exit 1; }; }
31804 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31805 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31806 { echo "$as_me:$LINENO: result: yes" >&5
31807 echo "${ECHO_T}yes" >&6; }
31809 wxUSE_UNIVERSAL="yes"
31810 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31811 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31818 if test "$wxUSE_MICROWIN" = 1; then
31819 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31820 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31821 if test "x$MICROWINDOWS" = x ; then
31822 { echo "$as_me:$LINENO: result: not found" >&5
31823 echo "${ECHO_T}not found" >&6; }
31824 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31825 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31826 { (exit 1); exit 1; }; }
31828 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31829 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31832 if test -f $MICROWINDOWS/lib/libmwin.a; then
31833 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31834 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31836 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31837 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31838 { (exit 1); exit 1; }; }
31841 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31842 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31844 wxUSE_UNIVERSAL="yes"
31846 AFMINSTALL=afminstall
31848 GUIDIST=MICROWIN_DIST
31850 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31853 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31854 { echo "$as_me:$LINENO: checking for X" >&5
31855 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31858 # Check whether --with-x was given.
31859 if test "${with_x+set}" = set; then
31863 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31864 if test "x$with_x" = xno; then
31865 # The user explicitly disabled X.
31868 case $x_includes,$x_libraries in #(
31869 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31870 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31871 { (exit 1); exit 1; }; };; #(
31872 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31873 echo $ECHO_N "(cached) $ECHO_C" >&6
31875 # One or both of the vars are not set, and there is no cached value.
31876 ac_x_includes=no ac_x_libraries=no
31877 rm -f -r conftest.dir
31878 if mkdir conftest.dir; then
31880 cat >Imakefile <<'_ACEOF'
31882 @echo incroot='${INCROOT}'
31884 @echo usrlibdir='${USRLIBDIR}'
31886 @echo libdir='${LIBDIR}'
31888 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31889 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31890 for ac_var in incroot usrlibdir libdir; do
31891 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31893 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31894 for ac_extension in a so sl; do
31895 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31896 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31897 ac_im_usrlibdir=$ac_im_libdir; break
31900 # Screen out bogus values from the imake configuration. They are
31901 # bogus both because they are the default anyway, and because
31902 # using them would break gcc on systems where it needs fixed includes.
31903 case $ac_im_incroot in
31904 /usr/include) ac_x_includes= ;;
31905 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31907 case $ac_im_usrlibdir in
31908 /usr/lib | /lib) ;;
31909 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31913 rm -f -r conftest.dir
31916 # Standard set of common directories for X headers.
31917 # Check X11 before X11Rn because it is often a symlink to the current release.
31929 /usr
/local
/X
11/include
31930 /usr
/local
/X
11R
6/include
31931 /usr
/local
/X
11R
5/include
31932 /usr
/local
/X
11R
4/include
31934 /usr
/local
/include
/X11
31935 /usr
/local
/include
/X11R6
31936 /usr
/local
/include
/X11R5
31937 /usr
/local
/include
/X11R4
31941 /usr
/XFree
86/include
/X11
31945 /usr
/unsupported
/include
31946 /usr
/athena
/include
31947 /usr
/local
/x
11r
5/include
31948 /usr
/lpp
/Xamples
/include
31950 /usr
/openwin
/include
31951 /usr
/openwin
/share
/include
'
31953 if test "$ac_x_includes" = no; then
31954 # Guess where to find include files, by looking for Xlib.h.
31955 # First, try using that file with no special directory specified.
31956 cat >conftest.$ac_ext <<_ACEOF
31959 cat confdefs.h >>conftest.$ac_ext
31960 cat >>conftest.$ac_ext <<_ACEOF
31961 /* end confdefs.h. */
31962 #include <X11/Xlib.h>
31964 if { (ac_try="$ac_cpp conftest.$ac_ext"
31965 case "(($ac_try" in
31966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31967 *) ac_try_echo=$ac_try;;
31969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31970 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31972 grep -v '^
*+' conftest.er1 >conftest.err
31974 cat conftest.err >&5
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); } >/dev/null && {
31977 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31978 test ! -s conftest.err
31980 # We can compile using X headers with no special include directory.
31983 echo "$as_me: failed program was:" >&5
31984 sed 's
/^
/| /' conftest.$ac_ext >&5
31986 for ac_dir in $ac_x_header_dirs; do
31987 if test -r "$ac_dir/X11/Xlib.h"; then
31988 ac_x_includes=$ac_dir
31994 rm -f conftest.err conftest.$ac_ext
31995 fi # $ac_x_includes = no
31997 if test "$ac_x_libraries" = no; then
31998 # Check for the libraries.
31999 # See if we find them without any special options.
32000 # Don't add to
$LIBS permanently.
32003 cat >conftest.
$ac_ext <<_ACEOF
32006 cat confdefs.h
>>conftest.
$ac_ext
32007 cat >>conftest.
$ac_ext <<_ACEOF
32008 /* end confdefs.h. */
32009 #include <X11/Xlib.h>
32018 rm -f conftest.
$ac_objext conftest
$ac_exeext
32019 if { (ac_try
="$ac_link"
32020 case "(($ac_try" in
32021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32022 *) ac_try_echo=$ac_try;;
32024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32025 (eval "$ac_link") 2>conftest.er1
32027 grep -v '^ *+' conftest.er1 >conftest.err
32029 cat conftest.err >&5
32030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32031 (exit $ac_status); } && {
32032 test -z "$ac_c_werror_flag" ||
32033 test ! -s conftest.err
32034 } && test -s conftest$ac_exeext &&
32035 $as_test_x conftest$ac_exeext; then
32037 # We can link X programs with no special library path.
32040 echo "$as_me: failed program was:" >&5
32041 sed 's/^/| /' conftest.$ac_ext >&5
32044 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32046 # Don't even attempt the hair of trying to link an X program!
32047 for ac_extension in a so sl; do
32048 if test -r "$ac_dir/libX11.$ac_extension"; then
32049 ac_x_libraries=$ac_dir
32056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32057 conftest$ac_exeext conftest.$ac_ext
32058 fi # $ac_x_libraries = no
32060 case $ac_x_includes,$ac_x_libraries in #(
32061 no,* | *,no | *\'*)
32062 # Didn't find X, or a directory has "'" in its name.
32063 ac_cv_have_x="have_x=no";; #(
32065 # Record where we found X for the cache.
32066 ac_cv_have_x="have_x=yes\
32067 ac_x_includes='$ac_x_includes'\
32068 ac_x_libraries='$ac_x_libraries'"
32074 eval "$ac_cv_have_x"
32077 if test "$have_x" != yes; then
32078 { echo "$as_me:$LINENO: result: $have_x" >&5
32079 echo "${ECHO_T}$have_x" >&6; }
32082 # If each of the values was on the command line, it overrides each guess.
32083 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32084 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32085 # Update the cache value to reflect the command line values.
32086 ac_cv_have_x="have_x=yes\
32087 ac_x_includes='$x_includes'\
32088 ac_x_libraries='$x_libraries'"
32089 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32090 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32093 if test "$no_x" = yes; then
32094 # Not all programs may use this symbol, but it does not hurt to define it.
32096 cat >>confdefs.h <<\_ACEOF
32097 #define X_DISPLAY_MISSING 1
32100 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32102 if test -n "$x_includes"; then
32103 X_CFLAGS="$X_CFLAGS -I$x_includes"
32106 # It would also be nice to do this for all -L options, not just this one.
32107 if test -n "$x_libraries"; then
32108 X_LIBS="$X_LIBS -L$x_libraries"
32109 # For Solaris; some versions of Sun CC require a space after -R and
32110 # others require no space. Words are not sufficient . . . .
32111 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32112 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32113 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32114 ac_xsave_c_werror_flag=$ac_c_werror_flag
32115 ac_c_werror_flag=yes
32116 cat >conftest.$ac_ext <<_ACEOF
32119 cat confdefs.h >>conftest.$ac_ext
32120 cat >>conftest.$ac_ext <<_ACEOF
32121 /* end confdefs.h. */
32131 rm -f conftest.$ac_objext conftest$ac_exeext
32132 if { (ac_try="$ac_link"
32133 case "(($ac_try" in
32134 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32135 *) ac_try_echo
=$ac_try;;
32137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32138 (eval "$ac_link") 2>conftest.er1
32140 grep -v '^ *+' conftest.er1
>conftest.err
32142 cat conftest.err
>&5
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); } && {
32145 test -z "$ac_c_werror_flag" ||
32146 test ! -s conftest.err
32147 } && test -s conftest
$ac_exeext &&
32148 $as_test_x conftest
$ac_exeext; then
32149 { echo "$as_me:$LINENO: result: no" >&5
32150 echo "${ECHO_T}no" >&6; }
32151 X_LIBS
="$X_LIBS -R$x_libraries"
32153 echo "$as_me: failed program was:" >&5
32154 sed 's/^/| /' conftest.
$ac_ext >&5
32156 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32157 cat >conftest.
$ac_ext <<_ACEOF
32160 cat confdefs.h
>>conftest.
$ac_ext
32161 cat >>conftest.
$ac_ext <<_ACEOF
32162 /* end confdefs.h. */
32172 rm -f conftest.
$ac_objext conftest
$ac_exeext
32173 if { (ac_try
="$ac_link"
32174 case "(($ac_try" in
32175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32176 *) ac_try_echo=$ac_try;;
32178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32179 (eval "$ac_link") 2>conftest.er1
32181 grep -v '^ *+' conftest.er1 >conftest.err
32183 cat conftest.err >&5
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); } && {
32186 test -z "$ac_c_werror_flag" ||
32187 test ! -s conftest.err
32188 } && test -s conftest$ac_exeext &&
32189 $as_test_x conftest$ac_exeext; then
32190 { echo "$as_me:$LINENO: result: yes" >&5
32191 echo "${ECHO_T}yes" >&6; }
32192 X_LIBS="$X_LIBS -R $x_libraries"
32194 echo "$as_me: failed program was:" >&5
32195 sed 's/^/| /' conftest.$ac_ext >&5
32197 { echo "$as_me:$LINENO: result: neither works" >&5
32198 echo "${ECHO_T}neither works" >&6; }
32201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32202 conftest$ac_exeext conftest.$ac_ext
32205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32206 conftest$ac_exeext conftest.$ac_ext
32207 ac_c_werror_flag=$ac_xsave_c_werror_flag
32208 LIBS=$ac_xsave_LIBS
32211 # Check for system-dependent libraries X programs must link with.
32212 # Do this before checking for the system-independent R6 libraries
32213 # (-lICE), since we may need -lsocket or whatever for X linking.
32215 if test "$ISC" = yes; then
32216 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32218 # Martyn Johnson says this is needed for Ultrix, if the X
32219 # libraries were built with DECnet support. And Karl Berry says
32220 # the Alpha needs dnet_stub (dnet does not exist).
32221 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32222 cat >conftest.$ac_ext <<_ACEOF
32225 cat confdefs.h >>conftest.$ac_ext
32226 cat >>conftest.$ac_ext <<_ACEOF
32227 /* end confdefs.h. */
32229 /* Override any GCC internal prototype to avoid an error.
32230 Use char because int might match the return type of a GCC
32231 builtin and then its argument prototype would still apply. */
32235 char XOpenDisplay ();
32239 return XOpenDisplay ();
32244 rm -f conftest.$ac_objext conftest$ac_exeext
32245 if { (ac_try="$ac_link"
32246 case "(($ac_try" in
32247 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32248 *) ac_try_echo
=$ac_try;;
32250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32251 (eval "$ac_link") 2>conftest.er1
32253 grep -v '^ *+' conftest.er1
>conftest.err
32255 cat conftest.err
>&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); } && {
32258 test -z "$ac_c_werror_flag" ||
32259 test ! -s conftest.err
32260 } && test -s conftest
$ac_exeext &&
32261 $as_test_x conftest
$ac_exeext; then
32264 echo "$as_me: failed program was:" >&5
32265 sed 's/^/| /' conftest.
$ac_ext >&5
32267 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32268 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32269 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32270 echo $ECHO_N "(cached) $ECHO_C" >&6
32272 ac_check_lib_save_LIBS
=$LIBS
32273 LIBS
="-ldnet $LIBS"
32274 cat >conftest.
$ac_ext <<_ACEOF
32277 cat confdefs.h
>>conftest.
$ac_ext
32278 cat >>conftest.
$ac_ext <<_ACEOF
32279 /* end confdefs.h. */
32281 /* Override any GCC internal prototype to avoid an error.
32282 Use char because int might match the return type of a GCC
32283 builtin and then its argument prototype would still apply. */
32291 return dnet_ntoa ();
32296 rm -f conftest.
$ac_objext conftest
$ac_exeext
32297 if { (ac_try
="$ac_link"
32298 case "(($ac_try" in
32299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32300 *) ac_try_echo=$ac_try;;
32302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32303 (eval "$ac_link") 2>conftest.er1
32305 grep -v '^ *+' conftest.er1 >conftest.err
32307 cat conftest.err >&5
32308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32309 (exit $ac_status); } && {
32310 test -z "$ac_c_werror_flag" ||
32311 test ! -s conftest.err
32312 } && test -s conftest$ac_exeext &&
32313 $as_test_x conftest$ac_exeext; then
32314 ac_cv_lib_dnet_dnet_ntoa=yes
32316 echo "$as_me: failed program was:" >&5
32317 sed 's/^/| /' conftest.$ac_ext >&5
32319 ac_cv_lib_dnet_dnet_ntoa=no
32322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32323 conftest$ac_exeext conftest.$ac_ext
32324 LIBS=$ac_check_lib_save_LIBS
32326 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32327 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32328 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32329 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32332 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32333 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32334 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32335 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32336 echo $ECHO_N "(cached) $ECHO_C" >&6
32338 ac_check_lib_save_LIBS=$LIBS
32339 LIBS="-ldnet_stub $LIBS"
32340 cat >conftest.$ac_ext <<_ACEOF
32343 cat confdefs.h >>conftest.$ac_ext
32344 cat >>conftest.$ac_ext <<_ACEOF
32345 /* end confdefs.h. */
32347 /* Override any GCC internal prototype to avoid an error.
32348 Use char because int might match the return type of a GCC
32349 builtin and then its argument prototype would still apply. */
32357 return dnet_ntoa ();
32362 rm -f conftest.$ac_objext conftest$ac_exeext
32363 if { (ac_try="$ac_link"
32364 case "(($ac_try" in
32365 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32366 *) ac_try_echo
=$ac_try;;
32368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32369 (eval "$ac_link") 2>conftest.er1
32371 grep -v '^ *+' conftest.er1
>conftest.err
32373 cat conftest.err
>&5
32374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32375 (exit $ac_status); } && {
32376 test -z "$ac_c_werror_flag" ||
32377 test ! -s conftest.err
32378 } && test -s conftest
$ac_exeext &&
32379 $as_test_x conftest
$ac_exeext; then
32380 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32382 echo "$as_me: failed program was:" >&5
32383 sed 's/^/| /' conftest.
$ac_ext >&5
32385 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32388 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32389 conftest
$ac_exeext conftest.
$ac_ext
32390 LIBS
=$ac_check_lib_save_LIBS
32392 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32393 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32394 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32395 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32401 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32402 conftest
$ac_exeext conftest.
$ac_ext
32403 LIBS
="$ac_xsave_LIBS"
32405 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32406 # to get the SysV transport functions.
32407 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32409 # The nsl library prevents programs from opening the X display
32410 # on Irix 5.2, according to T.E. Dickey.
32411 # The functions gethostbyname, getservbyname, and inet_addr are
32412 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32413 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32414 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32415 if test "${ac_cv_func_gethostbyname+set}" = set; then
32416 echo $ECHO_N "(cached) $ECHO_C" >&6
32418 cat >conftest.
$ac_ext <<_ACEOF
32421 cat confdefs.h
>>conftest.
$ac_ext
32422 cat >>conftest.
$ac_ext <<_ACEOF
32423 /* end confdefs.h. */
32424 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32426 #define gethostbyname innocuous_gethostbyname
32428 /* System header to define __stub macros and hopefully few prototypes,
32429 which can conflict with char gethostbyname (); below.
32430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32431 <limits.h> exists even on freestanding compilers. */
32434 # include <limits.h>
32436 # include <assert.h>
32439 #undef gethostbyname
32441 /* Override any GCC internal prototype to avoid an error.
32442 Use char because int might match the return type of a GCC
32443 builtin and then its argument prototype would still apply. */
32447 char gethostbyname ();
32448 /* The GNU C library defines this for functions which it implements
32449 to always fail with ENOSYS. Some functions are actually named
32450 something starting with __ and the normal name is an alias. */
32451 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32458 return gethostbyname ();
32463 rm -f conftest.
$ac_objext conftest
$ac_exeext
32464 if { (ac_try
="$ac_link"
32465 case "(($ac_try" in
32466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32467 *) ac_try_echo=$ac_try;;
32469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32470 (eval "$ac_link") 2>conftest.er1
32472 grep -v '^ *+' conftest.er1 >conftest.err
32474 cat conftest.err >&5
32475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476 (exit $ac_status); } && {
32477 test -z "$ac_c_werror_flag" ||
32478 test ! -s conftest.err
32479 } && test -s conftest$ac_exeext &&
32480 $as_test_x conftest$ac_exeext; then
32481 ac_cv_func_gethostbyname=yes
32483 echo "$as_me: failed program was:" >&5
32484 sed 's/^/| /' conftest.$ac_ext >&5
32486 ac_cv_func_gethostbyname=no
32489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32490 conftest$ac_exeext conftest.$ac_ext
32492 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32493 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32495 if test $ac_cv_func_gethostbyname = no; then
32496 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32497 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32498 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32499 echo $ECHO_N "(cached) $ECHO_C" >&6
32501 ac_check_lib_save_LIBS=$LIBS
32503 cat >conftest.$ac_ext <<_ACEOF
32506 cat confdefs.h >>conftest.$ac_ext
32507 cat >>conftest.$ac_ext <<_ACEOF
32508 /* end confdefs.h. */
32510 /* Override any GCC internal prototype to avoid an error.
32511 Use char because int might match the return type of a GCC
32512 builtin and then its argument prototype would still apply. */
32516 char gethostbyname ();
32520 return gethostbyname ();
32525 rm -f conftest.$ac_objext conftest$ac_exeext
32526 if { (ac_try="$ac_link"
32527 case "(($ac_try" in
32528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32529 *) ac_try_echo
=$ac_try;;
32531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32532 (eval "$ac_link") 2>conftest.er1
32534 grep -v '^ *+' conftest.er1
>conftest.err
32536 cat conftest.err
>&5
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); } && {
32539 test -z "$ac_c_werror_flag" ||
32540 test ! -s conftest.err
32541 } && test -s conftest
$ac_exeext &&
32542 $as_test_x conftest
$ac_exeext; then
32543 ac_cv_lib_nsl_gethostbyname
=yes
32545 echo "$as_me: failed program was:" >&5
32546 sed 's/^/| /' conftest.
$ac_ext >&5
32548 ac_cv_lib_nsl_gethostbyname
=no
32551 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32552 conftest
$ac_exeext conftest.
$ac_ext
32553 LIBS
=$ac_check_lib_save_LIBS
32555 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32556 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32557 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32558 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32561 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32562 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32563 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32564 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32565 echo $ECHO_N "(cached) $ECHO_C" >&6
32567 ac_check_lib_save_LIBS
=$LIBS
32569 cat >conftest.
$ac_ext <<_ACEOF
32572 cat confdefs.h
>>conftest.
$ac_ext
32573 cat >>conftest.
$ac_ext <<_ACEOF
32574 /* end confdefs.h. */
32576 /* Override any GCC internal prototype to avoid an error.
32577 Use char because int might match the return type of a GCC
32578 builtin and then its argument prototype would still apply. */
32582 char gethostbyname ();
32586 return gethostbyname ();
32591 rm -f conftest.
$ac_objext conftest
$ac_exeext
32592 if { (ac_try
="$ac_link"
32593 case "(($ac_try" in
32594 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32595 *) ac_try_echo=$ac_try;;
32597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32598 (eval "$ac_link") 2>conftest.er1
32600 grep -v '^ *+' conftest.er1 >conftest.err
32602 cat conftest.err >&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); } && {
32605 test -z "$ac_c_werror_flag" ||
32606 test ! -s conftest.err
32607 } && test -s conftest$ac_exeext &&
32608 $as_test_x conftest$ac_exeext; then
32609 ac_cv_lib_bsd_gethostbyname=yes
32611 echo "$as_me: failed program was:" >&5
32612 sed 's/^/| /' conftest.$ac_ext >&5
32614 ac_cv_lib_bsd_gethostbyname=no
32617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32618 conftest$ac_exeext conftest.$ac_ext
32619 LIBS=$ac_check_lib_save_LIBS
32621 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32622 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32623 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32624 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32630 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32631 # socket/setsockopt and other routines are undefined under SCO ODT
32632 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32633 # on later versions), says Simon Leinen: it contains gethostby*
32634 # variants that don't use the name server (or something). -lsocket
32635 # must be given before -lnsl if both are needed. We assume that
32636 # if connect needs -lnsl, so does gethostbyname.
32637 { echo "$as_me:$LINENO: checking for connect" >&5
32638 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32639 if test "${ac_cv_func_connect+set}" = set; then
32640 echo $ECHO_N "(cached) $ECHO_C" >&6
32642 cat >conftest.$ac_ext <<_ACEOF
32645 cat confdefs.h >>conftest.$ac_ext
32646 cat >>conftest.$ac_ext <<_ACEOF
32647 /* end confdefs.h. */
32648 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32650 #define connect innocuous_connect
32652 /* System header to define __stub macros and hopefully few prototypes,
32653 which can conflict with char connect (); below.
32654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32655 <limits.h> exists even on freestanding compilers. */
32658 # include <limits.h>
32660 # include <assert.h>
32665 /* Override any GCC internal prototype to avoid an error.
32666 Use char because int might match the return type of a GCC
32667 builtin and then its argument prototype would still apply. */
32672 /* The GNU C library defines this for functions which it implements
32673 to always fail with ENOSYS. Some functions are actually named
32674 something starting with __ and the normal name is an alias. */
32675 #if defined __stub_connect || defined __stub___connect
32687 rm -f conftest.$ac_objext conftest$ac_exeext
32688 if { (ac_try="$ac_link"
32689 case "(($ac_try" in
32690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32691 *) ac_try_echo
=$ac_try;;
32693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32694 (eval "$ac_link") 2>conftest.er1
32696 grep -v '^ *+' conftest.er1
>conftest.err
32698 cat conftest.err
>&5
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); } && {
32701 test -z "$ac_c_werror_flag" ||
32702 test ! -s conftest.err
32703 } && test -s conftest
$ac_exeext &&
32704 $as_test_x conftest
$ac_exeext; then
32705 ac_cv_func_connect
=yes
32707 echo "$as_me: failed program was:" >&5
32708 sed 's/^/| /' conftest.
$ac_ext >&5
32710 ac_cv_func_connect
=no
32713 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32714 conftest
$ac_exeext conftest.
$ac_ext
32716 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32717 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32719 if test $ac_cv_func_connect = no
; then
32720 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32721 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32722 if test "${ac_cv_lib_socket_connect+set}" = set; then
32723 echo $ECHO_N "(cached) $ECHO_C" >&6
32725 ac_check_lib_save_LIBS
=$LIBS
32726 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32727 cat >conftest.
$ac_ext <<_ACEOF
32730 cat confdefs.h
>>conftest.
$ac_ext
32731 cat >>conftest.
$ac_ext <<_ACEOF
32732 /* end confdefs.h. */
32734 /* Override any GCC internal prototype to avoid an error.
32735 Use char because int might match the return type of a GCC
32736 builtin and then its argument prototype would still apply. */
32749 rm -f conftest.
$ac_objext conftest
$ac_exeext
32750 if { (ac_try
="$ac_link"
32751 case "(($ac_try" in
32752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32753 *) ac_try_echo=$ac_try;;
32755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32756 (eval "$ac_link") 2>conftest.er1
32758 grep -v '^ *+' conftest.er1 >conftest.err
32760 cat conftest.err >&5
32761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32762 (exit $ac_status); } && {
32763 test -z "$ac_c_werror_flag" ||
32764 test ! -s conftest.err
32765 } && test -s conftest$ac_exeext &&
32766 $as_test_x conftest$ac_exeext; then
32767 ac_cv_lib_socket_connect=yes
32769 echo "$as_me: failed program was:" >&5
32770 sed 's/^/| /' conftest.$ac_ext >&5
32772 ac_cv_lib_socket_connect=no
32775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32776 conftest$ac_exeext conftest.$ac_ext
32777 LIBS=$ac_check_lib_save_LIBS
32779 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32780 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32781 if test $ac_cv_lib_socket_connect = yes; then
32782 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32787 # Guillermo Gomez says -lposix is necessary on A/UX.
32788 { echo "$as_me:$LINENO: checking for remove" >&5
32789 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32790 if test "${ac_cv_func_remove+set}" = set; then
32791 echo $ECHO_N "(cached) $ECHO_C" >&6
32793 cat >conftest.$ac_ext <<_ACEOF
32796 cat confdefs.h >>conftest.$ac_ext
32797 cat >>conftest.$ac_ext <<_ACEOF
32798 /* end confdefs.h. */
32799 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32801 #define remove innocuous_remove
32803 /* System header to define __stub macros and hopefully few prototypes,
32804 which can conflict with char remove (); below.
32805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32806 <limits.h> exists even on freestanding compilers. */
32809 # include <limits.h>
32811 # include <assert.h>
32816 /* Override any GCC internal prototype to avoid an error.
32817 Use char because int might match the return type of a GCC
32818 builtin and then its argument prototype would still apply. */
32823 /* The GNU C library defines this for functions which it implements
32824 to always fail with ENOSYS. Some functions are actually named
32825 something starting with __ and the normal name is an alias. */
32826 #if defined __stub_remove || defined __stub___remove
32838 rm -f conftest.$ac_objext conftest$ac_exeext
32839 if { (ac_try="$ac_link"
32840 case "(($ac_try" in
32841 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32842 *) ac_try_echo
=$ac_try;;
32844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32845 (eval "$ac_link") 2>conftest.er1
32847 grep -v '^ *+' conftest.er1
>conftest.err
32849 cat conftest.err
>&5
32850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851 (exit $ac_status); } && {
32852 test -z "$ac_c_werror_flag" ||
32853 test ! -s conftest.err
32854 } && test -s conftest
$ac_exeext &&
32855 $as_test_x conftest
$ac_exeext; then
32856 ac_cv_func_remove
=yes
32858 echo "$as_me: failed program was:" >&5
32859 sed 's/^/| /' conftest.
$ac_ext >&5
32861 ac_cv_func_remove
=no
32864 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32865 conftest
$ac_exeext conftest.
$ac_ext
32867 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32868 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32870 if test $ac_cv_func_remove = no
; then
32871 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32872 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32873 if test "${ac_cv_lib_posix_remove+set}" = set; then
32874 echo $ECHO_N "(cached) $ECHO_C" >&6
32876 ac_check_lib_save_LIBS
=$LIBS
32877 LIBS
="-lposix $LIBS"
32878 cat >conftest.
$ac_ext <<_ACEOF
32881 cat confdefs.h
>>conftest.
$ac_ext
32882 cat >>conftest.
$ac_ext <<_ACEOF
32883 /* end confdefs.h. */
32885 /* Override any GCC internal prototype to avoid an error.
32886 Use char because int might match the return type of a GCC
32887 builtin and then its argument prototype would still apply. */
32900 rm -f conftest.
$ac_objext conftest
$ac_exeext
32901 if { (ac_try
="$ac_link"
32902 case "(($ac_try" in
32903 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32904 *) ac_try_echo=$ac_try;;
32906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32907 (eval "$ac_link") 2>conftest.er1
32909 grep -v '^ *+' conftest.er1 >conftest.err
32911 cat conftest.err >&5
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); } && {
32914 test -z "$ac_c_werror_flag" ||
32915 test ! -s conftest.err
32916 } && test -s conftest$ac_exeext &&
32917 $as_test_x conftest$ac_exeext; then
32918 ac_cv_lib_posix_remove=yes
32920 echo "$as_me: failed program was:" >&5
32921 sed 's/^/| /' conftest.$ac_ext >&5
32923 ac_cv_lib_posix_remove=no
32926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32927 conftest$ac_exeext conftest.$ac_ext
32928 LIBS=$ac_check_lib_save_LIBS
32930 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32931 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32932 if test $ac_cv_lib_posix_remove = yes; then
32933 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32938 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32939 { echo "$as_me:$LINENO: checking for shmat" >&5
32940 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32941 if test "${ac_cv_func_shmat+set}" = set; then
32942 echo $ECHO_N "(cached) $ECHO_C" >&6
32944 cat >conftest.$ac_ext <<_ACEOF
32947 cat confdefs.h >>conftest.$ac_ext
32948 cat >>conftest.$ac_ext <<_ACEOF
32949 /* end confdefs.h. */
32950 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32952 #define shmat innocuous_shmat
32954 /* System header to define __stub macros and hopefully few prototypes,
32955 which can conflict with char shmat (); below.
32956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32957 <limits.h> exists even on freestanding compilers. */
32960 # include <limits.h>
32962 # include <assert.h>
32967 /* Override any GCC internal prototype to avoid an error.
32968 Use char because int might match the return type of a GCC
32969 builtin and then its argument prototype would still apply. */
32974 /* The GNU C library defines this for functions which it implements
32975 to always fail with ENOSYS. Some functions are actually named
32976 something starting with __ and the normal name is an alias. */
32977 #if defined __stub_shmat || defined __stub___shmat
32989 rm -f conftest.$ac_objext conftest$ac_exeext
32990 if { (ac_try="$ac_link"
32991 case "(($ac_try" in
32992 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32993 *) ac_try_echo
=$ac_try;;
32995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32996 (eval "$ac_link") 2>conftest.er1
32998 grep -v '^ *+' conftest.er1
>conftest.err
33000 cat conftest.err
>&5
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); } && {
33003 test -z "$ac_c_werror_flag" ||
33004 test ! -s conftest.err
33005 } && test -s conftest
$ac_exeext &&
33006 $as_test_x conftest
$ac_exeext; then
33007 ac_cv_func_shmat
=yes
33009 echo "$as_me: failed program was:" >&5
33010 sed 's/^/| /' conftest.
$ac_ext >&5
33012 ac_cv_func_shmat
=no
33015 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33016 conftest
$ac_exeext conftest.
$ac_ext
33018 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33019 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33021 if test $ac_cv_func_shmat = no
; then
33022 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33023 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33024 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33025 echo $ECHO_N "(cached) $ECHO_C" >&6
33027 ac_check_lib_save_LIBS
=$LIBS
33029 cat >conftest.
$ac_ext <<_ACEOF
33032 cat confdefs.h
>>conftest.
$ac_ext
33033 cat >>conftest.
$ac_ext <<_ACEOF
33034 /* end confdefs.h. */
33036 /* Override any GCC internal prototype to avoid an error.
33037 Use char because int might match the return type of a GCC
33038 builtin and then its argument prototype would still apply. */
33051 rm -f conftest.
$ac_objext conftest
$ac_exeext
33052 if { (ac_try
="$ac_link"
33053 case "(($ac_try" in
33054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33055 *) ac_try_echo=$ac_try;;
33057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33058 (eval "$ac_link") 2>conftest.er1
33060 grep -v '^ *+' conftest.er1 >conftest.err
33062 cat conftest.err >&5
33063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064 (exit $ac_status); } && {
33065 test -z "$ac_c_werror_flag" ||
33066 test ! -s conftest.err
33067 } && test -s conftest$ac_exeext &&
33068 $as_test_x conftest$ac_exeext; then
33069 ac_cv_lib_ipc_shmat=yes
33071 echo "$as_me: failed program was:" >&5
33072 sed 's/^/| /' conftest.$ac_ext >&5
33074 ac_cv_lib_ipc_shmat=no
33077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33078 conftest$ac_exeext conftest.$ac_ext
33079 LIBS=$ac_check_lib_save_LIBS
33081 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33082 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33083 if test $ac_cv_lib_ipc_shmat = yes; then
33084 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33090 # Check for libraries that X11R6 Xt/Xaw programs need.
33091 ac_save_LDFLAGS=$LDFLAGS
33092 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33093 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33094 # check for ICE first), but we must link in the order -lSM -lICE or
33095 # we get undefined symbols. So assume we have SM if we have ICE.
33096 # These have to be linked with before -lX11, unlike the other
33097 # libraries we check for below, so use a different variable.
33098 # John Interrante, Karl Berry
33099 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33100 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33101 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33102 echo $ECHO_N "(cached) $ECHO_C" >&6
33104 ac_check_lib_save_LIBS=$LIBS
33105 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33106 cat >conftest.$ac_ext <<_ACEOF
33109 cat confdefs.h >>conftest.$ac_ext
33110 cat >>conftest.$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33113 /* Override any GCC internal prototype to avoid an error.
33114 Use char because int might match the return type of a GCC
33115 builtin and then its argument prototype would still apply. */
33119 char IceConnectionNumber ();
33123 return IceConnectionNumber ();
33128 rm -f conftest.$ac_objext conftest$ac_exeext
33129 if { (ac_try="$ac_link"
33130 case "(($ac_try" in
33131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33132 *) ac_try_echo
=$ac_try;;
33134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33135 (eval "$ac_link") 2>conftest.er1
33137 grep -v '^ *+' conftest.er1
>conftest.err
33139 cat conftest.err
>&5
33140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141 (exit $ac_status); } && {
33142 test -z "$ac_c_werror_flag" ||
33143 test ! -s conftest.err
33144 } && test -s conftest
$ac_exeext &&
33145 $as_test_x conftest
$ac_exeext; then
33146 ac_cv_lib_ICE_IceConnectionNumber
=yes
33148 echo "$as_me: failed program was:" >&5
33149 sed 's/^/| /' conftest.
$ac_ext >&5
33151 ac_cv_lib_ICE_IceConnectionNumber
=no
33154 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33155 conftest
$ac_exeext conftest.
$ac_ext
33156 LIBS
=$ac_check_lib_save_LIBS
33158 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33159 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33160 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33161 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33164 LDFLAGS
=$ac_save_LDFLAGS
33169 if test "$no_x" = "yes"; then
33170 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33171 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33172 { (exit 1); exit 1; }; }
33175 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33176 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33177 AFMINSTALL
=afminstall
33178 COMPILED_X_PROGRAM
=0
33182 if test "$wxUSE_X11" = 1; then
33183 if test "$wxUSE_NANOX" = "yes"; then
33184 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33185 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33186 if test "x$MICROWIN" = x
; then
33187 { echo "$as_me:$LINENO: result: not found" >&5
33188 echo "${ECHO_T}not found" >&6; }
33189 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33190 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33191 { (exit 1); exit 1; }; }
33193 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33194 echo "${ECHO_T}$MICROWIN" >&6; }
33195 cat >>confdefs.h
<<\_ACEOF
33196 #define wxUSE_NANOX 1
33202 if test "$wxUSE_UNICODE" = "yes"; then
33205 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33206 if test -n "$ac_tool_prefix"; then
33207 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33208 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33211 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33212 echo $ECHO_N "(cached) $ECHO_C" >&6
33214 case $PKG_CONFIG in
33216 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33220 for as_dir
in $PATH
33223 test -z "$as_dir" && as_dir
=.
33224 for ac_exec_ext
in '' $ac_executable_extensions; do
33225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33226 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33237 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33238 if test -n "$PKG_CONFIG"; then
33239 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33240 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33242 { echo "$as_me:$LINENO: result: no" >&5
33243 echo "${ECHO_T}no" >&6; }
33248 if test -z "$ac_cv_path_PKG_CONFIG"; then
33249 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33250 # Extract the first word of "pkg-config", so it can be a program name with args.
33251 set dummy pkg
-config; ac_word
=$2
33252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33254 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33255 echo $ECHO_N "(cached) $ECHO_C" >&6
33257 case $ac_pt_PKG_CONFIG in
33259 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33263 for as_dir
in $PATH
33266 test -z "$as_dir" && as_dir
=.
33267 for ac_exec_ext
in '' $ac_executable_extensions; do
33268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33269 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33280 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33281 if test -n "$ac_pt_PKG_CONFIG"; then
33282 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33283 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33285 { echo "$as_me:$LINENO: result: no" >&5
33286 echo "${ECHO_T}no" >&6; }
33289 if test "x$ac_pt_PKG_CONFIG" = x
; then
33292 case $cross_compiling:$ac_tool_warned in
33294 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33295 whose name does not start with the host triplet. If you think this
33296 configuration is useful to you, please write to autoconf@gnu.org." >&5
33297 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33298 whose name does not start with the host triplet. If you think this
33299 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33300 ac_tool_warned
=yes ;;
33302 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33305 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33309 if test -n "$PKG_CONFIG"; then
33310 _pkg_min_version
=0.9.0
33311 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33312 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33313 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33314 { echo "$as_me:$LINENO: result: yes" >&5
33315 echo "${ECHO_T}yes" >&6; }
33317 { echo "$as_me:$LINENO: result: no" >&5
33318 echo "${ECHO_T}no" >&6; }
33326 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33327 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33329 if test -n "$PKG_CONFIG"; then
33330 if test -n "$PANGOX_CFLAGS"; then
33331 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33333 if test -n "$PKG_CONFIG" && \
33334 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33335 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33338 (exit $ac_status); }; then
33339 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33347 if test -n "$PKG_CONFIG"; then
33348 if test -n "$PANGOX_LIBS"; then
33349 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33351 if test -n "$PKG_CONFIG" && \
33352 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33353 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); }; then
33357 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33368 if test $pkg_failed = yes; then
33370 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33371 _pkg_short_errors_supported
=yes
33373 _pkg_short_errors_supported
=no
33375 if test $_pkg_short_errors_supported = yes; then
33376 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33378 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33380 # Put the nasty error message in config.log where it belongs
33381 echo "$PANGOX_PKG_ERRORS" >&5
33384 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33385 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33386 { (exit 1); exit 1; }; }
33389 elif test $pkg_failed = untried
; then
33391 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33392 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33393 { (exit 1); exit 1; }; }
33397 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33398 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33399 { echo "$as_me:$LINENO: result: yes" >&5
33400 echo "${ECHO_T}yes" >&6; }
33402 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33403 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33404 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33409 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33410 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33412 if test -n "$PKG_CONFIG"; then
33413 if test -n "$PANGOFT2_CFLAGS"; then
33414 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33416 if test -n "$PKG_CONFIG" && \
33417 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33418 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33421 (exit $ac_status); }; then
33422 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33430 if test -n "$PKG_CONFIG"; then
33431 if test -n "$PANGOFT2_LIBS"; then
33432 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33434 if test -n "$PKG_CONFIG" && \
33435 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33436 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33439 (exit $ac_status); }; then
33440 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33451 if test $pkg_failed = yes; then
33453 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33454 _pkg_short_errors_supported
=yes
33456 _pkg_short_errors_supported
=no
33458 if test $_pkg_short_errors_supported = yes; then
33459 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33461 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33463 # Put the nasty error message in config.log where it belongs
33464 echo "$PANGOFT2_PKG_ERRORS" >&5
33467 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33468 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33469 wxUSE_PRINTING_ARCHITECTURE
="no"
33472 elif test $pkg_failed = untried
; then
33474 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33475 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33476 wxUSE_PRINTING_ARCHITECTURE
="no"
33480 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33481 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33482 { echo "$as_me:$LINENO: result: yes" >&5
33483 echo "${ECHO_T}yes" >&6; }
33485 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33486 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33487 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33492 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33493 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33495 if test -n "$PKG_CONFIG"; then
33496 if test -n "$PANGOXFT_CFLAGS"; then
33497 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33499 if test -n "$PKG_CONFIG" && \
33500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33501 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33504 (exit $ac_status); }; then
33505 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33513 if test -n "$PKG_CONFIG"; then
33514 if test -n "$PANGOXFT_LIBS"; then
33515 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
33517 if test -n "$PKG_CONFIG" && \
33518 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33519 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); }; then
33523 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33534 if test $pkg_failed = yes; then
33536 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33537 _pkg_short_errors_supported
=yes
33539 _pkg_short_errors_supported
=no
33541 if test $_pkg_short_errors_supported = yes; then
33542 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33544 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33546 # Put the nasty error message in config.log where it belongs
33547 echo "$PANGOXFT_PKG_ERRORS" >&5
33550 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33551 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33554 elif test $pkg_failed = untried
; then
33556 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33557 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33561 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33562 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33563 { echo "$as_me:$LINENO: result: yes" >&5
33564 echo "${ECHO_T}yes" >&6; }
33566 cat >>confdefs.h
<<\_ACEOF
33567 #define HAVE_PANGO_XFT 1
33570 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33571 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33572 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33576 LIBS
="$LIBS $PANGOX_LIBS"
33578 for ac_func
in pango_font_family_is_monospace
33580 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33581 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33583 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33584 echo $ECHO_N "(cached) $ECHO_C" >&6
33586 cat >conftest.
$ac_ext <<_ACEOF
33589 cat confdefs.h
>>conftest.
$ac_ext
33590 cat >>conftest.
$ac_ext <<_ACEOF
33591 /* end confdefs.h. */
33592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33594 #define $ac_func innocuous_$ac_func
33596 /* System header to define __stub macros and hopefully few prototypes,
33597 which can conflict with char $ac_func (); below.
33598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33599 <limits.h> exists even on freestanding compilers. */
33602 # include <limits.h>
33604 # include <assert.h>
33609 /* Override any GCC internal prototype to avoid an error.
33610 Use char because int might match the return type of a GCC
33611 builtin and then its argument prototype would still apply. */
33616 /* The GNU C library defines this for functions which it implements
33617 to always fail with ENOSYS. Some functions are actually named
33618 something starting with __ and the normal name is an alias. */
33619 #if defined __stub_$ac_func || defined __stub___$ac_func
33626 return $ac_func ();
33631 rm -f conftest.
$ac_objext conftest
$ac_exeext
33632 if { (ac_try
="$ac_link"
33633 case "(($ac_try" in
33634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33635 *) ac_try_echo=$ac_try;;
33637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33638 (eval "$ac_link") 2>conftest.er1
33640 grep -v '^ *+' conftest.er1 >conftest.err
33642 cat conftest.err >&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } && {
33645 test -z "$ac_c_werror_flag" ||
33646 test ! -s conftest.err
33647 } && test -s conftest$ac_exeext &&
33648 $as_test_x conftest$ac_exeext; then
33649 eval "$as_ac_var=yes"
33651 echo "$as_me: failed program was:" >&5
33652 sed 's/^/| /' conftest.$ac_ext >&5
33654 eval "$as_ac_var=no"
33657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33658 conftest$ac_exeext conftest.$ac_ext
33660 ac_res=`eval echo '${'$as_ac_var'}'`
33661 { echo "$as_me:$LINENO: result: $ac_res" >&5
33662 echo "${ECHO_T}$ac_res" >&6; }
33663 if test `eval echo '${'$as_ac_var'}'` = yes; then
33664 cat >>confdefs.h <<_ACEOF
33665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33674 wxUSE_UNIVERSAL="yes"
33676 if test "$wxUSE_NANOX" = "yes"; then
33677 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33678 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"
33679 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33681 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33688 if test "$wxUSE_MOTIF" = 1; then
33689 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33690 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33693 for ac_dir in $SEARCH_INCLUDE /usr/include
33695 if test -f "$ac_dir/Xm/Xm.h"; then
33696 ac_find_includes=$ac_dir
33701 if test "$ac_find_includes" != "" ; then
33702 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33703 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33705 if test "x$ac_find_includes" = "x/usr/include"; then
33706 ac_path_to_include=""
33708 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33710 if test $result = 0; then
33711 ac_path_to_include=""
33713 ac_path_to_include=" -I$ac_find_includes"
33717 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33719 save_CFLAGS=$CFLAGS
33720 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33722 cat >conftest.$ac_ext <<_ACEOF
33725 cat confdefs.h >>conftest.$ac_ext
33726 cat >>conftest.$ac_ext <<_ACEOF
33727 /* end confdefs.h. */
33736 version = xmUseVersion;
33742 rm -f conftest.$ac_objext
33743 if { (ac_try="$ac_compile"
33744 case "(($ac_try" in
33745 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33746 *) ac_try_echo
=$ac_try;;
33748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33749 (eval "$ac_compile") 2>conftest.er1
33751 grep -v '^ *+' conftest.er1
>conftest.err
33753 cat conftest.err
>&5
33754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755 (exit $ac_status); } && {
33756 test -z "$ac_c_werror_flag" ||
33757 test ! -s conftest.err
33758 } && test -s conftest.
$ac_objext; then
33760 { echo "$as_me:$LINENO: result: found in default search path" >&5
33761 echo "${ECHO_T}found in default search path" >&6; }
33762 COMPILED_X_PROGRAM
=1
33765 echo "$as_me: failed program was:" >&5
33766 sed 's/^/| /' conftest.
$ac_ext >&5
33769 { echo "$as_me:$LINENO: result: no" >&5
33770 echo "${ECHO_T}no" >&6; }
33771 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33772 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33773 { (exit 1); exit 1; }; }
33778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33780 CFLAGS
=$save_CFLAGS
33784 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33785 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33788 for ac_dir
in $SEARCH_LIB
33790 for ac_extension
in a so sl dylib dll.a
; do
33791 if test -f "$ac_dir/libXm.$ac_extension"; then
33792 ac_find_libraries
=$ac_dir
33799 if test "x$ac_find_libraries" != "x" ; then
33800 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33801 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33804 if test "$ac_find_libraries" = "default location"; then
33807 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33809 if test $result = 0; then
33812 ac_path_to_link
=" -L$ac_find_libraries"
33816 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33818 save_CFLAGS
=$CFLAGS
33819 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33821 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33823 cat >conftest.
$ac_ext <<_ACEOF
33826 cat confdefs.h
>>conftest.
$ac_ext
33827 cat >>conftest.
$ac_ext <<_ACEOF
33828 /* end confdefs.h. */
33837 version = xmUseVersion;
33843 rm -f conftest.
$ac_objext conftest
$ac_exeext
33844 if { (ac_try
="$ac_link"
33845 case "(($ac_try" in
33846 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33847 *) ac_try_echo=$ac_try;;
33849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33850 (eval "$ac_link") 2>conftest.er1
33852 grep -v '^ *+' conftest.er1 >conftest.err
33854 cat conftest.err >&5
33855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856 (exit $ac_status); } && {
33857 test -z "$ac_c_werror_flag" ||
33858 test ! -s conftest.err
33859 } && test -s conftest$ac_exeext &&
33860 $as_test_x conftest$ac_exeext; then
33862 { echo "$as_me:$LINENO: result: found in default search path" >&5
33863 echo "${ECHO_T}found in default search path" >&6; }
33864 COMPILED_X_PROGRAM=1
33867 echo "$as_me: failed program was:" >&5
33868 sed 's/^/| /' conftest.$ac_ext >&5
33871 { echo "$as_me:$LINENO: result: no" >&5
33872 echo "${ECHO_T}no" >&6; }
33873 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33874 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33875 { (exit 1); exit 1; }; }
33880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33881 conftest$ac_exeext conftest.$ac_ext
33883 CFLAGS=$save_CFLAGS
33887 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33888 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33892 for libp in "" " -lXp"; do
33893 if test "$libs_found" = 0; then
33894 for libsm_ice in "" " -lSM -lICE"; do
33895 if test "$libs_found" = 0; then
33897 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33898 save_CFLAGS=$CFLAGS
33899 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33901 cat >conftest.$ac_ext <<_ACEOF
33904 cat confdefs.h >>conftest.$ac_ext
33905 cat >>conftest.$ac_ext <<_ACEOF
33906 /* end confdefs.h. */
33909 #include <Xm/List.h>
33915 XmString string = NULL;
33918 XmListAddItem(w, string, position);
33924 rm -f conftest.$ac_objext conftest$ac_exeext
33925 if { (ac_try="$ac_link"
33926 case "(($ac_try" in
33927 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33928 *) ac_try_echo
=$ac_try;;
33930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33931 (eval "$ac_link") 2>conftest.er1
33933 grep -v '^ *+' conftest.er1
>conftest.err
33935 cat conftest.err
>&5
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); } && {
33938 test -z "$ac_c_werror_flag" ||
33939 test ! -s conftest.err
33940 } && test -s conftest
$ac_exeext &&
33941 $as_test_x conftest
$ac_exeext; then
33944 libsm_ice_link
="$libsm_ice"
33945 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33946 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33950 echo "$as_me: failed program was:" >&5
33951 sed 's/^/| /' conftest.
$ac_ext >&5
33957 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33958 conftest
$ac_exeext conftest.
$ac_ext
33961 CFLAGS
=$save_CFLAGS
33967 if test "$libs_found" = 0; then
33968 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33969 echo "${ECHO_T}can't find the right libraries" >&6; }
33970 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33971 echo "$as_me: error: can't link a simple motif program" >&2;}
33972 { (exit 1); exit 1; }; }
33975 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33976 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33977 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33978 echo $ECHO_N "(cached) $ECHO_C" >&6
33980 ac_check_lib_save_LIBS
=$LIBS
33982 cat >conftest.
$ac_ext <<_ACEOF
33985 cat confdefs.h
>>conftest.
$ac_ext
33986 cat >>conftest.
$ac_ext <<_ACEOF
33987 /* end confdefs.h. */
33989 /* Override any GCC internal prototype to avoid an error.
33990 Use char because int might match the return type of a GCC
33991 builtin and then its argument prototype would still apply. */
33995 char SgCreateList ();
33999 return SgCreateList ();
34004 rm -f conftest.
$ac_objext conftest
$ac_exeext
34005 if { (ac_try
="$ac_link"
34006 case "(($ac_try" in
34007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34008 *) ac_try_echo=$ac_try;;
34010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34011 (eval "$ac_link") 2>conftest.er1
34013 grep -v '^ *+' conftest.er1 >conftest.err
34015 cat conftest.err >&5
34016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34017 (exit $ac_status); } && {
34018 test -z "$ac_c_werror_flag" ||
34019 test ! -s conftest.err
34020 } && test -s conftest$ac_exeext &&
34021 $as_test_x conftest$ac_exeext; then
34022 ac_cv_lib_Sgm_SgCreateList=yes
34024 echo "$as_me: failed program was:" >&5
34025 sed 's/^/| /' conftest.$ac_ext >&5
34027 ac_cv_lib_Sgm_SgCreateList=no
34030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34031 conftest$ac_exeext conftest.$ac_ext
34032 LIBS=$ac_check_lib_save_LIBS
34034 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34035 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34036 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34037 libsgm_link=" -lSgm"
34041 save_CFLAGS=$CFLAGS
34042 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34044 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34045 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34046 if test "${wx_cv_lib_motif2+set}" = set; then
34047 echo $ECHO_N "(cached) $ECHO_C" >&6
34049 cat >conftest.$ac_ext <<_ACEOF
34052 cat confdefs.h >>conftest.$ac_ext
34053 cat >>conftest.$ac_ext <<_ACEOF
34054 /* end confdefs.h. */
34062 #if XmVersion < 2000
34070 rm -f conftest.$ac_objext
34071 if { (ac_try="$ac_compile"
34072 case "(($ac_try" in
34073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34074 *) ac_try_echo
=$ac_try;;
34076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34077 (eval "$ac_compile") 2>conftest.er1
34079 grep -v '^ *+' conftest.er1
>conftest.err
34081 cat conftest.err
>&5
34082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34083 (exit $ac_status); } && {
34084 test -z "$ac_c_werror_flag" ||
34085 test ! -s conftest.err
34086 } && test -s conftest.
$ac_objext; then
34087 wx_cv_lib_motif2
="yes"
34089 echo "$as_me: failed program was:" >&5
34090 sed 's/^/| /' conftest.
$ac_ext >&5
34092 wx_cv_lib_motif2
="no"
34095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34097 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34098 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34099 if test "$wx_cv_lib_motif2" = "yes"; then
34100 cat >>confdefs.h
<<\_ACEOF
34101 #define __WXMOTIF20__ 1
34105 cat >>confdefs.h
<<\_ACEOF
34106 #define __WXMOTIF20__ 0
34111 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34112 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34113 if test "${wx_cv_lib_lesstif+set}" = set; then
34114 echo $ECHO_N "(cached) $ECHO_C" >&6
34116 cat >conftest.
$ac_ext <<_ACEOF
34119 cat confdefs.h
>>conftest.
$ac_ext
34120 cat >>conftest.
$ac_ext <<_ACEOF
34121 /* end confdefs.h. */
34129 #if !defined(LesstifVersion) || LesstifVersion <= 0
34137 rm -f conftest.
$ac_objext
34138 if { (ac_try
="$ac_compile"
34139 case "(($ac_try" in
34140 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34141 *) ac_try_echo=$ac_try;;
34143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34144 (eval "$ac_compile") 2>conftest.er1
34146 grep -v '^ *+' conftest.er1 >conftest.err
34148 cat conftest.err >&5
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); } && {
34151 test -z "$ac_c_werror_flag" ||
34152 test ! -s conftest.err
34153 } && test -s conftest.$ac_objext; then
34154 wx_cv_lib_lesstif="yes"
34156 echo "$as_me: failed program was:" >&5
34157 sed 's/^/| /' conftest.$ac_ext >&5
34159 wx_cv_lib_lesstif="no"
34162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34165 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34166 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34167 if test "$wx_cv_lib_lesstif" = "yes"; then
34168 cat >>confdefs.h <<\_ACEOF
34169 #define __WXLESSTIF__ 1
34173 cat >>confdefs.h <<\_ACEOF
34174 #define __WXLESSTIF__ 0
34179 CFLAGS=$save_CFLAGS
34181 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34186 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34187 if test "$wxUSE_LIBXPM" = "sys"; then
34188 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34189 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34192 for ac_dir in $SEARCH_LIB
34194 for ac_extension in a so sl dylib dll.a; do
34195 if test -f "$ac_dir/libXpm.$ac_extension"; then
34196 ac_find_libraries=$ac_dir
34202 if test "$ac_find_libraries" != "" ; then
34204 if test "$ac_find_libraries" = "default location"; then
34207 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34209 if test $result = 0; then
34212 ac_path_to_link=" -L$ac_find_libraries"
34216 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34217 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34218 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34220 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34221 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34222 if test "${wx_cv_x11_xpm_h+set}" = set; then
34223 echo $ECHO_N "(cached) $ECHO_C" >&6
34226 save_CFLAGS=$CFLAGS
34227 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34229 cat >conftest.$ac_ext <<_ACEOF
34232 cat confdefs.h >>conftest.$ac_ext
34233 cat >>conftest.$ac_ext <<_ACEOF
34234 /* end confdefs.h. */
34236 #include <X11/xpm.h>
34243 version = XpmLibraryVersion();
34249 rm -f conftest.$ac_objext
34250 if { (ac_try="$ac_compile"
34251 case "(($ac_try" in
34252 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34253 *) ac_try_echo
=$ac_try;;
34255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34256 (eval "$ac_compile") 2>conftest.er1
34258 grep -v '^ *+' conftest.er1
>conftest.err
34260 cat conftest.err
>&5
34261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34262 (exit $ac_status); } && {
34263 test -z "$ac_c_werror_flag" ||
34264 test ! -s conftest.err
34265 } && test -s conftest.
$ac_objext; then
34266 wx_cv_x11_xpm_h
=yes
34268 echo "$as_me: failed program was:" >&5
34269 sed 's/^/| /' conftest.
$ac_ext >&5
34275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34277 CFLAGS
=$save_CFLAGS
34281 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34282 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34284 if test $wx_cv_x11_xpm_h = "yes"; then
34285 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34286 cat >>confdefs.h
<<\_ACEOF
34287 #define wxHAVE_LIB_XPM 1
34291 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34292 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34298 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34299 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34300 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34301 echo $ECHO_N "(cached) $ECHO_C" >&6
34303 ac_check_lib_save_LIBS
=$LIBS
34304 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34305 cat >conftest.
$ac_ext <<_ACEOF
34308 cat confdefs.h
>>conftest.
$ac_ext
34309 cat >>conftest.
$ac_ext <<_ACEOF
34310 /* end confdefs.h. */
34312 /* Override any GCC internal prototype to avoid an error.
34313 Use char because int might match the return type of a GCC
34314 builtin and then its argument prototype would still apply. */
34318 char XShapeQueryExtension ();
34322 return XShapeQueryExtension ();
34327 rm -f conftest.
$ac_objext conftest
$ac_exeext
34328 if { (ac_try
="$ac_link"
34329 case "(($ac_try" in
34330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34331 *) ac_try_echo=$ac_try;;
34333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34334 (eval "$ac_link") 2>conftest.er1
34336 grep -v '^ *+' conftest.er1 >conftest.err
34338 cat conftest.err >&5
34339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34340 (exit $ac_status); } && {
34341 test -z "$ac_c_werror_flag" ||
34342 test ! -s conftest.err
34343 } && test -s conftest$ac_exeext &&
34344 $as_test_x conftest$ac_exeext; then
34345 ac_cv_lib_Xext_XShapeQueryExtension=yes
34347 echo "$as_me: failed program was:" >&5
34348 sed 's/^/| /' conftest.$ac_ext >&5
34350 ac_cv_lib_Xext_XShapeQueryExtension=no
34353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34354 conftest$ac_exeext conftest.$ac_ext
34355 LIBS=$ac_check_lib_save_LIBS
34357 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34358 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34359 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34361 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34367 if test "$wxHAVE_XEXT_LIB" = 1; then
34368 save_CFLAGS="$CFLAGS"
34369 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34371 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34372 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34373 cat >conftest.$ac_ext <<_ACEOF
34376 cat confdefs.h >>conftest.$ac_ext
34377 cat >>conftest.$ac_ext <<_ACEOF
34378 /* end confdefs.h. */
34380 #include <X11/Xlib.h>
34381 #include <X11/extensions/shape.h>
34387 int dummy1, dummy2;
34388 XShapeQueryExtension((Display*)NULL,
34389 (int*)NULL, (int*)NULL);
34395 rm -f conftest.$ac_objext
34396 if { (ac_try="$ac_compile"
34397 case "(($ac_try" in
34398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34399 *) ac_try_echo
=$ac_try;;
34401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34402 (eval "$ac_compile") 2>conftest.er1
34404 grep -v '^ *+' conftest.er1
>conftest.err
34406 cat conftest.err
>&5
34407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34408 (exit $ac_status); } && {
34409 test -z "$ac_c_werror_flag" ||
34410 test ! -s conftest.err
34411 } && test -s conftest.
$ac_objext; then
34413 cat >>confdefs.h
<<\_ACEOF
34414 #define HAVE_XSHAPE 1
34417 { echo "$as_me:$LINENO: result: found" >&5
34418 echo "${ECHO_T}found" >&6; }
34421 echo "$as_me: failed program was:" >&5
34422 sed 's/^/| /' conftest.
$ac_ext >&5
34425 { echo "$as_me:$LINENO: result: not found" >&5
34426 echo "${ECHO_T}not found" >&6; }
34430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34431 CFLAGS
="$save_CFLAGS"
34436 if test "$wxUSE_OSX_CARBON" = 1; then
34437 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34438 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34439 if test "$GCC" = yes; then
34440 { echo "$as_me:$LINENO: result: gcc" >&5
34441 echo "${ECHO_T}gcc" >&6; }
34442 CPPFLAGS_PASCAL
="-fpascal-strings"
34443 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34444 { echo "$as_me:$LINENO: result: xlc" >&5
34445 echo "${ECHO_T}xlc" >&6; }
34446 CPPFLAGS_PASCAL
="-qmacpstr"
34448 { echo "$as_me:$LINENO: result: none" >&5
34449 echo "${ECHO_T}none" >&6; }
34452 if test "x$wxUSE_UNIX" = "xyes"; then
34453 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34455 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34459 GUIDIST
=OSX_CARBON_DIST
34460 WXBASEPORT
="_carbon"
34462 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34465 if test "$wxUSE_OSX_COCOA" = 1; then
34467 GUIDIST
=OSX_COCOA_DIST
34469 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34472 if test "$wxUSE_OSX_IPHONE" = 1; then
34476 if test "$wxUSE_OLD_COCOA" = 1; then
34481 if test "$wxUSE_PM" = 1; then
34484 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34485 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34486 if test "${wx_cv_spbcdata+set}" = set; then
34487 echo $ECHO_N "(cached) $ECHO_C" >&6
34490 cat >conftest.
$ac_ext <<_ACEOF
34493 cat confdefs.h
>>conftest.
$ac_ext
34494 cat >>conftest.
$ac_ext <<_ACEOF
34495 /* end confdefs.h. */
34510 rm -f conftest.
$ac_objext
34511 if { (ac_try
="$ac_compile"
34512 case "(($ac_try" in
34513 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34514 *) ac_try_echo=$ac_try;;
34516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34517 (eval "$ac_compile") 2>conftest.er1
34519 grep -v '^ *+' conftest.er1 >conftest.err
34521 cat conftest.err >&5
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); } && {
34524 test -z "$ac_c_werror_flag" ||
34525 test ! -s conftest.err
34526 } && test -s conftest.$ac_objext; then
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.$ac_ext >&5
34536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34540 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34541 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34543 if test $wx_cv_spbcdata = "yes"; then
34544 cat >>confdefs.h <<\_ACEOF
34545 #define HAVE_SPBCDATA 1
34551 if test "$TOOLKIT" = "PM" ; then
34554 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34557 if test "$wxUSE_UNIVERSAL" = "yes"; then
34558 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34562 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34563 DISTDIR="wx\$(TOOLKIT)"
34569 if test "$USE_WIN32" = 1 ; then
34573 GUIDIST="BASE_DIST"
34579 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34580 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34581 wxUSE_UNICODE_UTF8=yes
34582 elif test "$USE_OS2" = 1 ; then
34583 wxUSE_UNICODE_UTF8=yes
34585 wxUSE_UNICODE_UTF8=no
34590 if test "$wxUSE_GUI" = "yes"; then
34591 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34593 for ac_header in X11/Xlib.h
34595 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34596 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34598 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34599 echo $ECHO_N "(cached) $ECHO_C" >&6
34601 cat >conftest.$ac_ext <<_ACEOF
34604 cat confdefs.h >>conftest.$ac_ext
34605 cat >>conftest.$ac_ext <<_ACEOF
34606 /* end confdefs.h. */
34609 #include <$ac_header>
34611 rm -f conftest.$ac_objext
34612 if { (ac_try="$ac_compile"
34613 case "(($ac_try" in
34614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34615 *) ac_try_echo
=$ac_try;;
34617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34618 (eval "$ac_compile") 2>conftest.er1
34620 grep -v '^ *+' conftest.er1
>conftest.err
34622 cat conftest.err
>&5
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); } && {
34625 test -z "$ac_c_werror_flag" ||
34626 test ! -s conftest.err
34627 } && test -s conftest.
$ac_objext; then
34628 eval "$as_ac_Header=yes"
34630 echo "$as_me: failed program was:" >&5
34631 sed 's/^/| /' conftest.
$ac_ext >&5
34633 eval "$as_ac_Header=no"
34636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34638 ac_res
=`eval echo '${'$as_ac_Header'}'`
34639 { echo "$as_me:$LINENO: result: $ac_res" >&5
34640 echo "${ECHO_T}$ac_res" >&6; }
34641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34642 cat >>confdefs.h
<<_ACEOF
34643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34651 for ac_header
in X
11/XKBlib.h
34653 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34654 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34656 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34657 echo $ECHO_N "(cached) $ECHO_C" >&6
34659 cat >conftest.
$ac_ext <<_ACEOF
34662 cat confdefs.h
>>conftest.
$ac_ext
34663 cat >>conftest.
$ac_ext <<_ACEOF
34664 /* end confdefs.h. */
34666 #if HAVE_X11_XLIB_H
34667 #include <X11/Xlib.h>
34671 #include <$ac_header>
34673 rm -f conftest.
$ac_objext
34674 if { (ac_try
="$ac_compile"
34675 case "(($ac_try" in
34676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34677 *) ac_try_echo=$ac_try;;
34679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34680 (eval "$ac_compile") 2>conftest.er1
34682 grep -v '^ *+' conftest.er1 >conftest.err
34684 cat conftest.err >&5
34685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34686 (exit $ac_status); } && {
34687 test -z "$ac_c_werror_flag" ||
34688 test ! -s conftest.err
34689 } && test -s conftest.$ac_objext; then
34690 eval "$as_ac_Header=yes"
34692 echo "$as_me: failed program was:" >&5
34693 sed 's/^/| /' conftest.$ac_ext >&5
34695 eval "$as_ac_Header=no"
34698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34700 ac_res=`eval echo '${'$as_ac_Header'}'`
34701 { echo "$as_me:$LINENO: result: $ac_res" >&5
34702 echo "${ECHO_T}$ac_res" >&6; }
34703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34704 cat >>confdefs.h <<_ACEOF
34705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34718 if test "$wxUSE_DISPLAY" = "yes"; then
34719 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34723 fl_pkgname=`echo "Xinerama" | tr [:upper
:] [:lower
:]`
34726 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34727 if test -n "$ac_tool_prefix"; then
34728 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34729 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34732 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34733 echo $ECHO_N "(cached) $ECHO_C" >&6
34735 case $PKG_CONFIG in
34737 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34741 for as_dir in $PATH
34744 test -z "$as_dir" && as_dir=.
34745 for ac_exec_ext in '' $ac_executable_extensions; do
34746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34747 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34758 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34759 if test -n "$PKG_CONFIG"; then
34760 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34761 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34763 { echo "$as_me:$LINENO: result: no" >&5
34764 echo "${ECHO_T}no" >&6; }
34769 if test -z "$ac_cv_path_PKG_CONFIG"; then
34770 ac_pt_PKG_CONFIG=$PKG_CONFIG
34771 # Extract the first word of "pkg-config", so it can be a program name with args.
34772 set dummy pkg-config; ac_word=$2
34773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34775 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34776 echo $ECHO_N "(cached) $ECHO_C" >&6
34778 case $ac_pt_PKG_CONFIG in
34780 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34784 for as_dir in $PATH
34787 test -z "$as_dir" && as_dir=.
34788 for ac_exec_ext in '' $ac_executable_extensions; do
34789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34790 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34801 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34802 if test -n "$ac_pt_PKG_CONFIG"; then
34803 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34804 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34806 { echo "$as_me:$LINENO: result: no" >&5
34807 echo "${ECHO_T}no" >&6; }
34810 if test "x$ac_pt_PKG_CONFIG" = x; then
34813 case $cross_compiling:$ac_tool_warned in
34815 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34816 whose name does not start with the host triplet. If you think this
34817 configuration is useful to you, please write to autoconf@gnu.org." >&5
34818 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34819 whose name does not start with the host triplet. If you think this
34820 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34821 ac_tool_warned=yes ;;
34823 PKG_CONFIG=$ac_pt_PKG_CONFIG
34826 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34830 if test -n "$PKG_CONFIG"; then
34831 _pkg_min_version=0.9.0
34832 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34833 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34834 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34835 { echo "$as_me:$LINENO: result: yes" >&5
34836 echo "${ECHO_T}yes" >&6; }
34838 { echo "$as_me:$LINENO: result: no" >&5
34839 echo "${ECHO_T}no" >&6; }
34846 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34847 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34849 if test -n "$PKG_CONFIG"; then
34850 if test -n "$Xinerama_CFLAGS"; then
34851 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
34853 if test -n "$PKG_CONFIG" && \
34854 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34855 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); }; then
34859 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev
/null
`
34867 if test -n "$PKG_CONFIG"; then
34868 if test -n "$Xinerama_LIBS"; then
34869 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
34871 if test -n "$PKG_CONFIG" && \
34872 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34873 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); }; then
34877 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev
/null
`
34888 if test $pkg_failed = yes; then
34890 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34891 _pkg_short_errors_supported=yes
34893 _pkg_short_errors_supported=no
34895 if test $_pkg_short_errors_supported = yes; then
34896 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
34898 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
34900 # Put the nasty error message in config.log where it belongs
34901 echo "$Xinerama_PKG_ERRORS" >&5
34904 if test "x$ac_find_libraries" = "x"; then
34905 if test "xXineramaQueryScreens" != "x"; then
34906 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34907 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34908 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34909 echo $ECHO_N "(cached) $ECHO_C" >&6
34911 ac_check_lib_save_LIBS=$LIBS
34912 LIBS="-lXinerama $LIBS"
34913 cat >conftest.$ac_ext <<_ACEOF
34916 cat confdefs.h >>conftest.$ac_ext
34917 cat >>conftest.$ac_ext <<_ACEOF
34918 /* end confdefs.h. */
34920 /* Override any GCC internal prototype to avoid an error.
34921 Use char because int might match the return type of a GCC
34922 builtin and then its argument prototype would still apply. */
34926 char XineramaQueryScreens ();
34930 return XineramaQueryScreens ();
34935 rm -f conftest.$ac_objext conftest$ac_exeext
34936 if { (ac_try="$ac_link"
34937 case "(($ac_try" in
34938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34939 *) ac_try_echo
=$ac_try;;
34941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34942 (eval "$ac_link") 2>conftest.er1
34944 grep -v '^ *+' conftest.er1
>conftest.err
34946 cat conftest.err
>&5
34947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34948 (exit $ac_status); } && {
34949 test -z "$ac_c_werror_flag" ||
34950 test ! -s conftest.err
34951 } && test -s conftest
$ac_exeext &&
34952 $as_test_x conftest
$ac_exeext; then
34953 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
34955 echo "$as_me: failed program was:" >&5
34956 sed 's/^/| /' conftest.
$ac_ext >&5
34958 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
34961 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34962 conftest
$ac_exeext conftest.
$ac_ext
34963 LIBS
=$ac_check_lib_save_LIBS
34965 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34966 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34967 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34968 ac_find_libraries
="std"
34974 if test "x$ac_find_libraries" = "x"; then
34975 { echo "$as_me:$LINENO: checking elsewhere" >&5
34976 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34979 for ac_dir
in $SEARCH_LIB
34981 for ac_extension
in a so sl dylib dll.a
; do
34982 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34983 ac_find_libraries
=$ac_dir
34989 if test "x$ac_find_libraries" != "x"; then
34990 { echo "$as_me:$LINENO: result: yes" >&5
34991 echo "${ECHO_T}yes" >&6; }
34993 { echo "$as_me:$LINENO: result: no" >&5
34994 echo "${ECHO_T}no" >&6; }
34998 elif test $pkg_failed = untried
; then
35000 if test "x$ac_find_libraries" = "x"; then
35001 if test "xXineramaQueryScreens" != "x"; then
35002 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
35003 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
35004 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
35005 echo $ECHO_N "(cached) $ECHO_C" >&6
35007 ac_check_lib_save_LIBS
=$LIBS
35008 LIBS
="-lXinerama $LIBS"
35009 cat >conftest.
$ac_ext <<_ACEOF
35012 cat confdefs.h
>>conftest.
$ac_ext
35013 cat >>conftest.
$ac_ext <<_ACEOF
35014 /* end confdefs.h. */
35016 /* Override any GCC internal prototype to avoid an error.
35017 Use char because int might match the return type of a GCC
35018 builtin and then its argument prototype would still apply. */
35022 char XineramaQueryScreens ();
35026 return XineramaQueryScreens ();
35031 rm -f conftest.
$ac_objext conftest
$ac_exeext
35032 if { (ac_try
="$ac_link"
35033 case "(($ac_try" in
35034 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35035 *) ac_try_echo=$ac_try;;
35037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35038 (eval "$ac_link") 2>conftest.er1
35040 grep -v '^ *+' conftest.er1 >conftest.err
35042 cat conftest.err >&5
35043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044 (exit $ac_status); } && {
35045 test -z "$ac_c_werror_flag" ||
35046 test ! -s conftest.err
35047 } && test -s conftest$ac_exeext &&
35048 $as_test_x conftest$ac_exeext; then
35049 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
35051 echo "$as_me: failed program was:" >&5
35052 sed 's/^/| /' conftest.$ac_ext >&5
35054 ac_cv_lib_Xinerama_XineramaQueryScreens=no
35057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35058 conftest$ac_exeext conftest.$ac_ext
35059 LIBS=$ac_check_lib_save_LIBS
35061 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
35062 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
35063 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
35064 ac_find_libraries="std"
35070 if test "x$ac_find_libraries" = "x"; then
35071 { echo "$as_me:$LINENO: checking elsewhere" >&5
35072 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35075 for ac_dir in $SEARCH_LIB
35077 for ac_extension in a so sl dylib dll.a; do
35078 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35079 ac_find_libraries=$ac_dir
35085 if test "x$ac_find_libraries" != "x"; then
35086 { echo "$as_me:$LINENO: result: yes" >&5
35087 echo "${ECHO_T}yes" >&6; }
35089 { echo "$as_me:$LINENO: result: no" >&5
35090 echo "${ECHO_T}no" >&6; }
35095 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
35096 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
35097 { echo "$as_me:$LINENO: result: yes" >&5
35098 echo "${ECHO_T}yes" >&6; }
35100 ac_find_libraries="std"
35102 eval ac_find_cflags=\$Xinerama_CFLAGS
35103 eval fl_libs=\$Xinerama_LIBS
35105 for fl_path in $fl_libs
35107 if test `echo "$fl_path" | cut
-c 1-2` = "-L"; then
35108 ac_find_libraries=`echo "$fl_path" | cut
-c 3-`
35114 if test "$ac_find_libraries" != "" ; then
35115 if test "$ac_find_libraries" != "std" ; then
35117 if test "$ac_find_libraries" = "default location"; then
35120 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35122 if test $result = 0; then
35125 ac_path_to_link=" -L$ac_find_libraries"
35129 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35130 LDFLAGS="$LDFLAGS $ac_path_to_link"
35134 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35136 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35137 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35140 elif test "$wxUSE_MSW" = 1; then
35141 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35142 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35143 if test "${ac_cv_header_ddraw_h+set}" = set; then
35144 echo $ECHO_N "(cached) $ECHO_C" >&6
35146 cat >conftest.$ac_ext <<_ACEOF
35149 cat confdefs.h >>conftest.$ac_ext
35150 cat >>conftest.$ac_ext <<_ACEOF
35151 /* end confdefs.h. */
35152 #include <windows.h>
35156 rm -f conftest.$ac_objext
35157 if { (ac_try="$ac_compile"
35158 case "(($ac_try" in
35159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35160 *) ac_try_echo
=$ac_try;;
35162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35163 (eval "$ac_compile") 2>conftest.er1
35165 grep -v '^ *+' conftest.er1
>conftest.err
35167 cat conftest.err
>&5
35168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35169 (exit $ac_status); } && {
35170 test -z "$ac_c_werror_flag" ||
35171 test ! -s conftest.err
35172 } && test -s conftest.
$ac_objext; then
35173 ac_cv_header_ddraw_h
=yes
35175 echo "$as_me: failed program was:" >&5
35176 sed 's/^/| /' conftest.
$ac_ext >&5
35178 ac_cv_header_ddraw_h
=no
35181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35183 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35184 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35190 if test "$wxUSE_DISPLAY" = "yes"; then
35191 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
35195 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
35198 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35199 if test -n "$ac_tool_prefix"; then
35200 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35201 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
35202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35204 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35205 echo $ECHO_N "(cached) $ECHO_C" >&6
35207 case $PKG_CONFIG in
35209 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
35212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35213 for as_dir
in $PATH
35216 test -z "$as_dir" && as_dir
=.
35217 for ac_exec_ext
in '' $ac_executable_extensions; do
35218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35219 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35230 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
35231 if test -n "$PKG_CONFIG"; then
35232 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35233 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35235 { echo "$as_me:$LINENO: result: no" >&5
35236 echo "${ECHO_T}no" >&6; }
35241 if test -z "$ac_cv_path_PKG_CONFIG"; then
35242 ac_pt_PKG_CONFIG
=$PKG_CONFIG
35243 # Extract the first word of "pkg-config", so it can be a program name with args.
35244 set dummy pkg
-config; ac_word
=$2
35245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35247 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35248 echo $ECHO_N "(cached) $ECHO_C" >&6
35250 case $ac_pt_PKG_CONFIG in
35252 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35256 for as_dir
in $PATH
35259 test -z "$as_dir" && as_dir
=.
35260 for ac_exec_ext
in '' $ac_executable_extensions; do
35261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35262 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35273 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
35274 if test -n "$ac_pt_PKG_CONFIG"; then
35275 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35276 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35278 { echo "$as_me:$LINENO: result: no" >&5
35279 echo "${ECHO_T}no" >&6; }
35282 if test "x$ac_pt_PKG_CONFIG" = x
; then
35285 case $cross_compiling:$ac_tool_warned in
35287 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35288 whose name does not start with the host triplet. If you think this
35289 configuration is useful to you, please write to autoconf@gnu.org." >&5
35290 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35291 whose name does not start with the host triplet. If you think this
35292 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35293 ac_tool_warned
=yes ;;
35295 PKG_CONFIG
=$ac_pt_PKG_CONFIG
35298 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
35302 if test -n "$PKG_CONFIG"; then
35303 _pkg_min_version
=0.9.0
35304 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35305 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35306 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35307 { echo "$as_me:$LINENO: result: yes" >&5
35308 echo "${ECHO_T}yes" >&6; }
35310 { echo "$as_me:$LINENO: result: no" >&5
35311 echo "${ECHO_T}no" >&6; }
35318 { echo "$as_me:$LINENO: checking for Xxf86vm" >&5
35319 echo $ECHO_N "checking for Xxf86vm... $ECHO_C" >&6; }
35321 if test -n "$PKG_CONFIG"; then
35322 if test -n "$Xxf86vm_CFLAGS"; then
35323 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
35325 if test -n "$PKG_CONFIG" && \
35326 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35327 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35330 (exit $ac_status); }; then
35331 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35339 if test -n "$PKG_CONFIG"; then
35340 if test -n "$Xxf86vm_LIBS"; then
35341 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
35343 if test -n "$PKG_CONFIG" && \
35344 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35345 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35348 (exit $ac_status); }; then
35349 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35360 if test $pkg_failed = yes; then
35362 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35363 _pkg_short_errors_supported
=yes
35365 _pkg_short_errors_supported
=no
35367 if test $_pkg_short_errors_supported = yes; then
35368 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35370 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35372 # Put the nasty error message in config.log where it belongs
35373 echo "$Xxf86vm_PKG_ERRORS" >&5
35376 if test "x$ac_find_libraries" = "x"; then
35377 if test "xXF86VidModeQueryExtension" != "x"; then
35378 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35379 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35380 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35381 echo $ECHO_N "(cached) $ECHO_C" >&6
35383 ac_check_lib_save_LIBS
=$LIBS
35384 LIBS
="-lXxf86vm $LIBS"
35385 cat >conftest.
$ac_ext <<_ACEOF
35388 cat confdefs.h
>>conftest.
$ac_ext
35389 cat >>conftest.
$ac_ext <<_ACEOF
35390 /* end confdefs.h. */
35392 /* Override any GCC internal prototype to avoid an error.
35393 Use char because int might match the return type of a GCC
35394 builtin and then its argument prototype would still apply. */
35398 char XF86VidModeQueryExtension ();
35402 return XF86VidModeQueryExtension ();
35407 rm -f conftest.
$ac_objext conftest
$ac_exeext
35408 if { (ac_try
="$ac_link"
35409 case "(($ac_try" in
35410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35411 *) ac_try_echo=$ac_try;;
35413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35414 (eval "$ac_link") 2>conftest.er1
35416 grep -v '^ *+' conftest.er1 >conftest.err
35418 cat conftest.err >&5
35419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35420 (exit $ac_status); } && {
35421 test -z "$ac_c_werror_flag" ||
35422 test ! -s conftest.err
35423 } && test -s conftest$ac_exeext &&
35424 $as_test_x conftest$ac_exeext; then
35425 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35427 echo "$as_me: failed program was:" >&5
35428 sed 's/^/| /' conftest.$ac_ext >&5
35430 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35434 conftest$ac_exeext conftest.$ac_ext
35435 LIBS=$ac_check_lib_save_LIBS
35437 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35438 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35439 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35440 ac_find_libraries="std"
35446 if test "x$ac_find_libraries" = "x"; then
35447 { echo "$as_me:$LINENO: checking elsewhere" >&5
35448 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35451 for ac_dir in $SEARCH_LIB
35453 for ac_extension in a so sl dylib dll.a; do
35454 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35455 ac_find_libraries=$ac_dir
35461 if test "x$ac_find_libraries" != "x"; then
35462 { echo "$as_me:$LINENO: result: yes" >&5
35463 echo "${ECHO_T}yes" >&6; }
35465 { echo "$as_me:$LINENO: result: no" >&5
35466 echo "${ECHO_T}no" >&6; }
35470 elif test $pkg_failed = untried; then
35472 if test "x$ac_find_libraries" = "x"; then
35473 if test "xXF86VidModeQueryExtension" != "x"; then
35474 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35475 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35476 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35477 echo $ECHO_N "(cached) $ECHO_C" >&6
35479 ac_check_lib_save_LIBS=$LIBS
35480 LIBS="-lXxf86vm $LIBS"
35481 cat >conftest.$ac_ext <<_ACEOF
35484 cat confdefs.h >>conftest.$ac_ext
35485 cat >>conftest.$ac_ext <<_ACEOF
35486 /* end confdefs.h. */
35488 /* Override any GCC internal prototype to avoid an error.
35489 Use char because int might match the return type of a GCC
35490 builtin and then its argument prototype would still apply. */
35494 char XF86VidModeQueryExtension ();
35498 return XF86VidModeQueryExtension ();
35503 rm -f conftest.$ac_objext conftest$ac_exeext
35504 if { (ac_try="$ac_link"
35505 case "(($ac_try" in
35506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35507 *) ac_try_echo
=$ac_try;;
35509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35510 (eval "$ac_link") 2>conftest.er1
35512 grep -v '^ *+' conftest.er1
>conftest.err
35514 cat conftest.err
>&5
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); } && {
35517 test -z "$ac_c_werror_flag" ||
35518 test ! -s conftest.err
35519 } && test -s conftest
$ac_exeext &&
35520 $as_test_x conftest
$ac_exeext; then
35521 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
35523 echo "$as_me: failed program was:" >&5
35524 sed 's/^/| /' conftest.
$ac_ext >&5
35526 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
35529 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35530 conftest
$ac_exeext conftest.
$ac_ext
35531 LIBS
=$ac_check_lib_save_LIBS
35533 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35534 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35535 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35536 ac_find_libraries
="std"
35542 if test "x$ac_find_libraries" = "x"; then
35543 { echo "$as_me:$LINENO: checking elsewhere" >&5
35544 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35547 for ac_dir
in $SEARCH_LIB
35549 for ac_extension
in a so sl dylib dll.a
; do
35550 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35551 ac_find_libraries
=$ac_dir
35557 if test "x$ac_find_libraries" != "x"; then
35558 { echo "$as_me:$LINENO: result: yes" >&5
35559 echo "${ECHO_T}yes" >&6; }
35561 { echo "$as_me:$LINENO: result: no" >&5
35562 echo "${ECHO_T}no" >&6; }
35567 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
35568 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
35569 { echo "$as_me:$LINENO: result: yes" >&5
35570 echo "${ECHO_T}yes" >&6; }
35572 ac_find_libraries
="std"
35574 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
35575 eval fl_libs
=\
$Xxf86vm_LIBS
35577 for fl_path
in $fl_libs
35579 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35580 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
35586 if test "$ac_find_libraries" != "" ; then
35588 for ac_header
in X
11/extensions
/xf86vmode.h
35590 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35593 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35594 echo $ECHO_N "(cached) $ECHO_C" >&6
35596 cat >conftest.
$ac_ext <<_ACEOF
35599 cat confdefs.h
>>conftest.
$ac_ext
35600 cat >>conftest.
$ac_ext <<_ACEOF
35601 /* end confdefs.h. */
35603 #if HAVE_X11_XLIB_H
35604 #include <X11/Xlib.h>
35608 #include <$ac_header>
35610 rm -f conftest.
$ac_objext
35611 if { (ac_try
="$ac_compile"
35612 case "(($ac_try" in
35613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35614 *) ac_try_echo=$ac_try;;
35616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35617 (eval "$ac_compile") 2>conftest.er1
35619 grep -v '^ *+' conftest.er1 >conftest.err
35621 cat conftest.err >&5
35622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35623 (exit $ac_status); } && {
35624 test -z "$ac_c_werror_flag" ||
35625 test ! -s conftest.err
35626 } && test -s conftest.$ac_objext; then
35627 eval "$as_ac_Header=yes"
35629 echo "$as_me: failed program was:" >&5
35630 sed 's/^/| /' conftest.$ac_ext >&5
35632 eval "$as_ac_Header=no"
35635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35637 ac_res=`eval echo '${'$as_ac_Header'}'`
35638 { echo "$as_me:$LINENO: result: $ac_res" >&5
35639 echo "${ECHO_T}$ac_res" >&6; }
35640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35641 cat >>confdefs.h <<_ACEOF
35642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35645 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35655 if test "$wxUSE_DETECT_SM" = "yes"; then
35656 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
35660 fl_pkgname=`echo "SM" | tr [:upper
:] [:lower
:]`
35663 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35664 if test -n "$ac_tool_prefix"; then
35665 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35666 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35669 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35670 echo $ECHO_N "(cached) $ECHO_C" >&6
35672 case $PKG_CONFIG in
35674 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35678 for as_dir in $PATH
35681 test -z "$as_dir" && as_dir=.
35682 for ac_exec_ext in '' $ac_executable_extensions; do
35683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35684 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35695 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35696 if test -n "$PKG_CONFIG"; then
35697 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35698 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35700 { echo "$as_me:$LINENO: result: no" >&5
35701 echo "${ECHO_T}no" >&6; }
35706 if test -z "$ac_cv_path_PKG_CONFIG"; then
35707 ac_pt_PKG_CONFIG=$PKG_CONFIG
35708 # Extract the first word of "pkg-config", so it can be a program name with args.
35709 set dummy pkg-config; ac_word=$2
35710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35712 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35713 echo $ECHO_N "(cached) $ECHO_C" >&6
35715 case $ac_pt_PKG_CONFIG in
35717 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35721 for as_dir in $PATH
35724 test -z "$as_dir" && as_dir=.
35725 for ac_exec_ext in '' $ac_executable_extensions; do
35726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35727 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35738 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35739 if test -n "$ac_pt_PKG_CONFIG"; then
35740 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35741 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35743 { echo "$as_me:$LINENO: result: no" >&5
35744 echo "${ECHO_T}no" >&6; }
35747 if test "x$ac_pt_PKG_CONFIG" = x; then
35750 case $cross_compiling:$ac_tool_warned in
35752 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35753 whose name does not start with the host triplet. If you think this
35754 configuration is useful to you, please write to autoconf@gnu.org." >&5
35755 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35756 whose name does not start with the host triplet. If you think this
35757 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35758 ac_tool_warned=yes ;;
35760 PKG_CONFIG=$ac_pt_PKG_CONFIG
35763 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35767 if test -n "$PKG_CONFIG"; then
35768 _pkg_min_version=0.9.0
35769 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35770 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35771 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35772 { echo "$as_me:$LINENO: result: yes" >&5
35773 echo "${ECHO_T}yes" >&6; }
35775 { echo "$as_me:$LINENO: result: no" >&5
35776 echo "${ECHO_T}no" >&6; }
35783 { echo "$as_me:$LINENO: checking for SM" >&5
35784 echo $ECHO_N "checking for SM... $ECHO_C" >&6; }
35786 if test -n "$PKG_CONFIG"; then
35787 if test -n "$SM_CFLAGS"; then
35788 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
35790 if test -n "$PKG_CONFIG" && \
35791 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35792 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); }; then
35796 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev
/null
`
35804 if test -n "$PKG_CONFIG"; then
35805 if test -n "$SM_LIBS"; then
35806 pkg_cv_SM_LIBS="$SM_LIBS"
35808 if test -n "$PKG_CONFIG" && \
35809 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35810 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35813 (exit $ac_status); }; then
35814 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev
/null
`
35825 if test $pkg_failed = yes; then
35827 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35828 _pkg_short_errors_supported=yes
35830 _pkg_short_errors_supported=no
35832 if test $_pkg_short_errors_supported = yes; then
35833 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35835 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35837 # Put the nasty error message in config.log where it belongs
35838 echo "$SM_PKG_ERRORS" >&5
35841 if test "x$ac_find_libraries" = "x"; then
35842 if test "xSmcOpenConnection" != "x"; then
35843 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35844 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35845 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35846 echo $ECHO_N "(cached) $ECHO_C" >&6
35848 ac_check_lib_save_LIBS=$LIBS
35850 cat >conftest.$ac_ext <<_ACEOF
35853 cat confdefs.h >>conftest.$ac_ext
35854 cat >>conftest.$ac_ext <<_ACEOF
35855 /* end confdefs.h. */
35857 /* Override any GCC internal prototype to avoid an error.
35858 Use char because int might match the return type of a GCC
35859 builtin and then its argument prototype would still apply. */
35863 char SmcOpenConnection ();
35867 return SmcOpenConnection ();
35872 rm -f conftest.$ac_objext conftest$ac_exeext
35873 if { (ac_try="$ac_link"
35874 case "(($ac_try" in
35875 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35876 *) ac_try_echo
=$ac_try;;
35878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35879 (eval "$ac_link") 2>conftest.er1
35881 grep -v '^ *+' conftest.er1
>conftest.err
35883 cat conftest.err
>&5
35884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35885 (exit $ac_status); } && {
35886 test -z "$ac_c_werror_flag" ||
35887 test ! -s conftest.err
35888 } && test -s conftest
$ac_exeext &&
35889 $as_test_x conftest
$ac_exeext; then
35890 ac_cv_lib_SM_SmcOpenConnection
=yes
35892 echo "$as_me: failed program was:" >&5
35893 sed 's/^/| /' conftest.
$ac_ext >&5
35895 ac_cv_lib_SM_SmcOpenConnection
=no
35898 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35899 conftest
$ac_exeext conftest.
$ac_ext
35900 LIBS
=$ac_check_lib_save_LIBS
35902 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35903 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35904 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35905 ac_find_libraries
="std"
35911 if test "x$ac_find_libraries" = "x"; then
35912 { echo "$as_me:$LINENO: checking elsewhere" >&5
35913 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35916 for ac_dir
in $SEARCH_LIB
35918 for ac_extension
in a so sl dylib dll.a
; do
35919 if test -f "$ac_dir/libSM.$ac_extension"; then
35920 ac_find_libraries
=$ac_dir
35926 if test "x$ac_find_libraries" != "x"; then
35927 { echo "$as_me:$LINENO: result: yes" >&5
35928 echo "${ECHO_T}yes" >&6; }
35930 { echo "$as_me:$LINENO: result: no" >&5
35931 echo "${ECHO_T}no" >&6; }
35935 elif test $pkg_failed = untried
; then
35937 if test "x$ac_find_libraries" = "x"; then
35938 if test "xSmcOpenConnection" != "x"; then
35939 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35940 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35941 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35942 echo $ECHO_N "(cached) $ECHO_C" >&6
35944 ac_check_lib_save_LIBS
=$LIBS
35946 cat >conftest.
$ac_ext <<_ACEOF
35949 cat confdefs.h
>>conftest.
$ac_ext
35950 cat >>conftest.
$ac_ext <<_ACEOF
35951 /* end confdefs.h. */
35953 /* Override any GCC internal prototype to avoid an error.
35954 Use char because int might match the return type of a GCC
35955 builtin and then its argument prototype would still apply. */
35959 char SmcOpenConnection ();
35963 return SmcOpenConnection ();
35968 rm -f conftest.
$ac_objext conftest
$ac_exeext
35969 if { (ac_try
="$ac_link"
35970 case "(($ac_try" in
35971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35972 *) ac_try_echo=$ac_try;;
35974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35975 (eval "$ac_link") 2>conftest.er1
35977 grep -v '^ *+' conftest.er1 >conftest.err
35979 cat conftest.err >&5
35980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35981 (exit $ac_status); } && {
35982 test -z "$ac_c_werror_flag" ||
35983 test ! -s conftest.err
35984 } && test -s conftest$ac_exeext &&
35985 $as_test_x conftest$ac_exeext; then
35986 ac_cv_lib_SM_SmcOpenConnection=yes
35988 echo "$as_me: failed program was:" >&5
35989 sed 's/^/| /' conftest.$ac_ext >&5
35991 ac_cv_lib_SM_SmcOpenConnection=no
35994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35995 conftest$ac_exeext conftest.$ac_ext
35996 LIBS=$ac_check_lib_save_LIBS
35998 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35999 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
36000 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
36001 ac_find_libraries="std"
36007 if test "x$ac_find_libraries" = "x"; then
36008 { echo "$as_me:$LINENO: checking elsewhere" >&5
36009 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36012 for ac_dir in $SEARCH_LIB
36014 for ac_extension in a so sl dylib dll.a; do
36015 if test -f "$ac_dir/libSM.$ac_extension"; then
36016 ac_find_libraries=$ac_dir
36022 if test "x$ac_find_libraries" != "x"; then
36023 { echo "$as_me:$LINENO: result: yes" >&5
36024 echo "${ECHO_T}yes" >&6; }
36026 { echo "$as_me:$LINENO: result: no" >&5
36027 echo "${ECHO_T}no" >&6; }
36032 SM_CFLAGS=$pkg_cv_SM_CFLAGS
36033 SM_LIBS=$pkg_cv_SM_LIBS
36034 { echo "$as_me:$LINENO: result: yes" >&5
36035 echo "${ECHO_T}yes" >&6; }
36037 ac_find_libraries="std"
36039 eval ac_find_cflags=\$SM_CFLAGS
36040 eval fl_libs=\$SM_LIBS
36042 for fl_path in $fl_libs
36044 if test `echo "$fl_path" | cut
-c 1-2` = "-L"; then
36045 ac_find_libraries=`echo "$fl_path" | cut
-c 3-`
36051 if test "$ac_find_libraries" != "" ; then
36052 if test "$ac_find_libraries" != "std" ; then
36054 if test "$ac_find_libraries" = "default location"; then
36057 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36059 if test $result = 0; then
36062 ac_path_to_link=" -L$ac_find_libraries"
36066 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36067 LDFLAGS="$LDFLAGS $ac_path_to_link"
36070 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
36072 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
36073 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
36074 wxUSE_DETECT_SM="no"
36077 wxUSE_DETECT_SM="no"
36084 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
36087 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36088 OPENGL_LIBS="-framework OpenGL -framework AGL"
36089 elif test "$wxUSE_MSW" = 1; then
36090 OPENGL_LIBS="-lopengl32 -lglu32"
36091 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
36093 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
36094 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
36097 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
36099 if test -f "$ac_dir/GL/gl.h"; then
36100 ac_find_includes=$ac_dir
36105 if test "$ac_find_includes" != "" ; then
36106 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
36107 echo "${ECHO_T}found in $ac_find_includes" >&6; }
36109 if test "x$ac_find_includes" = "x/usr/include"; then
36110 ac_path_to_include=""
36112 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
36114 if test $result = 0; then
36115 ac_path_to_include=""
36117 ac_path_to_include=" -I$ac_find_includes"
36121 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
36123 { echo "$as_me:$LINENO: result: not found" >&5
36124 echo "${ECHO_T}not found" >&6; }
36127 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
36128 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
36129 if test "${ac_cv_header_GL_gl_h+set}" = set; then
36130 echo $ECHO_N "(cached) $ECHO_C" >&6
36132 cat >conftest.$ac_ext <<_ACEOF
36135 cat confdefs.h >>conftest.$ac_ext
36136 cat >>conftest.$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36142 rm -f conftest.$ac_objext
36143 if { (ac_try="$ac_compile"
36144 case "(($ac_try" in
36145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36146 *) ac_try_echo
=$ac_try;;
36148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36149 (eval "$ac_compile") 2>conftest.er1
36151 grep -v '^ *+' conftest.er1
>conftest.err
36153 cat conftest.err
>&5
36154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36155 (exit $ac_status); } && {
36156 test -z "$ac_c_werror_flag" ||
36157 test ! -s conftest.err
36158 } && test -s conftest.
$ac_objext; then
36159 ac_cv_header_GL_gl_h
=yes
36161 echo "$as_me: failed program was:" >&5
36162 sed 's/^/| /' conftest.
$ac_ext >&5
36164 ac_cv_header_GL_gl_h
=no
36167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36169 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36170 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36171 if test $ac_cv_header_GL_gl_h = yes; then
36173 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36174 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36175 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36176 echo $ECHO_N "(cached) $ECHO_C" >&6
36178 cat >conftest.
$ac_ext <<_ACEOF
36181 cat confdefs.h
>>conftest.
$ac_ext
36182 cat >>conftest.
$ac_ext <<_ACEOF
36183 /* end confdefs.h. */
36186 #include <GL/glu.h>
36188 rm -f conftest.
$ac_objext
36189 if { (ac_try
="$ac_compile"
36190 case "(($ac_try" in
36191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36192 *) ac_try_echo=$ac_try;;
36194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36195 (eval "$ac_compile") 2>conftest.er1
36197 grep -v '^ *+' conftest.er1 >conftest.err
36199 cat conftest.err >&5
36200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36201 (exit $ac_status); } && {
36202 test -z "$ac_c_werror_flag" ||
36203 test ! -s conftest.err
36204 } && test -s conftest.$ac_objext; then
36205 ac_cv_header_GL_glu_h=yes
36207 echo "$as_me: failed program was:" >&5
36208 sed 's/^/| /' conftest.$ac_ext >&5
36210 ac_cv_header_GL_glu_h=no
36213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36215 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36216 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36217 if test $ac_cv_header_GL_glu_h = yes; then
36224 fl_pkgname=`echo "GL" | tr [:upper
:] [:lower
:]`
36227 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36228 if test -n "$ac_tool_prefix"; then
36229 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36230 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36233 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36234 echo $ECHO_N "(cached) $ECHO_C" >&6
36236 case $PKG_CONFIG in
36238 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36242 for as_dir in $PATH
36245 test -z "$as_dir" && as_dir=.
36246 for ac_exec_ext in '' $ac_executable_extensions; do
36247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36248 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36259 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36260 if test -n "$PKG_CONFIG"; then
36261 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36262 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36264 { echo "$as_me:$LINENO: result: no" >&5
36265 echo "${ECHO_T}no" >&6; }
36270 if test -z "$ac_cv_path_PKG_CONFIG"; then
36271 ac_pt_PKG_CONFIG=$PKG_CONFIG
36272 # Extract the first word of "pkg-config", so it can be a program name with args.
36273 set dummy pkg-config; ac_word=$2
36274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36276 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36277 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 case $ac_pt_PKG_CONFIG in
36281 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36285 for as_dir in $PATH
36288 test -z "$as_dir" && as_dir=.
36289 for ac_exec_ext in '' $ac_executable_extensions; do
36290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36291 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36302 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36303 if test -n "$ac_pt_PKG_CONFIG"; then
36304 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36305 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36307 { echo "$as_me:$LINENO: result: no" >&5
36308 echo "${ECHO_T}no" >&6; }
36311 if test "x$ac_pt_PKG_CONFIG" = x; then
36314 case $cross_compiling:$ac_tool_warned in
36316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36317 whose name does not start with the host triplet. If you think this
36318 configuration is useful to you, please write to autoconf@gnu.org." >&5
36319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36320 whose name does not start with the host triplet. If you think this
36321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36322 ac_tool_warned=yes ;;
36324 PKG_CONFIG=$ac_pt_PKG_CONFIG
36327 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36331 if test -n "$PKG_CONFIG"; then
36332 _pkg_min_version=0.9.0
36333 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36334 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36335 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36336 { echo "$as_me:$LINENO: result: yes" >&5
36337 echo "${ECHO_T}yes" >&6; }
36339 { echo "$as_me:$LINENO: result: no" >&5
36340 echo "${ECHO_T}no" >&6; }
36347 { echo "$as_me:$LINENO: checking for GL" >&5
36348 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
36350 if test -n "$PKG_CONFIG"; then
36351 if test -n "$GL_CFLAGS"; then
36352 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
36354 if test -n "$PKG_CONFIG" && \
36355 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36356 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); }; then
36360 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev
/null
`
36368 if test -n "$PKG_CONFIG"; then
36369 if test -n "$GL_LIBS"; then
36370 pkg_cv_GL_LIBS="$GL_LIBS"
36372 if test -n "$PKG_CONFIG" && \
36373 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36374 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36377 (exit $ac_status); }; then
36378 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev
/null
`
36389 if test $pkg_failed = yes; then
36391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36392 _pkg_short_errors_supported=yes
36394 _pkg_short_errors_supported=no
36396 if test $_pkg_short_errors_supported = yes; then
36397 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36399 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36401 # Put the nasty error message in config.log where it belongs
36402 echo "$GL_PKG_ERRORS" >&5
36405 if test "x$ac_find_libraries" = "x"; then
36406 if test "xglBegin" != "x"; then
36407 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36408 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36409 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36410 echo $ECHO_N "(cached) $ECHO_C" >&6
36412 ac_check_lib_save_LIBS=$LIBS
36414 cat >conftest.$ac_ext <<_ACEOF
36417 cat confdefs.h >>conftest.$ac_ext
36418 cat >>conftest.$ac_ext <<_ACEOF
36419 /* end confdefs.h. */
36421 /* Override any GCC internal prototype to avoid an error.
36422 Use char because int might match the return type of a GCC
36423 builtin and then its argument prototype would still apply. */
36436 rm -f conftest.$ac_objext conftest$ac_exeext
36437 if { (ac_try="$ac_link"
36438 case "(($ac_try" in
36439 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36440 *) ac_try_echo
=$ac_try;;
36442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36443 (eval "$ac_link") 2>conftest.er1
36445 grep -v '^ *+' conftest.er1
>conftest.err
36447 cat conftest.err
>&5
36448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36449 (exit $ac_status); } && {
36450 test -z "$ac_c_werror_flag" ||
36451 test ! -s conftest.err
36452 } && test -s conftest
$ac_exeext &&
36453 $as_test_x conftest
$ac_exeext; then
36454 ac_cv_lib_GL_glBegin
=yes
36456 echo "$as_me: failed program was:" >&5
36457 sed 's/^/| /' conftest.
$ac_ext >&5
36459 ac_cv_lib_GL_glBegin
=no
36462 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36463 conftest
$ac_exeext conftest.
$ac_ext
36464 LIBS
=$ac_check_lib_save_LIBS
36466 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36467 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36468 if test $ac_cv_lib_GL_glBegin = yes; then
36469 ac_find_libraries
="std"
36475 if test "x$ac_find_libraries" = "x"; then
36476 { echo "$as_me:$LINENO: checking elsewhere" >&5
36477 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36480 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
36482 for ac_extension
in a so sl dylib dll.a
; do
36483 if test -f "$ac_dir/libGL.$ac_extension"; then
36484 ac_find_libraries
=$ac_dir
36490 if test "x$ac_find_libraries" != "x"; then
36491 { echo "$as_me:$LINENO: result: yes" >&5
36492 echo "${ECHO_T}yes" >&6; }
36494 { echo "$as_me:$LINENO: result: no" >&5
36495 echo "${ECHO_T}no" >&6; }
36499 elif test $pkg_failed = untried
; then
36501 if test "x$ac_find_libraries" = "x"; then
36502 if test "xglBegin" != "x"; then
36503 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36504 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36505 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36506 echo $ECHO_N "(cached) $ECHO_C" >&6
36508 ac_check_lib_save_LIBS
=$LIBS
36510 cat >conftest.
$ac_ext <<_ACEOF
36513 cat confdefs.h
>>conftest.
$ac_ext
36514 cat >>conftest.
$ac_ext <<_ACEOF
36515 /* end confdefs.h. */
36517 /* Override any GCC internal prototype to avoid an error.
36518 Use char because int might match the return type of a GCC
36519 builtin and then its argument prototype would still apply. */
36532 rm -f conftest.
$ac_objext conftest
$ac_exeext
36533 if { (ac_try
="$ac_link"
36534 case "(($ac_try" in
36535 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36536 *) ac_try_echo=$ac_try;;
36538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36539 (eval "$ac_link") 2>conftest.er1
36541 grep -v '^ *+' conftest.er1 >conftest.err
36543 cat conftest.err >&5
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); } && {
36546 test -z "$ac_c_werror_flag" ||
36547 test ! -s conftest.err
36548 } && test -s conftest$ac_exeext &&
36549 $as_test_x conftest$ac_exeext; then
36550 ac_cv_lib_GL_glBegin=yes
36552 echo "$as_me: failed program was:" >&5
36553 sed 's/^/| /' conftest.$ac_ext >&5
36555 ac_cv_lib_GL_glBegin=no
36558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36559 conftest$ac_exeext conftest.$ac_ext
36560 LIBS=$ac_check_lib_save_LIBS
36562 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36563 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36564 if test $ac_cv_lib_GL_glBegin = yes; then
36565 ac_find_libraries="std"
36571 if test "x$ac_find_libraries" = "x"; then
36572 { echo "$as_me:$LINENO: checking elsewhere" >&5
36573 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36576 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36578 for ac_extension in a so sl dylib dll.a; do
36579 if test -f "$ac_dir/libGL.$ac_extension"; then
36580 ac_find_libraries=$ac_dir
36586 if test "x$ac_find_libraries" != "x"; then
36587 { echo "$as_me:$LINENO: result: yes" >&5
36588 echo "${ECHO_T}yes" >&6; }
36590 { echo "$as_me:$LINENO: result: no" >&5
36591 echo "${ECHO_T}no" >&6; }
36596 GL_CFLAGS=$pkg_cv_GL_CFLAGS
36597 GL_LIBS=$pkg_cv_GL_LIBS
36598 { echo "$as_me:$LINENO: result: yes" >&5
36599 echo "${ECHO_T}yes" >&6; }
36601 ac_find_libraries="std"
36603 eval ac_find_cflags=\$GL_CFLAGS
36604 eval fl_libs=\$GL_LIBS
36606 for fl_path in $fl_libs
36608 if test `echo "$fl_path" | cut
-c 1-2` = "-L"; then
36609 ac_find_libraries=`echo "$fl_path" | cut
-c 3-`
36615 if test "$ac_find_libraries" != "" ; then
36616 if test "$ac_find_libraries" != "std" ; then
36618 if test "$ac_find_libraries" = "default location"; then
36621 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36623 if test $result = 0; then
36626 ac_path_to_link=" -L$ac_find_libraries"
36630 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36631 LDFLAGS_GL="$ac_path_to_link"
36638 fl_pkgname=`echo "GLU" | tr [:upper
:] [:lower
:]`
36641 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36642 if test -n "$ac_tool_prefix"; then
36643 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36644 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36647 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36648 echo $ECHO_N "(cached) $ECHO_C" >&6
36650 case $PKG_CONFIG in
36652 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36656 for as_dir in $PATH
36659 test -z "$as_dir" && as_dir=.
36660 for ac_exec_ext in '' $ac_executable_extensions; do
36661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36662 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36673 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36674 if test -n "$PKG_CONFIG"; then
36675 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36676 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36678 { echo "$as_me:$LINENO: result: no" >&5
36679 echo "${ECHO_T}no" >&6; }
36684 if test -z "$ac_cv_path_PKG_CONFIG"; then
36685 ac_pt_PKG_CONFIG=$PKG_CONFIG
36686 # Extract the first word of "pkg-config", so it can be a program name with args.
36687 set dummy pkg-config; ac_word=$2
36688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36690 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36691 echo $ECHO_N "(cached) $ECHO_C" >&6
36693 case $ac_pt_PKG_CONFIG in
36695 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36699 for as_dir in $PATH
36702 test -z "$as_dir" && as_dir=.
36703 for ac_exec_ext in '' $ac_executable_extensions; do
36704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36705 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36716 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36717 if test -n "$ac_pt_PKG_CONFIG"; then
36718 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36719 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36721 { echo "$as_me:$LINENO: result: no" >&5
36722 echo "${ECHO_T}no" >&6; }
36725 if test "x$ac_pt_PKG_CONFIG" = x; then
36728 case $cross_compiling:$ac_tool_warned in
36730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36731 whose name does not start with the host triplet. If you think this
36732 configuration is useful to you, please write to autoconf@gnu.org." >&5
36733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36734 whose name does not start with the host triplet. If you think this
36735 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36736 ac_tool_warned=yes ;;
36738 PKG_CONFIG=$ac_pt_PKG_CONFIG
36741 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36745 if test -n "$PKG_CONFIG"; then
36746 _pkg_min_version=0.9.0
36747 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36748 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36749 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36750 { echo "$as_me:$LINENO: result: yes" >&5
36751 echo "${ECHO_T}yes" >&6; }
36753 { echo "$as_me:$LINENO: result: no" >&5
36754 echo "${ECHO_T}no" >&6; }
36761 { echo "$as_me:$LINENO: checking for GLU" >&5
36762 echo $ECHO_N "checking for GLU... $ECHO_C" >&6; }
36764 if test -n "$PKG_CONFIG"; then
36765 if test -n "$GLU_CFLAGS"; then
36766 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
36768 if test -n "$PKG_CONFIG" && \
36769 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36770 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); }; then
36774 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev
/null
`
36782 if test -n "$PKG_CONFIG"; then
36783 if test -n "$GLU_LIBS"; then
36784 pkg_cv_GLU_LIBS="$GLU_LIBS"
36786 if test -n "$PKG_CONFIG" && \
36787 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36788 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36791 (exit $ac_status); }; then
36792 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev
/null
`
36803 if test $pkg_failed = yes; then
36805 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36806 _pkg_short_errors_supported=yes
36808 _pkg_short_errors_supported=no
36810 if test $_pkg_short_errors_supported = yes; then
36811 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36813 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36815 # Put the nasty error message in config.log where it belongs
36816 echo "$GLU_PKG_ERRORS" >&5
36819 if test "x$ac_find_libraries" = "x"; then
36820 if test "xgluBeginCurve" != "x"; then
36821 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36822 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36823 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36824 echo $ECHO_N "(cached) $ECHO_C" >&6
36826 ac_check_lib_save_LIBS=$LIBS
36828 cat >conftest.$ac_ext <<_ACEOF
36831 cat confdefs.h >>conftest.$ac_ext
36832 cat >>conftest.$ac_ext <<_ACEOF
36833 /* end confdefs.h. */
36835 /* Override any GCC internal prototype to avoid an error.
36836 Use char because int might match the return type of a GCC
36837 builtin and then its argument prototype would still apply. */
36841 char gluBeginCurve ();
36845 return gluBeginCurve ();
36850 rm -f conftest.$ac_objext conftest$ac_exeext
36851 if { (ac_try="$ac_link"
36852 case "(($ac_try" in
36853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36854 *) ac_try_echo
=$ac_try;;
36856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36857 (eval "$ac_link") 2>conftest.er1
36859 grep -v '^ *+' conftest.er1
>conftest.err
36861 cat conftest.err
>&5
36862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36863 (exit $ac_status); } && {
36864 test -z "$ac_c_werror_flag" ||
36865 test ! -s conftest.err
36866 } && test -s conftest
$ac_exeext &&
36867 $as_test_x conftest
$ac_exeext; then
36868 ac_cv_lib_GLU_gluBeginCurve
=yes
36870 echo "$as_me: failed program was:" >&5
36871 sed 's/^/| /' conftest.
$ac_ext >&5
36873 ac_cv_lib_GLU_gluBeginCurve
=no
36876 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36877 conftest
$ac_exeext conftest.
$ac_ext
36878 LIBS
=$ac_check_lib_save_LIBS
36880 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36881 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36882 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36883 ac_find_libraries
="std"
36889 if test "x$ac_find_libraries" = "x"; then
36890 { echo "$as_me:$LINENO: checking elsewhere" >&5
36891 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36894 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
36896 for ac_extension
in a so sl dylib dll.a
; do
36897 if test -f "$ac_dir/libGLU.$ac_extension"; then
36898 ac_find_libraries
=$ac_dir
36904 if test "x$ac_find_libraries" != "x"; then
36905 { echo "$as_me:$LINENO: result: yes" >&5
36906 echo "${ECHO_T}yes" >&6; }
36908 { echo "$as_me:$LINENO: result: no" >&5
36909 echo "${ECHO_T}no" >&6; }
36913 elif test $pkg_failed = untried
; then
36915 if test "x$ac_find_libraries" = "x"; then
36916 if test "xgluBeginCurve" != "x"; then
36917 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36918 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36919 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36920 echo $ECHO_N "(cached) $ECHO_C" >&6
36922 ac_check_lib_save_LIBS
=$LIBS
36924 cat >conftest.
$ac_ext <<_ACEOF
36927 cat confdefs.h
>>conftest.
$ac_ext
36928 cat >>conftest.
$ac_ext <<_ACEOF
36929 /* end confdefs.h. */
36931 /* Override any GCC internal prototype to avoid an error.
36932 Use char because int might match the return type of a GCC
36933 builtin and then its argument prototype would still apply. */
36937 char gluBeginCurve ();
36941 return gluBeginCurve ();
36946 rm -f conftest.
$ac_objext conftest
$ac_exeext
36947 if { (ac_try
="$ac_link"
36948 case "(($ac_try" in
36949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36950 *) ac_try_echo=$ac_try;;
36952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36953 (eval "$ac_link") 2>conftest.er1
36955 grep -v '^ *+' conftest.er1 >conftest.err
36957 cat conftest.err >&5
36958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36959 (exit $ac_status); } && {
36960 test -z "$ac_c_werror_flag" ||
36961 test ! -s conftest.err
36962 } && test -s conftest$ac_exeext &&
36963 $as_test_x conftest$ac_exeext; then
36964 ac_cv_lib_GLU_gluBeginCurve=yes
36966 echo "$as_me: failed program was:" >&5
36967 sed 's/^/| /' conftest.$ac_ext >&5
36969 ac_cv_lib_GLU_gluBeginCurve=no
36972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36973 conftest$ac_exeext conftest.$ac_ext
36974 LIBS=$ac_check_lib_save_LIBS
36976 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36977 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36978 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36979 ac_find_libraries="std"
36985 if test "x$ac_find_libraries" = "x"; then
36986 { echo "$as_me:$LINENO: checking elsewhere" >&5
36987 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36990 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36992 for ac_extension in a so sl dylib dll.a; do
36993 if test -f "$ac_dir/libGLU.$ac_extension"; then
36994 ac_find_libraries=$ac_dir
37000 if test "x$ac_find_libraries" != "x"; then
37001 { echo "$as_me:$LINENO: result: yes" >&5
37002 echo "${ECHO_T}yes" >&6; }
37004 { echo "$as_me:$LINENO: result: no" >&5
37005 echo "${ECHO_T}no" >&6; }
37010 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
37011 GLU_LIBS=$pkg_cv_GLU_LIBS
37012 { echo "$as_me:$LINENO: result: yes" >&5
37013 echo "${ECHO_T}yes" >&6; }
37015 ac_find_libraries="std"
37017 eval ac_find_cflags=\$GLU_CFLAGS
37018 eval fl_libs=\$GLU_LIBS
37020 for fl_path in $fl_libs
37022 if test `echo "$fl_path" | cut
-c 1-2` = "-L"; then
37023 ac_find_libraries=`echo "$fl_path" | cut
-c 3-`
37029 if test "$ac_find_libraries" != "" ; then
37030 if test "$ac_find_libraries" != "std" ; then
37032 if test "$ac_find_libraries" = "default location"; then
37035 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
37037 if test $result = 0; then
37040 ac_path_to_link=" -L$ac_find_libraries"
37044 if test "$ac_path_to_link" != " -L/usr/lib" -a \
37045 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
37046 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
37051 OPENGL_LIBS="-lGL -lGLU"
37055 if test "$found_gl" != 1; then
37059 fl_pkgname=`echo "MesaGL" | tr [:upper
:] [:lower
:]`
37062 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
37063 if test -n "$ac_tool_prefix"; then
37064 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
37065 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
37066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
37067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
37068 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37069 echo $ECHO_N "(cached) $ECHO_C" >&6
37071 case $PKG_CONFIG in
37073 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37077 for as_dir in $PATH
37080 test -z "$as_dir" && as_dir=.
37081 for ac_exec_ext in '' $ac_executable_extensions; do
37082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37083 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37094 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37095 if test -n "$PKG_CONFIG"; then
37096 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37097 echo "${ECHO_T}$PKG_CONFIG" >&6; }
37099 { echo "$as_me:$LINENO: result: no" >&5
37100 echo "${ECHO_T}no" >&6; }
37105 if test -z "$ac_cv_path_PKG_CONFIG"; then
37106 ac_pt_PKG_CONFIG=$PKG_CONFIG
37107 # Extract the first word of "pkg-config", so it can be a program name with args.
37108 set dummy pkg-config; ac_word=$2
37109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
37110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
37111 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
37112 echo $ECHO_N "(cached) $ECHO_C" >&6
37114 case $ac_pt_PKG_CONFIG in
37116 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
37119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37120 for as_dir in $PATH
37123 test -z "$as_dir" && as_dir=.
37124 for ac_exec_ext in '' $ac_executable_extensions; do
37125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37126 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37137 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
37138 if test -n "$ac_pt_PKG_CONFIG"; then
37139 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
37140 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
37142 { echo "$as_me:$LINENO: result: no" >&5
37143 echo "${ECHO_T}no" >&6; }
37146 if test "x$ac_pt_PKG_CONFIG" = x; then
37149 case $cross_compiling:$ac_tool_warned in
37151 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
37152 whose name does not start with the host triplet. If you think this
37153 configuration is useful to you, please write to autoconf@gnu.org." >&5
37154 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
37155 whose name does not start with the host triplet. If you think this
37156 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
37157 ac_tool_warned=yes ;;
37159 PKG_CONFIG=$ac_pt_PKG_CONFIG
37162 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
37166 if test -n "$PKG_CONFIG"; then
37167 _pkg_min_version=0.9.0
37168 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
37169 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
37170 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
37171 { echo "$as_me:$LINENO: result: yes" >&5
37172 echo "${ECHO_T}yes" >&6; }
37174 { echo "$as_me:$LINENO: result: no" >&5
37175 echo "${ECHO_T}no" >&6; }
37182 { echo "$as_me:$LINENO: checking for MesaGL" >&5
37183 echo $ECHO_N "checking for MesaGL... $ECHO_C" >&6; }
37185 if test -n "$PKG_CONFIG"; then
37186 if test -n "$MesaGL_CFLAGS"; then
37187 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
37189 if test -n "$PKG_CONFIG" && \
37190 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
37191 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
37193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37194 (exit $ac_status); }; then
37195 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev
/null
`
37203 if test -n "$PKG_CONFIG"; then
37204 if test -n "$MesaGL_LIBS"; then
37205 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
37207 if test -n "$PKG_CONFIG" && \
37208 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
37209 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); }; then
37213 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev
/null
`
37224 if test $pkg_failed = yes; then
37226 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37227 _pkg_short_errors_supported=yes
37229 _pkg_short_errors_supported=no
37231 if test $_pkg_short_errors_supported = yes; then
37232 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
37234 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
37236 # Put the nasty error message in config.log where it belongs
37237 echo "$MesaGL_PKG_ERRORS" >&5
37240 if test "x$ac_find_libraries" = "x"; then
37241 if test "xglEnable" != "x"; then
37242 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37243 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37244 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37245 echo $ECHO_N "(cached) $ECHO_C" >&6
37247 ac_check_lib_save_LIBS=$LIBS
37248 LIBS="-lMesaGL $LIBS"
37249 cat >conftest.$ac_ext <<_ACEOF
37252 cat confdefs.h >>conftest.$ac_ext
37253 cat >>conftest.$ac_ext <<_ACEOF
37254 /* end confdefs.h. */
37256 /* Override any GCC internal prototype to avoid an error.
37257 Use char because int might match the return type of a GCC
37258 builtin and then its argument prototype would still apply. */
37266 return glEnable ();
37271 rm -f conftest.$ac_objext conftest$ac_exeext
37272 if { (ac_try="$ac_link"
37273 case "(($ac_try" in
37274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37275 *) ac_try_echo
=$ac_try;;
37277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37278 (eval "$ac_link") 2>conftest.er1
37280 grep -v '^ *+' conftest.er1
>conftest.err
37282 cat conftest.err
>&5
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); } && {
37285 test -z "$ac_c_werror_flag" ||
37286 test ! -s conftest.err
37287 } && test -s conftest
$ac_exeext &&
37288 $as_test_x conftest
$ac_exeext; then
37289 ac_cv_lib_MesaGL_glEnable
=yes
37291 echo "$as_me: failed program was:" >&5
37292 sed 's/^/| /' conftest.
$ac_ext >&5
37294 ac_cv_lib_MesaGL_glEnable
=no
37297 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37298 conftest
$ac_exeext conftest.
$ac_ext
37299 LIBS
=$ac_check_lib_save_LIBS
37301 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37302 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37303 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37304 ac_find_libraries
="std"
37310 if test "x$ac_find_libraries" = "x"; then
37311 { echo "$as_me:$LINENO: checking elsewhere" >&5
37312 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37315 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
37317 for ac_extension
in a so sl dylib dll.a
; do
37318 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37319 ac_find_libraries
=$ac_dir
37325 if test "x$ac_find_libraries" != "x"; then
37326 { echo "$as_me:$LINENO: result: yes" >&5
37327 echo "${ECHO_T}yes" >&6; }
37329 { echo "$as_me:$LINENO: result: no" >&5
37330 echo "${ECHO_T}no" >&6; }
37334 elif test $pkg_failed = untried
; then
37336 if test "x$ac_find_libraries" = "x"; then
37337 if test "xglEnable" != "x"; then
37338 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37339 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37340 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37341 echo $ECHO_N "(cached) $ECHO_C" >&6
37343 ac_check_lib_save_LIBS
=$LIBS
37344 LIBS
="-lMesaGL $LIBS"
37345 cat >conftest.
$ac_ext <<_ACEOF
37348 cat confdefs.h
>>conftest.
$ac_ext
37349 cat >>conftest.
$ac_ext <<_ACEOF
37350 /* end confdefs.h. */
37352 /* Override any GCC internal prototype to avoid an error.
37353 Use char because int might match the return type of a GCC
37354 builtin and then its argument prototype would still apply. */
37362 return glEnable ();
37367 rm -f conftest.
$ac_objext conftest
$ac_exeext
37368 if { (ac_try
="$ac_link"
37369 case "(($ac_try" in
37370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37371 *) ac_try_echo=$ac_try;;
37373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37374 (eval "$ac_link") 2>conftest.er1
37376 grep -v '^ *+' conftest.er1 >conftest.err
37378 cat conftest.err >&5
37379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37380 (exit $ac_status); } && {
37381 test -z "$ac_c_werror_flag" ||
37382 test ! -s conftest.err
37383 } && test -s conftest$ac_exeext &&
37384 $as_test_x conftest$ac_exeext; then
37385 ac_cv_lib_MesaGL_glEnable=yes
37387 echo "$as_me: failed program was:" >&5
37388 sed 's/^/| /' conftest.$ac_ext >&5
37390 ac_cv_lib_MesaGL_glEnable=no
37393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37394 conftest$ac_exeext conftest.$ac_ext
37395 LIBS=$ac_check_lib_save_LIBS
37397 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37398 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37399 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37400 ac_find_libraries="std"
37406 if test "x$ac_find_libraries" = "x"; then
37407 { echo "$as_me:$LINENO: checking elsewhere" >&5
37408 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37411 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37413 for ac_extension in a so sl dylib dll.a; do
37414 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37415 ac_find_libraries=$ac_dir
37421 if test "x$ac_find_libraries" != "x"; then
37422 { echo "$as_me:$LINENO: result: yes" >&5
37423 echo "${ECHO_T}yes" >&6; }
37425 { echo "$as_me:$LINENO: result: no" >&5
37426 echo "${ECHO_T}no" >&6; }
37431 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
37432 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
37433 { echo "$as_me:$LINENO: result: yes" >&5
37434 echo "${ECHO_T}yes" >&6; }
37436 ac_find_libraries="std"
37438 eval ac_find_cflags=\$MesaGL_CFLAGS
37439 eval fl_libs=\$MesaGL_LIBS
37441 for fl_path in $fl_libs
37443 if test `echo "$fl_path" | cut
-c 1-2` = "-L"; then
37444 ac_find_libraries=`echo "$fl_path" | cut
-c 3-`
37450 if test "$ac_find_libraries" != "" ; then
37451 if test "$ac_find_libraries" != "std" ; then
37453 if test "$ac_find_libraries" = "default location"; then
37456 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
37458 if test $result = 0; then
37461 ac_path_to_link=" -L$ac_find_libraries"
37465 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37466 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
37469 OPENGL_LIBS="-lMesaGL -lMesaGLU"
37481 if test "x$OPENGL_LIBS" = "x"; then
37482 if test "$wxUSE_OPENGL" = "yes"; then
37483 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
37484 echo "$as_me: error: OpenGL libraries not available" >&2;}
37485 { (exit 1); exit 1; }; }
37487 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
37488 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
37494 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37495 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37499 if test "$wxUSE_OPENGL" = "auto"; then
37503 if test "$wxUSE_OPENGL" = "yes"; then
37505 cat >>confdefs.h <<\_ACEOF
37506 #define wxUSE_OPENGL 1
37509 cat >>confdefs.h <<\_ACEOF
37510 #define wxUSE_GLCANVAS 1
37513 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
37518 if test -n "$TOOLKIT" ; then
37519 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
37524 if test "$wxUSE_SHARED" = "yes"; then
37528 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
37529 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
37534 if test "$wxUSE_SHARED" = "yes"; then
37538 *-*-cygwin* | *-*-mingw* )
37539 wx_cv_version_script=no
37543 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
37544 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
37545 if test "${wx_cv_version_script+set}" = set; then
37546 echo $ECHO_N "(cached) $ECHO_C" >&6
37549 echo "VER_1 { *; };" >conftest.sym
37550 echo "int main() { return 0; }" >conftest.cpp
37553 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37554 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
37555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556 (eval $ac_try) 2>&5
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; } ; then
37560 if test -s conftest.stderr ; then
37561 wx_cv_version_script=no
37563 wx_cv_version_script=yes
37566 wx_cv_version_script=no
37569 if test $wx_cv_version_script = yes
37571 echo "struct B { virtual ~B() { } }; \
37572 struct D : public B { }; \
37573 void F() { D d; }" > conftest.cpp
37576 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37577 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
37578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37579 (eval $ac_try) 2>&5
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); }; } &&
37584 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37585 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
37586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37587 (eval $ac_try) 2>&5
37589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37590 (exit $ac_status); }; }
37593 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37594 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
37595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37596 (eval $ac_try) 2>&5
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); }; }
37601 wx_cv_version_script=yes
37603 wx_cv_version_script=no
37608 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
37609 rm -f conftest1.output conftest2.output conftest3.output
37612 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
37613 echo "${ECHO_T}$wx_cv_version_script" >&6; }
37615 if test $wx_cv_version_script = yes ; then
37616 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
37622 if test "$wxUSE_VISIBILITY" != "no"; then
37625 if test -n "$GCC"; then
37626 CFLAGS_VISIBILITY="-fvisibility=hidden"
37627 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
37628 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
37629 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
37630 if test "${wx_cv_cc_visibility+set}" = set; then
37631 echo $ECHO_N "(cached) $ECHO_C" >&6
37634 wx_save_CXXFLAGS="$CXXFLAGS"
37635 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37637 ac_cpp='$CXXCPP $CPPFLAGS'
37638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37642 cat >conftest.$ac_ext <<_ACEOF
37645 cat confdefs.h >>conftest.$ac_ext
37646 cat >>conftest.$ac_ext <<_ACEOF
37647 /* end confdefs.h. */
37649 /* we need gcc >= 4.0, older versions with visibility support
37650 didn't have class visibility: */
37651 #if defined(__GNUC__) && __GNUC__ < 4
37652 error this gcc is too old;
37655 /* visibility only makes sense for ELF shared libs: */
37656 #if !defined(__ELF__) && !defined(__APPLE__)
37657 error this platform has no visibility;
37660 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
37661 #if defined(__clang__)
37662 clang compiler is still broken w.r.t. visibility;
37665 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
37666 extern __attribute__((__visibility__("default"))) int exportedvar;
37667 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
37668 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
37669 class __attribute__((__visibility__("default"))) Foo {
37681 rm -f conftest.$ac_objext
37682 if { (ac_try="$ac_compile"
37683 case "(($ac_try" in
37684 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37685 *) ac_try_echo
=$ac_try;;
37687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37688 (eval "$ac_compile") 2>conftest.er1
37690 grep -v '^ *+' conftest.er1
>conftest.err
37692 cat conftest.err
>&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); } && {
37695 test -z "$ac_cxx_werror_flag" ||
37696 test ! -s conftest.err
37697 } && test -s conftest.
$ac_objext; then
37698 wx_cv_cc_visibility
=yes
37700 echo "$as_me: failed program was:" >&5
37701 sed 's/^/| /' conftest.
$ac_ext >&5
37703 wx_cv_cc_visibility
=no
37706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37708 ac_cpp
='$CPP $CPPFLAGS'
37709 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37710 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37711 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37713 CXXFLAGS
="$wx_save_CXXFLAGS"
37716 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
37717 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
37718 if test $wx_cv_cc_visibility = yes; then
37719 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
37720 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
37721 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
37722 echo $ECHO_N "(cached) $ECHO_C" >&6
37725 wx_save_CXXFLAGS
="$CXXFLAGS"
37726 wx_save_LDFLAGS
="$LDFLAGS"
37727 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37728 LDFLAGS
="$LDFLAGS -shared -fPIC"
37730 ac_cpp
='$CXXCPP $CPPFLAGS'
37731 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37732 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37733 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37735 cat >conftest.
$ac_ext <<_ACEOF
37738 cat confdefs.h
>>conftest.
$ac_ext
37739 cat >>conftest.
$ac_ext <<_ACEOF
37740 /* end confdefs.h. */
37748 std::string s("hello");
37755 rm -f conftest.
$ac_objext conftest
$ac_exeext
37756 if { (ac_try
="$ac_link"
37757 case "(($ac_try" in
37758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37759 *) ac_try_echo=$ac_try;;
37761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37762 (eval "$ac_link") 2>conftest.er1
37764 grep -v '^ *+' conftest.er1 >conftest.err
37766 cat conftest.err >&5
37767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37768 (exit $ac_status); } && {
37769 test -z "$ac_cxx_werror_flag" ||
37770 test ! -s conftest.err
37771 } && test -s conftest$ac_exeext &&
37772 $as_test_x conftest$ac_exeext; then
37773 wx_cv_cc_broken_libstdcxx_visibility=no
37775 echo "$as_me: failed program was:" >&5
37776 sed 's/^/| /' conftest.$ac_ext >&5
37778 wx_cv_cc_broken_libstdcxx_visibility=yes
37781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37782 conftest$ac_exeext conftest.$ac_ext
37784 ac_cpp='$CPP $CPPFLAGS'
37785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37789 CXXFLAGS="$wx_save_CXXFLAGS"
37790 LDFLAGS="$wx_save_LDFLAGS"
37793 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
37794 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
37796 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37797 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
37798 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
37799 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
37800 echo $ECHO_N "(cached) $ECHO_C" >&6
37804 ac_cpp='$CXXCPP $CPPFLAGS'
37805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37809 cat >conftest.$ac_ext <<_ACEOF
37812 cat confdefs.h >>conftest.$ac_ext
37813 cat >>conftest.$ac_ext <<_ACEOF
37814 /* end confdefs.h. */
37816 #pragma GCC visibility push(default)
37818 #pragma GCC visibility pop
37824 std::string s("hello");
37831 rm -f conftest.$ac_objext conftest$ac_exeext
37832 if { (ac_try="$ac_link"
37833 case "(($ac_try" in
37834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37835 *) ac_try_echo
=$ac_try;;
37837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37838 (eval "$ac_link") 2>conftest.er1
37840 grep -v '^ *+' conftest.er1
>conftest.err
37842 cat conftest.err
>&5
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); } && {
37845 test -z "$ac_cxx_werror_flag" ||
37846 test ! -s conftest.err
37847 } && test -s conftest
$ac_exeext &&
37848 $as_test_x conftest
$ac_exeext; then
37849 wx_cv_cc_visibility_workaround
=no
37851 echo "$as_me: failed program was:" >&5
37852 sed 's/^/| /' conftest.
$ac_ext >&5
37854 wx_cv_cc_visibility_workaround
=yes
37857 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37858 conftest
$ac_exeext conftest.
$ac_ext
37860 ac_cpp
='$CPP $CPPFLAGS'
37861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37868 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
37869 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
37871 if test $wx_cv_cc_visibility_workaround = no
; then
37872 wx_cv_cc_visibility
=no
37877 if test $wx_cv_cc_visibility = yes; then
37878 cat >>confdefs.h
<<\_ACEOF
37879 #define HAVE_VISIBILITY 1
37882 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37883 cat >>confdefs.h
<<\_ACEOF
37884 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
37889 CFLAGS_VISIBILITY
=""
37890 CXXFLAGS_VISIBILITY
=""
37898 if test "x$SUNCXX" = xyes
; then
37899 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
37900 WXCONFIG_RPATH
="-R\$libdir"
37903 *-*-linux* | *-*-gnu* )
37904 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
37905 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
37910 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
37912 saveLdflags
="$LDFLAGS"
37913 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
37914 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
37915 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
37916 cat >conftest.
$ac_ext <<_ACEOF
37919 cat confdefs.h
>>conftest.
$ac_ext
37920 cat >>conftest.
$ac_ext <<_ACEOF
37921 /* end confdefs.h. */
37931 rm -f conftest.
$ac_objext conftest
$ac_exeext
37932 if { (ac_try
="$ac_link"
37933 case "(($ac_try" in
37934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37935 *) ac_try_echo=$ac_try;;
37937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37938 (eval "$ac_link") 2>conftest.er1
37940 grep -v '^ *+' conftest.er1 >conftest.err
37942 cat conftest.err >&5
37943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944 (exit $ac_status); } && {
37945 test -z "$ac_c_werror_flag" ||
37946 test ! -s conftest.err
37947 } && test -s conftest$ac_exeext &&
37948 $as_test_x conftest$ac_exeext; then
37950 { echo "$as_me:$LINENO: result: yes" >&5
37951 echo "${ECHO_T}yes" >&6; }
37952 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37953 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37956 echo "$as_me: failed program was:" >&5
37957 sed 's/^/| /' conftest.$ac_ext >&5
37960 { echo "$as_me:$LINENO: result: no" >&5
37961 echo "${ECHO_T}no" >&6; }
37962 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
37963 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
37964 LDFLAGS="$saveLdflags -Wl,-R,/"
37965 cat >conftest.$ac_ext <<_ACEOF
37968 cat confdefs.h >>conftest.$ac_ext
37969 cat >>conftest.$ac_ext <<_ACEOF
37970 /* end confdefs.h. */
37980 rm -f conftest.$ac_objext conftest$ac_exeext
37981 if { (ac_try="$ac_link"
37982 case "(($ac_try" in
37983 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37984 *) ac_try_echo
=$ac_try;;
37986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37987 (eval "$ac_link") 2>conftest.er1
37989 grep -v '^ *+' conftest.er1
>conftest.err
37991 cat conftest.err
>&5
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); } && {
37994 test -z "$ac_c_werror_flag" ||
37995 test ! -s conftest.err
37996 } && test -s conftest
$ac_exeext &&
37997 $as_test_x conftest
$ac_exeext; then
37999 { echo "$as_me:$LINENO: result: yes" >&5
38000 echo "${ECHO_T}yes" >&6; }
38001 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
38002 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
38005 echo "$as_me: failed program was:" >&5
38006 sed 's/^/| /' conftest.
$ac_ext >&5
38009 { echo "$as_me:$LINENO: result: no" >&5
38010 echo "${ECHO_T}no" >&6; }
38014 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38015 conftest
$ac_exeext conftest.
$ac_ext
38019 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38020 conftest
$ac_exeext conftest.
$ac_ext
38021 LDFLAGS
="$saveLdflags"
38025 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
38026 if test "$install_name_tool" -a -x "$install_name_tool"; then
38027 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
38028 cat <<EOF >change-install-names
38030 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
38031 for i in \${libnames} ; do
38032 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
38033 for dep in \${libnames} ; do
38034 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
38038 chmod +x change
-install-names
38039 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
38042 HEADER_PAD_OPTION
="-headerpad_max_install_names"
38045 *-*-cygwin* | *-*-mingw32* )
38049 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
38050 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
38056 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
38058 if test $wxUSE_RPATH = "no"; then
38059 SAMPLES_RPATH_FLAG
=''
38060 DYLIB_PATH_POSTLINK
=''
38068 config_linkage_component
="-static"
38075 lib_unicode_suffix
=
38077 if test "$wxUSE_UNICODE" = "yes"; then
38078 lib_unicode_suffix
=u
38079 WX_CHARTYPE
="unicode"
38083 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
38084 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
38087 if test "$wxUSE_DEBUG_INFO" = "yes"; then
38091 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
38093 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38095 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
38098 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
38099 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
38101 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
38103 if test "${TOOLKIT_DIR}" = "os2"; then
38104 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
38106 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
38111 if test "$wxUSE_OLD_COCOA" = 1; then
38114 ac_cpp
='$CPP $CPPFLAGS'
38115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38121 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
38122 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
38123 cat >conftest.
$ac_ext <<_ACEOF
38126 cat confdefs.h
>>conftest.
$ac_ext
38127 cat >>conftest.
$ac_ext <<_ACEOF
38128 /* end confdefs.h. */
38129 #include <AppKit/NSEvent.h>
38130 #include <CoreFoundation/CoreFoundation.h>
38140 rm -f conftest.
$ac_objext
38141 if { (ac_try
="$ac_compile"
38142 case "(($ac_try" in
38143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38144 *) ac_try_echo=$ac_try;;
38146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38147 (eval "$ac_compile") 2>conftest.er1
38149 grep -v '^ *+' conftest.er1 >conftest.err
38151 cat conftest.err >&5
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); } && {
38154 test -z "$ac_c_werror_flag" ||
38155 test ! -s conftest.err
38156 } && test -s conftest.$ac_objext; then
38157 { echo "$as_me:$LINENO: result: no" >&5
38158 echo "${ECHO_T}no" >&6; }
38160 echo "$as_me: failed program was:" >&5
38161 sed 's/^/| /' conftest.$ac_ext >&5
38163 { echo "$as_me:$LINENO: result: yes" >&5
38164 echo "${ECHO_T}yes" >&6; }
38165 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
38166 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
38167 cat >conftest.$ac_ext <<_ACEOF
38170 cat confdefs.h >>conftest.$ac_ext
38171 cat >>conftest.$ac_ext <<_ACEOF
38172 /* end confdefs.h. */
38173 #define __Point__ 1
38174 #include <AppKit/NSEvent.h>
38175 #include <CoreFoundation/CoreFoundation.h>
38185 rm -f conftest.$ac_objext
38186 if { (ac_try="$ac_compile"
38187 case "(($ac_try" in
38188 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38189 *) ac_try_echo
=$ac_try;;
38191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38192 (eval "$ac_compile") 2>conftest.er1
38194 grep -v '^ *+' conftest.er1
>conftest.err
38196 cat conftest.err
>&5
38197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38198 (exit $ac_status); } && {
38199 test -z "$ac_c_werror_flag" ||
38200 test ! -s conftest.err
38201 } && test -s conftest.
$ac_objext; then
38202 { echo "$as_me:$LINENO: result: yes" >&5
38203 echo "${ECHO_T}yes" >&6; }
38204 cat >>confdefs.h
<<\_ACEOF
38205 #define __Point__ 1
38210 echo "$as_me: failed program was:" >&5
38211 sed 's/^/| /' conftest.
$ac_ext >&5
38213 { { echo "$as_me:$LINENO: error: no
38214 See \`config.log' for more details." >&5
38215 echo "$as_me: error: no
38216 See \`config.log' for more details." >&2;}
38217 { (exit 1); exit 1; }; }
38221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38227 ac_cpp
='$CPP $CPPFLAGS'
38228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38235 { echo "$as_me:$LINENO: checking for mode_t" >&5
38236 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
38237 if test "${ac_cv_type_mode_t+set}" = set; then
38238 echo $ECHO_N "(cached) $ECHO_C" >&6
38240 cat >conftest.
$ac_ext <<_ACEOF
38243 cat confdefs.h
>>conftest.
$ac_ext
38244 cat >>conftest.
$ac_ext <<_ACEOF
38245 /* end confdefs.h. */
38246 $ac_includes_default
38247 typedef mode_t ac__type_new_;
38251 if ((ac__type_new_ *) 0)
38253 if (sizeof (ac__type_new_))
38259 rm -f conftest.
$ac_objext
38260 if { (ac_try
="$ac_compile"
38261 case "(($ac_try" in
38262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38263 *) ac_try_echo=$ac_try;;
38265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38266 (eval "$ac_compile") 2>conftest.er1
38268 grep -v '^ *+' conftest.er1 >conftest.err
38270 cat conftest.err >&5
38271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272 (exit $ac_status); } && {
38273 test -z "$ac_c_werror_flag" ||
38274 test ! -s conftest.err
38275 } && test -s conftest.$ac_objext; then
38276 ac_cv_type_mode_t=yes
38278 echo "$as_me: failed program was:" >&5
38279 sed 's/^/| /' conftest.$ac_ext >&5
38281 ac_cv_type_mode_t=no
38284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38286 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
38287 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
38288 if test $ac_cv_type_mode_t = yes; then
38292 cat >>confdefs.h <<_ACEOF
38298 { echo "$as_me:$LINENO: checking for off_t" >&5
38299 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
38300 if test "${ac_cv_type_off_t+set}" = set; then
38301 echo $ECHO_N "(cached) $ECHO_C" >&6
38303 cat >conftest.$ac_ext <<_ACEOF
38306 cat confdefs.h >>conftest.$ac_ext
38307 cat >>conftest.$ac_ext <<_ACEOF
38308 /* end confdefs.h. */
38309 $ac_includes_default
38310 typedef off_t ac__type_new_;
38314 if ((ac__type_new_ *) 0)
38316 if (sizeof (ac__type_new_))
38322 rm -f conftest.$ac_objext
38323 if { (ac_try="$ac_compile"
38324 case "(($ac_try" in
38325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38326 *) ac_try_echo
=$ac_try;;
38328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38329 (eval "$ac_compile") 2>conftest.er1
38331 grep -v '^ *+' conftest.er1
>conftest.err
38333 cat conftest.err
>&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } && {
38336 test -z "$ac_c_werror_flag" ||
38337 test ! -s conftest.err
38338 } && test -s conftest.
$ac_objext; then
38339 ac_cv_type_off_t
=yes
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.
$ac_ext >&5
38344 ac_cv_type_off_t
=no
38347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38349 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
38350 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
38351 if test $ac_cv_type_off_t = yes; then
38355 cat >>confdefs.h
<<_ACEOF
38356 #define off_t long int
38361 { echo "$as_me:$LINENO: checking for pid_t" >&5
38362 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
38363 if test "${ac_cv_type_pid_t+set}" = set; then
38364 echo $ECHO_N "(cached) $ECHO_C" >&6
38366 cat >conftest.
$ac_ext <<_ACEOF
38369 cat confdefs.h
>>conftest.
$ac_ext
38370 cat >>conftest.
$ac_ext <<_ACEOF
38371 /* end confdefs.h. */
38372 $ac_includes_default
38373 typedef pid_t ac__type_new_;
38377 if ((ac__type_new_ *) 0)
38379 if (sizeof (ac__type_new_))
38385 rm -f conftest.
$ac_objext
38386 if { (ac_try
="$ac_compile"
38387 case "(($ac_try" in
38388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38389 *) ac_try_echo=$ac_try;;
38391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38392 (eval "$ac_compile") 2>conftest.er1
38394 grep -v '^ *+' conftest.er1 >conftest.err
38396 cat conftest.err >&5
38397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38398 (exit $ac_status); } && {
38399 test -z "$ac_c_werror_flag" ||
38400 test ! -s conftest.err
38401 } && test -s conftest.$ac_objext; then
38402 ac_cv_type_pid_t=yes
38404 echo "$as_me: failed program was:" >&5
38405 sed 's/^/| /' conftest.$ac_ext >&5
38407 ac_cv_type_pid_t=no
38410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38412 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
38413 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
38414 if test $ac_cv_type_pid_t = yes; then
38418 cat >>confdefs.h <<_ACEOF
38424 { echo "$as_me:$LINENO: checking for size_t" >&5
38425 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
38426 if test "${ac_cv_type_size_t+set}" = set; then
38427 echo $ECHO_N "(cached) $ECHO_C" >&6
38429 cat >conftest.$ac_ext <<_ACEOF
38432 cat confdefs.h >>conftest.$ac_ext
38433 cat >>conftest.$ac_ext <<_ACEOF
38434 /* end confdefs.h. */
38435 $ac_includes_default
38436 typedef size_t ac__type_new_;
38440 if ((ac__type_new_ *) 0)
38442 if (sizeof (ac__type_new_))
38448 rm -f conftest.$ac_objext
38449 if { (ac_try="$ac_compile"
38450 case "(($ac_try" in
38451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38452 *) ac_try_echo
=$ac_try;;
38454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38455 (eval "$ac_compile") 2>conftest.er1
38457 grep -v '^ *+' conftest.er1
>conftest.err
38459 cat conftest.err
>&5
38460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38461 (exit $ac_status); } && {
38462 test -z "$ac_c_werror_flag" ||
38463 test ! -s conftest.err
38464 } && test -s conftest.
$ac_objext; then
38465 ac_cv_type_size_t
=yes
38467 echo "$as_me: failed program was:" >&5
38468 sed 's/^/| /' conftest.
$ac_ext >&5
38470 ac_cv_type_size_t
=no
38473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38475 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
38476 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
38477 if test $ac_cv_type_size_t = yes; then
38481 cat >>confdefs.h
<<_ACEOF
38482 #define size_t unsigned int
38488 { echo "$as_me:$LINENO: checking for ssize_t" >&5
38489 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
38490 if test "${ac_cv_type_ssize_t+set}" = set; then
38491 echo $ECHO_N "(cached) $ECHO_C" >&6
38493 cat >conftest.
$ac_ext <<_ACEOF
38496 cat confdefs.h
>>conftest.
$ac_ext
38497 cat >>conftest.
$ac_ext <<_ACEOF
38498 /* end confdefs.h. */
38499 $ac_includes_default
38500 typedef ssize_t ac__type_new_;
38504 if ((ac__type_new_ *) 0)
38506 if (sizeof (ac__type_new_))
38512 rm -f conftest.
$ac_objext
38513 if { (ac_try
="$ac_compile"
38514 case "(($ac_try" in
38515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38516 *) ac_try_echo=$ac_try;;
38518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38519 (eval "$ac_compile") 2>conftest.er1
38521 grep -v '^ *+' conftest.er1 >conftest.err
38523 cat conftest.err >&5
38524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38525 (exit $ac_status); } && {
38526 test -z "$ac_c_werror_flag" ||
38527 test ! -s conftest.err
38528 } && test -s conftest.$ac_objext; then
38529 ac_cv_type_ssize_t=yes
38531 echo "$as_me: failed program was:" >&5
38532 sed 's/^/| /' conftest.$ac_ext >&5
38534 ac_cv_type_ssize_t=no
38537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38539 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
38540 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
38541 if test $ac_cv_type_ssize_t = yes; then
38543 cat >>confdefs.h <<_ACEOF
38544 #define HAVE_SSIZE_T 1
38552 ac_cpp='$CXXCPP $CPPFLAGS'
38553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38556 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
38557 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
38558 if test "${wx_cv_size_t_is_uint+set}" = set; then
38559 echo $ECHO_N "(cached) $ECHO_C" >&6
38562 cat >conftest.$ac_ext <<_ACEOF
38565 cat confdefs.h >>conftest.$ac_ext
38566 cat >>conftest.$ac_ext <<_ACEOF
38567 /* end confdefs.h. */
38568 #include <stddef.h>
38575 struct Foo { void foo(size_t); void foo(unsigned int); };
38583 rm -f conftest.$ac_objext
38584 if { (ac_try="$ac_compile"
38585 case "(($ac_try" in
38586 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38587 *) ac_try_echo
=$ac_try;;
38589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38590 (eval "$ac_compile") 2>conftest.er1
38592 grep -v '^ *+' conftest.er1
>conftest.err
38594 cat conftest.err
>&5
38595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38596 (exit $ac_status); } && {
38597 test -z "$ac_cxx_werror_flag" ||
38598 test ! -s conftest.err
38599 } && test -s conftest.
$ac_objext; then
38600 wx_cv_size_t_is_uint
=no
38602 echo "$as_me: failed program was:" >&5
38603 sed 's/^/| /' conftest.
$ac_ext >&5
38605 wx_cv_size_t_is_uint
=yes
38609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38613 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
38614 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
38616 if test "$wx_cv_size_t_is_uint" = "yes"; then
38617 cat >>confdefs.h
<<\_ACEOF
38618 #define wxSIZE_T_IS_UINT 1
38622 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
38623 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
38624 if test "${wx_cv_size_t_is_ulong+set}" = set; then
38625 echo $ECHO_N "(cached) $ECHO_C" >&6
38627 cat >conftest.
$ac_ext <<_ACEOF
38630 cat confdefs.h
>>conftest.
$ac_ext
38631 cat >>conftest.
$ac_ext <<_ACEOF
38632 /* end confdefs.h. */
38633 #include <stddef.h>
38640 struct Foo { void foo(size_t); void foo(unsigned long); };
38648 rm -f conftest.
$ac_objext
38649 if { (ac_try
="$ac_compile"
38650 case "(($ac_try" in
38651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38652 *) ac_try_echo=$ac_try;;
38654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38655 (eval "$ac_compile") 2>conftest.er1
38657 grep -v '^ *+' conftest.er1 >conftest.err
38659 cat conftest.err >&5
38660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38661 (exit $ac_status); } && {
38662 test -z "$ac_cxx_werror_flag" ||
38663 test ! -s conftest.err
38664 } && test -s conftest.$ac_objext; then
38665 wx_cv_size_t_is_ulong=no
38667 echo "$as_me: failed program was:" >&5
38668 sed 's/^/| /' conftest.$ac_ext >&5
38670 wx_cv_size_t_is_ulong=yes
38674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38677 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
38678 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
38680 if test "$wx_cv_size_t_is_ulong" = "yes"; then
38681 cat >>confdefs.h <<\_ACEOF
38682 #define wxSIZE_T_IS_ULONG 1
38688 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
38689 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
38690 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
38691 echo $ECHO_N "(cached) $ECHO_C" >&6
38693 cat >conftest.$ac_ext <<_ACEOF
38696 cat confdefs.h >>conftest.$ac_ext
38697 cat >>conftest.$ac_ext <<_ACEOF
38698 /* end confdefs.h. */
38706 struct Foo { void foo(wchar_t);
38707 void foo(unsigned short);
38708 void foo(unsigned int);
38709 void foo(unsigned long); };
38717 rm -f conftest.$ac_objext
38718 if { (ac_try="$ac_compile"
38719 case "(($ac_try" in
38720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38721 *) ac_try_echo
=$ac_try;;
38723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38724 (eval "$ac_compile") 2>conftest.er1
38726 grep -v '^ *+' conftest.er1
>conftest.err
38728 cat conftest.err
>&5
38729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38730 (exit $ac_status); } && {
38731 test -z "$ac_cxx_werror_flag" ||
38732 test ! -s conftest.err
38733 } && test -s conftest.
$ac_objext; then
38734 wx_cv_wchar_t_is_separate_type
=yes
38736 echo "$as_me: failed program was:" >&5
38737 sed 's/^/| /' conftest.
$ac_ext >&5
38739 wx_cv_wchar_t_is_separate_type
=no
38743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38746 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
38747 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
38749 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
38750 cat >>confdefs.h
<<\_ACEOF
38751 #define wxWCHAR_T_IS_REAL_TYPE 1
38755 cat >>confdefs.h
<<\_ACEOF
38756 #define wxWCHAR_T_IS_REAL_TYPE 0
38762 ac_cpp
='$CPP $CPPFLAGS'
38763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38768 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
38769 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
38770 if test "${wx_cv_struct_pw_gecos+set}" = set; then
38771 echo $ECHO_N "(cached) $ECHO_C" >&6
38774 cat >conftest.
$ac_ext <<_ACEOF
38777 cat confdefs.h
>>conftest.
$ac_ext
38778 cat >>conftest.
$ac_ext <<_ACEOF
38779 /* end confdefs.h. */
38793 rm -f conftest.
$ac_objext
38794 if { (ac_try
="$ac_compile"
38795 case "(($ac_try" in
38796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38797 *) ac_try_echo=$ac_try;;
38799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38800 (eval "$ac_compile") 2>conftest.er1
38802 grep -v '^ *+' conftest.er1 >conftest.err
38804 cat conftest.err >&5
38805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38806 (exit $ac_status); } && {
38807 test -z "$ac_c_werror_flag" ||
38808 test ! -s conftest.err
38809 } && test -s conftest.$ac_objext; then
38811 wx_cv_struct_pw_gecos=yes
38814 echo "$as_me: failed program was:" >&5
38815 sed 's/^/| /' conftest.$ac_ext >&5
38818 wx_cv_struct_pw_gecos=no
38823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38827 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
38828 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
38830 if test "$wx_cv_struct_pw_gecos" = "yes"; then
38831 cat >>confdefs.h <<\_ACEOF
38832 #define HAVE_PW_GECOS 1
38841 for ac_func in wcslen
38843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38844 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38846 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38847 echo $ECHO_N "(cached) $ECHO_C" >&6
38849 cat >conftest.$ac_ext <<_ACEOF
38852 cat confdefs.h >>conftest.$ac_ext
38853 cat >>conftest.$ac_ext <<_ACEOF
38854 /* end confdefs.h. */
38855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38857 #define $ac_func innocuous_$ac_func
38859 /* System header to define __stub macros and hopefully few prototypes,
38860 which can conflict with char $ac_func (); below.
38861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38862 <limits.h> exists even on freestanding compilers. */
38865 # include <limits.h>
38867 # include <assert.h>
38872 /* Override any GCC internal prototype to avoid an error.
38873 Use char because int might match the return type of a GCC
38874 builtin and then its argument prototype would still apply. */
38879 /* The GNU C library defines this for functions which it implements
38880 to always fail with ENOSYS. Some functions are actually named
38881 something starting with __ and the normal name is an alias. */
38882 #if defined __stub_$ac_func || defined __stub___$ac_func
38889 return $ac_func ();
38894 rm -f conftest.$ac_objext conftest$ac_exeext
38895 if { (ac_try="$ac_link"
38896 case "(($ac_try" in
38897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38898 *) ac_try_echo
=$ac_try;;
38900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38901 (eval "$ac_link") 2>conftest.er1
38903 grep -v '^ *+' conftest.er1
>conftest.err
38905 cat conftest.err
>&5
38906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38907 (exit $ac_status); } && {
38908 test -z "$ac_c_werror_flag" ||
38909 test ! -s conftest.err
38910 } && test -s conftest
$ac_exeext &&
38911 $as_test_x conftest
$ac_exeext; then
38912 eval "$as_ac_var=yes"
38914 echo "$as_me: failed program was:" >&5
38915 sed 's/^/| /' conftest.
$ac_ext >&5
38917 eval "$as_ac_var=no"
38920 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38921 conftest
$ac_exeext conftest.
$ac_ext
38923 ac_res
=`eval echo '${'$as_ac_var'}'`
38924 { echo "$as_me:$LINENO: result: $ac_res" >&5
38925 echo "${ECHO_T}$ac_res" >&6; }
38926 if test `eval echo '${'$as_ac_var'}'` = yes; then
38927 cat >>confdefs.h
<<_ACEOF
38928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38935 if test "$WCSLEN_FOUND" = 0; then
38936 if test "$TOOLKIT" = "MSW"; then
38937 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
38938 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
38939 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
38940 echo $ECHO_N "(cached) $ECHO_C" >&6
38942 ac_check_lib_save_LIBS
=$LIBS
38943 LIBS
="-lmsvcrt $LIBS"
38944 cat >conftest.
$ac_ext <<_ACEOF
38947 cat confdefs.h
>>conftest.
$ac_ext
38948 cat >>conftest.
$ac_ext <<_ACEOF
38949 /* end confdefs.h. */
38951 /* Override any GCC internal prototype to avoid an error.
38952 Use char because int might match the return type of a GCC
38953 builtin and then its argument prototype would still apply. */
38966 rm -f conftest.
$ac_objext conftest
$ac_exeext
38967 if { (ac_try
="$ac_link"
38968 case "(($ac_try" in
38969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38970 *) ac_try_echo=$ac_try;;
38972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38973 (eval "$ac_link") 2>conftest.er1
38975 grep -v '^ *+' conftest.er1 >conftest.err
38977 cat conftest.err >&5
38978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38979 (exit $ac_status); } && {
38980 test -z "$ac_c_werror_flag" ||
38981 test ! -s conftest.err
38982 } && test -s conftest$ac_exeext &&
38983 $as_test_x conftest$ac_exeext; then
38984 ac_cv_lib_msvcrt_wcslen=yes
38986 echo "$as_me: failed program was:" >&5
38987 sed 's/^/| /' conftest.$ac_ext >&5
38989 ac_cv_lib_msvcrt_wcslen=no
38992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38993 conftest$ac_exeext conftest.$ac_ext
38994 LIBS=$ac_check_lib_save_LIBS
38996 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
38997 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
38998 if test $ac_cv_lib_msvcrt_wcslen = yes; then
39003 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
39004 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
39005 if test "${ac_cv_lib_w_wcslen+set}" = set; then
39006 echo $ECHO_N "(cached) $ECHO_C" >&6
39008 ac_check_lib_save_LIBS=$LIBS
39010 cat >conftest.$ac_ext <<_ACEOF
39013 cat confdefs.h >>conftest.$ac_ext
39014 cat >>conftest.$ac_ext <<_ACEOF
39015 /* end confdefs.h. */
39017 /* Override any GCC internal prototype to avoid an error.
39018 Use char because int might match the return type of a GCC
39019 builtin and then its argument prototype would still apply. */
39032 rm -f conftest.$ac_objext conftest$ac_exeext
39033 if { (ac_try="$ac_link"
39034 case "(($ac_try" in
39035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39036 *) ac_try_echo
=$ac_try;;
39038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39039 (eval "$ac_link") 2>conftest.er1
39041 grep -v '^ *+' conftest.er1
>conftest.err
39043 cat conftest.err
>&5
39044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39045 (exit $ac_status); } && {
39046 test -z "$ac_c_werror_flag" ||
39047 test ! -s conftest.err
39048 } && test -s conftest
$ac_exeext &&
39049 $as_test_x conftest
$ac_exeext; then
39050 ac_cv_lib_w_wcslen
=yes
39052 echo "$as_me: failed program was:" >&5
39053 sed 's/^/| /' conftest.
$ac_ext >&5
39055 ac_cv_lib_w_wcslen
=no
39058 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39059 conftest
$ac_exeext conftest.
$ac_ext
39060 LIBS
=$ac_check_lib_save_LIBS
39062 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
39063 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
39064 if test $ac_cv_lib_w_wcslen = yes; then
39074 if test "$WCSLEN_FOUND" = 1; then
39075 cat >>confdefs.h
<<\_ACEOF
39076 #define HAVE_WCSLEN 1
39087 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
39089 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39090 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39092 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39093 echo $ECHO_N "(cached) $ECHO_C" >&6
39095 cat >conftest.
$ac_ext <<_ACEOF
39098 cat confdefs.h
>>conftest.
$ac_ext
39099 cat >>conftest.
$ac_ext <<_ACEOF
39100 /* end confdefs.h. */
39101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39103 #define $ac_func innocuous_$ac_func
39105 /* System header to define __stub macros and hopefully few prototypes,
39106 which can conflict with char $ac_func (); below.
39107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39108 <limits.h> exists even on freestanding compilers. */
39111 # include <limits.h>
39113 # include <assert.h>
39118 /* Override any GCC internal prototype to avoid an error.
39119 Use char because int might match the return type of a GCC
39120 builtin and then its argument prototype would still apply. */
39125 /* The GNU C library defines this for functions which it implements
39126 to always fail with ENOSYS. Some functions are actually named
39127 something starting with __ and the normal name is an alias. */
39128 #if defined __stub_$ac_func || defined __stub___$ac_func
39135 return $ac_func ();
39140 rm -f conftest.
$ac_objext conftest
$ac_exeext
39141 if { (ac_try
="$ac_link"
39142 case "(($ac_try" in
39143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39144 *) ac_try_echo=$ac_try;;
39146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39147 (eval "$ac_link") 2>conftest.er1
39149 grep -v '^ *+' conftest.er1 >conftest.err
39151 cat conftest.err >&5
39152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153 (exit $ac_status); } && {
39154 test -z "$ac_c_werror_flag" ||
39155 test ! -s conftest.err
39156 } && test -s conftest$ac_exeext &&
39157 $as_test_x conftest$ac_exeext; then
39158 eval "$as_ac_var=yes"
39160 echo "$as_me: failed program was:" >&5
39161 sed 's/^/| /' conftest.$ac_ext >&5
39163 eval "$as_ac_var=no"
39166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39167 conftest$ac_exeext conftest.$ac_ext
39169 ac_res=`eval echo '${'$as_ac_var'}'`
39170 { echo "$as_me:$LINENO: result: $ac_res" >&5
39171 echo "${ECHO_T}$ac_res" >&6; }
39172 if test `eval echo '${'$as_ac_var'}'` = yes; then
39173 cat >>confdefs.h <<_ACEOF
39174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39181 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
39182 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
39185 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
39186 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
39187 if test "${ac_cv_type_mbstate_t+set}" = set; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39190 cat >conftest.$ac_ext <<_ACEOF
39193 cat confdefs.h >>conftest.$ac_ext
39194 cat >>conftest.$ac_ext <<_ACEOF
39195 /* end confdefs.h. */
39198 typedef mbstate_t ac__type_new_;
39202 if ((ac__type_new_ *) 0)
39204 if (sizeof (ac__type_new_))
39210 rm -f conftest.$ac_objext
39211 if { (ac_try="$ac_compile"
39212 case "(($ac_try" in
39213 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39214 *) ac_try_echo
=$ac_try;;
39216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39217 (eval "$ac_compile") 2>conftest.er1
39219 grep -v '^ *+' conftest.er1
>conftest.err
39221 cat conftest.err
>&5
39222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39223 (exit $ac_status); } && {
39224 test -z "$ac_c_werror_flag" ||
39225 test ! -s conftest.err
39226 } && test -s conftest.
$ac_objext; then
39227 ac_cv_type_mbstate_t
=yes
39229 echo "$as_me: failed program was:" >&5
39230 sed 's/^/| /' conftest.
$ac_ext >&5
39232 ac_cv_type_mbstate_t
=no
39235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39237 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
39238 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
39239 if test $ac_cv_type_mbstate_t = yes; then
39241 cat >>confdefs.h
<<_ACEOF
39242 #define HAVE_MBSTATE_T 1
39246 for ac_func
in wcsrtombs
39248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39249 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39251 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39252 echo $ECHO_N "(cached) $ECHO_C" >&6
39254 cat >conftest.
$ac_ext <<_ACEOF
39257 cat confdefs.h
>>conftest.
$ac_ext
39258 cat >>conftest.
$ac_ext <<_ACEOF
39259 /* end confdefs.h. */
39260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39262 #define $ac_func innocuous_$ac_func
39264 /* System header to define __stub macros and hopefully few prototypes,
39265 which can conflict with char $ac_func (); below.
39266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39267 <limits.h> exists even on freestanding compilers. */
39270 # include <limits.h>
39272 # include <assert.h>
39277 /* Override any GCC internal prototype to avoid an error.
39278 Use char because int might match the return type of a GCC
39279 builtin and then its argument prototype would still apply. */
39284 /* The GNU C library defines this for functions which it implements
39285 to always fail with ENOSYS. Some functions are actually named
39286 something starting with __ and the normal name is an alias. */
39287 #if defined __stub_$ac_func || defined __stub___$ac_func
39294 return $ac_func ();
39299 rm -f conftest.
$ac_objext conftest
$ac_exeext
39300 if { (ac_try
="$ac_link"
39301 case "(($ac_try" in
39302 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39303 *) ac_try_echo=$ac_try;;
39305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39306 (eval "$ac_link") 2>conftest.er1
39308 grep -v '^ *+' conftest.er1 >conftest.err
39310 cat conftest.err >&5
39311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312 (exit $ac_status); } && {
39313 test -z "$ac_c_werror_flag" ||
39314 test ! -s conftest.err
39315 } && test -s conftest$ac_exeext &&
39316 $as_test_x conftest$ac_exeext; then
39317 eval "$as_ac_var=yes"
39319 echo "$as_me: failed program was:" >&5
39320 sed 's/^/| /' conftest.$ac_ext >&5
39322 eval "$as_ac_var=no"
39325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39326 conftest$ac_exeext conftest.$ac_ext
39328 ac_res=`eval echo '${'$as_ac_var'}'`
39329 { echo "$as_me:$LINENO: result: $ac_res" >&5
39330 echo "${ECHO_T}$ac_res" >&6; }
39331 if test `eval echo '${'$as_ac_var'}'` = yes; then
39332 cat >>confdefs.h <<_ACEOF
39333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39345 for ac_func in snprintf vsnprintf vsscanf
39347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39348 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39350 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39351 echo $ECHO_N "(cached) $ECHO_C" >&6
39353 cat >conftest.$ac_ext <<_ACEOF
39356 cat confdefs.h >>conftest.$ac_ext
39357 cat >>conftest.$ac_ext <<_ACEOF
39358 /* end confdefs.h. */
39359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39361 #define $ac_func innocuous_$ac_func
39363 /* System header to define __stub macros and hopefully few prototypes,
39364 which can conflict with char $ac_func (); below.
39365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39366 <limits.h> exists even on freestanding compilers. */
39369 # include <limits.h>
39371 # include <assert.h>
39376 /* Override any GCC internal prototype to avoid an error.
39377 Use char because int might match the return type of a GCC
39378 builtin and then its argument prototype would still apply. */
39383 /* The GNU C library defines this for functions which it implements
39384 to always fail with ENOSYS. Some functions are actually named
39385 something starting with __ and the normal name is an alias. */
39386 #if defined __stub_$ac_func || defined __stub___$ac_func
39393 return $ac_func ();
39398 rm -f conftest.$ac_objext conftest$ac_exeext
39399 if { (ac_try="$ac_link"
39400 case "(($ac_try" in
39401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39402 *) ac_try_echo
=$ac_try;;
39404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39405 (eval "$ac_link") 2>conftest.er1
39407 grep -v '^ *+' conftest.er1
>conftest.err
39409 cat conftest.err
>&5
39410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39411 (exit $ac_status); } && {
39412 test -z "$ac_c_werror_flag" ||
39413 test ! -s conftest.err
39414 } && test -s conftest
$ac_exeext &&
39415 $as_test_x conftest
$ac_exeext; then
39416 eval "$as_ac_var=yes"
39418 echo "$as_me: failed program was:" >&5
39419 sed 's/^/| /' conftest.
$ac_ext >&5
39421 eval "$as_ac_var=no"
39424 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39425 conftest
$ac_exeext conftest.
$ac_ext
39427 ac_res
=`eval echo '${'$as_ac_var'}'`
39428 { echo "$as_me:$LINENO: result: $ac_res" >&5
39429 echo "${ECHO_T}$ac_res" >&6; }
39430 if test `eval echo '${'$as_ac_var'}'` = yes; then
39431 cat >>confdefs.h
<<_ACEOF
39432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39440 ac_cpp
='$CXXCPP $CPPFLAGS'
39441 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39442 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39443 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39445 if test "$ac_cv_func_vsnprintf" = "yes"; then
39446 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
39447 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
39448 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
39449 echo $ECHO_N "(cached) $ECHO_C" >&6
39452 cat >conftest.
$ac_ext <<_ACEOF
39455 cat confdefs.h
>>conftest.
$ac_ext
39456 cat >>conftest.
$ac_ext <<_ACEOF
39457 /* end confdefs.h. */
39460 #include <stdarg.h>
39462 #if __MSL__ >= 0x6000
39464 using namespace std;
39474 vsnprintf(buf, 10u, "%s", ap);
39480 rm -f conftest.
$ac_objext
39481 if { (ac_try
="$ac_compile"
39482 case "(($ac_try" in
39483 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39484 *) ac_try_echo=$ac_try;;
39486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39487 (eval "$ac_compile") 2>conftest.er1
39489 grep -v '^ *+' conftest.er1 >conftest.err
39491 cat conftest.err >&5
39492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39493 (exit $ac_status); } && {
39494 test -z "$ac_cxx_werror_flag" ||
39495 test ! -s conftest.err
39496 } && test -s conftest.$ac_objext; then
39497 wx_cv_func_vsnprintf_decl=yes
39499 echo "$as_me: failed program was:" >&5
39500 sed 's/^/| /' conftest.$ac_ext >&5
39502 wx_cv_func_vsnprintf_decl=no
39506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39510 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
39511 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
39513 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
39514 cat >>confdefs.h <<\_ACEOF
39515 #define HAVE_VSNPRINTF_DECL 1
39519 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
39520 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
39521 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
39522 echo $ECHO_N "(cached) $ECHO_C" >&6
39525 cat >conftest.$ac_ext <<_ACEOF
39528 cat confdefs.h >>conftest.$ac_ext
39529 cat >>conftest.$ac_ext <<_ACEOF
39530 /* end confdefs.h. */
39533 #include <stdarg.h>
39535 #if __MSL__ >= 0x6000
39537 using namespace std;
39547 const char *fmt = "%s";
39548 vsnprintf(buf, 10u, fmt, ap);
39554 rm -f conftest.$ac_objext
39555 if { (ac_try="$ac_compile"
39556 case "(($ac_try" in
39557 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39558 *) ac_try_echo
=$ac_try;;
39560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39561 (eval "$ac_compile") 2>conftest.er1
39563 grep -v '^ *+' conftest.er1
>conftest.err
39565 cat conftest.err
>&5
39566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39567 (exit $ac_status); } && {
39568 test -z "$ac_cxx_werror_flag" ||
39569 test ! -s conftest.err
39570 } && test -s conftest.
$ac_objext; then
39571 wx_cv_func_broken_vsnprintf_decl
=no
39573 echo "$as_me: failed program was:" >&5
39574 sed 's/^/| /' conftest.
$ac_ext >&5
39576 wx_cv_func_broken_vsnprintf_decl
=yes
39580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39584 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
39585 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
39587 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
39588 cat >>confdefs.h
<<\_ACEOF
39589 #define HAVE_BROKEN_VSNPRINTF_DECL 1
39596 if test "$ac_cv_func_snprintf" = "yes"; then
39597 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
39598 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
39599 if test "${wx_cv_func_snprintf_decl+set}" = set; then
39600 echo $ECHO_N "(cached) $ECHO_C" >&6
39603 cat >conftest.
$ac_ext <<_ACEOF
39606 cat confdefs.h
>>conftest.
$ac_ext
39607 cat >>conftest.
$ac_ext <<_ACEOF
39608 /* end confdefs.h. */
39611 #include <stdarg.h>
39613 #if __MSL__ >= 0x6000
39615 using namespace std;
39624 snprintf(buf, 10u, "%s", "wx");
39630 rm -f conftest.
$ac_objext
39631 if { (ac_try
="$ac_compile"
39632 case "(($ac_try" in
39633 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39634 *) ac_try_echo=$ac_try;;
39636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39637 (eval "$ac_compile") 2>conftest.er1
39639 grep -v '^ *+' conftest.er1 >conftest.err
39641 cat conftest.err >&5
39642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39643 (exit $ac_status); } && {
39644 test -z "$ac_cxx_werror_flag" ||
39645 test ! -s conftest.err
39646 } && test -s conftest.$ac_objext; then
39647 wx_cv_func_snprintf_decl=yes
39649 echo "$as_me: failed program was:" >&5
39650 sed 's/^/| /' conftest.$ac_ext >&5
39652 wx_cv_func_snprintf_decl=no
39656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39660 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
39661 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
39663 if test "$wx_cv_func_snprintf_decl" = "yes"; then
39664 cat >>confdefs.h <<\_ACEOF
39665 #define HAVE_SNPRINTF_DECL 1
39670 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
39672 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
39673 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
39674 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
39675 echo $ECHO_N "(cached) $ECHO_C" >&6
39678 if test "$cross_compiling" = yes; then
39680 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
39681 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
39682 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
39683 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
39684 wx_cv_func_snprintf_pos_params=no
39688 cat >conftest.$ac_ext <<_ACEOF
39691 cat confdefs.h >>conftest.$ac_ext
39692 cat >>conftest.$ac_ext <<_ACEOF
39693 /* end confdefs.h. */
39700 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
39701 if (strcmp ("2 3 1", buffer) == 0)
39707 rm -f conftest$ac_exeext
39708 if { (ac_try="$ac_link"
39709 case "(($ac_try" in
39710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39711 *) ac_try_echo
=$ac_try;;
39713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39714 (eval "$ac_link") 2>&5
39716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39717 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_try") 2>&5
39725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39726 (exit $ac_status); }; }; then
39727 wx_cv_func_snprintf_pos_params=no
39729 echo "$as_me: program exited with status $ac_status" >&5
39730 echo "$as_me: failed program was:" >&5
39731 sed 's/^/| /' conftest.$ac_ext >&5
39733 ( exit $ac_status )
39734 wx_cv_func_snprintf_pos_params=yes
39736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39743 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
39744 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
39746 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
39747 cat >>confdefs.h <<\_ACEOF
39748 #define HAVE_UNIX98_PRINTF 1
39755 if test "$ac_cv_func_vsscanf" = "yes"; then
39756 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
39757 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
39758 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
39759 echo $ECHO_N "(cached) $ECHO_C" >&6
39762 cat >conftest.$ac_ext <<_ACEOF
39765 cat confdefs.h >>conftest.$ac_ext
39766 cat >>conftest.$ac_ext <<_ACEOF
39767 /* end confdefs.h. */
39770 #include <stdarg.h>
39772 #if __MSL__ >= 0x6000
39774 using namespace std;
39784 vsscanf(buf, "%s", args);
39790 rm -f conftest.$ac_objext
39791 if { (ac_try="$ac_compile"
39792 case "(($ac_try" in
39793 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39794 *) ac_try_echo
=$ac_try;;
39796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39797 (eval "$ac_compile") 2>conftest.er1
39799 grep -v '^ *+' conftest.er1
>conftest.err
39801 cat conftest.err
>&5
39802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39803 (exit $ac_status); } && {
39804 test -z "$ac_cxx_werror_flag" ||
39805 test ! -s conftest.err
39806 } && test -s conftest.
$ac_objext; then
39807 wx_cv_func_vsscanf_decl
=yes
39809 echo "$as_me: failed program was:" >&5
39810 sed 's/^/| /' conftest.
$ac_ext >&5
39812 wx_cv_func_vsscanf_decl
=no
39816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39820 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
39821 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
39823 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
39824 cat >>confdefs.h
<<\_ACEOF
39825 #define HAVE_VSSCANF_DECL 1
39831 ac_cpp
='$CPP $CPPFLAGS'
39832 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39833 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39834 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39837 if test "$wxUSE_UNICODE" = yes; then
39839 wchar_headers
="#include <stdio.h>
39840 #include <wchar.h>"
39844 for ac_header
in widec.h
39846 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39847 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39849 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39850 echo $ECHO_N "(cached) $ECHO_C" >&6
39852 cat >conftest.
$ac_ext <<_ACEOF
39855 cat confdefs.h
>>conftest.
$ac_ext
39856 cat >>conftest.
$ac_ext <<_ACEOF
39857 /* end confdefs.h. */
39858 $ac_includes_default
39860 #include <$ac_header>
39862 rm -f conftest.
$ac_objext
39863 if { (ac_try
="$ac_compile"
39864 case "(($ac_try" in
39865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39866 *) ac_try_echo=$ac_try;;
39868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39869 (eval "$ac_compile") 2>conftest.er1
39871 grep -v '^ *+' conftest.er1 >conftest.err
39873 cat conftest.err >&5
39874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39875 (exit $ac_status); } && {
39876 test -z "$ac_c_werror_flag" ||
39877 test ! -s conftest.err
39878 } && test -s conftest.$ac_objext; then
39879 eval "$as_ac_Header=yes"
39881 echo "$as_me: failed program was:" >&5
39882 sed 's/^/| /' conftest.$ac_ext >&5
39884 eval "$as_ac_Header=no"
39887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39889 ac_res=`eval echo '${'$as_ac_Header'}'`
39890 { echo "$as_me:$LINENO: result: $ac_res" >&5
39891 echo "${ECHO_T}$ac_res" >&6; }
39892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39893 cat >>confdefs.h <<_ACEOF
39894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39901 if test "$ac_cv_header_widec_h" = "yes"; then
39902 wchar_headers="$wchar_headers
39903 #include <widec.h>"
39908 for wx_func in putws fputws wprintf vswprintf vswscanf
39910 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39911 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39912 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39913 echo $ECHO_N "(cached) $ECHO_C" >&6
39916 cat >conftest.$ac_ext <<_ACEOF
39920 cat confdefs.h >>conftest.$ac_ext
39921 cat >>conftest.$ac_ext <<_ACEOF
39922 /* end confdefs.h. */
39925 $ac_includes_default
39941 rm -f conftest.$ac_objext conftest$ac_exeext
39942 if { (ac_try="$ac_link"
39943 case "(($ac_try" in
39944 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39945 *) ac_try_echo
=$ac_try;;
39947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39948 (eval "$ac_link") 2>conftest.er1
39950 grep -v '^ *+' conftest.er1
>conftest.err
39952 cat conftest.err
>&5
39953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39954 (exit $ac_status); } && {
39955 test -z "$ac_c_werror_flag" ||
39956 test ! -s conftest.err
39957 } && test -s conftest
$ac_exeext &&
39958 $as_test_x conftest
$ac_exeext; then
39959 eval wx_cv_func_
$wx_func=yes
39961 echo "$as_me: failed program was:" >&5
39962 sed 's/^/| /' conftest.
$ac_ext >&5
39964 eval wx_cv_func_
$wx_func=no
39967 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39968 conftest
$ac_exeext conftest.
$ac_ext
39971 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39972 { echo "$as_me:$LINENO: result: $ac_res" >&5
39973 echo "${ECHO_T}$ac_res" >&6; }
39975 if eval test \
$wx_cv_func_$wx_func = yes
39977 cat >>confdefs.h
<<_ACEOF
39978 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39989 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39990 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39991 cat >conftest.
$ac_ext <<_ACEOF
39994 cat confdefs.h
>>conftest.
$ac_ext
39995 cat >>conftest.
$ac_ext <<_ACEOF
39996 /* end confdefs.h. */
40006 rm -f conftest.
$ac_objext
40007 if { (ac_try
="$ac_compile"
40008 case "(($ac_try" in
40009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40010 *) ac_try_echo=$ac_try;;
40012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40013 (eval "$ac_compile") 2>conftest.er1
40015 grep -v '^ *+' conftest.er1 >conftest.err
40017 cat conftest.err >&5
40018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40019 (exit $ac_status); } && {
40020 test -z "$ac_c_werror_flag" ||
40021 test ! -s conftest.err
40022 } && test -s conftest.$ac_objext; then
40023 { echo "$as_me:$LINENO: result: yes" >&5
40024 echo "${ECHO_T}yes" >&6; }
40025 cat >>confdefs.h <<\_ACEOF
40026 #define HAVE__VSNWPRINTF 1
40030 echo "$as_me: failed program was:" >&5
40031 sed 's/^/| /' conftest.$ac_ext >&5
40033 { echo "$as_me:$LINENO: result: no" >&5
40034 echo "${ECHO_T}no" >&6; }
40037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
40040 if test "$wxUSE_FILE" = "yes"; then
40042 for wx_func in fsync
40044 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40045 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40046 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40047 echo $ECHO_N "(cached) $ECHO_C" >&6
40050 cat >conftest.$ac_ext <<_ACEOF
40054 cat confdefs.h >>conftest.$ac_ext
40055 cat >>conftest.$ac_ext <<_ACEOF
40056 /* end confdefs.h. */
40059 $ac_includes_default
40075 rm -f conftest.$ac_objext conftest$ac_exeext
40076 if { (ac_try="$ac_link"
40077 case "(($ac_try" in
40078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40079 *) ac_try_echo
=$ac_try;;
40081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40082 (eval "$ac_link") 2>conftest.er1
40084 grep -v '^ *+' conftest.er1
>conftest.err
40086 cat conftest.err
>&5
40087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40088 (exit $ac_status); } && {
40089 test -z "$ac_c_werror_flag" ||
40090 test ! -s conftest.err
40091 } && test -s conftest
$ac_exeext &&
40092 $as_test_x conftest
$ac_exeext; then
40093 eval wx_cv_func_
$wx_func=yes
40095 echo "$as_me: failed program was:" >&5
40096 sed 's/^/| /' conftest.
$ac_ext >&5
40098 eval wx_cv_func_
$wx_func=no
40101 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40102 conftest
$ac_exeext conftest.
$ac_ext
40105 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40106 { echo "$as_me:$LINENO: result: $ac_res" >&5
40107 echo "${ECHO_T}$ac_res" >&6; }
40109 if eval test \
$wx_cv_func_$wx_func = yes
40111 cat >>confdefs.h
<<_ACEOF
40112 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40125 ac_cpp
='$CXXCPP $CPPFLAGS'
40126 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40131 for wx_func
in round
40133 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40134 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40135 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40136 echo $ECHO_N "(cached) $ECHO_C" >&6
40139 cat >conftest.
$ac_ext <<_ACEOF
40143 cat confdefs.h
>>conftest.
$ac_ext
40144 cat >>conftest.
$ac_ext <<_ACEOF
40145 /* end confdefs.h. */
40148 $ac_includes_default
40164 rm -f conftest.
$ac_objext conftest
$ac_exeext
40165 if { (ac_try
="$ac_link"
40166 case "(($ac_try" in
40167 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40168 *) ac_try_echo=$ac_try;;
40170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40171 (eval "$ac_link") 2>conftest.er1
40173 grep -v '^ *+' conftest.er1 >conftest.err
40175 cat conftest.err >&5
40176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40177 (exit $ac_status); } && {
40178 test -z "$ac_cxx_werror_flag" ||
40179 test ! -s conftest.err
40180 } && test -s conftest$ac_exeext &&
40181 $as_test_x conftest$ac_exeext; then
40182 eval wx_cv_func_$wx_func=yes
40184 echo "$as_me: failed program was:" >&5
40185 sed 's/^/| /' conftest.$ac_ext >&5
40187 eval wx_cv_func_$wx_func=no
40190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40191 conftest$ac_exeext conftest.$ac_ext
40194 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40195 { echo "$as_me:$LINENO: result: $ac_res" >&5
40196 echo "${ECHO_T}$ac_res" >&6; }
40198 if eval test \$wx_cv_func_$wx_func = yes
40200 cat >>confdefs.h <<_ACEOF
40201 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40212 ac_cpp='$CPP $CPPFLAGS'
40213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40218 if test "$TOOLKIT" != "MSW"; then
40220 if test "$wxUSE_LIBICONV" != "no" ; then
40224 # Check whether --with-libiconv-prefix was given.
40225 if test "${with_libiconv_prefix+set}" = set; then
40226 withval=$with_libiconv_prefix;
40227 for dir in `echo "$withval" | tr : ' '`; do
40228 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
40229 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
40235 { echo "$as_me:$LINENO: checking for iconv" >&5
40236 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
40237 if test "${am_cv_func_iconv+set}" = set; then
40238 echo $ECHO_N "(cached) $ECHO_C" >&6
40241 am_cv_func_iconv="no, consider installing GNU libiconv"
40243 cat >conftest.$ac_ext <<_ACEOF
40246 cat confdefs.h >>conftest.$ac_ext
40247 cat >>conftest.$ac_ext <<_ACEOF
40248 /* end confdefs.h. */
40249 #include <stdlib.h>
40254 iconv_t cd = iconv_open("","");
40255 iconv(cd,NULL,NULL,NULL,NULL);
40261 rm -f conftest.$ac_objext conftest$ac_exeext
40262 if { (ac_try="$ac_link"
40263 case "(($ac_try" in
40264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40265 *) ac_try_echo
=$ac_try;;
40267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40268 (eval "$ac_link") 2>conftest.er1
40270 grep -v '^ *+' conftest.er1
>conftest.err
40272 cat conftest.err
>&5
40273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274 (exit $ac_status); } && {
40275 test -z "$ac_c_werror_flag" ||
40276 test ! -s conftest.err
40277 } && test -s conftest
$ac_exeext &&
40278 $as_test_x conftest
$ac_exeext; then
40279 am_cv_func_iconv
=yes
40281 echo "$as_me: failed program was:" >&5
40282 sed 's/^/| /' conftest.
$ac_ext >&5
40287 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40288 conftest
$ac_exeext conftest.
$ac_ext
40289 if test "$am_cv_func_iconv" != yes; then
40290 am_save_LIBS
="$LIBS"
40291 LIBS
="$LIBS -liconv"
40292 cat >conftest.
$ac_ext <<_ACEOF
40295 cat confdefs.h
>>conftest.
$ac_ext
40296 cat >>conftest.
$ac_ext <<_ACEOF
40297 /* end confdefs.h. */
40298 #include <stdlib.h>
40303 iconv_t cd = iconv_open("","");
40304 iconv(cd,NULL,NULL,NULL,NULL);
40310 rm -f conftest.
$ac_objext conftest
$ac_exeext
40311 if { (ac_try
="$ac_link"
40312 case "(($ac_try" in
40313 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40314 *) ac_try_echo=$ac_try;;
40316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40317 (eval "$ac_link") 2>conftest.er1
40319 grep -v '^ *+' conftest.er1 >conftest.err
40321 cat conftest.err >&5
40322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40323 (exit $ac_status); } && {
40324 test -z "$ac_c_werror_flag" ||
40325 test ! -s conftest.err
40326 } && test -s conftest$ac_exeext &&
40327 $as_test_x conftest$ac_exeext; then
40328 am_cv_lib_iconv=yes
40329 am_cv_func_iconv=yes
40331 echo "$as_me: failed program was:" >&5
40332 sed 's/^/| /' conftest.$ac_ext >&5
40337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40338 conftest$ac_exeext conftest.$ac_ext
40339 LIBS="$am_save_LIBS"
40343 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
40344 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
40345 if test "$am_cv_func_iconv" = yes; then
40347 cat >>confdefs.h <<\_ACEOF
40348 #define HAVE_ICONV 1
40351 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
40352 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
40353 if test "${wx_cv_func_iconv_const+set}" = set; then
40354 echo $ECHO_N "(cached) $ECHO_C" >&6
40356 cat >conftest.$ac_ext <<_ACEOF
40359 cat confdefs.h >>conftest.$ac_ext
40360 cat >>conftest.$ac_ext <<_ACEOF
40361 /* end confdefs.h. */
40363 #include <stdlib.h>
40369 #if defined(__STDC__) || defined(__cplusplus)
40370 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40383 rm -f conftest.$ac_objext
40384 if { (ac_try="$ac_compile"
40385 case "(($ac_try" in
40386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40387 *) ac_try_echo
=$ac_try;;
40389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40390 (eval "$ac_compile") 2>conftest.er1
40392 grep -v '^ *+' conftest.er1
>conftest.err
40394 cat conftest.err
>&5
40395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40396 (exit $ac_status); } && {
40397 test -z "$ac_c_werror_flag" ||
40398 test ! -s conftest.err
40399 } && test -s conftest.
$ac_objext; then
40400 wx_cv_func_iconv_const
="no"
40402 echo "$as_me: failed program was:" >&5
40403 sed 's/^/| /' conftest.
$ac_ext >&5
40405 wx_cv_func_iconv_const
="yes"
40409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40412 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
40413 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
40416 if test "x$wx_cv_func_iconv_const" = "xyes"; then
40417 iconv_const
="const"
40421 cat >>confdefs.h
<<_ACEOF
40422 #define ICONV_CONST $iconv_const
40427 if test "$am_cv_lib_iconv" = yes; then
40432 LIBS
="$LIBICONV $LIBS"
40435 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40437 for ac_func
in sigaction
40439 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40442 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40443 echo $ECHO_N "(cached) $ECHO_C" >&6
40445 cat >conftest.
$ac_ext <<_ACEOF
40448 cat confdefs.h
>>conftest.
$ac_ext
40449 cat >>conftest.
$ac_ext <<_ACEOF
40450 /* end confdefs.h. */
40451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40453 #define $ac_func innocuous_$ac_func
40455 /* System header to define __stub macros and hopefully few prototypes,
40456 which can conflict with char $ac_func (); below.
40457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40458 <limits.h> exists even on freestanding compilers. */
40461 # include <limits.h>
40463 # include <assert.h>
40468 /* Override any GCC internal prototype to avoid an error.
40469 Use char because int might match the return type of a GCC
40470 builtin and then its argument prototype would still apply. */
40475 /* The GNU C library defines this for functions which it implements
40476 to always fail with ENOSYS. Some functions are actually named
40477 something starting with __ and the normal name is an alias. */
40478 #if defined __stub_$ac_func || defined __stub___$ac_func
40485 return $ac_func ();
40490 rm -f conftest.
$ac_objext conftest
$ac_exeext
40491 if { (ac_try
="$ac_link"
40492 case "(($ac_try" in
40493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40494 *) ac_try_echo=$ac_try;;
40496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40497 (eval "$ac_link") 2>conftest.er1
40499 grep -v '^ *+' conftest.er1 >conftest.err
40501 cat conftest.err >&5
40502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40503 (exit $ac_status); } && {
40504 test -z "$ac_c_werror_flag" ||
40505 test ! -s conftest.err
40506 } && test -s conftest$ac_exeext &&
40507 $as_test_x conftest$ac_exeext; then
40508 eval "$as_ac_var=yes"
40510 echo "$as_me: failed program was:" >&5
40511 sed 's/^/| /' conftest.$ac_ext >&5
40513 eval "$as_ac_var=no"
40516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40517 conftest$ac_exeext conftest.$ac_ext
40519 ac_res=`eval echo '${'$as_ac_var'}'`
40520 { echo "$as_me:$LINENO: result: $ac_res" >&5
40521 echo "${ECHO_T}$ac_res" >&6; }
40522 if test `eval echo '${'$as_ac_var'}'` = yes; then
40523 cat >>confdefs.h <<_ACEOF
40524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40531 if test "$ac_cv_func_sigaction" = "no"; then
40532 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
40533 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
40534 wxUSE_ON_FATAL_EXCEPTION=no
40537 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40538 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
40539 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
40540 if test "${wx_cv_type_sa_handler+set}" = set; then
40541 echo $ECHO_N "(cached) $ECHO_C" >&6
40545 ac_cpp='$CXXCPP $CPPFLAGS'
40546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40550 cat >conftest.$ac_ext <<_ACEOF
40553 cat confdefs.h >>conftest.$ac_ext
40554 cat >>conftest.$ac_ext <<_ACEOF
40555 /* end confdefs.h. */
40556 #include <signal.h>
40561 extern void testSigHandler(int);
40563 struct sigaction sa;
40564 sa.sa_handler = testSigHandler;
40570 rm -f conftest.$ac_objext
40571 if { (ac_try="$ac_compile"
40572 case "(($ac_try" in
40573 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40574 *) ac_try_echo
=$ac_try;;
40576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40577 (eval "$ac_compile") 2>conftest.er1
40579 grep -v '^ *+' conftest.er1
>conftest.err
40581 cat conftest.err
>&5
40582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40583 (exit $ac_status); } && {
40584 test -z "$ac_cxx_werror_flag" ||
40585 test ! -s conftest.err
40586 } && test -s conftest.
$ac_objext; then
40588 wx_cv_type_sa_handler
=int
40591 echo "$as_me: failed program was:" >&5
40592 sed 's/^/| /' conftest.
$ac_ext >&5
40595 wx_cv_type_sa_handler
=void
40599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40601 ac_cpp
='$CPP $CPPFLAGS'
40602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40608 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
40609 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
40611 cat >>confdefs.h
<<_ACEOF
40612 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
40618 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40619 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
40620 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
40621 if test "${wx_cv_func_backtrace+set}" = set; then
40622 echo $ECHO_N "(cached) $ECHO_C" >&6
40626 ac_cpp
='$CXXCPP $CPPFLAGS'
40627 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40628 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40629 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40631 cat >conftest.
$ac_ext <<_ACEOF
40634 cat confdefs.h
>>conftest.
$ac_ext
40635 cat >>conftest.
$ac_ext <<_ACEOF
40636 /* end confdefs.h. */
40637 #include <execinfo.h>
40645 backtrace(trace, 1);
40646 messages = backtrace_symbols(trace, 1);
40652 rm -f conftest.
$ac_objext
40653 if { (ac_try
="$ac_compile"
40654 case "(($ac_try" in
40655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40656 *) ac_try_echo=$ac_try;;
40658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40659 (eval "$ac_compile") 2>conftest.er1
40661 grep -v '^ *+' conftest.er1 >conftest.err
40663 cat conftest.err >&5
40664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665 (exit $ac_status); } && {
40666 test -z "$ac_cxx_werror_flag" ||
40667 test ! -s conftest.err
40668 } && test -s conftest.$ac_objext; then
40669 wx_cv_func_backtrace=yes
40671 echo "$as_me: failed program was:" >&5
40672 sed 's/^/| /' conftest.$ac_ext >&5
40674 wx_cv_func_backtrace=no
40678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40680 ac_cpp='$CPP $CPPFLAGS'
40681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40688 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
40689 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
40692 if test "$wx_cv_func_backtrace" = "no"; then
40693 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
40694 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
40695 wxUSE_STACKWALKER=no
40697 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
40698 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
40699 if test "${wx_cv_func_cxa_demangle+set}" = set; then
40700 echo $ECHO_N "(cached) $ECHO_C" >&6
40704 ac_cpp='$CXXCPP $CPPFLAGS'
40705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40709 cat >conftest.$ac_ext <<_ACEOF
40712 cat confdefs.h >>conftest.$ac_ext
40713 cat >>conftest.$ac_ext <<_ACEOF
40714 /* end confdefs.h. */
40715 #include <cxxabi.h>
40721 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
40727 rm -f conftest.$ac_objext conftest$ac_exeext
40728 if { (ac_try="$ac_link"
40729 case "(($ac_try" in
40730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40731 *) ac_try_echo
=$ac_try;;
40733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40734 (eval "$ac_link") 2>conftest.er1
40736 grep -v '^ *+' conftest.er1
>conftest.err
40738 cat conftest.err
>&5
40739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40740 (exit $ac_status); } && {
40741 test -z "$ac_cxx_werror_flag" ||
40742 test ! -s conftest.err
40743 } && test -s conftest
$ac_exeext &&
40744 $as_test_x conftest
$ac_exeext; then
40745 wx_cv_func_cxa_demangle
=yes
40747 echo "$as_me: failed program was:" >&5
40748 sed 's/^/| /' conftest.
$ac_ext >&5
40750 wx_cv_func_cxa_demangle
=no
40754 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40755 conftest
$ac_exeext conftest.
$ac_ext
40757 ac_cpp
='$CPP $CPPFLAGS'
40758 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40765 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
40766 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
40768 if test "$wx_cv_func_cxa_demangle" = "yes"; then
40769 cat >>confdefs.h
<<\_ACEOF
40770 #define HAVE_CXA_DEMANGLE 1
40777 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
40778 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
40779 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
40780 wxUSE_STACKWALKER
=no
40786 for ac_func
in mkstemp mktemp
40788 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40789 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40791 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40792 echo $ECHO_N "(cached) $ECHO_C" >&6
40794 cat >conftest.
$ac_ext <<_ACEOF
40797 cat confdefs.h
>>conftest.
$ac_ext
40798 cat >>conftest.
$ac_ext <<_ACEOF
40799 /* end confdefs.h. */
40800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40802 #define $ac_func innocuous_$ac_func
40804 /* System header to define __stub macros and hopefully few prototypes,
40805 which can conflict with char $ac_func (); below.
40806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40807 <limits.h> exists even on freestanding compilers. */
40810 # include <limits.h>
40812 # include <assert.h>
40817 /* Override any GCC internal prototype to avoid an error.
40818 Use char because int might match the return type of a GCC
40819 builtin and then its argument prototype would still apply. */
40824 /* The GNU C library defines this for functions which it implements
40825 to always fail with ENOSYS. Some functions are actually named
40826 something starting with __ and the normal name is an alias. */
40827 #if defined __stub_$ac_func || defined __stub___$ac_func
40834 return $ac_func ();
40839 rm -f conftest.
$ac_objext conftest
$ac_exeext
40840 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
40856 $as_test_x conftest$ac_exeext; then
40857 eval "$as_ac_var=yes"
40859 echo "$as_me: failed program was:" >&5
40860 sed 's/^/| /' conftest.$ac_ext >&5
40862 eval "$as_ac_var=no"
40865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40866 conftest$ac_exeext conftest.$ac_ext
40868 ac_res=`eval echo '${'$as_ac_var'}'`
40869 { echo "$as_me:$LINENO: result: $ac_res" >&5
40870 echo "${ECHO_T}$ac_res" >&6; }
40871 if test `eval echo '${'$as_ac_var'}'` = yes; then
40872 cat >>confdefs.h <<_ACEOF
40873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40880 { echo "$as_me:$LINENO: checking for statfs" >&5
40881 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40882 if test "${wx_cv_func_statfs+set}" = set; then
40883 echo $ECHO_N "(cached) $ECHO_C" >&6
40885 cat >conftest.$ac_ext <<_ACEOF
40888 cat confdefs.h >>conftest.$ac_ext
40889 cat >>conftest.$ac_ext <<_ACEOF
40890 /* end confdefs.h. */
40892 #if defined(__BSD__)
40893 #include <sys/param.h>
40894 #include <sys/mount.h>
40896 #include <sys/vfs.h>
40914 rm -f conftest.$ac_objext
40915 if { (ac_try="$ac_compile"
40916 case "(($ac_try" in
40917 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40918 *) ac_try_echo
=$ac_try;;
40920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40921 (eval "$ac_compile") 2>conftest.er1
40923 grep -v '^ *+' conftest.er1
>conftest.err
40925 cat conftest.err
>&5
40926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927 (exit $ac_status); } && {
40928 test -z "$ac_c_werror_flag" ||
40929 test ! -s conftest.err
40930 } && test -s conftest.
$ac_objext; then
40931 wx_cv_func_statfs
=yes
40933 echo "$as_me: failed program was:" >&5
40934 sed 's/^/| /' conftest.
$ac_ext >&5
40936 wx_cv_func_statfs
=no
40940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40943 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40944 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40946 if test "$wx_cv_func_statfs" = "yes"; then
40947 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40948 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40949 if test "${wx_cv_func_statfs_decl+set}" = set; then
40950 echo $ECHO_N "(cached) $ECHO_C" >&6
40953 ac_cpp
='$CXXCPP $CPPFLAGS'
40954 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40955 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40956 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40958 cat >conftest.
$ac_ext <<_ACEOF
40961 cat confdefs.h
>>conftest.
$ac_ext
40962 cat >>conftest.
$ac_ext <<_ACEOF
40963 /* end confdefs.h. */
40965 #if defined(__BSD__)
40966 #include <sys/param.h>
40967 #include <sys/mount.h>
40969 #include <sys/vfs.h>
40983 rm -f conftest.
$ac_objext
40984 if { (ac_try
="$ac_compile"
40985 case "(($ac_try" in
40986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40987 *) ac_try_echo=$ac_try;;
40989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40990 (eval "$ac_compile") 2>conftest.er1
40992 grep -v '^ *+' conftest.er1 >conftest.err
40994 cat conftest.err >&5
40995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40996 (exit $ac_status); } && {
40997 test -z "$ac_cxx_werror_flag" ||
40998 test ! -s conftest.err
40999 } && test -s conftest.$ac_objext; then
41000 wx_cv_func_statfs_decl=yes
41002 echo "$as_me: failed program was:" >&5
41003 sed 's/^/| /' conftest.$ac_ext >&5
41005 wx_cv_func_statfs_decl=no
41009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41011 ac_cpp='$CPP $CPPFLAGS'
41012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41018 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
41019 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
41021 if test "$wx_cv_func_statfs_decl" = "yes"; then
41022 cat >>confdefs.h <<\_ACEOF
41023 #define HAVE_STATFS_DECL 1
41028 wx_cv_type_statvfs_t="struct statfs"
41029 cat >>confdefs.h <<\_ACEOF
41030 #define HAVE_STATFS 1
41034 { echo "$as_me:$LINENO: checking for statvfs" >&5
41035 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
41036 if test "${wx_cv_func_statvfs+set}" = set; then
41037 echo $ECHO_N "(cached) $ECHO_C" >&6
41039 cat >conftest.$ac_ext <<_ACEOF
41042 cat confdefs.h >>conftest.$ac_ext
41043 cat >>conftest.$ac_ext <<_ACEOF
41044 /* end confdefs.h. */
41046 #include <stddef.h>
41047 #include <sys/statvfs.h>
41053 statvfs("/", NULL);
41059 rm -f conftest.$ac_objext
41060 if { (ac_try="$ac_compile"
41061 case "(($ac_try" in
41062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41063 *) ac_try_echo
=$ac_try;;
41065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41066 (eval "$ac_compile") 2>conftest.er1
41068 grep -v '^ *+' conftest.er1
>conftest.err
41070 cat conftest.err
>&5
41071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41072 (exit $ac_status); } && {
41073 test -z "$ac_c_werror_flag" ||
41074 test ! -s conftest.err
41075 } && test -s conftest.
$ac_objext; then
41076 wx_cv_func_statvfs
=yes
41078 echo "$as_me: failed program was:" >&5
41079 sed 's/^/| /' conftest.
$ac_ext >&5
41081 wx_cv_func_statvfs
=no
41085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41088 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
41089 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
41091 if test "$wx_cv_func_statvfs" = "yes"; then
41092 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
41093 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
41094 if test "${wx_cv_type_statvfs_t+set}" = set; then
41095 echo $ECHO_N "(cached) $ECHO_C" >&6
41098 ac_cpp
='$CXXCPP $CPPFLAGS'
41099 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41100 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41101 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41103 cat >conftest.
$ac_ext <<_ACEOF
41106 cat confdefs.h
>>conftest.
$ac_ext
41107 cat >>conftest.
$ac_ext <<_ACEOF
41108 /* end confdefs.h. */
41110 #include <sys/statvfs.h>
41127 rm -f conftest.
$ac_objext
41128 if { (ac_try
="$ac_compile"
41129 case "(($ac_try" in
41130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41131 *) ac_try_echo=$ac_try;;
41133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41134 (eval "$ac_compile") 2>conftest.er1
41136 grep -v '^ *+' conftest.er1 >conftest.err
41138 cat conftest.err >&5
41139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41140 (exit $ac_status); } && {
41141 test -z "$ac_cxx_werror_flag" ||
41142 test ! -s conftest.err
41143 } && test -s conftest.$ac_objext; then
41144 wx_cv_type_statvfs_t=statvfs_t
41146 echo "$as_me: failed program was:" >&5
41147 sed 's/^/| /' conftest.$ac_ext >&5
41150 cat >conftest.$ac_ext <<_ACEOF
41153 cat confdefs.h >>conftest.$ac_ext
41154 cat >>conftest.$ac_ext <<_ACEOF
41155 /* end confdefs.h. */
41157 #include <sys/statvfs.h>
41174 rm -f conftest.$ac_objext
41175 if { (ac_try="$ac_compile"
41176 case "(($ac_try" in
41177 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41178 *) ac_try_echo
=$ac_try;;
41180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41181 (eval "$ac_compile") 2>conftest.er1
41183 grep -v '^ *+' conftest.er1
>conftest.err
41185 cat conftest.err
>&5
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); } && {
41188 test -z "$ac_cxx_werror_flag" ||
41189 test ! -s conftest.err
41190 } && test -s conftest.
$ac_objext; then
41191 wx_cv_type_statvfs_t
="struct statvfs"
41193 echo "$as_me: failed program was:" >&5
41194 sed 's/^/| /' conftest.
$ac_ext >&5
41196 wx_cv_type_statvfs_t
="unknown"
41200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41207 ac_cpp
='$CPP $CPPFLAGS'
41208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41214 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
41215 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
41217 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41218 cat >>confdefs.h
<<\_ACEOF
41219 #define HAVE_STATVFS 1
41224 wx_cv_type_statvfs_t
="unknown"
41228 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41229 cat >>confdefs.h
<<_ACEOF
41230 #define WX_STATFS_T $wx_cv_type_statvfs_t
41234 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
41235 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
41238 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41241 for ac_func
in fcntl flock
41243 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41244 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41246 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41247 echo $ECHO_N "(cached) $ECHO_C" >&6
41249 cat >conftest.
$ac_ext <<_ACEOF
41252 cat confdefs.h
>>conftest.
$ac_ext
41253 cat >>conftest.
$ac_ext <<_ACEOF
41254 /* end confdefs.h. */
41255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41257 #define $ac_func innocuous_$ac_func
41259 /* System header to define __stub macros and hopefully few prototypes,
41260 which can conflict with char $ac_func (); below.
41261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41262 <limits.h> exists even on freestanding compilers. */
41265 # include <limits.h>
41267 # include <assert.h>
41272 /* Override any GCC internal prototype to avoid an error.
41273 Use char because int might match the return type of a GCC
41274 builtin and then its argument prototype would still apply. */
41279 /* The GNU C library defines this for functions which it implements
41280 to always fail with ENOSYS. Some functions are actually named
41281 something starting with __ and the normal name is an alias. */
41282 #if defined __stub_$ac_func || defined __stub___$ac_func
41289 return $ac_func ();
41294 rm -f conftest.
$ac_objext conftest
$ac_exeext
41295 if { (ac_try
="$ac_link"
41296 case "(($ac_try" in
41297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41298 *) ac_try_echo=$ac_try;;
41300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41301 (eval "$ac_link") 2>conftest.er1
41303 grep -v '^ *+' conftest.er1 >conftest.err
41305 cat conftest.err >&5
41306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307 (exit $ac_status); } && {
41308 test -z "$ac_c_werror_flag" ||
41309 test ! -s conftest.err
41310 } && test -s conftest$ac_exeext &&
41311 $as_test_x conftest$ac_exeext; then
41312 eval "$as_ac_var=yes"
41314 echo "$as_me: failed program was:" >&5
41315 sed 's/^/| /' conftest.$ac_ext >&5
41317 eval "$as_ac_var=no"
41320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41321 conftest$ac_exeext conftest.$ac_ext
41323 ac_res=`eval echo '${'$as_ac_var'}'`
41324 { echo "$as_me:$LINENO: result: $ac_res" >&5
41325 echo "${ECHO_T}$ac_res" >&6; }
41326 if test `eval echo '${'$as_ac_var'}'` = yes; then
41327 cat >>confdefs.h <<_ACEOF
41328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41335 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
41336 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
41337 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
41338 wxUSE_SNGLINST_CHECKER=no
41344 for ac_func in setenv putenv
41346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41347 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41349 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41350 echo $ECHO_N "(cached) $ECHO_C" >&6
41352 cat >conftest.$ac_ext <<_ACEOF
41355 cat confdefs.h >>conftest.$ac_ext
41356 cat >>conftest.$ac_ext <<_ACEOF
41357 /* end confdefs.h. */
41358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41360 #define $ac_func innocuous_$ac_func
41362 /* System header to define __stub macros and hopefully few prototypes,
41363 which can conflict with char $ac_func (); below.
41364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41365 <limits.h> exists even on freestanding compilers. */
41368 # include <limits.h>
41370 # include <assert.h>
41375 /* Override any GCC internal prototype to avoid an error.
41376 Use char because int might match the return type of a GCC
41377 builtin and then its argument prototype would still apply. */
41382 /* The GNU C library defines this for functions which it implements
41383 to always fail with ENOSYS. Some functions are actually named
41384 something starting with __ and the normal name is an alias. */
41385 #if defined __stub_$ac_func || defined __stub___$ac_func
41392 return $ac_func ();
41397 rm -f conftest.$ac_objext conftest$ac_exeext
41398 if { (ac_try="$ac_link"
41399 case "(($ac_try" in
41400 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41401 *) ac_try_echo
=$ac_try;;
41403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41404 (eval "$ac_link") 2>conftest.er1
41406 grep -v '^ *+' conftest.er1
>conftest.err
41408 cat conftest.err
>&5
41409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41410 (exit $ac_status); } && {
41411 test -z "$ac_c_werror_flag" ||
41412 test ! -s conftest.err
41413 } && test -s conftest
$ac_exeext &&
41414 $as_test_x conftest
$ac_exeext; then
41415 eval "$as_ac_var=yes"
41417 echo "$as_me: failed program was:" >&5
41418 sed 's/^/| /' conftest.
$ac_ext >&5
41420 eval "$as_ac_var=no"
41423 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41424 conftest
$ac_exeext conftest.
$ac_ext
41426 ac_res
=`eval echo '${'$as_ac_var'}'`
41427 { echo "$as_me:$LINENO: result: $ac_res" >&5
41428 echo "${ECHO_T}$ac_res" >&6; }
41429 if test `eval echo '${'$as_ac_var'}'` = yes; then
41430 cat >>confdefs.h
<<_ACEOF
41431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41437 if test "$ac_cv_func_setenv" = "yes"; then
41439 for ac_func
in unsetenv
41441 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41442 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41444 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41445 echo $ECHO_N "(cached) $ECHO_C" >&6
41447 cat >conftest.
$ac_ext <<_ACEOF
41450 cat confdefs.h
>>conftest.
$ac_ext
41451 cat >>conftest.
$ac_ext <<_ACEOF
41452 /* end confdefs.h. */
41453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41455 #define $ac_func innocuous_$ac_func
41457 /* System header to define __stub macros and hopefully few prototypes,
41458 which can conflict with char $ac_func (); below.
41459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41460 <limits.h> exists even on freestanding compilers. */
41463 # include <limits.h>
41465 # include <assert.h>
41470 /* Override any GCC internal prototype to avoid an error.
41471 Use char because int might match the return type of a GCC
41472 builtin and then its argument prototype would still apply. */
41477 /* The GNU C library defines this for functions which it implements
41478 to always fail with ENOSYS. Some functions are actually named
41479 something starting with __ and the normal name is an alias. */
41480 #if defined __stub_$ac_func || defined __stub___$ac_func
41487 return $ac_func ();
41492 rm -f conftest.
$ac_objext conftest
$ac_exeext
41493 if { (ac_try
="$ac_link"
41494 case "(($ac_try" in
41495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41496 *) ac_try_echo=$ac_try;;
41498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41499 (eval "$ac_link") 2>conftest.er1
41501 grep -v '^ *+' conftest.er1 >conftest.err
41503 cat conftest.err >&5
41504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41505 (exit $ac_status); } && {
41506 test -z "$ac_c_werror_flag" ||
41507 test ! -s conftest.err
41508 } && test -s conftest$ac_exeext &&
41509 $as_test_x conftest$ac_exeext; then
41510 eval "$as_ac_var=yes"
41512 echo "$as_me: failed program was:" >&5
41513 sed 's/^/| /' conftest.$ac_ext >&5
41515 eval "$as_ac_var=no"
41518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41519 conftest$ac_exeext conftest.$ac_ext
41521 ac_res=`eval echo '${'$as_ac_var'}'`
41522 { echo "$as_me:$LINENO: result: $ac_res" >&5
41523 echo "${ECHO_T}$ac_res" >&6; }
41524 if test `eval echo '${'$as_ac_var'}'` = yes; then
41525 cat >>confdefs.h <<_ACEOF
41526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41534 HAVE_SOME_SLEEP_FUNC=0
41535 if test "$USE_BEOS" = 1; then
41536 cat >>confdefs.h <<\_ACEOF
41537 #define HAVE_SLEEP 1
41540 HAVE_SOME_SLEEP_FUNC=1
41543 if test "$USE_DARWIN" = 1; then
41544 cat >>confdefs.h <<\_ACEOF
41545 #define HAVE_USLEEP 1
41548 HAVE_SOME_SLEEP_FUNC=1
41551 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
41554 for ac_func in nanosleep
41556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41557 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41559 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41560 echo $ECHO_N "(cached) $ECHO_C" >&6
41562 cat >conftest.$ac_ext <<_ACEOF
41565 cat confdefs.h >>conftest.$ac_ext
41566 cat >>conftest.$ac_ext <<_ACEOF
41567 /* end confdefs.h. */
41568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41570 #define $ac_func innocuous_$ac_func
41572 /* System header to define __stub macros and hopefully few prototypes,
41573 which can conflict with char $ac_func (); below.
41574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41575 <limits.h> exists even on freestanding compilers. */
41578 # include <limits.h>
41580 # include <assert.h>
41585 /* Override any GCC internal prototype to avoid an error.
41586 Use char because int might match the return type of a GCC
41587 builtin and then its argument prototype would still apply. */
41592 /* The GNU C library defines this for functions which it implements
41593 to always fail with ENOSYS. Some functions are actually named
41594 something starting with __ and the normal name is an alias. */
41595 #if defined __stub_$ac_func || defined __stub___$ac_func
41602 return $ac_func ();
41607 rm -f conftest.$ac_objext conftest$ac_exeext
41608 if { (ac_try="$ac_link"
41609 case "(($ac_try" in
41610 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41611 *) ac_try_echo
=$ac_try;;
41613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41614 (eval "$ac_link") 2>conftest.er1
41616 grep -v '^ *+' conftest.er1
>conftest.err
41618 cat conftest.err
>&5
41619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41620 (exit $ac_status); } && {
41621 test -z "$ac_c_werror_flag" ||
41622 test ! -s conftest.err
41623 } && test -s conftest
$ac_exeext &&
41624 $as_test_x conftest
$ac_exeext; then
41625 eval "$as_ac_var=yes"
41627 echo "$as_me: failed program was:" >&5
41628 sed 's/^/| /' conftest.
$ac_ext >&5
41630 eval "$as_ac_var=no"
41633 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41634 conftest
$ac_exeext conftest.
$ac_ext
41636 ac_res
=`eval echo '${'$as_ac_var'}'`
41637 { echo "$as_me:$LINENO: result: $ac_res" >&5
41638 echo "${ECHO_T}$ac_res" >&6; }
41639 if test `eval echo '${'$as_ac_var'}'` = yes; then
41640 cat >>confdefs.h
<<_ACEOF
41641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41643 cat >>confdefs.h
<<\_ACEOF
41644 #define HAVE_NANOSLEEP 1
41649 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
41650 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
41651 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
41652 echo $ECHO_N "(cached) $ECHO_C" >&6
41654 ac_check_lib_save_LIBS
=$LIBS
41655 LIBS
="-lposix4 $LIBS"
41656 cat >conftest.
$ac_ext <<_ACEOF
41659 cat confdefs.h
>>conftest.
$ac_ext
41660 cat >>conftest.
$ac_ext <<_ACEOF
41661 /* end confdefs.h. */
41663 /* Override any GCC internal prototype to avoid an error.
41664 Use char because int might match the return type of a GCC
41665 builtin and then its argument prototype would still apply. */
41673 return nanosleep ();
41678 rm -f conftest.
$ac_objext conftest
$ac_exeext
41679 if { (ac_try
="$ac_link"
41680 case "(($ac_try" in
41681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41682 *) ac_try_echo=$ac_try;;
41684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41685 (eval "$ac_link") 2>conftest.er1
41687 grep -v '^ *+' conftest.er1 >conftest.err
41689 cat conftest.err >&5
41690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41691 (exit $ac_status); } && {
41692 test -z "$ac_c_werror_flag" ||
41693 test ! -s conftest.err
41694 } && test -s conftest$ac_exeext &&
41695 $as_test_x conftest$ac_exeext; then
41696 ac_cv_lib_posix4_nanosleep=yes
41698 echo "$as_me: failed program was:" >&5
41699 sed 's/^/| /' conftest.$ac_ext >&5
41701 ac_cv_lib_posix4_nanosleep=no
41704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41705 conftest$ac_exeext conftest.$ac_ext
41706 LIBS=$ac_check_lib_save_LIBS
41708 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
41709 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
41710 if test $ac_cv_lib_posix4_nanosleep = yes; then
41712 cat >>confdefs.h <<\_ACEOF
41713 #define HAVE_NANOSLEEP 1
41716 POSIX4_LINK=" -lposix4"
41721 for wx_func in usleep
41723 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41724 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41725 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41726 echo $ECHO_N "(cached) $ECHO_C" >&6
41729 cat >conftest.$ac_ext <<_ACEOF
41733 cat confdefs.h >>conftest.$ac_ext
41734 cat >>conftest.$ac_ext <<_ACEOF
41735 /* end confdefs.h. */
41738 $ac_includes_default
41754 rm -f conftest.$ac_objext conftest$ac_exeext
41755 if { (ac_try="$ac_link"
41756 case "(($ac_try" in
41757 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41758 *) ac_try_echo
=$ac_try;;
41760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41761 (eval "$ac_link") 2>conftest.er1
41763 grep -v '^ *+' conftest.er1
>conftest.err
41765 cat conftest.err
>&5
41766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41767 (exit $ac_status); } && {
41768 test -z "$ac_c_werror_flag" ||
41769 test ! -s conftest.err
41770 } && test -s conftest
$ac_exeext &&
41771 $as_test_x conftest
$ac_exeext; then
41772 eval wx_cv_func_
$wx_func=yes
41774 echo "$as_me: failed program was:" >&5
41775 sed 's/^/| /' conftest.
$ac_ext >&5
41777 eval wx_cv_func_
$wx_func=no
41780 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41781 conftest
$ac_exeext conftest.
$ac_ext
41784 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41785 { echo "$as_me:$LINENO: result: $ac_res" >&5
41786 echo "${ECHO_T}$ac_res" >&6; }
41788 if eval test \
$wx_cv_func_$wx_func = yes
41790 cat >>confdefs.h
<<_ACEOF
41791 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41797 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
41798 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
41815 for wx_func
in uname
41817 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41818 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41819 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41820 echo $ECHO_N "(cached) $ECHO_C" >&6
41823 cat >conftest.
$ac_ext <<_ACEOF
41827 cat confdefs.h
>>conftest.
$ac_ext
41828 cat >>conftest.
$ac_ext <<_ACEOF
41829 /* end confdefs.h. */
41831 #include <sys/utsname.h>
41832 $ac_includes_default
41848 rm -f conftest.
$ac_objext conftest
$ac_exeext
41849 if { (ac_try
="$ac_link"
41850 case "(($ac_try" in
41851 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41852 *) ac_try_echo=$ac_try;;
41854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41855 (eval "$ac_link") 2>conftest.er1
41857 grep -v '^ *+' conftest.er1 >conftest.err
41859 cat conftest.err >&5
41860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861 (exit $ac_status); } && {
41862 test -z "$ac_c_werror_flag" ||
41863 test ! -s conftest.err
41864 } && test -s conftest$ac_exeext &&
41865 $as_test_x conftest$ac_exeext; then
41866 eval wx_cv_func_$wx_func=yes
41868 echo "$as_me: failed program was:" >&5
41869 sed 's/^/| /' conftest.$ac_ext >&5
41871 eval wx_cv_func_$wx_func=no
41874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41875 conftest$ac_exeext conftest.$ac_ext
41878 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41879 { echo "$as_me:$LINENO: result: $ac_res" >&5
41880 echo "${ECHO_T}$ac_res" >&6; }
41882 if eval test \$wx_cv_func_$wx_func = yes
41884 cat >>confdefs.h <<_ACEOF
41885 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41895 if test "$wx_cv_func_uname" != yes; then
41897 for wx_func in gethostname
41899 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41900 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41901 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41902 echo $ECHO_N "(cached) $ECHO_C" >&6
41905 cat >conftest.$ac_ext <<_ACEOF
41909 cat confdefs.h >>conftest.$ac_ext
41910 cat >>conftest.$ac_ext <<_ACEOF
41911 /* end confdefs.h. */
41914 $ac_includes_default
41930 rm -f conftest.$ac_objext conftest$ac_exeext
41931 if { (ac_try="$ac_link"
41932 case "(($ac_try" in
41933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41934 *) ac_try_echo
=$ac_try;;
41936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41937 (eval "$ac_link") 2>conftest.er1
41939 grep -v '^ *+' conftest.er1
>conftest.err
41941 cat conftest.err
>&5
41942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41943 (exit $ac_status); } && {
41944 test -z "$ac_c_werror_flag" ||
41945 test ! -s conftest.err
41946 } && test -s conftest
$ac_exeext &&
41947 $as_test_x conftest
$ac_exeext; then
41948 eval wx_cv_func_
$wx_func=yes
41950 echo "$as_me: failed program was:" >&5
41951 sed 's/^/| /' conftest.
$ac_ext >&5
41953 eval wx_cv_func_
$wx_func=no
41956 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41957 conftest
$ac_exeext conftest.
$ac_ext
41960 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41961 { echo "$as_me:$LINENO: result: $ac_res" >&5
41962 echo "${ECHO_T}$ac_res" >&6; }
41964 if eval test \
$wx_cv_func_$wx_func = yes
41966 cat >>confdefs.h
<<_ACEOF
41967 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41980 for wx_func
in strtok_r
41982 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41983 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41984 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41985 echo $ECHO_N "(cached) $ECHO_C" >&6
41988 cat >conftest.
$ac_ext <<_ACEOF
41992 cat confdefs.h
>>conftest.
$ac_ext
41993 cat >>conftest.
$ac_ext <<_ACEOF
41994 /* end confdefs.h. */
41997 $ac_includes_default
42013 rm -f conftest.
$ac_objext conftest
$ac_exeext
42014 if { (ac_try
="$ac_link"
42015 case "(($ac_try" in
42016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42017 *) ac_try_echo=$ac_try;;
42019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42020 (eval "$ac_link") 2>conftest.er1
42022 grep -v '^ *+' conftest.er1 >conftest.err
42024 cat conftest.err >&5
42025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42026 (exit $ac_status); } && {
42027 test -z "$ac_c_werror_flag" ||
42028 test ! -s conftest.err
42029 } && test -s conftest$ac_exeext &&
42030 $as_test_x conftest$ac_exeext; then
42031 eval wx_cv_func_$wx_func=yes
42033 echo "$as_me: failed program was:" >&5
42034 sed 's/^/| /' conftest.$ac_ext >&5
42036 eval wx_cv_func_$wx_func=no
42039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42040 conftest$ac_exeext conftest.$ac_ext
42043 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42044 { echo "$as_me:$LINENO: result: $ac_res" >&5
42045 echo "${ECHO_T}$ac_res" >&6; }
42047 if eval test \$wx_cv_func_$wx_func = yes
42049 cat >>confdefs.h <<_ACEOF
42050 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42063 for ac_func in inet_addr
42065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42066 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42069 echo $ECHO_N "(cached) $ECHO_C" >&6
42071 cat >conftest.$ac_ext <<_ACEOF
42074 cat confdefs.h >>conftest.$ac_ext
42075 cat >>conftest.$ac_ext <<_ACEOF
42076 /* end confdefs.h. */
42077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42079 #define $ac_func innocuous_$ac_func
42081 /* System header to define __stub macros and hopefully few prototypes,
42082 which can conflict with char $ac_func (); below.
42083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42084 <limits.h> exists even on freestanding compilers. */
42087 # include <limits.h>
42089 # include <assert.h>
42094 /* Override any GCC internal prototype to avoid an error.
42095 Use char because int might match the return type of a GCC
42096 builtin and then its argument prototype would still apply. */
42101 /* The GNU C library defines this for functions which it implements
42102 to always fail with ENOSYS. Some functions are actually named
42103 something starting with __ and the normal name is an alias. */
42104 #if defined __stub_$ac_func || defined __stub___$ac_func
42111 return $ac_func ();
42116 rm -f conftest.$ac_objext conftest$ac_exeext
42117 if { (ac_try="$ac_link"
42118 case "(($ac_try" in
42119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42120 *) ac_try_echo
=$ac_try;;
42122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42123 (eval "$ac_link") 2>conftest.er1
42125 grep -v '^ *+' conftest.er1
>conftest.err
42127 cat conftest.err
>&5
42128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42129 (exit $ac_status); } && {
42130 test -z "$ac_c_werror_flag" ||
42131 test ! -s conftest.err
42132 } && test -s conftest
$ac_exeext &&
42133 $as_test_x conftest
$ac_exeext; then
42134 eval "$as_ac_var=yes"
42136 echo "$as_me: failed program was:" >&5
42137 sed 's/^/| /' conftest.
$ac_ext >&5
42139 eval "$as_ac_var=no"
42142 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42143 conftest
$ac_exeext conftest.
$ac_ext
42145 ac_res
=`eval echo '${'$as_ac_var'}'`
42146 { echo "$as_me:$LINENO: result: $ac_res" >&5
42147 echo "${ECHO_T}$ac_res" >&6; }
42148 if test `eval echo '${'$as_ac_var'}'` = yes; then
42149 cat >>confdefs.h
<<_ACEOF
42150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42152 cat >>confdefs.h
<<\_ACEOF
42153 #define HAVE_INET_ADDR 1
42158 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
42159 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
42160 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
42161 echo $ECHO_N "(cached) $ECHO_C" >&6
42163 ac_check_lib_save_LIBS
=$LIBS
42165 cat >conftest.
$ac_ext <<_ACEOF
42168 cat confdefs.h
>>conftest.
$ac_ext
42169 cat >>conftest.
$ac_ext <<_ACEOF
42170 /* end confdefs.h. */
42172 /* Override any GCC internal prototype to avoid an error.
42173 Use char because int might match the return type of a GCC
42174 builtin and then its argument prototype would still apply. */
42182 return inet_addr ();
42187 rm -f conftest.
$ac_objext conftest
$ac_exeext
42188 if { (ac_try
="$ac_link"
42189 case "(($ac_try" in
42190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42191 *) ac_try_echo=$ac_try;;
42193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42194 (eval "$ac_link") 2>conftest.er1
42196 grep -v '^ *+' conftest.er1 >conftest.err
42198 cat conftest.err >&5
42199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42200 (exit $ac_status); } && {
42201 test -z "$ac_c_werror_flag" ||
42202 test ! -s conftest.err
42203 } && test -s conftest$ac_exeext &&
42204 $as_test_x conftest$ac_exeext; then
42205 ac_cv_lib_nsl_inet_addr=yes
42207 echo "$as_me: failed program was:" >&5
42208 sed 's/^/| /' conftest.$ac_ext >&5
42210 ac_cv_lib_nsl_inet_addr=no
42213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42214 conftest$ac_exeext conftest.$ac_ext
42215 LIBS=$ac_check_lib_save_LIBS
42217 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
42218 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
42219 if test $ac_cv_lib_nsl_inet_addr = yes; then
42223 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
42224 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
42225 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
42226 echo $ECHO_N "(cached) $ECHO_C" >&6
42228 ac_check_lib_save_LIBS=$LIBS
42229 LIBS="-lresolv $LIBS"
42230 cat >conftest.$ac_ext <<_ACEOF
42233 cat confdefs.h >>conftest.$ac_ext
42234 cat >>conftest.$ac_ext <<_ACEOF
42235 /* end confdefs.h. */
42237 /* Override any GCC internal prototype to avoid an error.
42238 Use char because int might match the return type of a GCC
42239 builtin and then its argument prototype would still apply. */
42247 return inet_addr ();
42252 rm -f conftest.$ac_objext conftest$ac_exeext
42253 if { (ac_try="$ac_link"
42254 case "(($ac_try" in
42255 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42256 *) ac_try_echo
=$ac_try;;
42258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42259 (eval "$ac_link") 2>conftest.er1
42261 grep -v '^ *+' conftest.er1
>conftest.err
42263 cat conftest.err
>&5
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); } && {
42266 test -z "$ac_c_werror_flag" ||
42267 test ! -s conftest.err
42268 } && test -s conftest
$ac_exeext &&
42269 $as_test_x conftest
$ac_exeext; then
42270 ac_cv_lib_resolv_inet_addr
=yes
42272 echo "$as_me: failed program was:" >&5
42273 sed 's/^/| /' conftest.
$ac_ext >&5
42275 ac_cv_lib_resolv_inet_addr
=no
42278 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42279 conftest
$ac_exeext conftest.
$ac_ext
42280 LIBS
=$ac_check_lib_save_LIBS
42282 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
42283 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
42284 if test $ac_cv_lib_resolv_inet_addr = yes; then
42288 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
42289 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
42290 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
42291 echo $ECHO_N "(cached) $ECHO_C" >&6
42293 ac_check_lib_save_LIBS
=$LIBS
42294 LIBS
="-lsocket $LIBS"
42295 cat >conftest.
$ac_ext <<_ACEOF
42298 cat confdefs.h
>>conftest.
$ac_ext
42299 cat >>conftest.
$ac_ext <<_ACEOF
42300 /* end confdefs.h. */
42302 /* Override any GCC internal prototype to avoid an error.
42303 Use char because int might match the return type of a GCC
42304 builtin and then its argument prototype would still apply. */
42312 return inet_addr ();
42317 rm -f conftest.
$ac_objext conftest
$ac_exeext
42318 if { (ac_try
="$ac_link"
42319 case "(($ac_try" in
42320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42321 *) ac_try_echo=$ac_try;;
42323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42324 (eval "$ac_link") 2>conftest.er1
42326 grep -v '^ *+' conftest.er1 >conftest.err
42328 cat conftest.err >&5
42329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42330 (exit $ac_status); } && {
42331 test -z "$ac_c_werror_flag" ||
42332 test ! -s conftest.err
42333 } && test -s conftest$ac_exeext &&
42334 $as_test_x conftest$ac_exeext; then
42335 ac_cv_lib_socket_inet_addr=yes
42337 echo "$as_me: failed program was:" >&5
42338 sed 's/^/| /' conftest.$ac_ext >&5
42340 ac_cv_lib_socket_inet_addr=no
42343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42344 conftest$ac_exeext conftest.$ac_ext
42345 LIBS=$ac_check_lib_save_LIBS
42347 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
42348 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
42349 if test $ac_cv_lib_socket_inet_addr = yes; then
42369 for ac_func in inet_aton
42371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42372 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42374 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42375 echo $ECHO_N "(cached) $ECHO_C" >&6
42377 cat >conftest.$ac_ext <<_ACEOF
42380 cat confdefs.h >>conftest.$ac_ext
42381 cat >>conftest.$ac_ext <<_ACEOF
42382 /* end confdefs.h. */
42383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42385 #define $ac_func innocuous_$ac_func
42387 /* System header to define __stub macros and hopefully few prototypes,
42388 which can conflict with char $ac_func (); below.
42389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42390 <limits.h> exists even on freestanding compilers. */
42393 # include <limits.h>
42395 # include <assert.h>
42400 /* Override any GCC internal prototype to avoid an error.
42401 Use char because int might match the return type of a GCC
42402 builtin and then its argument prototype would still apply. */
42407 /* The GNU C library defines this for functions which it implements
42408 to always fail with ENOSYS. Some functions are actually named
42409 something starting with __ and the normal name is an alias. */
42410 #if defined __stub_$ac_func || defined __stub___$ac_func
42417 return $ac_func ();
42422 rm -f conftest.$ac_objext conftest$ac_exeext
42423 if { (ac_try="$ac_link"
42424 case "(($ac_try" in
42425 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42426 *) ac_try_echo
=$ac_try;;
42428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42429 (eval "$ac_link") 2>conftest.er1
42431 grep -v '^ *+' conftest.er1
>conftest.err
42433 cat conftest.err
>&5
42434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42435 (exit $ac_status); } && {
42436 test -z "$ac_c_werror_flag" ||
42437 test ! -s conftest.err
42438 } && test -s conftest
$ac_exeext &&
42439 $as_test_x conftest
$ac_exeext; then
42440 eval "$as_ac_var=yes"
42442 echo "$as_me: failed program was:" >&5
42443 sed 's/^/| /' conftest.
$ac_ext >&5
42445 eval "$as_ac_var=no"
42448 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42449 conftest
$ac_exeext conftest.
$ac_ext
42451 ac_res
=`eval echo '${'$as_ac_var'}'`
42452 { echo "$as_me:$LINENO: result: $ac_res" >&5
42453 echo "${ECHO_T}$ac_res" >&6; }
42454 if test `eval echo '${'$as_ac_var'}'` = yes; then
42455 cat >>confdefs.h
<<_ACEOF
42456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42458 cat >>confdefs.h
<<\_ACEOF
42459 #define HAVE_INET_ATON 1
42464 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
42465 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
42466 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
42467 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
42468 echo $ECHO_N "(cached) $ECHO_C" >&6
42470 ac_check_lib_save_LIBS
=$LIBS
42471 LIBS
="-l$INET_LINK $LIBS"
42472 cat >conftest.
$ac_ext <<_ACEOF
42475 cat confdefs.h
>>conftest.
$ac_ext
42476 cat >>conftest.
$ac_ext <<_ACEOF
42477 /* end confdefs.h. */
42479 /* Override any GCC internal prototype to avoid an error.
42480 Use char because int might match the return type of a GCC
42481 builtin and then its argument prototype would still apply. */
42489 return inet_aton ();
42494 rm -f conftest.
$ac_objext conftest
$ac_exeext
42495 if { (ac_try
="$ac_link"
42496 case "(($ac_try" in
42497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42498 *) ac_try_echo=$ac_try;;
42500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42501 (eval "$ac_link") 2>conftest.er1
42503 grep -v '^ *+' conftest.er1 >conftest.err
42505 cat conftest.err >&5
42506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42507 (exit $ac_status); } && {
42508 test -z "$ac_c_werror_flag" ||
42509 test ! -s conftest.err
42510 } && test -s conftest$ac_exeext &&
42511 $as_test_x conftest$ac_exeext; then
42512 eval "$as_ac_Lib=yes"
42514 echo "$as_me: failed program was:" >&5
42515 sed 's/^/| /' conftest.$ac_ext >&5
42517 eval "$as_ac_Lib=no"
42520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42521 conftest$ac_exeext conftest.$ac_ext
42522 LIBS=$ac_check_lib_save_LIBS
42524 ac_res=`eval echo '${'$as_ac_Lib'}'`
42525 { echo "$as_me:$LINENO: result: $ac_res" >&5
42526 echo "${ECHO_T}$ac_res" >&6; }
42527 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
42528 cat >>confdefs.h <<\_ACEOF
42529 #define HAVE_INET_ATON 1
42539 if test "x$INET_LINK" != "x"; then
42540 cat >>confdefs.h <<\_ACEOF
42541 #define HAVE_INET_ADDR 1
42544 INET_LINK=" -l$INET_LINK"
42548 for wx_func in fdopen
42550 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42551 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42552 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42553 echo $ECHO_N "(cached) $ECHO_C" >&6
42556 cat >conftest.$ac_ext <<_ACEOF
42560 cat confdefs.h >>conftest.$ac_ext
42561 cat >>conftest.$ac_ext <<_ACEOF
42562 /* end confdefs.h. */
42565 $ac_includes_default
42581 rm -f conftest.$ac_objext conftest$ac_exeext
42582 if { (ac_try="$ac_link"
42583 case "(($ac_try" in
42584 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42585 *) ac_try_echo
=$ac_try;;
42587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42588 (eval "$ac_link") 2>conftest.er1
42590 grep -v '^ *+' conftest.er1
>conftest.err
42592 cat conftest.err
>&5
42593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42594 (exit $ac_status); } && {
42595 test -z "$ac_c_werror_flag" ||
42596 test ! -s conftest.err
42597 } && test -s conftest
$ac_exeext &&
42598 $as_test_x conftest
$ac_exeext; then
42599 eval wx_cv_func_
$wx_func=yes
42601 echo "$as_me: failed program was:" >&5
42602 sed 's/^/| /' conftest.
$ac_ext >&5
42604 eval wx_cv_func_
$wx_func=no
42607 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42608 conftest
$ac_exeext conftest.
$ac_ext
42611 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
42612 { echo "$as_me:$LINENO: result: $ac_res" >&5
42613 echo "${ECHO_T}$ac_res" >&6; }
42615 if eval test \
$wx_cv_func_$wx_func = yes
42617 cat >>confdefs.h
<<_ACEOF
42618 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42629 if test "$wxUSE_TARSTREAM" = "yes"; then
42631 for wx_func
in sysconf
42633 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42634 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42635 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42636 echo $ECHO_N "(cached) $ECHO_C" >&6
42639 cat >conftest.
$ac_ext <<_ACEOF
42643 cat confdefs.h
>>conftest.
$ac_ext
42644 cat >>conftest.
$ac_ext <<_ACEOF
42645 /* end confdefs.h. */
42648 $ac_includes_default
42664 rm -f conftest.
$ac_objext conftest
$ac_exeext
42665 if { (ac_try
="$ac_link"
42666 case "(($ac_try" in
42667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42668 *) ac_try_echo=$ac_try;;
42670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42671 (eval "$ac_link") 2>conftest.er1
42673 grep -v '^ *+' conftest.er1 >conftest.err
42675 cat conftest.err >&5
42676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42677 (exit $ac_status); } && {
42678 test -z "$ac_c_werror_flag" ||
42679 test ! -s conftest.err
42680 } && test -s conftest$ac_exeext &&
42681 $as_test_x conftest$ac_exeext; then
42682 eval wx_cv_func_$wx_func=yes
42684 echo "$as_me: failed program was:" >&5
42685 sed 's/^/| /' conftest.$ac_ext >&5
42687 eval wx_cv_func_$wx_func=no
42690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42691 conftest$ac_exeext conftest.$ac_ext
42694 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42695 { echo "$as_me:$LINENO: result: $ac_res" >&5
42696 echo "${ECHO_T}$ac_res" >&6; }
42698 if eval test \$wx_cv_func_$wx_func = yes
42700 cat >>confdefs.h <<_ACEOF
42701 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42713 for wx_func in getpwuid_r
42715 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42716 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42717 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42718 echo $ECHO_N "(cached) $ECHO_C" >&6
42721 cat >conftest.$ac_ext <<_ACEOF
42725 cat confdefs.h >>conftest.$ac_ext
42726 cat >>conftest.$ac_ext <<_ACEOF
42727 /* end confdefs.h. */
42733 $ac_includes_default
42743 struct passwd pw, *ppw;
42745 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
42753 rm -f conftest.$ac_objext conftest$ac_exeext
42754 if { (ac_try="$ac_link"
42755 case "(($ac_try" in
42756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42757 *) ac_try_echo
=$ac_try;;
42759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42760 (eval "$ac_link") 2>conftest.er1
42762 grep -v '^ *+' conftest.er1
>conftest.err
42764 cat conftest.err
>&5
42765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42766 (exit $ac_status); } && {
42767 test -z "$ac_c_werror_flag" ||
42768 test ! -s conftest.err
42769 } && test -s conftest
$ac_exeext &&
42770 $as_test_x conftest
$ac_exeext; then
42771 eval wx_cv_func_
$wx_func=yes
42773 echo "$as_me: failed program was:" >&5
42774 sed 's/^/| /' conftest.
$ac_ext >&5
42776 eval wx_cv_func_
$wx_func=no
42779 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42780 conftest
$ac_exeext conftest.
$ac_ext
42783 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
42784 { echo "$as_me:$LINENO: result: $ac_res" >&5
42785 echo "${ECHO_T}$ac_res" >&6; }
42787 if eval test \
$wx_cv_func_$wx_func = yes
42789 cat >>confdefs.h
<<_ACEOF
42790 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42802 for wx_func
in getgrgid_r
42804 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42805 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42806 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42807 echo $ECHO_N "(cached) $ECHO_C" >&6
42810 cat >conftest.
$ac_ext <<_ACEOF
42814 cat confdefs.h
>>conftest.
$ac_ext
42815 cat >>conftest.
$ac_ext <<_ACEOF
42816 /* end confdefs.h. */
42822 $ac_includes_default
42832 struct group grp, *pgrp;
42834 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
42842 rm -f conftest.
$ac_objext conftest
$ac_exeext
42843 if { (ac_try
="$ac_link"
42844 case "(($ac_try" in
42845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42846 *) ac_try_echo=$ac_try;;
42848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42849 (eval "$ac_link") 2>conftest.er1
42851 grep -v '^ *+' conftest.er1 >conftest.err
42853 cat conftest.err >&5
42854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42855 (exit $ac_status); } && {
42856 test -z "$ac_c_werror_flag" ||
42857 test ! -s conftest.err
42858 } && test -s conftest$ac_exeext &&
42859 $as_test_x conftest$ac_exeext; then
42860 eval wx_cv_func_$wx_func=yes
42862 echo "$as_me: failed program was:" >&5
42863 sed 's/^/| /' conftest.$ac_ext >&5
42865 eval wx_cv_func_$wx_func=no
42868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42869 conftest$ac_exeext conftest.$ac_ext
42872 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42873 { echo "$as_me:$LINENO: result: $ac_res" >&5
42874 echo "${ECHO_T}$ac_res" >&6; }
42876 if eval test \$wx_cv_func_$wx_func = yes
42878 cat >>confdefs.h <<_ACEOF
42879 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42895 cat >confcache <<\_ACEOF
42896 # This file is a shell script that caches the results of configure
42897 # tests run on this system so they can be shared between configure
42898 # scripts and configure runs, see configure's option --config-cache.
42899 # It is not useful on other systems. If it contains results you don't
42900 # want to keep, you may remove or edit it.
42902 # config.status only pays attention to the cache file if you give it
42903 # the --recheck option to rerun configure.
42905 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
42906 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42907 # following values.
42911 # The following way of writing the cache mishandles newlines in values,
42912 # but we know of no workaround that is simple, portable, and efficient.
42913 # So, we kill variables containing newlines.
42914 # Ultrix sh set writes to stderr and can't be redirected directly,
42915 # and sets the high bit in the cache file unless we assign to the vars.
42917 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42918 eval ac_val
=\$
$ac_var
42922 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42923 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42926 _
| IFS
| as_nl
) ;; #(
42927 *) $as_unset $ac_var ;;
42933 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42934 *${as_nl}ac_space
=\
*)
42935 # `set' does not quote correctly, so add quotes (double-quote
42936 # substitution turns \\\\ into \\, and sed turns \\ into \).
42939 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42942 # `set' quotes correctly as required by POSIX, so do not add quotes.
42943 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42952 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42954 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42956 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
42957 if test -w "$cache_file"; then
42958 test "x$cache_file" != "x/dev/null" &&
42959 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42960 echo "$as_me: updating cache $cache_file" >&6;}
42961 cat confcache
>$cache_file
42963 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42964 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42970 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42976 if test "$wxUSE_THREADS" = "yes" ; then
42977 if test "$USE_BEOS" = 1; then
42978 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42979 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42984 if test "$wxUSE_THREADS" = "yes" ; then
42987 THREAD_OPTS
="-pthread"
42988 if test "x$SUNCXX" = xyes
; then
42989 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
42993 *-*-solaris2* | *-*-sunos4* )
42994 if test "x$GCC" = "xyes"; then
42995 THREAD_OPTS
="-pthreads $THREAD_OPTS"
42999 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
43001 *-*-darwin* | *-*-cygwin* )
43005 THREAD_OPTS
="pthreads"
43008 if test "x$GCC" = "xyes"; then
43009 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
43017 if test "x$GCC" = "xyes"; then
43027 if test "x$GCC" != "xyes"; then
43028 THREAD_OPTS
="-Ethread"
43035 THREAD_OPTS
="none pthread"
43039 THREAD_OPTS
="$THREAD_OPTS pthread none"
43044 for flag
in $THREAD_OPTS; do
43047 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
43048 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
43052 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
43053 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
43054 THREADS_CFLAGS
="$flag"
43058 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
43059 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
43060 THREADS_LINK
="-l$flag"
43065 save_CFLAGS
="$CFLAGS"
43066 LIBS
="$THREADS_LINK $LIBS"
43067 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
43069 cat >conftest.
$ac_ext <<_ACEOF
43072 cat confdefs.h
>>conftest.
$ac_ext
43073 cat >>conftest.
$ac_ext <<_ACEOF
43074 /* end confdefs.h. */
43075 #include <pthread.h>
43079 pthread_create(0,0,0,0);
43084 rm -f conftest.
$ac_objext conftest
$ac_exeext
43085 if { (ac_try
="$ac_link"
43086 case "(($ac_try" in
43087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43088 *) ac_try_echo=$ac_try;;
43090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43091 (eval "$ac_link") 2>conftest.er1
43093 grep -v '^ *+' conftest.er1 >conftest.err
43095 cat conftest.err >&5
43096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43097 (exit $ac_status); } && {
43098 test -z "$ac_c_werror_flag" ||
43099 test ! -s conftest.err
43100 } && test -s conftest$ac_exeext &&
43101 $as_test_x conftest$ac_exeext; then
43104 echo "$as_me: failed program was:" >&5
43105 sed 's/^/| /' conftest.$ac_ext >&5
43110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43111 conftest$ac_exeext conftest.$ac_ext
43114 CFLAGS="$save_CFLAGS"
43116 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
43117 echo "${ECHO_T}$THREADS_OK" >&6; }
43118 if test "x$THREADS_OK" = "xyes"; then
43126 if test "x$THREADS_OK" != "xyes"; then
43128 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
43129 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
43131 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
43132 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
43133 LIBS="$THREADS_LINK $LIBS"
43135 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
43136 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
43140 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
43141 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
43142 flag="-D_THREAD_SAFE"
43145 flag="-D_THREAD_SAFE"
43148 flag="-D_REENTRANT"
43149 if test "x$GCC" != "xyes"; then
43150 flag="$flag -D_RWSTD_MULTI_THREAD"
43153 *solaris* | alpha*-osf*)
43154 flag="-D_REENTRANT"
43157 { echo "$as_me:$LINENO: result: ${flag}" >&5
43158 echo "${ECHO_T}${flag}" >&6; }
43159 if test "x$flag" != xno; then
43160 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
43163 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
43167 if test "$wxUSE_THREADS" = "yes" ; then
43169 for ac_func in thr_setconcurrency
43171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43172 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43174 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43175 echo $ECHO_N "(cached) $ECHO_C" >&6
43177 cat >conftest.$ac_ext <<_ACEOF
43180 cat confdefs.h >>conftest.$ac_ext
43181 cat >>conftest.$ac_ext <<_ACEOF
43182 /* end confdefs.h. */
43183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43185 #define $ac_func innocuous_$ac_func
43187 /* System header to define __stub macros and hopefully few prototypes,
43188 which can conflict with char $ac_func (); below.
43189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43190 <limits.h> exists even on freestanding compilers. */
43193 # include <limits.h>
43195 # include <assert.h>
43200 /* Override any GCC internal prototype to avoid an error.
43201 Use char because int might match the return type of a GCC
43202 builtin and then its argument prototype would still apply. */
43207 /* The GNU C library defines this for functions which it implements
43208 to always fail with ENOSYS. Some functions are actually named
43209 something starting with __ and the normal name is an alias. */
43210 #if defined __stub_$ac_func || defined __stub___$ac_func
43217 return $ac_func ();
43222 rm -f conftest.$ac_objext conftest$ac_exeext
43223 if { (ac_try="$ac_link"
43224 case "(($ac_try" in
43225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43226 *) ac_try_echo
=$ac_try;;
43228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43229 (eval "$ac_link") 2>conftest.er1
43231 grep -v '^ *+' conftest.er1
>conftest.err
43233 cat conftest.err
>&5
43234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43235 (exit $ac_status); } && {
43236 test -z "$ac_c_werror_flag" ||
43237 test ! -s conftest.err
43238 } && test -s conftest
$ac_exeext &&
43239 $as_test_x conftest
$ac_exeext; then
43240 eval "$as_ac_var=yes"
43242 echo "$as_me: failed program was:" >&5
43243 sed 's/^/| /' conftest.
$ac_ext >&5
43245 eval "$as_ac_var=no"
43248 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43249 conftest
$ac_exeext conftest.
$ac_ext
43251 ac_res
=`eval echo '${'$as_ac_var'}'`
43252 { echo "$as_me:$LINENO: result: $ac_res" >&5
43253 echo "${ECHO_T}$ac_res" >&6; }
43254 if test `eval echo '${'$as_ac_var'}'` = yes; then
43255 cat >>confdefs.h
<<_ACEOF
43256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43263 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
43264 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
43265 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
43266 echo $ECHO_N "(cached) $ECHO_C" >&6
43270 ac_cpp
='$CXXCPP $CPPFLAGS'
43271 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43272 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43273 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43275 cat >conftest.
$ac_ext <<_ACEOF
43278 cat confdefs.h
>>conftest.
$ac_ext
43279 cat >>conftest.
$ac_ext <<_ACEOF
43280 /* end confdefs.h. */
43281 #include <pthread.h>
43282 void ThreadCleanupFunc(void *p);
43289 pthread_cleanup_push(ThreadCleanupFunc, p);
43290 pthread_cleanup_pop(0);
43296 rm -f conftest.
$ac_objext
43297 if { (ac_try
="$ac_compile"
43298 case "(($ac_try" in
43299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43300 *) ac_try_echo=$ac_try;;
43302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43303 (eval "$ac_compile") 2>conftest.er1
43305 grep -v '^ *+' conftest.er1 >conftest.err
43307 cat conftest.err >&5
43308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43309 (exit $ac_status); } && {
43310 test -z "$ac_cxx_werror_flag" ||
43311 test ! -s conftest.err
43312 } && test -s conftest.$ac_objext; then
43314 wx_cv_func_pthread_cleanup=yes
43317 echo "$as_me: failed program was:" >&5
43318 sed 's/^/| /' conftest.$ac_ext >&5
43321 wx_cv_func_pthread_cleanup=no
43326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43328 ac_cpp='$CPP $CPPFLAGS'
43329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43335 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
43336 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
43337 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
43338 cat >>confdefs.h <<\_ACEOF
43339 #define wxHAVE_PTHREAD_CLEANUP 1
43345 for ac_header in sched.h
43347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43351 echo $ECHO_N "(cached) $ECHO_C" >&6
43353 cat >conftest.$ac_ext <<_ACEOF
43356 cat confdefs.h >>conftest.$ac_ext
43357 cat >>conftest.$ac_ext <<_ACEOF
43358 /* end confdefs.h. */
43359 $ac_includes_default
43361 #include <$ac_header>
43363 rm -f conftest.$ac_objext
43364 if { (ac_try="$ac_compile"
43365 case "(($ac_try" in
43366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43367 *) ac_try_echo
=$ac_try;;
43369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43370 (eval "$ac_compile") 2>conftest.er1
43372 grep -v '^ *+' conftest.er1
>conftest.err
43374 cat conftest.err
>&5
43375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43376 (exit $ac_status); } && {
43377 test -z "$ac_c_werror_flag" ||
43378 test ! -s conftest.err
43379 } && test -s conftest.
$ac_objext; then
43380 eval "$as_ac_Header=yes"
43382 echo "$as_me: failed program was:" >&5
43383 sed 's/^/| /' conftest.
$ac_ext >&5
43385 eval "$as_ac_Header=no"
43388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43390 ac_res
=`eval echo '${'$as_ac_Header'}'`
43391 { echo "$as_me:$LINENO: result: $ac_res" >&5
43392 echo "${ECHO_T}$ac_res" >&6; }
43393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43394 cat >>confdefs.h
<<_ACEOF
43395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43402 if test "$ac_cv_header_sched_h" = "yes"; then
43403 { echo "$as_me:$LINENO: checking for sched_yield" >&5
43404 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
43405 if test "${ac_cv_func_sched_yield+set}" = set; then
43406 echo $ECHO_N "(cached) $ECHO_C" >&6
43408 cat >conftest.
$ac_ext <<_ACEOF
43411 cat confdefs.h
>>conftest.
$ac_ext
43412 cat >>conftest.
$ac_ext <<_ACEOF
43413 /* end confdefs.h. */
43414 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
43415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43416 #define sched_yield innocuous_sched_yield
43418 /* System header to define __stub macros and hopefully few prototypes,
43419 which can conflict with char sched_yield (); below.
43420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43421 <limits.h> exists even on freestanding compilers. */
43424 # include <limits.h>
43426 # include <assert.h>
43431 /* Override any GCC internal prototype to avoid an error.
43432 Use char because int might match the return type of a GCC
43433 builtin and then its argument prototype would still apply. */
43437 char sched_yield ();
43438 /* The GNU C library defines this for functions which it implements
43439 to always fail with ENOSYS. Some functions are actually named
43440 something starting with __ and the normal name is an alias. */
43441 #if defined __stub_sched_yield || defined __stub___sched_yield
43448 return sched_yield ();
43453 rm -f conftest.
$ac_objext conftest
$ac_exeext
43454 if { (ac_try
="$ac_link"
43455 case "(($ac_try" in
43456 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43457 *) ac_try_echo=$ac_try;;
43459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43460 (eval "$ac_link") 2>conftest.er1
43462 grep -v '^ *+' conftest.er1 >conftest.err
43464 cat conftest.err >&5
43465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43466 (exit $ac_status); } && {
43467 test -z "$ac_c_werror_flag" ||
43468 test ! -s conftest.err
43469 } && test -s conftest$ac_exeext &&
43470 $as_test_x conftest$ac_exeext; then
43471 ac_cv_func_sched_yield=yes
43473 echo "$as_me: failed program was:" >&5
43474 sed 's/^/| /' conftest.$ac_ext >&5
43476 ac_cv_func_sched_yield=no
43479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43480 conftest$ac_exeext conftest.$ac_ext
43482 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
43483 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
43484 if test $ac_cv_func_sched_yield = yes; then
43485 cat >>confdefs.h <<\_ACEOF
43486 #define HAVE_SCHED_YIELD 1
43491 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
43492 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
43493 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
43494 echo $ECHO_N "(cached) $ECHO_C" >&6
43496 ac_check_lib_save_LIBS=$LIBS
43497 LIBS="-lposix4 $LIBS"
43498 cat >conftest.$ac_ext <<_ACEOF
43501 cat confdefs.h >>conftest.$ac_ext
43502 cat >>conftest.$ac_ext <<_ACEOF
43503 /* end confdefs.h. */
43505 /* Override any GCC internal prototype to avoid an error.
43506 Use char because int might match the return type of a GCC
43507 builtin and then its argument prototype would still apply. */
43511 char sched_yield ();
43515 return sched_yield ();
43520 rm -f conftest.$ac_objext conftest$ac_exeext
43521 if { (ac_try="$ac_link"
43522 case "(($ac_try" in
43523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43524 *) ac_try_echo
=$ac_try;;
43526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43527 (eval "$ac_link") 2>conftest.er1
43529 grep -v '^ *+' conftest.er1
>conftest.err
43531 cat conftest.err
>&5
43532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43533 (exit $ac_status); } && {
43534 test -z "$ac_c_werror_flag" ||
43535 test ! -s conftest.err
43536 } && test -s conftest
$ac_exeext &&
43537 $as_test_x conftest
$ac_exeext; then
43538 ac_cv_lib_posix4_sched_yield
=yes
43540 echo "$as_me: failed program was:" >&5
43541 sed 's/^/| /' conftest.
$ac_ext >&5
43543 ac_cv_lib_posix4_sched_yield
=no
43546 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43547 conftest
$ac_exeext conftest.
$ac_ext
43548 LIBS
=$ac_check_lib_save_LIBS
43550 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
43551 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
43552 if test $ac_cv_lib_posix4_sched_yield = yes; then
43553 cat >>confdefs.h
<<\_ACEOF
43554 #define HAVE_SCHED_YIELD 1
43556 POSIX4_LINK
=" -lposix4"
43558 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
43559 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
43570 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
43571 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
43572 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
43573 echo $ECHO_N "(cached) $ECHO_C" >&6
43575 cat >conftest.
$ac_ext <<_ACEOF
43578 cat confdefs.h
>>conftest.
$ac_ext
43579 cat >>conftest.
$ac_ext <<_ACEOF
43580 /* end confdefs.h. */
43581 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
43582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43583 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
43585 /* System header to define __stub macros and hopefully few prototypes,
43586 which can conflict with char pthread_attr_getschedpolicy (); below.
43587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43588 <limits.h> exists even on freestanding compilers. */
43591 # include <limits.h>
43593 # include <assert.h>
43596 #undef pthread_attr_getschedpolicy
43598 /* Override any GCC internal prototype to avoid an error.
43599 Use char because int might match the return type of a GCC
43600 builtin and then its argument prototype would still apply. */
43604 char pthread_attr_getschedpolicy ();
43605 /* The GNU C library defines this for functions which it implements
43606 to always fail with ENOSYS. Some functions are actually named
43607 something starting with __ and the normal name is an alias. */
43608 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
43615 return pthread_attr_getschedpolicy ();
43620 rm -f conftest.
$ac_objext conftest
$ac_exeext
43621 if { (ac_try
="$ac_link"
43622 case "(($ac_try" in
43623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43624 *) ac_try_echo=$ac_try;;
43626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43627 (eval "$ac_link") 2>conftest.er1
43629 grep -v '^ *+' conftest.er1 >conftest.err
43631 cat conftest.err >&5
43632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43633 (exit $ac_status); } && {
43634 test -z "$ac_c_werror_flag" ||
43635 test ! -s conftest.err
43636 } && test -s conftest$ac_exeext &&
43637 $as_test_x conftest$ac_exeext; then
43638 ac_cv_func_pthread_attr_getschedpolicy=yes
43640 echo "$as_me: failed program was:" >&5
43641 sed 's/^/| /' conftest.$ac_ext >&5
43643 ac_cv_func_pthread_attr_getschedpolicy=no
43646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43647 conftest$ac_exeext conftest.$ac_ext
43649 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43650 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43651 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43652 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43653 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43654 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43655 echo $ECHO_N "(cached) $ECHO_C" >&6
43657 cat >conftest.$ac_ext <<_ACEOF
43660 cat confdefs.h >>conftest.$ac_ext
43661 cat >>conftest.$ac_ext <<_ACEOF
43662 /* end confdefs.h. */
43663 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43665 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43667 /* System header to define __stub macros and hopefully few prototypes,
43668 which can conflict with char pthread_attr_setschedparam (); below.
43669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43670 <limits.h> exists even on freestanding compilers. */
43673 # include <limits.h>
43675 # include <assert.h>
43678 #undef pthread_attr_setschedparam
43680 /* Override any GCC internal prototype to avoid an error.
43681 Use char because int might match the return type of a GCC
43682 builtin and then its argument prototype would still apply. */
43686 char pthread_attr_setschedparam ();
43687 /* The GNU C library defines this for functions which it implements
43688 to always fail with ENOSYS. Some functions are actually named
43689 something starting with __ and the normal name is an alias. */
43690 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43697 return pthread_attr_setschedparam ();
43702 rm -f conftest.$ac_objext conftest$ac_exeext
43703 if { (ac_try="$ac_link"
43704 case "(($ac_try" in
43705 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43706 *) ac_try_echo
=$ac_try;;
43708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43709 (eval "$ac_link") 2>conftest.er1
43711 grep -v '^ *+' conftest.er1
>conftest.err
43713 cat conftest.err
>&5
43714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43715 (exit $ac_status); } && {
43716 test -z "$ac_c_werror_flag" ||
43717 test ! -s conftest.err
43718 } && test -s conftest
$ac_exeext &&
43719 $as_test_x conftest
$ac_exeext; then
43720 ac_cv_func_pthread_attr_setschedparam
=yes
43722 echo "$as_me: failed program was:" >&5
43723 sed 's/^/| /' conftest.
$ac_ext >&5
43725 ac_cv_func_pthread_attr_setschedparam
=no
43728 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43729 conftest
$ac_exeext conftest.
$ac_ext
43731 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43732 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43733 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43734 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43735 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43736 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43737 echo $ECHO_N "(cached) $ECHO_C" >&6
43739 cat >conftest.
$ac_ext <<_ACEOF
43742 cat confdefs.h
>>conftest.
$ac_ext
43743 cat >>conftest.
$ac_ext <<_ACEOF
43744 /* end confdefs.h. */
43745 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43747 #define sched_get_priority_max innocuous_sched_get_priority_max
43749 /* System header to define __stub macros and hopefully few prototypes,
43750 which can conflict with char sched_get_priority_max (); below.
43751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43752 <limits.h> exists even on freestanding compilers. */
43755 # include <limits.h>
43757 # include <assert.h>
43760 #undef sched_get_priority_max
43762 /* Override any GCC internal prototype to avoid an error.
43763 Use char because int might match the return type of a GCC
43764 builtin and then its argument prototype would still apply. */
43768 char sched_get_priority_max ();
43769 /* The GNU C library defines this for functions which it implements
43770 to always fail with ENOSYS. Some functions are actually named
43771 something starting with __ and the normal name is an alias. */
43772 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43779 return sched_get_priority_max ();
43784 rm -f conftest.
$ac_objext conftest
$ac_exeext
43785 if { (ac_try
="$ac_link"
43786 case "(($ac_try" in
43787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43788 *) ac_try_echo=$ac_try;;
43790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43791 (eval "$ac_link") 2>conftest.er1
43793 grep -v '^ *+' conftest.er1 >conftest.err
43795 cat conftest.err >&5
43796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43797 (exit $ac_status); } && {
43798 test -z "$ac_c_werror_flag" ||
43799 test ! -s conftest.err
43800 } && test -s conftest$ac_exeext &&
43801 $as_test_x conftest$ac_exeext; then
43802 ac_cv_func_sched_get_priority_max=yes
43804 echo "$as_me: failed program was:" >&5
43805 sed 's/^/| /' conftest.$ac_ext >&5
43807 ac_cv_func_sched_get_priority_max=no
43810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43811 conftest$ac_exeext conftest.$ac_ext
43813 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43814 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43815 if test $ac_cv_func_sched_get_priority_max = yes; then
43818 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43819 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43820 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43821 echo $ECHO_N "(cached) $ECHO_C" >&6
43823 ac_check_lib_save_LIBS=$LIBS
43824 LIBS="-lposix4 $LIBS"
43825 cat >conftest.$ac_ext <<_ACEOF
43828 cat confdefs.h >>conftest.$ac_ext
43829 cat >>conftest.$ac_ext <<_ACEOF
43830 /* end confdefs.h. */
43832 /* Override any GCC internal prototype to avoid an error.
43833 Use char because int might match the return type of a GCC
43834 builtin and then its argument prototype would still apply. */
43838 char sched_get_priority_max ();
43842 return sched_get_priority_max ();
43847 rm -f conftest.$ac_objext conftest$ac_exeext
43848 if { (ac_try="$ac_link"
43849 case "(($ac_try" in
43850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43851 *) ac_try_echo
=$ac_try;;
43853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43854 (eval "$ac_link") 2>conftest.er1
43856 grep -v '^ *+' conftest.er1
>conftest.err
43858 cat conftest.err
>&5
43859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43860 (exit $ac_status); } && {
43861 test -z "$ac_c_werror_flag" ||
43862 test ! -s conftest.err
43863 } && test -s conftest
$ac_exeext &&
43864 $as_test_x conftest
$ac_exeext; then
43865 ac_cv_lib_posix4_sched_get_priority_max
=yes
43867 echo "$as_me: failed program was:" >&5
43868 sed 's/^/| /' conftest.
$ac_ext >&5
43870 ac_cv_lib_posix4_sched_get_priority_max
=no
43873 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43874 conftest
$ac_exeext conftest.
$ac_ext
43875 LIBS
=$ac_check_lib_save_LIBS
43877 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43878 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43879 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43882 POSIX4_LINK
=" -lposix4"
43896 if test "$HAVE_PRIOR_FUNCS" = 1; then
43897 cat >>confdefs.h
<<\_ACEOF
43898 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43902 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43903 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43906 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43907 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43908 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43909 echo $ECHO_N "(cached) $ECHO_C" >&6
43911 cat >conftest.
$ac_ext <<_ACEOF
43914 cat confdefs.h
>>conftest.
$ac_ext
43915 cat >>conftest.
$ac_ext <<_ACEOF
43916 /* end confdefs.h. */
43917 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43919 #define pthread_cancel innocuous_pthread_cancel
43921 /* System header to define __stub macros and hopefully few prototypes,
43922 which can conflict with char pthread_cancel (); below.
43923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43924 <limits.h> exists even on freestanding compilers. */
43927 # include <limits.h>
43929 # include <assert.h>
43932 #undef pthread_cancel
43934 /* Override any GCC internal prototype to avoid an error.
43935 Use char because int might match the return type of a GCC
43936 builtin and then its argument prototype would still apply. */
43940 char pthread_cancel ();
43941 /* The GNU C library defines this for functions which it implements
43942 to always fail with ENOSYS. Some functions are actually named
43943 something starting with __ and the normal name is an alias. */
43944 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43951 return pthread_cancel ();
43956 rm -f conftest.
$ac_objext conftest
$ac_exeext
43957 if { (ac_try
="$ac_link"
43958 case "(($ac_try" in
43959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43960 *) ac_try_echo=$ac_try;;
43962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43963 (eval "$ac_link") 2>conftest.er1
43965 grep -v '^ *+' conftest.er1 >conftest.err
43967 cat conftest.err >&5
43968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43969 (exit $ac_status); } && {
43970 test -z "$ac_c_werror_flag" ||
43971 test ! -s conftest.err
43972 } && test -s conftest$ac_exeext &&
43973 $as_test_x conftest$ac_exeext; then
43974 ac_cv_func_pthread_cancel=yes
43976 echo "$as_me: failed program was:" >&5
43977 sed 's/^/| /' conftest.$ac_ext >&5
43979 ac_cv_func_pthread_cancel=no
43982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43983 conftest$ac_exeext conftest.$ac_ext
43985 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43986 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43987 if test $ac_cv_func_pthread_cancel = yes; then
43988 cat >>confdefs.h <<\_ACEOF
43989 #define HAVE_PTHREAD_CANCEL 1
43993 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43994 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43998 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43999 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
44000 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
44001 echo $ECHO_N "(cached) $ECHO_C" >&6
44003 cat >conftest.$ac_ext <<_ACEOF
44006 cat confdefs.h >>conftest.$ac_ext
44007 cat >>conftest.$ac_ext <<_ACEOF
44008 /* end confdefs.h. */
44009 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
44010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44011 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
44013 /* System header to define __stub macros and hopefully few prototypes,
44014 which can conflict with char pthread_mutex_timedlock (); below.
44015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44016 <limits.h> exists even on freestanding compilers. */
44019 # include <limits.h>
44021 # include <assert.h>
44024 #undef pthread_mutex_timedlock
44026 /* Override any GCC internal prototype to avoid an error.
44027 Use char because int might match the return type of a GCC
44028 builtin and then its argument prototype would still apply. */
44032 char pthread_mutex_timedlock ();
44033 /* The GNU C library defines this for functions which it implements
44034 to always fail with ENOSYS. Some functions are actually named
44035 something starting with __ and the normal name is an alias. */
44036 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
44043 return pthread_mutex_timedlock ();
44048 rm -f conftest.$ac_objext conftest$ac_exeext
44049 if { (ac_try="$ac_link"
44050 case "(($ac_try" in
44051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44052 *) ac_try_echo
=$ac_try;;
44054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44055 (eval "$ac_link") 2>conftest.er1
44057 grep -v '^ *+' conftest.er1
>conftest.err
44059 cat conftest.err
>&5
44060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44061 (exit $ac_status); } && {
44062 test -z "$ac_c_werror_flag" ||
44063 test ! -s conftest.err
44064 } && test -s conftest
$ac_exeext &&
44065 $as_test_x conftest
$ac_exeext; then
44066 ac_cv_func_pthread_mutex_timedlock
=yes
44068 echo "$as_me: failed program was:" >&5
44069 sed 's/^/| /' conftest.
$ac_ext >&5
44071 ac_cv_func_pthread_mutex_timedlock
=no
44074 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44075 conftest
$ac_exeext conftest.
$ac_ext
44077 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
44078 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
44079 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
44080 cat >>confdefs.h
<<\_ACEOF
44081 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
44085 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
44086 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
44090 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
44091 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
44092 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
44093 echo $ECHO_N "(cached) $ECHO_C" >&6
44095 cat >conftest.
$ac_ext <<_ACEOF
44098 cat confdefs.h
>>conftest.
$ac_ext
44099 cat >>conftest.
$ac_ext <<_ACEOF
44100 /* end confdefs.h. */
44101 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
44102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44103 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
44105 /* System header to define __stub macros and hopefully few prototypes,
44106 which can conflict with char pthread_attr_setstacksize (); below.
44107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44108 <limits.h> exists even on freestanding compilers. */
44111 # include <limits.h>
44113 # include <assert.h>
44116 #undef pthread_attr_setstacksize
44118 /* Override any GCC internal prototype to avoid an error.
44119 Use char because int might match the return type of a GCC
44120 builtin and then its argument prototype would still apply. */
44124 char pthread_attr_setstacksize ();
44125 /* The GNU C library defines this for functions which it implements
44126 to always fail with ENOSYS. Some functions are actually named
44127 something starting with __ and the normal name is an alias. */
44128 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
44135 return pthread_attr_setstacksize ();
44140 rm -f conftest.
$ac_objext conftest
$ac_exeext
44141 if { (ac_try
="$ac_link"
44142 case "(($ac_try" in
44143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44144 *) ac_try_echo=$ac_try;;
44146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44147 (eval "$ac_link") 2>conftest.er1
44149 grep -v '^ *+' conftest.er1 >conftest.err
44151 cat conftest.err >&5
44152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44153 (exit $ac_status); } && {
44154 test -z "$ac_c_werror_flag" ||
44155 test ! -s conftest.err
44156 } && test -s conftest$ac_exeext &&
44157 $as_test_x conftest$ac_exeext; then
44158 ac_cv_func_pthread_attr_setstacksize=yes
44160 echo "$as_me: failed program was:" >&5
44161 sed 's/^/| /' conftest.$ac_ext >&5
44163 ac_cv_func_pthread_attr_setstacksize=no
44166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44167 conftest$ac_exeext conftest.$ac_ext
44169 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
44170 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
44171 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
44172 cat >>confdefs.h <<\_ACEOF
44173 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
44180 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
44181 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
44182 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
44183 echo $ECHO_N "(cached) $ECHO_C" >&6
44186 cat >conftest.$ac_ext <<_ACEOF
44189 cat confdefs.h >>conftest.$ac_ext
44190 cat >>conftest.$ac_ext <<_ACEOF
44191 /* end confdefs.h. */
44192 #include <pthread.h>
44197 pthread_mutexattr_t attr;
44198 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44204 rm -f conftest.$ac_objext
44205 if { (ac_try="$ac_compile"
44206 case "(($ac_try" in
44207 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44208 *) ac_try_echo
=$ac_try;;
44210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44211 (eval "$ac_compile") 2>conftest.er1
44213 grep -v '^ *+' conftest.er1
>conftest.err
44215 cat conftest.err
>&5
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); } && {
44218 test -z "$ac_c_werror_flag" ||
44219 test ! -s conftest.err
44220 } && test -s conftest.
$ac_objext; then
44221 wx_cv_type_pthread_mutexattr_t
=yes
44223 echo "$as_me: failed program was:" >&5
44224 sed 's/^/| /' conftest.
$ac_ext >&5
44226 wx_cv_type_pthread_mutexattr_t
=no
44230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44233 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
44234 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
44236 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
44237 cat >>confdefs.h
<<\_ACEOF
44238 #define HAVE_PTHREAD_MUTEXATTR_T 1
44242 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
44243 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
44244 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
44245 echo $ECHO_N "(cached) $ECHO_C" >&6
44248 cat >conftest.
$ac_ext <<_ACEOF
44251 cat confdefs.h
>>conftest.
$ac_ext
44252 cat >>conftest.
$ac_ext <<_ACEOF
44253 /* end confdefs.h. */
44254 #include <pthread.h>
44259 pthread_mutexattr_t attr;
44260 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44266 rm -f conftest.
$ac_objext
44267 if { (ac_try
="$ac_compile"
44268 case "(($ac_try" in
44269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44270 *) ac_try_echo=$ac_try;;
44272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44273 (eval "$ac_compile") 2>conftest.er1
44275 grep -v '^ *+' conftest.er1 >conftest.err
44277 cat conftest.err >&5
44278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44279 (exit $ac_status); } && {
44280 test -z "$ac_c_werror_flag" ||
44281 test ! -s conftest.err
44282 } && test -s conftest.$ac_objext; then
44283 wx_cv_func_pthread_mutexattr_settype_decl=yes
44285 echo "$as_me: failed program was:" >&5
44286 sed 's/^/| /' conftest.$ac_ext >&5
44288 wx_cv_func_pthread_mutexattr_settype_decl=no
44292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44295 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
44296 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
44297 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
44298 cat >>confdefs.h <<\_ACEOF
44299 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
44304 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
44305 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
44306 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
44307 echo $ECHO_N "(cached) $ECHO_C" >&6
44310 cat >conftest.$ac_ext <<_ACEOF
44313 cat confdefs.h >>conftest.$ac_ext
44314 cat >>conftest.$ac_ext <<_ACEOF
44315 /* end confdefs.h. */
44316 #include <pthread.h>
44321 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
44327 rm -f conftest.$ac_objext
44328 if { (ac_try="$ac_compile"
44329 case "(($ac_try" in
44330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44331 *) ac_try_echo
=$ac_try;;
44333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44334 (eval "$ac_compile") 2>conftest.er1
44336 grep -v '^ *+' conftest.er1
>conftest.err
44338 cat conftest.err
>&5
44339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44340 (exit $ac_status); } && {
44341 test -z "$ac_c_werror_flag" ||
44342 test ! -s conftest.err
44343 } && test -s conftest.
$ac_objext; then
44345 wx_cv_type_pthread_rec_mutex_init
=yes
44348 echo "$as_me: failed program was:" >&5
44349 sed 's/^/| /' conftest.
$ac_ext >&5
44352 wx_cv_type_pthread_rec_mutex_init
=no
44357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44360 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
44361 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
44362 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
44363 cat >>confdefs.h
<<\_ACEOF
44364 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
44368 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
44369 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
44373 if test "$wxUSE_COMPILER_TLS" = "auto"; then
44374 if test "$USE_NETBSD" = 1; then
44375 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
44376 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
44377 wxUSE_COMPILER_TLS
=no
44379 wxUSE_COMPILER_TLS
=yes
44383 if test "$wxUSE_COMPILER_TLS" = "yes"; then
44384 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
44385 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
44386 if test "${wx_cv_cc___thread+set}" = set; then
44387 echo $ECHO_N "(cached) $ECHO_C" >&6
44390 cat >conftest.
$ac_ext <<_ACEOF
44393 cat confdefs.h
>>conftest.
$ac_ext
44394 cat >>conftest.
$ac_ext <<_ACEOF
44395 /* end confdefs.h. */
44396 #include <pthread.h>
44401 static __thread int n = 0;
44402 static __thread int *p = 0;
44408 rm -f conftest.
$ac_objext
44409 if { (ac_try
="$ac_compile"
44410 case "(($ac_try" in
44411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44412 *) ac_try_echo=$ac_try;;
44414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44415 (eval "$ac_compile") 2>conftest.er1
44417 grep -v '^ *+' conftest.er1 >conftest.err
44419 cat conftest.err >&5
44420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44421 (exit $ac_status); } && {
44422 test -z "$ac_c_werror_flag" ||
44423 test ! -s conftest.err
44424 } && test -s conftest.$ac_objext; then
44425 wx_cv_cc___thread=yes
44427 echo "$as_me: failed program was:" >&5
44428 sed 's/^/| /' conftest.$ac_ext >&5
44430 wx_cv_cc___thread=no
44434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44438 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
44439 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
44441 if test "$wx_cv_cc___thread" = "yes"; then
44447 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
44448 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
44450 if test "x$GCC" = "xyes" ; then
44452 if test -z "" ; then
44454 ax_gcc_option_test="int main()
44461 ax_gcc_option_test=""
44466 # Dump the test program to file
44467 cat <<EOF > conftest.c
44468 $ax_gcc_option_test
44471 # Dump back the file to the log, useful for debugging purposes
44472 { ac_try='cat conftest.c 1>&5'
44473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44474 (eval $ac_try) 2>&5
44476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44477 (exit $ac_status); }; }
44479 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
44480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44481 (eval $ac_try) 2>&5
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); }; } ; then
44486 { echo "$as_me:$LINENO: result: yes" >&5
44487 echo "${ECHO_T}yes" >&6; }
44489 ax_gcc_version_option=yes
44494 { echo "$as_me:$LINENO: result: no" >&5
44495 echo "${ECHO_T}no" >&6; }
44497 ax_gcc_version_option=no
44505 { echo "$as_me:$LINENO: result: no gcc available" >&5
44506 echo "${ECHO_T}no gcc available" >&6; }
44511 if test "x$GXX" = "xyes"; then
44513 if test "x$ax_gxx_version_option" != "no"; then
44515 { echo "$as_me:$LINENO: checking gxx version" >&5
44516 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
44517 if test "${ax_cv_gxx_version+set}" = set; then
44518 echo $ECHO_N "(cached) $ECHO_C" >&6
44521 ax_cv_gxx_version="`$CXX -dumpversion`"
44522 if test "x$ax_cv_gxx_version" = "x"; then
44524 ax_cv_gxx_version=""
44530 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
44531 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
44532 GXX_VERSION=$ax_cv_gxx_version
44541 if test -n "$ax_cv_gxx_version"; then
44542 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
44543 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
44544 case "$ax_cv_gxx_version" in
44546 { echo "$as_me:$LINENO: result: no, it's broken" >&5
44547 echo "${ECHO_T}no, it's broken" >&6; }
44548 wx_cv_cc___thread=no
44551 { echo "$as_me:$LINENO: result: yes, it works" >&5
44552 echo "${ECHO_T}yes, it works" >&6; }
44558 if test "$wx_cv_cc___thread" = "yes"; then
44559 cat >>confdefs.h <<\_ACEOF
44560 #define HAVE___THREAD_KEYWORD 1
44568 if test "$wxUSE_THREADS" = "yes" ; then
44570 x86_64-*-mingw32* )
44573 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
44574 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
44575 if test "${wx_cv_cflags_mthread+set}" = set; then
44576 echo $ECHO_N "(cached) $ECHO_C" >&6
44579 CFLAGS_OLD="$CFLAGS"
44580 CFLAGS="-mthreads $CFLAGS"
44581 cat >conftest.$ac_ext <<_ACEOF
44584 cat confdefs.h >>conftest.$ac_ext
44585 cat >>conftest.$ac_ext <<_ACEOF
44586 /* end confdefs.h. */
44596 rm -f conftest.$ac_objext
44597 if { (ac_try="$ac_compile"
44598 case "(($ac_try" in
44599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44600 *) ac_try_echo
=$ac_try;;
44602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44603 (eval "$ac_compile") 2>conftest.er1
44605 grep -v '^ *+' conftest.er1
>conftest.err
44607 cat conftest.err
>&5
44608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44609 (exit $ac_status); } && {
44610 test -z "$ac_c_werror_flag" ||
44611 test ! -s conftest.err
44612 } && test -s conftest.
$ac_objext; then
44613 wx_cv_cflags_mthread
=yes
44615 echo "$as_me: failed program was:" >&5
44616 sed 's/^/| /' conftest.
$ac_ext >&5
44618 wx_cv_cflags_mthread
=no
44622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44626 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
44627 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
44629 if test "$wx_cv_cflags_mthread" = "yes"; then
44630 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
44631 LDFLAGS
="$LDFLAGS -mthreads"
44633 CFLAGS
="$CFLAGS_OLD"
44637 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
44638 LDFLAGS
="$LDFLAGS -Zmt"
44644 { echo "$as_me:$LINENO: checking for localtime_r" >&5
44645 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
44646 if test "${ac_cv_func_localtime_r+set}" = set; then
44647 echo $ECHO_N "(cached) $ECHO_C" >&6
44649 cat >conftest.
$ac_ext <<_ACEOF
44652 cat confdefs.h
>>conftest.
$ac_ext
44653 cat >>conftest.
$ac_ext <<_ACEOF
44654 /* end confdefs.h. */
44655 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44657 #define localtime_r innocuous_localtime_r
44659 /* System header to define __stub macros and hopefully few prototypes,
44660 which can conflict with char localtime_r (); below.
44661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44662 <limits.h> exists even on freestanding compilers. */
44665 # include <limits.h>
44667 # include <assert.h>
44672 /* Override any GCC internal prototype to avoid an error.
44673 Use char because int might match the return type of a GCC
44674 builtin and then its argument prototype would still apply. */
44678 char localtime_r ();
44679 /* The GNU C library defines this for functions which it implements
44680 to always fail with ENOSYS. Some functions are actually named
44681 something starting with __ and the normal name is an alias. */
44682 #if defined __stub_localtime_r || defined __stub___localtime_r
44689 return localtime_r ();
44694 rm -f conftest.
$ac_objext conftest
$ac_exeext
44695 if { (ac_try
="$ac_link"
44696 case "(($ac_try" in
44697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44698 *) ac_try_echo=$ac_try;;
44700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44701 (eval "$ac_link") 2>conftest.er1
44703 grep -v '^ *+' conftest.er1 >conftest.err
44705 cat conftest.err >&5
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); } && {
44708 test -z "$ac_c_werror_flag" ||
44709 test ! -s conftest.err
44710 } && test -s conftest$ac_exeext &&
44711 $as_test_x conftest$ac_exeext; then
44712 ac_cv_func_localtime_r=yes
44714 echo "$as_me: failed program was:" >&5
44715 sed 's/^/| /' conftest.$ac_ext >&5
44717 ac_cv_func_localtime_r=no
44720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44721 conftest$ac_exeext conftest.$ac_ext
44723 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
44724 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44725 if test $ac_cv_func_localtime_r = yes; then
44726 cat >>confdefs.h <<\_ACEOF
44727 #define HAVE_LOCALTIME_R 1
44732 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44733 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44734 if test "${ac_cv_func_gmtime_r+set}" = set; then
44735 echo $ECHO_N "(cached) $ECHO_C" >&6
44737 cat >conftest.$ac_ext <<_ACEOF
44740 cat confdefs.h >>conftest.$ac_ext
44741 cat >>conftest.$ac_ext <<_ACEOF
44742 /* end confdefs.h. */
44743 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44745 #define gmtime_r innocuous_gmtime_r
44747 /* System header to define __stub macros and hopefully few prototypes,
44748 which can conflict with char gmtime_r (); below.
44749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44750 <limits.h> exists even on freestanding compilers. */
44753 # include <limits.h>
44755 # include <assert.h>
44760 /* Override any GCC internal prototype to avoid an error.
44761 Use char because int might match the return type of a GCC
44762 builtin and then its argument prototype would still apply. */
44767 /* The GNU C library defines this for functions which it implements
44768 to always fail with ENOSYS. Some functions are actually named
44769 something starting with __ and the normal name is an alias. */
44770 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44777 return gmtime_r ();
44782 rm -f conftest.$ac_objext conftest$ac_exeext
44783 if { (ac_try="$ac_link"
44784 case "(($ac_try" in
44785 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44786 *) ac_try_echo
=$ac_try;;
44788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44789 (eval "$ac_link") 2>conftest.er1
44791 grep -v '^ *+' conftest.er1
>conftest.err
44793 cat conftest.err
>&5
44794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44795 (exit $ac_status); } && {
44796 test -z "$ac_c_werror_flag" ||
44797 test ! -s conftest.err
44798 } && test -s conftest
$ac_exeext &&
44799 $as_test_x conftest
$ac_exeext; then
44800 ac_cv_func_gmtime_r
=yes
44802 echo "$as_me: failed program was:" >&5
44803 sed 's/^/| /' conftest.
$ac_ext >&5
44805 ac_cv_func_gmtime_r
=no
44808 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44809 conftest
$ac_exeext conftest.
$ac_ext
44811 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44812 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44813 if test $ac_cv_func_gmtime_r = yes; then
44814 cat >>confdefs.h
<<\_ACEOF
44815 #define HAVE_GMTIME_R 1
44824 ac_cpp
='$CPP $CPPFLAGS'
44825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44829 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44830 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44832 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44833 echo $ECHO_N "(cached) $ECHO_C" >&6
44837 ################################################################
44839 ac_cv_func_which_gethostbyname_r
=unknown
44842 # ONE ARGUMENT (sanity check)
44845 # This should fail, as there is no variant of gethostbyname_r() that takes
44846 # a single argument. If it actually compiles, then we can assume that
44847 # netdb.h is not declaring the function, and the compiler is thereby
44848 # assuming an implicit prototype. In which case, we're out of luck.
44850 cat >conftest.
$ac_ext <<_ACEOF
44853 cat confdefs.h
>>conftest.
$ac_ext
44854 cat >>conftest.
$ac_ext <<_ACEOF
44855 /* end confdefs.h. */
44861 char *name = "www.gnu.org";
44862 (void)gethostbyname_r(name) /* ; */
44869 rm -f conftest.
$ac_objext
44870 if { (ac_try
="$ac_compile"
44871 case "(($ac_try" in
44872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44873 *) ac_try_echo=$ac_try;;
44875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44876 (eval "$ac_compile") 2>conftest.er1
44878 grep -v '^ *+' conftest.er1 >conftest.err
44880 cat conftest.err >&5
44881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44882 (exit $ac_status); } && {
44883 test -z "$ac_c_werror_flag" ||
44884 test ! -s conftest.err
44885 } && test -s conftest.$ac_objext; then
44886 ac_cv_func_which_gethostbyname_r=no
44889 echo "$as_me: failed program was:" >&5
44890 sed 's/^/| /' conftest.$ac_ext >&5
44895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44902 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44904 cat >conftest.$ac_ext <<_ACEOF
44907 cat confdefs.h >>conftest.$ac_ext
44908 cat >>conftest.$ac_ext <<_ACEOF
44909 /* end confdefs.h. */
44915 char *name = "www.gnu.org";
44916 struct hostent ret, *retp;
44920 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44927 rm -f conftest.$ac_objext
44928 if { (ac_try="$ac_compile"
44929 case "(($ac_try" in
44930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44931 *) ac_try_echo
=$ac_try;;
44933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44934 (eval "$ac_compile") 2>conftest.er1
44936 grep -v '^ *+' conftest.er1
>conftest.err
44938 cat conftest.err
>&5
44939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44940 (exit $ac_status); } && {
44941 test -z "$ac_c_werror_flag" ||
44942 test ! -s conftest.err
44943 } && test -s conftest.
$ac_objext; then
44944 ac_cv_func_which_gethostbyname_r
=six
44947 echo "$as_me: failed program was:" >&5
44948 sed 's/^/| /' conftest.
$ac_ext >&5
44953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44962 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44964 cat >conftest.
$ac_ext <<_ACEOF
44967 cat confdefs.h
>>conftest.
$ac_ext
44968 cat >>conftest.
$ac_ext <<_ACEOF
44969 /* end confdefs.h. */
44975 char *name = "www.gnu.org";
44976 struct hostent ret;
44980 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44987 rm -f conftest.
$ac_objext
44988 if { (ac_try
="$ac_compile"
44989 case "(($ac_try" in
44990 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44991 *) ac_try_echo=$ac_try;;
44993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44994 (eval "$ac_compile") 2>conftest.er1
44996 grep -v '^ *+' conftest.er1 >conftest.err
44998 cat conftest.err >&5
44999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45000 (exit $ac_status); } && {
45001 test -z "$ac_c_werror_flag" ||
45002 test ! -s conftest.err
45003 } && test -s conftest.$ac_objext; then
45004 ac_cv_func_which_gethostbyname_r=five
45007 echo "$as_me: failed program was:" >&5
45008 sed 's/^/| /' conftest.$ac_ext >&5
45013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45019 # (e.g. AIX, HP-UX, Tru64)
45022 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
45024 cat >conftest.$ac_ext <<_ACEOF
45027 cat confdefs.h >>conftest.$ac_ext
45028 cat >>conftest.$ac_ext <<_ACEOF
45029 /* end confdefs.h. */
45035 char *name = "www.gnu.org";
45036 struct hostent ret;
45037 struct hostent_data data;
45038 (void)gethostbyname_r(name, &ret, &data) /* ; */
45045 rm -f conftest.$ac_objext
45046 if { (ac_try="$ac_compile"
45047 case "(($ac_try" in
45048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45049 *) ac_try_echo
=$ac_try;;
45051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45052 (eval "$ac_compile") 2>conftest.er1
45054 grep -v '^ *+' conftest.er1
>conftest.err
45056 cat conftest.err
>&5
45057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45058 (exit $ac_status); } && {
45059 test -z "$ac_c_werror_flag" ||
45060 test ! -s conftest.err
45061 } && test -s conftest.
$ac_objext; then
45062 ac_cv_func_which_gethostbyname_r
=three
45065 echo "$as_me: failed program was:" >&5
45066 sed 's/^/| /' conftest.
$ac_ext >&5
45071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45075 ################################################################
45080 case "$ac_cv_func_which_gethostbyname_r" in
45082 { echo "$as_me:$LINENO: result: three" >&5
45083 echo "${ECHO_T}three" >&6; }
45084 cat >>confdefs.h
<<\_ACEOF
45085 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
45091 { echo "$as_me:$LINENO: result: five" >&5
45092 echo "${ECHO_T}five" >&6; }
45093 cat >>confdefs.h
<<\_ACEOF
45094 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
45100 { echo "$as_me:$LINENO: result: six" >&5
45101 echo "${ECHO_T}six" >&6; }
45102 cat >>confdefs.h
<<\_ACEOF
45103 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
45109 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
45110 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
45114 { echo "$as_me:$LINENO: result: can't tell" >&5
45115 echo "${ECHO_T}can't tell" >&6; }
45119 { { echo "$as_me:$LINENO: error: internal error" >&5
45120 echo "$as_me: error: internal error" >&2;}
45121 { (exit 1); exit 1; }; }
45126 ac_cpp
='$CPP $CPPFLAGS'
45127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45133 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
45134 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
45135 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
45136 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
45137 if test "${ac_cv_func_gethostbyname+set}" = set; then
45138 echo $ECHO_N "(cached) $ECHO_C" >&6
45140 cat >conftest.
$ac_ext <<_ACEOF
45143 cat confdefs.h
>>conftest.
$ac_ext
45144 cat >>conftest.
$ac_ext <<_ACEOF
45145 /* end confdefs.h. */
45146 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
45147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45148 #define gethostbyname innocuous_gethostbyname
45150 /* System header to define __stub macros and hopefully few prototypes,
45151 which can conflict with char gethostbyname (); below.
45152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45153 <limits.h> exists even on freestanding compilers. */
45156 # include <limits.h>
45158 # include <assert.h>
45161 #undef gethostbyname
45163 /* Override any GCC internal prototype to avoid an error.
45164 Use char because int might match the return type of a GCC
45165 builtin and then its argument prototype would still apply. */
45169 char gethostbyname ();
45170 /* The GNU C library defines this for functions which it implements
45171 to always fail with ENOSYS. Some functions are actually named
45172 something starting with __ and the normal name is an alias. */
45173 #if defined __stub_gethostbyname || defined __stub___gethostbyname
45180 return gethostbyname ();
45185 rm -f conftest.
$ac_objext conftest
$ac_exeext
45186 if { (ac_try
="$ac_link"
45187 case "(($ac_try" in
45188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45189 *) ac_try_echo=$ac_try;;
45191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45192 (eval "$ac_link") 2>conftest.er1
45194 grep -v '^ *+' conftest.er1 >conftest.err
45196 cat conftest.err >&5
45197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45198 (exit $ac_status); } && {
45199 test -z "$ac_c_werror_flag" ||
45200 test ! -s conftest.err
45201 } && test -s conftest$ac_exeext &&
45202 $as_test_x conftest$ac_exeext; then
45203 ac_cv_func_gethostbyname=yes
45205 echo "$as_me: failed program was:" >&5
45206 sed 's/^/| /' conftest.$ac_ext >&5
45208 ac_cv_func_gethostbyname=no
45211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45212 conftest$ac_exeext conftest.$ac_ext
45214 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
45215 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
45216 if test $ac_cv_func_gethostbyname = yes; then
45217 cat >>confdefs.h <<\_ACEOF
45218 #define HAVE_GETHOSTBYNAME 1
45225 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
45226 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
45227 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
45228 echo $ECHO_N "(cached) $ECHO_C" >&6
45232 ac_cpp='$CXXCPP $CPPFLAGS'
45233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45238 cat >conftest.$ac_ext <<_ACEOF
45241 cat confdefs.h >>conftest.$ac_ext
45242 cat >>conftest.$ac_ext <<_ACEOF
45243 /* end confdefs.h. */
45251 struct servent *se, *res;
45254 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
45260 rm -f conftest.$ac_objext
45261 if { (ac_try="$ac_compile"
45262 case "(($ac_try" in
45263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45264 *) ac_try_echo
=$ac_try;;
45266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45267 (eval "$ac_compile") 2>conftest.er1
45269 grep -v '^ *+' conftest.er1
>conftest.err
45271 cat conftest.err
>&5
45272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45273 (exit $ac_status); } && {
45274 test -z "$ac_cxx_werror_flag" ||
45275 test ! -s conftest.err
45276 } && test -s conftest.
$ac_objext; then
45277 ac_cv_func_which_getservbyname_r
=six
45279 echo "$as_me: failed program was:" >&5
45280 sed 's/^/| /' conftest.
$ac_ext >&5
45283 cat >conftest.
$ac_ext <<_ACEOF
45286 cat confdefs.h
>>conftest.
$ac_ext
45287 cat >>conftest.
$ac_ext <<_ACEOF
45288 /* end confdefs.h. */
45296 struct servent *se;
45299 (void) getservbyname_r(name, proto, se, buffer, buflen)
45305 rm -f conftest.
$ac_objext
45306 if { (ac_try
="$ac_compile"
45307 case "(($ac_try" in
45308 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45309 *) ac_try_echo=$ac_try;;
45311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45312 (eval "$ac_compile") 2>conftest.er1
45314 grep -v '^ *+' conftest.er1 >conftest.err
45316 cat conftest.err >&5
45317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45318 (exit $ac_status); } && {
45319 test -z "$ac_cxx_werror_flag" ||
45320 test ! -s conftest.err
45321 } && test -s conftest.$ac_objext; then
45322 ac_cv_func_which_getservbyname_r=five
45324 echo "$as_me: failed program was:" >&5
45325 sed 's/^/| /' conftest.$ac_ext >&5
45328 cat >conftest.$ac_ext <<_ACEOF
45331 cat confdefs.h >>conftest.$ac_ext
45332 cat >>conftest.$ac_ext <<_ACEOF
45333 /* end confdefs.h. */
45341 struct servent *se;
45342 struct servent_data data;
45343 (void) getservbyname_r(name, proto, se, &data);
45349 rm -f conftest.$ac_objext
45350 if { (ac_try="$ac_compile"
45351 case "(($ac_try" in
45352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45353 *) ac_try_echo
=$ac_try;;
45355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45356 (eval "$ac_compile") 2>conftest.er1
45358 grep -v '^ *+' conftest.er1
>conftest.err
45360 cat conftest.err
>&5
45361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45362 (exit $ac_status); } && {
45363 test -z "$ac_cxx_werror_flag" ||
45364 test ! -s conftest.err
45365 } && test -s conftest.
$ac_objext; then
45366 ac_cv_func_which_getservbyname_r
=four
45368 echo "$as_me: failed program was:" >&5
45369 sed 's/^/| /' conftest.
$ac_ext >&5
45371 ac_cv_func_which_getservbyname_r
=no
45375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45387 ac_cpp
='$CPP $CPPFLAGS'
45388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45395 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45396 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45398 if test $ac_cv_func_which_getservbyname_r = six
; then
45399 cat >>confdefs.h
<<\_ACEOF
45400 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45403 elif test $ac_cv_func_which_getservbyname_r = five
; then
45404 cat >>confdefs.h
<<\_ACEOF
45405 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45408 elif test $ac_cv_func_which_getservbyname_r = four
; then
45409 cat >>confdefs.h
<<\_ACEOF
45410 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45416 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45417 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45419 for ac_func
in getservbyname
45421 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45422 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45424 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45425 echo $ECHO_N "(cached) $ECHO_C" >&6
45427 cat >conftest.
$ac_ext <<_ACEOF
45430 cat confdefs.h
>>conftest.
$ac_ext
45431 cat >>conftest.
$ac_ext <<_ACEOF
45432 /* end confdefs.h. */
45433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45435 #define $ac_func innocuous_$ac_func
45437 /* System header to define __stub macros and hopefully few prototypes,
45438 which can conflict with char $ac_func (); below.
45439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45440 <limits.h> exists even on freestanding compilers. */
45443 # include <limits.h>
45445 # include <assert.h>
45450 /* Override any GCC internal prototype to avoid an error.
45451 Use char because int might match the return type of a GCC
45452 builtin and then its argument prototype would still apply. */
45457 /* The GNU C library defines this for functions which it implements
45458 to always fail with ENOSYS. Some functions are actually named
45459 something starting with __ and the normal name is an alias. */
45460 #if defined __stub_$ac_func || defined __stub___$ac_func
45467 return $ac_func ();
45472 rm -f conftest.
$ac_objext conftest
$ac_exeext
45473 if { (ac_try
="$ac_link"
45474 case "(($ac_try" in
45475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45476 *) ac_try_echo=$ac_try;;
45478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45479 (eval "$ac_link") 2>conftest.er1
45481 grep -v '^ *+' conftest.er1 >conftest.err
45483 cat conftest.err >&5
45484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45485 (exit $ac_status); } && {
45486 test -z "$ac_c_werror_flag" ||
45487 test ! -s conftest.err
45488 } && test -s conftest$ac_exeext &&
45489 $as_test_x conftest$ac_exeext; then
45490 eval "$as_ac_var=yes"
45492 echo "$as_me: failed program was:" >&5
45493 sed 's/^/| /' conftest.$ac_ext >&5
45495 eval "$as_ac_var=no"
45498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45499 conftest$ac_exeext conftest.$ac_ext
45501 ac_res=`eval echo '${'$as_ac_var'}'`
45502 { echo "$as_me:$LINENO: result: $ac_res" >&5
45503 echo "${ECHO_T}$ac_res" >&6; }
45504 if test `eval echo '${'$as_ac_var'}'` = yes; then
45505 cat >>confdefs.h <<_ACEOF
45506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45508 cat >>confdefs.h <<\_ACEOF
45509 #define HAVE_GETSERVBYNAME 1
45517 if test "$wxUSE_THREADS" = "yes"; then
45518 cat >>confdefs.h <<\_ACEOF
45519 #define wxUSE_THREADS 1
45523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
45525 if test "$wx_cv_func_strtok_r" = "yes"; then
45526 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45527 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45528 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45529 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45530 { echo "$as_me:$LINENO: result: yes" >&5
45531 echo "${ECHO_T}yes" >&6; }
45533 { echo "$as_me:$LINENO: result: no" >&5
45534 echo "${ECHO_T}no" >&6; }
45539 if test "$WXGTK2" = 1 ; then
45540 cat >>confdefs.h <<_ACEOF
45541 #define __WXGTK20__ $WXGTK2
45546 if test "$WXGTK127" = 1 ; then
45547 cat >>confdefs.h <<_ACEOF
45548 #define __WXGTK127__ $WXGTK127
45553 if test "$WXGPE" = 1 ; then
45554 cat >>confdefs.h <<_ACEOF
45555 #define __WXGPE__ $WXGPE
45561 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
45562 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
45563 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
45564 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
45568 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45569 wxUSE_DEBUG_INFO=yes
45570 if test "$GCC" = yes; then
45571 DEBUG_CFLAGS="-ggdb"
45575 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
45576 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
45578 if test "$wxUSE_GTK" = 1 ; then
45579 if test "x$wxGTK_VERSION" = "x1" ; then
45580 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45582 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
45587 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45588 cat >>confdefs.h <<\_ACEOF
45589 #define wxUSE_MEMORY_TRACING 1
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_DEBUG_NEW_ALWAYS 1
45600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
45603 if test "$wxUSE_DMALLOC" = "yes" ; then
45604 DMALLOC_LIBS="-ldmallocthcxx"
45608 if test "$wxUSE_PROFILE" = "yes" ; then
45609 PROFILE_FLAGS=" -pg"
45612 if test "$GCC" = "yes" ; then
45613 if test "$wxUSE_NO_RTTI" = "yes" ; then
45614 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
45616 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45617 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
45619 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45620 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
45625 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
45628 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
45634 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
45635 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
45636 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
45638 if test "$wxUSE_OPTIMISE" = "no" ; then
45639 if test "$GCC" = yes ; then
45640 OPTIMISE_CFLAGS="-O0"
45643 if test "$GCC" = yes ; then
45645 *-pc-os2_emx | *-pc-os2-emx )
45646 OPTIMISE_CFLAGS="-O2"
45649 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
45653 OPTIMISE_CFLAGS="-O"
45659 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45660 cat >>confdefs.h <<\_ACEOF
45661 #define WXWIN_COMPATIBILITY_2_6 1
45665 WXWIN_COMPATIBILITY_2_8="yes"
45668 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45669 cat >>confdefs.h <<\_ACEOF
45670 #define WXWIN_COMPATIBILITY_2_8 1
45676 if test "$wxUSE_GUI" = "yes"; then
45677 cat >>confdefs.h <<\_ACEOF
45678 #define wxUSE_GUI 1
45685 if test "$wxUSE_UNIX" = "yes"; then
45686 cat >>confdefs.h <<\_ACEOF
45687 #define wxUSE_UNIX 1
45693 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45697 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45698 if test "$USE_DOS" = 1; then
45702 for ac_func in dlopen
45704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45705 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45707 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45708 echo $ECHO_N "(cached) $ECHO_C" >&6
45710 cat >conftest.$ac_ext <<_ACEOF
45713 cat confdefs.h >>conftest.$ac_ext
45714 cat >>conftest.$ac_ext <<_ACEOF
45715 /* end confdefs.h. */
45716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45718 #define $ac_func innocuous_$ac_func
45720 /* System header to define __stub macros and hopefully few prototypes,
45721 which can conflict with char $ac_func (); below.
45722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45723 <limits.h> exists even on freestanding compilers. */
45726 # include <limits.h>
45728 # include <assert.h>
45733 /* Override any GCC internal prototype to avoid an error.
45734 Use char because int might match the return type of a GCC
45735 builtin and then its argument prototype would still apply. */
45740 /* The GNU C library defines this for functions which it implements
45741 to always fail with ENOSYS. Some functions are actually named
45742 something starting with __ and the normal name is an alias. */
45743 #if defined __stub_$ac_func || defined __stub___$ac_func
45750 return $ac_func ();
45755 rm -f conftest.$ac_objext conftest$ac_exeext
45756 if { (ac_try="$ac_link"
45757 case "(($ac_try" in
45758 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45759 *) ac_try_echo
=$ac_try;;
45761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45762 (eval "$ac_link") 2>conftest.er1
45764 grep -v '^ *+' conftest.er1
>conftest.err
45766 cat conftest.err
>&5
45767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45768 (exit $ac_status); } && {
45769 test -z "$ac_c_werror_flag" ||
45770 test ! -s conftest.err
45771 } && test -s conftest
$ac_exeext &&
45772 $as_test_x conftest
$ac_exeext; then
45773 eval "$as_ac_var=yes"
45775 echo "$as_me: failed program was:" >&5
45776 sed 's/^/| /' conftest.
$ac_ext >&5
45778 eval "$as_ac_var=no"
45781 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45782 conftest
$ac_exeext conftest.
$ac_ext
45784 ac_res
=`eval echo '${'$as_ac_var'}'`
45785 { echo "$as_me:$LINENO: result: $ac_res" >&5
45786 echo "${ECHO_T}$ac_res" >&6; }
45787 if test `eval echo '${'$as_ac_var'}'` = yes; then
45788 cat >>confdefs.h
<<_ACEOF
45789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45792 cat >>confdefs.h
<<\_ACEOF
45793 #define HAVE_DLOPEN 1
45800 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45801 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45802 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45803 echo $ECHO_N "(cached) $ECHO_C" >&6
45805 ac_check_lib_save_LIBS
=$LIBS
45807 cat >conftest.
$ac_ext <<_ACEOF
45810 cat confdefs.h
>>conftest.
$ac_ext
45811 cat >>conftest.
$ac_ext <<_ACEOF
45812 /* end confdefs.h. */
45814 /* Override any GCC internal prototype to avoid an error.
45815 Use char because int might match the return type of a GCC
45816 builtin and then its argument prototype would still apply. */
45829 rm -f conftest.
$ac_objext conftest
$ac_exeext
45830 if { (ac_try
="$ac_link"
45831 case "(($ac_try" in
45832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45833 *) ac_try_echo=$ac_try;;
45835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45836 (eval "$ac_link") 2>conftest.er1
45838 grep -v '^ *+' conftest.er1 >conftest.err
45840 cat conftest.err >&5
45841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45842 (exit $ac_status); } && {
45843 test -z "$ac_c_werror_flag" ||
45844 test ! -s conftest.err
45845 } && test -s conftest$ac_exeext &&
45846 $as_test_x conftest$ac_exeext; then
45847 ac_cv_lib_dl_dlopen=yes
45849 echo "$as_me: failed program was:" >&5
45850 sed 's/^/| /' conftest.$ac_ext >&5
45852 ac_cv_lib_dl_dlopen=no
45855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45856 conftest$ac_exeext conftest.$ac_ext
45857 LIBS=$ac_check_lib_save_LIBS
45859 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45860 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45861 if test $ac_cv_lib_dl_dlopen = yes; then
45863 cat >>confdefs.h <<\_ACEOF
45864 #define HAVE_DLOPEN 1
45868 DL_LINK=" -ldl$DL_LINK"
45873 for ac_func in shl_load
45875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45876 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45878 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45879 echo $ECHO_N "(cached) $ECHO_C" >&6
45881 cat >conftest.$ac_ext <<_ACEOF
45884 cat confdefs.h >>conftest.$ac_ext
45885 cat >>conftest.$ac_ext <<_ACEOF
45886 /* end confdefs.h. */
45887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45889 #define $ac_func innocuous_$ac_func
45891 /* System header to define __stub macros and hopefully few prototypes,
45892 which can conflict with char $ac_func (); below.
45893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45894 <limits.h> exists even on freestanding compilers. */
45897 # include <limits.h>
45899 # include <assert.h>
45904 /* Override any GCC internal prototype to avoid an error.
45905 Use char because int might match the return type of a GCC
45906 builtin and then its argument prototype would still apply. */
45911 /* The GNU C library defines this for functions which it implements
45912 to always fail with ENOSYS. Some functions are actually named
45913 something starting with __ and the normal name is an alias. */
45914 #if defined __stub_$ac_func || defined __stub___$ac_func
45921 return $ac_func ();
45926 rm -f conftest.$ac_objext conftest$ac_exeext
45927 if { (ac_try="$ac_link"
45928 case "(($ac_try" in
45929 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45930 *) ac_try_echo
=$ac_try;;
45932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45933 (eval "$ac_link") 2>conftest.er1
45935 grep -v '^ *+' conftest.er1
>conftest.err
45937 cat conftest.err
>&5
45938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45939 (exit $ac_status); } && {
45940 test -z "$ac_c_werror_flag" ||
45941 test ! -s conftest.err
45942 } && test -s conftest
$ac_exeext &&
45943 $as_test_x conftest
$ac_exeext; then
45944 eval "$as_ac_var=yes"
45946 echo "$as_me: failed program was:" >&5
45947 sed 's/^/| /' conftest.
$ac_ext >&5
45949 eval "$as_ac_var=no"
45952 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45953 conftest
$ac_exeext conftest.
$ac_ext
45955 ac_res
=`eval echo '${'$as_ac_var'}'`
45956 { echo "$as_me:$LINENO: result: $ac_res" >&5
45957 echo "${ECHO_T}$ac_res" >&6; }
45958 if test `eval echo '${'$as_ac_var'}'` = yes; then
45959 cat >>confdefs.h
<<_ACEOF
45960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45963 cat >>confdefs.h
<<\_ACEOF
45964 #define HAVE_SHL_LOAD 1
45971 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45972 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45973 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45974 echo $ECHO_N "(cached) $ECHO_C" >&6
45976 ac_check_lib_save_LIBS
=$LIBS
45977 LIBS
="-lshl_load $LIBS"
45978 cat >conftest.
$ac_ext <<_ACEOF
45981 cat confdefs.h
>>conftest.
$ac_ext
45982 cat >>conftest.
$ac_ext <<_ACEOF
45983 /* end confdefs.h. */
45985 /* Override any GCC internal prototype to avoid an error.
45986 Use char because int might match the return type of a GCC
45987 builtin and then its argument prototype would still apply. */
46000 rm -f conftest.
$ac_objext conftest
$ac_exeext
46001 if { (ac_try
="$ac_link"
46002 case "(($ac_try" in
46003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46004 *) ac_try_echo=$ac_try;;
46006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46007 (eval "$ac_link") 2>conftest.er1
46009 grep -v '^ *+' conftest.er1 >conftest.err
46011 cat conftest.err >&5
46012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46013 (exit $ac_status); } && {
46014 test -z "$ac_c_werror_flag" ||
46015 test ! -s conftest.err
46016 } && test -s conftest$ac_exeext &&
46017 $as_test_x conftest$ac_exeext; then
46018 ac_cv_lib_shl_load_dld=yes
46020 echo "$as_me: failed program was:" >&5
46021 sed 's/^/| /' conftest.$ac_ext >&5
46023 ac_cv_lib_shl_load_dld=no
46026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46027 conftest$ac_exeext conftest.$ac_ext
46028 LIBS=$ac_check_lib_save_LIBS
46030 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
46031 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
46032 if test $ac_cv_lib_shl_load_dld = yes; then
46035 DL_LINK=" -ldld$DL_LINK"
46051 if test "$HAVE_DL_FUNCS" = 1; then
46053 for ac_func in dlerror
46055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46058 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46059 echo $ECHO_N "(cached) $ECHO_C" >&6
46061 cat >conftest.$ac_ext <<_ACEOF
46064 cat confdefs.h >>conftest.$ac_ext
46065 cat >>conftest.$ac_ext <<_ACEOF
46066 /* end confdefs.h. */
46067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46069 #define $ac_func innocuous_$ac_func
46071 /* System header to define __stub macros and hopefully few prototypes,
46072 which can conflict with char $ac_func (); below.
46073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46074 <limits.h> exists even on freestanding compilers. */
46077 # include <limits.h>
46079 # include <assert.h>
46084 /* Override any GCC internal prototype to avoid an error.
46085 Use char because int might match the return type of a GCC
46086 builtin and then its argument prototype would still apply. */
46091 /* The GNU C library defines this for functions which it implements
46092 to always fail with ENOSYS. Some functions are actually named
46093 something starting with __ and the normal name is an alias. */
46094 #if defined __stub_$ac_func || defined __stub___$ac_func
46101 return $ac_func ();
46106 rm -f conftest.$ac_objext conftest$ac_exeext
46107 if { (ac_try="$ac_link"
46108 case "(($ac_try" in
46109 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46110 *) ac_try_echo
=$ac_try;;
46112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46113 (eval "$ac_link") 2>conftest.er1
46115 grep -v '^ *+' conftest.er1
>conftest.err
46117 cat conftest.err
>&5
46118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46119 (exit $ac_status); } && {
46120 test -z "$ac_c_werror_flag" ||
46121 test ! -s conftest.err
46122 } && test -s conftest
$ac_exeext &&
46123 $as_test_x conftest
$ac_exeext; then
46124 eval "$as_ac_var=yes"
46126 echo "$as_me: failed program was:" >&5
46127 sed 's/^/| /' conftest.
$ac_ext >&5
46129 eval "$as_ac_var=no"
46132 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46133 conftest
$ac_exeext conftest.
$ac_ext
46135 ac_res
=`eval echo '${'$as_ac_var'}'`
46136 { echo "$as_me:$LINENO: result: $ac_res" >&5
46137 echo "${ECHO_T}$ac_res" >&6; }
46138 if test `eval echo '${'$as_ac_var'}'` = yes; then
46139 cat >>confdefs.h
<<_ACEOF
46140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46142 cat >>confdefs.h
<<\_ACEOF
46143 #define HAVE_DLERROR 1
46148 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
46149 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
46150 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
46151 echo $ECHO_N "(cached) $ECHO_C" >&6
46153 ac_check_lib_save_LIBS
=$LIBS
46155 cat >conftest.
$ac_ext <<_ACEOF
46158 cat confdefs.h
>>conftest.
$ac_ext
46159 cat >>conftest.
$ac_ext <<_ACEOF
46160 /* end confdefs.h. */
46162 /* Override any GCC internal prototype to avoid an error.
46163 Use char because int might match the return type of a GCC
46164 builtin and then its argument prototype would still apply. */
46177 rm -f conftest.
$ac_objext conftest
$ac_exeext
46178 if { (ac_try
="$ac_link"
46179 case "(($ac_try" in
46180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46181 *) ac_try_echo=$ac_try;;
46183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46184 (eval "$ac_link") 2>conftest.er1
46186 grep -v '^ *+' conftest.er1 >conftest.err
46188 cat conftest.err >&5
46189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190 (exit $ac_status); } && {
46191 test -z "$ac_c_werror_flag" ||
46192 test ! -s conftest.err
46193 } && test -s conftest$ac_exeext &&
46194 $as_test_x conftest$ac_exeext; then
46195 ac_cv_lib_dl_dlerror=yes
46197 echo "$as_me: failed program was:" >&5
46198 sed 's/^/| /' conftest.$ac_ext >&5
46200 ac_cv_lib_dl_dlerror=no
46203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46204 conftest$ac_exeext conftest.$ac_ext
46205 LIBS=$ac_check_lib_save_LIBS
46207 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
46208 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
46209 if test $ac_cv_lib_dl_dlerror = yes; then
46210 cat >>confdefs.h <<\_ACEOF
46211 #define HAVE_DLERROR 1
46224 if test "$USE_DARWIN" = 1; then
46228 if test "$HAVE_DL_FUNCS" = 0; then
46229 if test "$HAVE_SHL_FUNCS" = 0; then
46230 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
46231 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
46232 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
46233 wxUSE_DYNAMIC_LOADER=no
46234 wxUSE_DYNLIB_CLASS=no
46236 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
46237 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
46244 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_DYNAMIC_LOADER 1
46250 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
46251 cat >>confdefs.h <<\_ACEOF
46252 #define wxUSE_DYNLIB_CLASS 1
46259 if test "$wxUSE_PLUGINS" = "yes" ; then
46260 if test "$wxUSE_SHARED" = "no" ; then
46261 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
46262 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
46265 if test "$wxUSE_MONOLITHIC" = "yes" ; then
46266 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
46267 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
46270 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
46271 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
46272 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
46275 if test "$wxUSE_PLUGINS" = "yes" ; then
46276 cat >>confdefs.h <<\_ACEOF
46277 #define wxUSE_PLUGINS 1
46284 if test "$wxUSE_FSWATCHER" = "yes"; then
46285 if test "$wxUSE_MSW" != "1"; then
46286 if test "$wxUSE_UNIX" = "yes"; then
46288 for ac_header in sys/inotify.h
46290 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46291 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46294 echo $ECHO_N "(cached) $ECHO_C" >&6
46296 cat >conftest.$ac_ext <<_ACEOF
46299 cat confdefs.h >>conftest.$ac_ext
46300 cat >>conftest.$ac_ext <<_ACEOF
46301 /* end confdefs.h. */
46302 $ac_includes_default
46304 #include <$ac_header>
46306 rm -f conftest.$ac_objext
46307 if { (ac_try="$ac_compile"
46308 case "(($ac_try" in
46309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46310 *) ac_try_echo
=$ac_try;;
46312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46313 (eval "$ac_compile") 2>conftest.er1
46315 grep -v '^ *+' conftest.er1
>conftest.err
46317 cat conftest.err
>&5
46318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46319 (exit $ac_status); } && {
46320 test -z "$ac_c_werror_flag" ||
46321 test ! -s conftest.err
46322 } && test -s conftest.
$ac_objext; then
46323 eval "$as_ac_Header=yes"
46325 echo "$as_me: failed program was:" >&5
46326 sed 's/^/| /' conftest.
$ac_ext >&5
46328 eval "$as_ac_Header=no"
46331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46333 ac_res
=`eval echo '${'$as_ac_Header'}'`
46334 { echo "$as_me:$LINENO: result: $ac_res" >&5
46335 echo "${ECHO_T}$ac_res" >&6; }
46336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46337 cat >>confdefs.h
<<_ACEOF
46338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46345 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
46346 cat >>confdefs.h
<<\_ACEOF
46347 #define wxHAS_INOTIFY 1
46352 for ac_header
in sys
/event.h
46354 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46355 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46357 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46358 echo $ECHO_N "(cached) $ECHO_C" >&6
46360 cat >conftest.
$ac_ext <<_ACEOF
46363 cat confdefs.h
>>conftest.
$ac_ext
46364 cat >>conftest.
$ac_ext <<_ACEOF
46365 /* end confdefs.h. */
46366 $ac_includes_default
46368 #include <$ac_header>
46370 rm -f conftest.
$ac_objext
46371 if { (ac_try
="$ac_compile"
46372 case "(($ac_try" in
46373 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46374 *) ac_try_echo=$ac_try;;
46376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46377 (eval "$ac_compile") 2>conftest.er1
46379 grep -v '^ *+' conftest.er1 >conftest.err
46381 cat conftest.err >&5
46382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46383 (exit $ac_status); } && {
46384 test -z "$ac_c_werror_flag" ||
46385 test ! -s conftest.err
46386 } && test -s conftest.$ac_objext; then
46387 eval "$as_ac_Header=yes"
46389 echo "$as_me: failed program was:" >&5
46390 sed 's/^/| /' conftest.$ac_ext >&5
46392 eval "$as_ac_Header=no"
46395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46397 ac_res=`eval echo '${'$as_ac_Header'}'`
46398 { echo "$as_me:$LINENO: result: $ac_res" >&5
46399 echo "${ECHO_T}$ac_res" >&6; }
46400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46401 cat >>confdefs.h <<_ACEOF
46402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46409 if test "$ac_cv_header_sys_event_h" = "yes"; then
46410 cat >>confdefs.h <<\_ACEOF
46411 #define wxHAS_KQUEUE 1
46422 if test "$wxUSE_THREADS" != "yes"; then
46423 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
46424 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
46429 if test "$wxUSE_FSWATCHER" = "yes"; then
46430 cat >>confdefs.h <<\_ACEOF
46431 #define wxUSE_FSWATCHER 1
46434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
46436 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
46437 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
46442 if test "$wxUSE_STL" = "yes"; then
46443 cat >>confdefs.h <<\_ACEOF
46444 #define wxUSE_STL 1
46449 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
46450 cat >>confdefs.h <<\_ACEOF
46451 #define wxUSE_EXTENDED_RTTI 1
46456 if test "$wxUSE_ANY" = "yes"; then
46457 cat >>confdefs.h <<\_ACEOF
46458 #define wxUSE_ANY 1
46463 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46464 cat >>confdefs.h <<\_ACEOF
46465 #define wxUSE_APPLE_IEEE 1
46470 if test "$wxUSE_TIMER" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_TIMER 1
46477 if test "$USE_UNIX" = 1 ; then
46478 if test "$wxUSE_MGL" != 1; then
46479 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46480 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46481 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46482 echo $ECHO_N "(cached) $ECHO_C" >&6
46485 cat >conftest.$ac_ext <<_ACEOF
46488 cat confdefs.h >>conftest.$ac_ext
46489 cat >>conftest.$ac_ext <<_ACEOF
46490 /* end confdefs.h. */
46492 #include <sys/ioctl.h>
46493 #include <sys/soundcard.h>
46499 ioctl(0, SNDCTL_DSP_SPEED, 0);
46505 rm -f conftest.$ac_objext conftest$ac_exeext
46506 if { (ac_try="$ac_link"
46507 case "(($ac_try" in
46508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46509 *) ac_try_echo
=$ac_try;;
46511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46512 (eval "$ac_link") 2>conftest.er1
46514 grep -v '^ *+' conftest.er1
>conftest.err
46516 cat conftest.err
>&5
46517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46518 (exit $ac_status); } && {
46519 test -z "$ac_c_werror_flag" ||
46520 test ! -s conftest.err
46521 } && test -s conftest
$ac_exeext &&
46522 $as_test_x conftest
$ac_exeext; then
46523 ac_cv_header_sys_soundcard
=yes
46525 echo "$as_me: failed program was:" >&5
46526 sed 's/^/| /' conftest.
$ac_ext >&5
46530 LIBS
="$saveLibs -lossaudio"
46531 cat >conftest.
$ac_ext <<_ACEOF
46534 cat confdefs.h
>>conftest.
$ac_ext
46535 cat >>conftest.
$ac_ext <<_ACEOF
46536 /* end confdefs.h. */
46538 #include <sys/ioctl.h>
46539 #include <sys/soundcard.h>
46545 ioctl(0, SNDCTL_DSP_SPEED, 0);
46551 rm -f conftest.
$ac_objext conftest
$ac_exeext
46552 if { (ac_try
="$ac_link"
46553 case "(($ac_try" in
46554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46555 *) ac_try_echo=$ac_try;;
46557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46558 (eval "$ac_link") 2>conftest.er1
46560 grep -v '^ *+' conftest.er1 >conftest.err
46562 cat conftest.err >&5
46563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46564 (exit $ac_status); } && {
46565 test -z "$ac_c_werror_flag" ||
46566 test ! -s conftest.err
46567 } && test -s conftest$ac_exeext &&
46568 $as_test_x conftest$ac_exeext; then
46569 ac_cv_header_sys_soundcard=yes
46571 echo "$as_me: failed program was:" >&5
46572 sed 's/^/| /' conftest.$ac_ext >&5
46576 ac_cv_header_sys_soundcard=no
46581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46582 conftest$ac_exeext conftest.$ac_ext
46587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46588 conftest$ac_exeext conftest.$ac_ext
46591 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46592 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46595 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46596 cat >>confdefs.h <<\_ACEOF
46597 #define HAVE_SYS_SOUNDCARD_H 1
46604 if test "$wxUSE_SOUND" = "yes"; then
46605 if test "$USE_UNIX" = 1 ; then
46606 if test "$wxUSE_LIBSDL" != "no"; then
46608 # Check whether --with-sdl-prefix was given.
46609 if test "${with_sdl_prefix+set}" = set; then
46610 withval=$with_sdl_prefix; sdl_prefix="$withval"
46616 # Check whether --with-sdl-exec-prefix was given.
46617 if test "${with_sdl_exec_prefix+set}" = set; then
46618 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
46623 # Check whether --enable-sdltest was given.
46624 if test "${enable_sdltest+set}" = set; then
46625 enableval=$enable_sdltest;
46631 if test x$sdl_exec_prefix != x ; then
46632 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
46633 if test x${SDL_CONFIG+set} != xset ; then
46634 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
46637 if test x$sdl_prefix != x ; then
46638 sdl_args="$sdl_args --prefix=$sdl_prefix"
46639 if test x${SDL_CONFIG+set} != xset ; then
46640 SDL_CONFIG=$sdl_prefix/bin/sdl-config
46644 if test "x$prefix" != xNONE; then
46645 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
46647 # Extract the first word of "sdl-config", so it can be a program name with args.
46648 set dummy sdl-config; ac_word=$2
46649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46651 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46652 echo $ECHO_N "(cached) $ECHO_C" >&6
46654 case $SDL_CONFIG in
46656 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
46659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46660 for as_dir in $PATH
46663 test -z "$as_dir" && as_dir=.
46664 for ac_exec_ext in '' $ac_executable_extensions; do
46665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46666 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46674 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
46678 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
46679 if test -n "$SDL_CONFIG"; then
46680 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46681 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46683 { echo "$as_me:$LINENO: result: no" >&5
46684 echo "${ECHO_T}no" >&6; }
46688 min_sdl_version=1.2.0
46689 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46690 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46692 if test "$SDL_CONFIG" = "no" ; then
46695 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
46696 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
46698 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
46699 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46700 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
46701 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46702 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
46703 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46704 if test "x$enable_sdltest" = "xyes" ; then
46705 ac_save_CFLAGS="$CFLAGS"
46706 ac_save_CXXFLAGS="$CXXFLAGS"
46707 ac_save_LIBS="$LIBS"
46708 CFLAGS="$CFLAGS $SDL_CFLAGS"
46709 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46710 LIBS="$LIBS $SDL_LIBS"
46712 if test "$cross_compiling" = yes; then
46713 echo $ac_n "cross compiling; assumed OK... $ac_c"
46715 cat >conftest.$ac_ext <<_ACEOF
46718 cat confdefs.h >>conftest.$ac_ext
46719 cat >>conftest.$ac_ext <<_ACEOF
46720 /* end confdefs.h. */
46723 #include <stdlib.h>
46724 #include <string.h>
46728 my_strdup (char *str)
46734 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46735 strcpy (new_str, str);
46743 int main (int argc, char *argv[])
46745 int major, minor, micro;
46748 /* This hangs on some systems (?)
46749 system ("touch conf.sdltest");
46751 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46753 /* HP/UX 9 (%@#!) writes to sscanf strings */
46754 tmp_version = my_strdup("$min_sdl_version");
46755 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
46756 printf("%s, bad version string\n", "$min_sdl_version");
46760 if (($sdl_major_version > major) ||
46761 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46762 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46768 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46769 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46770 printf("*** best to upgrade to the required version.\n");
46771 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46772 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46773 printf("*** config.cache before re-running configure\n");
46780 rm -f conftest$ac_exeext
46781 if { (ac_try="$ac_link"
46782 case "(($ac_try" in
46783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46784 *) ac_try_echo
=$ac_try;;
46786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46787 (eval "$ac_link") 2>&5
46789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46790 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46791 { (case "(($ac_try" in
46792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46793 *) ac_try_echo=$ac_try;;
46795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46796 (eval "$ac_try") 2>&5
46798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46799 (exit $ac_status); }; }; then
46802 echo "$as_me: program exited with status $ac_status" >&5
46803 echo "$as_me: failed program was:" >&5
46804 sed 's/^/| /' conftest.$ac_ext >&5
46806 ( exit $ac_status )
46809 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46813 CFLAGS="$ac_save_CFLAGS"
46814 CXXFLAGS="$ac_save_CXXFLAGS"
46815 LIBS="$ac_save_LIBS"
46818 if test "x$no_sdl" = x ; then
46819 { echo "$as_me:$LINENO: result: yes" >&5
46820 echo "${ECHO_T}yes" >&6; }
46822 EXTRALIBS_SDL="$SDL_LIBS"
46823 CFLAGS="$SDL_CFLAGS $CFLAGS"
46824 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46825 cat >>confdefs.h <<\_ACEOF
46826 #define wxUSE_LIBSDL 1
46831 { echo "$as_me:$LINENO: result: no" >&5
46832 echo "${ECHO_T}no" >&6; }
46833 if test "$SDL_CONFIG" = "no" ; then
46834 echo "*** The sdl-config script installed by SDL could not be found"
46835 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46836 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46837 echo "*** full path to sdl-config."
46839 if test -f conf.sdltest ; then
46842 echo "*** Could not run SDL test program, checking why..."
46843 CFLAGS="$CFLAGS $SDL_CFLAGS"
46844 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46845 LIBS="$LIBS $SDL_LIBS"
46846 cat >conftest.$ac_ext <<_ACEOF
46849 cat confdefs.h >>conftest.$ac_ext
46850 cat >>conftest.$ac_ext <<_ACEOF
46851 /* end confdefs.h. */
46856 int main(int argc, char *argv[])
46859 #define main K_and_R_C_main
46869 rm -f conftest.$ac_objext conftest$ac_exeext
46870 if { (ac_try="$ac_link"
46871 case "(($ac_try" in
46872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46873 *) ac_try_echo
=$ac_try;;
46875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46876 (eval "$ac_link") 2>conftest.er1
46878 grep -v '^ *+' conftest.er1
>conftest.err
46880 cat conftest.err
>&5
46881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46882 (exit $ac_status); } && {
46883 test -z "$ac_c_werror_flag" ||
46884 test ! -s conftest.err
46885 } && test -s conftest
$ac_exeext &&
46886 $as_test_x conftest
$ac_exeext; then
46887 echo "*** The test program compiled, but did not run. This usually means"
46888 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46889 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46890 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46891 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46892 echo "*** is required on your system"
46894 echo "*** If you have an old version installed, it is best to remove it, although"
46895 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46897 echo "$as_me: failed program was:" >&5
46898 sed 's/^/| /' conftest.
$ac_ext >&5
46900 echo "*** The test program failed to compile or link. See the file config.log for the"
46901 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
46902 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46903 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46906 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46907 conftest
$ac_exeext conftest.
$ac_ext
46908 CFLAGS
="$ac_save_CFLAGS"
46909 CXXFLAGS
="$ac_save_CXXFLAGS"
46910 LIBS
="$ac_save_LIBS"
46921 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46926 if test "$wxUSE_MGL" = 1; then
46927 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
46928 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
46934 if test "$wxUSE_SOUND" = "yes"; then
46935 cat >>confdefs.h
<<\_ACEOF
46936 #define wxUSE_SOUND 1
46939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
46942 if test "$WXGTK2" = 1; then
46945 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46946 if test -n "$ac_tool_prefix"; then
46947 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46948 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
46949 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46951 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46952 echo $ECHO_N "(cached) $ECHO_C" >&6
46954 case $PKG_CONFIG in
46956 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
46959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46960 for as_dir
in $PATH
46963 test -z "$as_dir" && as_dir
=.
46964 for ac_exec_ext
in '' $ac_executable_extensions; do
46965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46966 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46977 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
46978 if test -n "$PKG_CONFIG"; then
46979 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46980 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46982 { echo "$as_me:$LINENO: result: no" >&5
46983 echo "${ECHO_T}no" >&6; }
46988 if test -z "$ac_cv_path_PKG_CONFIG"; then
46989 ac_pt_PKG_CONFIG
=$PKG_CONFIG
46990 # Extract the first word of "pkg-config", so it can be a program name with args.
46991 set dummy pkg
-config; ac_word
=$2
46992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46994 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46995 echo $ECHO_N "(cached) $ECHO_C" >&6
46997 case $ac_pt_PKG_CONFIG in
46999 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
47002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47003 for as_dir
in $PATH
47006 test -z "$as_dir" && as_dir
=.
47007 for ac_exec_ext
in '' $ac_executable_extensions; do
47008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47009 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
47010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47020 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
47021 if test -n "$ac_pt_PKG_CONFIG"; then
47022 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
47023 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
47025 { echo "$as_me:$LINENO: result: no" >&5
47026 echo "${ECHO_T}no" >&6; }
47029 if test "x$ac_pt_PKG_CONFIG" = x
; then
47032 case $cross_compiling:$ac_tool_warned in
47034 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47035 whose name does not start with the host triplet. If you think this
47036 configuration is useful to you, please write to autoconf@gnu.org." >&5
47037 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47038 whose name does not start with the host triplet. If you think this
47039 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47040 ac_tool_warned
=yes ;;
47042 PKG_CONFIG
=$ac_pt_PKG_CONFIG
47045 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
47049 if test -n "$PKG_CONFIG"; then
47050 _pkg_min_version
=0.9.0
47051 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
47052 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
47053 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
47054 { echo "$as_me:$LINENO: result: yes" >&5
47055 echo "${ECHO_T}yes" >&6; }
47057 { echo "$as_me:$LINENO: result: no" >&5
47058 echo "${ECHO_T}no" >&6; }
47064 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47066 if test "$wxUSE_GTKPRINT" = "yes" ; then
47070 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
47071 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
47073 if test -n "$PKG_CONFIG"; then
47074 if test -n "$GTKPRINT_CFLAGS"; then
47075 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
47077 if test -n "$PKG_CONFIG" && \
47078 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
47079 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
47081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47082 (exit $ac_status); }; then
47083 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
47091 if test -n "$PKG_CONFIG"; then
47092 if test -n "$GTKPRINT_LIBS"; then
47093 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
47095 if test -n "$PKG_CONFIG" && \
47096 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
47097 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
47099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47100 (exit $ac_status); }; then
47101 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
47112 if test $pkg_failed = yes; then
47114 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47115 _pkg_short_errors_supported
=yes
47117 _pkg_short_errors_supported
=no
47119 if test $_pkg_short_errors_supported = yes; then
47120 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
47122 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
47124 # Put the nasty error message in config.log where it belongs
47125 echo "$GTKPRINT_PKG_ERRORS" >&5
47128 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
47129 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
47130 wxUSE_GTKPRINT
="no"
47133 elif test $pkg_failed = untried
; then
47135 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
47136 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
47137 wxUSE_GTKPRINT
="no"
47141 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
47142 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
47143 { echo "$as_me:$LINENO: result: yes" >&5
47144 echo "${ECHO_T}yes" >&6; }
47146 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
47147 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
47148 cat >>confdefs.h
<<\_ACEOF
47149 #define wxUSE_GTKPRINT 1
47156 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47160 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
47161 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
47163 if test -n "$PKG_CONFIG"; then
47164 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
47165 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
47167 if test -n "$PKG_CONFIG" && \
47168 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47169 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47172 (exit $ac_status); }; then
47173 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47181 if test -n "$PKG_CONFIG"; then
47182 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
47183 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
47185 if test -n "$PKG_CONFIG" && \
47186 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47187 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47190 (exit $ac_status); }; then
47191 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47202 if test $pkg_failed = yes; then
47204 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47205 _pkg_short_errors_supported
=yes
47207 _pkg_short_errors_supported
=no
47209 if test $_pkg_short_errors_supported = yes; then
47210 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47212 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47214 # Put the nasty error message in config.log where it belongs
47215 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
47218 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47219 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47220 wxUSE_LIBGNOMEPRINT
="no"
47223 elif test $pkg_failed = untried
; then
47225 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47226 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47227 wxUSE_LIBGNOMEPRINT
="no"
47231 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
47232 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
47233 { echo "$as_me:$LINENO: result: yes" >&5
47234 echo "${ECHO_T}yes" >&6; }
47236 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
47237 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
47238 cat >>confdefs.h
<<\_ACEOF
47239 #define wxUSE_LIBGNOMEPRINT 1
47247 if test "$wxUSE_MIMETYPE" = "yes" ; then
47248 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47252 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
47253 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
47255 if test -n "$PKG_CONFIG"; then
47256 if test -n "$GNOMEVFS_CFLAGS"; then
47257 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
47259 if test -n "$PKG_CONFIG" && \
47260 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47261 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47264 (exit $ac_status); }; then
47265 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47273 if test -n "$PKG_CONFIG"; then
47274 if test -n "$GNOMEVFS_LIBS"; then
47275 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
47277 if test -n "$PKG_CONFIG" && \
47278 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47279 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47282 (exit $ac_status); }; then
47283 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47294 if test $pkg_failed = yes; then
47296 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47297 _pkg_short_errors_supported
=yes
47299 _pkg_short_errors_supported
=no
47301 if test $_pkg_short_errors_supported = yes; then
47302 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47304 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47306 # Put the nasty error message in config.log where it belongs
47307 echo "$GNOMEVFS_PKG_ERRORS" >&5
47310 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47311 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47312 wxUSE_LIBGNOMEVFS
="no"
47315 elif test $pkg_failed = untried
; then
47317 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47318 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47319 wxUSE_LIBGNOMEVFS
="no"
47323 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
47324 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
47325 { echo "$as_me:$LINENO: result: yes" >&5
47326 echo "${ECHO_T}yes" >&6; }
47328 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
47329 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
47330 cat >>confdefs.h
<<\_ACEOF
47331 #define wxUSE_LIBGNOMEVFS 1
47339 if test "$wxUSE_LIBHILDON" = "yes" ; then
47342 { echo "$as_me:$LINENO: checking for HILDON" >&5
47343 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
47345 if test -n "$PKG_CONFIG"; then
47346 if test -n "$HILDON_CFLAGS"; then
47347 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
47349 if test -n "$PKG_CONFIG" && \
47350 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47351 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47354 (exit $ac_status); }; then
47355 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
47363 if test -n "$PKG_CONFIG"; then
47364 if test -n "$HILDON_LIBS"; then
47365 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
47367 if test -n "$PKG_CONFIG" && \
47368 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47369 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47372 (exit $ac_status); }; then
47373 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
47384 if test $pkg_failed = yes; then
47386 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47387 _pkg_short_errors_supported
=yes
47389 _pkg_short_errors_supported
=no
47391 if test $_pkg_short_errors_supported = yes; then
47392 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47394 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47396 # Put the nasty error message in config.log where it belongs
47397 echo "$HILDON_PKG_ERRORS" >&5
47400 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47401 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47402 wxUSE_LIBHILDON
="no"
47406 elif test $pkg_failed = untried
; then
47408 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47409 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47410 wxUSE_LIBHILDON
="no"
47415 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
47416 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
47417 { echo "$as_me:$LINENO: result: yes" >&5
47418 echo "${ECHO_T}yes" >&6; }
47420 EXTRALIBS_HILDON
="$HILDON_LIBS"
47421 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
47422 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
47423 cat >>confdefs.h
<<\_ACEOF
47424 #define wxUSE_LIBHILDON 1
47431 if test "$ac_hildon_lgpl" = 0 ; then
47434 { echo "$as_me:$LINENO: checking for HILDON2" >&5
47435 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
47437 if test -n "$PKG_CONFIG"; then
47438 if test -n "$HILDON2_CFLAGS"; then
47439 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
47441 if test -n "$PKG_CONFIG" && \
47442 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47443 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47446 (exit $ac_status); }; then
47447 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
47455 if test -n "$PKG_CONFIG"; then
47456 if test -n "$HILDON2_LIBS"; then
47457 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
47459 if test -n "$PKG_CONFIG" && \
47460 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47461 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47464 (exit $ac_status); }; then
47465 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
47476 if test $pkg_failed = yes; then
47478 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47479 _pkg_short_errors_supported
=yes
47481 _pkg_short_errors_supported
=no
47483 if test $_pkg_short_errors_supported = yes; then
47484 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47486 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47488 # Put the nasty error message in config.log where it belongs
47489 echo "$HILDON2_PKG_ERRORS" >&5
47492 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47493 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47494 wxUSE_LIBHILDON2
="no"
47497 elif test $pkg_failed = untried
; then
47499 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47500 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47501 wxUSE_LIBHILDON2
="no"
47505 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
47506 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
47507 { echo "$as_me:$LINENO: result: yes" >&5
47508 echo "${ECHO_T}yes" >&6; }
47510 EXTRALIBS_HILDON
="$HILDON2_LIBS"
47511 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
47512 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
47513 cat >>confdefs.h
<<\_ACEOF
47514 #define wxUSE_LIBHILDON2 1
47523 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
47524 cat >>confdefs.h
<<\_ACEOF
47525 #define wxUSE_CMDLINE_PARSER 1
47530 if test "$wxUSE_STOPWATCH" = "yes"; then
47531 cat >>confdefs.h
<<\_ACEOF
47532 #define wxUSE_STOPWATCH 1
47537 if test "$wxUSE_DATETIME" = "yes"; then
47538 cat >>confdefs.h
<<\_ACEOF
47539 #define wxUSE_DATETIME 1
47544 if test "$wxUSE_FILE" = "yes"; then
47545 cat >>confdefs.h
<<\_ACEOF
47546 #define wxUSE_FILE 1
47551 if test "$wxUSE_FFILE" = "yes"; then
47552 cat >>confdefs.h
<<\_ACEOF
47553 #define wxUSE_FFILE 1
47558 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
47559 if test "$wxUSE_STREAMS" != yes; then
47560 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
47561 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
47562 wxUSE_ARCHIVE_STREAMS
=no
47564 cat >>confdefs.h
<<\_ACEOF
47565 #define wxUSE_ARCHIVE_STREAMS 1
47571 if test "$wxUSE_ZIPSTREAM" = "yes"; then
47572 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47573 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
47574 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
47575 elif test "$wxUSE_ZLIB" = "no"; then
47576 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
47577 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
47579 cat >>confdefs.h
<<\_ACEOF
47580 #define wxUSE_ZIPSTREAM 1
47586 if test "$wxUSE_TARSTREAM" = "yes"; then
47587 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47588 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47589 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47591 cat >>confdefs.h
<<\_ACEOF
47592 #define wxUSE_TARSTREAM 1
47598 if test "$wxUSE_FILE_HISTORY" = "yes"; then
47599 cat >>confdefs.h
<<\_ACEOF
47600 #define wxUSE_FILE_HISTORY 1
47605 if test "$wxUSE_FILESYSTEM" = "yes"; then
47606 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
47607 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47608 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47609 wxUSE_FILESYSTEM
=no
47611 cat >>confdefs.h
<<\_ACEOF
47612 #define wxUSE_FILESYSTEM 1
47618 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47619 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47620 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47621 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47623 cat >>confdefs.h
<<\_ACEOF
47624 #define wxUSE_FS_ARCHIVE 1
47630 if test "$wxUSE_FS_ZIP" = "yes"; then
47631 if test "$wxUSE_FS_ARCHIVE" != yes; then
47632 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47633 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47635 cat >>confdefs.h
<<\_ACEOF
47636 #define wxUSE_FS_ZIP 1
47642 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47643 if test "$USE_UNIX" != 1; then
47644 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47645 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47646 wxUSE_ON_FATAL_EXCEPTION
=no
47648 cat >>confdefs.h
<<\_ACEOF
47649 #define wxUSE_ON_FATAL_EXCEPTION 1
47655 if test "$wxUSE_STACKWALKER" = "yes"; then
47656 cat >>confdefs.h
<<\_ACEOF
47657 #define wxUSE_STACKWALKER 1
47662 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47663 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
47664 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47665 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47666 wxUSE_DEBUGREPORT
=no
47668 cat >>confdefs.h
<<\_ACEOF
47669 #define wxUSE_DEBUGREPORT 1
47672 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
47678 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47679 cat >>confdefs.h
<<\_ACEOF
47680 #define wxUSE_SNGLINST_CHECKER 1
47685 if test "$wxUSE_BUSYINFO" = "yes"; then
47686 cat >>confdefs.h
<<\_ACEOF
47687 #define wxUSE_BUSYINFO 1
47692 if test "$wxUSE_HOTKEY" = "yes"; then
47693 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
47694 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
47695 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
47698 elif test "$wxUSE_HOTKEY" = "auto"; then
47699 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
47703 if test "$wxUSE_HOTKEY" = "yes"; then
47704 cat >>confdefs.h
<<\_ACEOF
47705 #define wxUSE_HOTKEY 1
47710 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
47711 cat >>confdefs.h
<<\_ACEOF
47712 #define wxUSE_STD_CONTAINERS 1
47717 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47718 cat >>confdefs.h
<<\_ACEOF
47719 #define wxUSE_STD_IOSTREAM 1
47724 if test "$wxUSE_STD_STRING" = "yes"; then
47725 cat >>confdefs.h
<<\_ACEOF
47726 #define wxUSE_STD_STRING 1
47731 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
47732 cat >>confdefs.h
<<\_ACEOF
47733 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
47738 if test "$wxUSE_STDPATHS" = "yes"; then
47739 cat >>confdefs.h
<<\_ACEOF
47740 #define wxUSE_STDPATHS 1
47745 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47746 cat >>confdefs.h
<<\_ACEOF
47747 #define wxUSE_TEXTBUFFER 1
47752 if test "$wxUSE_TEXTFILE" = "yes"; then
47753 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47754 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47755 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47757 cat >>confdefs.h
<<\_ACEOF
47758 #define wxUSE_TEXTFILE 1
47764 if test "$wxUSE_CONFIG" = "yes" ; then
47765 if test "$wxUSE_TEXTFILE" != "yes"; then
47766 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47767 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47769 cat >>confdefs.h
<<\_ACEOF
47770 #define wxUSE_CONFIG 1
47773 cat >>confdefs.h
<<\_ACEOF
47774 #define wxUSE_CONFIG_NATIVE 1
47777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
47781 if test "$wxUSE_INTL" = "yes" ; then
47782 if test "$wxUSE_FILE" != "yes"; then
47783 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47784 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47786 cat >>confdefs.h
<<\_ACEOF
47787 #define wxUSE_INTL 1
47790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
47791 GUIDIST
="$GUIDIST INTL_DIST"
47795 if test "$wxUSE_XLOCALE" = "yes" ; then
47796 cat >>confdefs.h
<<\_ACEOF
47797 #define wxUSE_XLOCALE 1
47800 { echo "$as_me:$LINENO: checking for locale_t" >&5
47801 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
47802 if test "${ac_cv_type_locale_t+set}" = set; then
47803 echo $ECHO_N "(cached) $ECHO_C" >&6
47805 cat >conftest.
$ac_ext <<_ACEOF
47808 cat confdefs.h
>>conftest.
$ac_ext
47809 cat >>conftest.
$ac_ext <<_ACEOF
47810 /* end confdefs.h. */
47811 #include <xlocale.h>
47812 #include <locale.h>
47814 typedef locale_t ac__type_new_;
47818 if ((ac__type_new_ *) 0)
47820 if (sizeof (ac__type_new_))
47826 rm -f conftest.
$ac_objext
47827 if { (ac_try
="$ac_compile"
47828 case "(($ac_try" in
47829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47830 *) ac_try_echo=$ac_try;;
47832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47833 (eval "$ac_compile") 2>conftest.er1
47835 grep -v '^ *+' conftest.er1 >conftest.err
47837 cat conftest.err >&5
47838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47839 (exit $ac_status); } && {
47840 test -z "$ac_c_werror_flag" ||
47841 test ! -s conftest.err
47842 } && test -s conftest.$ac_objext; then
47843 ac_cv_type_locale_t=yes
47845 echo "$as_me: failed program was:" >&5
47846 sed 's/^/| /' conftest.$ac_ext >&5
47848 ac_cv_type_locale_t=no
47851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47853 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
47854 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
47855 if test $ac_cv_type_locale_t = yes; then
47857 cat >>confdefs.h <<_ACEOF
47858 #define HAVE_LOCALE_T 1
47866 if test "$wxUSE_LOG" = "yes"; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_LOG 1
47872 if test "$wxUSE_LOGGUI" = "yes"; then
47873 cat >>confdefs.h <<\_ACEOF
47874 #define wxUSE_LOGGUI 1
47879 if test "$wxUSE_LOGWINDOW" = "yes"; then
47880 cat >>confdefs.h <<\_ACEOF
47881 #define wxUSE_LOGWINDOW 1
47886 if test "$wxUSE_LOGDIALOG" = "yes"; then
47887 cat >>confdefs.h <<\_ACEOF
47888 #define wxUSE_LOG_DIALOG 1
47893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
47896 if test "$wxUSE_LONGLONG" = "yes"; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_LONGLONG 1
47903 if test "$wxUSE_GEOMETRY" = "yes"; then
47904 cat >>confdefs.h <<\_ACEOF
47905 #define wxUSE_GEOMETRY 1
47910 if test "$wxUSE_BASE64" = "yes"; then
47911 cat >>confdefs.h <<\_ACEOF
47912 #define wxUSE_BASE64 1
47917 if test "$wxUSE_STREAMS" = "yes" ; then
47918 cat >>confdefs.h <<\_ACEOF
47919 #define wxUSE_STREAMS 1
47924 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47925 cat >>confdefs.h <<\_ACEOF
47926 #define wxUSE_PRINTF_POS_PARAMS 1
47931 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
47932 cat >>confdefs.h <<\_ACEOF
47933 #define wxUSE_OBJC_UNIQUIFYING 1
47939 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
47940 cat >>confdefs.h <<\_ACEOF
47941 #define wxUSE_CONSOLE_EVENTLOOP 1
47945 if test "$wxUSE_UNIX" = "yes"; then
47946 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_SELECT_DISPATCHER 1
47953 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
47955 for ac_header in sys/epoll.h
47957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47961 echo $ECHO_N "(cached) $ECHO_C" >&6
47963 cat >conftest.$ac_ext <<_ACEOF
47966 cat confdefs.h >>conftest.$ac_ext
47967 cat >>conftest.$ac_ext <<_ACEOF
47968 /* end confdefs.h. */
47969 $ac_includes_default
47971 #include <$ac_header>
47973 rm -f conftest.$ac_objext
47974 if { (ac_try="$ac_compile"
47975 case "(($ac_try" in
47976 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47977 *) ac_try_echo
=$ac_try;;
47979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47980 (eval "$ac_compile") 2>conftest.er1
47982 grep -v '^ *+' conftest.er1
>conftest.err
47984 cat conftest.err
>&5
47985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47986 (exit $ac_status); } && {
47987 test -z "$ac_c_werror_flag" ||
47988 test ! -s conftest.err
47989 } && test -s conftest.
$ac_objext; then
47990 eval "$as_ac_Header=yes"
47992 echo "$as_me: failed program was:" >&5
47993 sed 's/^/| /' conftest.
$ac_ext >&5
47995 eval "$as_ac_Header=no"
47998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48000 ac_res
=`eval echo '${'$as_ac_Header'}'`
48001 { echo "$as_me:$LINENO: result: $ac_res" >&5
48002 echo "${ECHO_T}$ac_res" >&6; }
48003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
48004 cat >>confdefs.h
<<_ACEOF
48005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
48012 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
48013 cat >>confdefs.h
<<\_ACEOF
48014 #define wxUSE_EPOLL_DISPATCHER 1
48018 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
48019 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
48028 for ac_func
in gettimeofday ftime
48030 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48031 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48033 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48034 echo $ECHO_N "(cached) $ECHO_C" >&6
48036 cat >conftest.
$ac_ext <<_ACEOF
48039 cat confdefs.h
>>conftest.
$ac_ext
48040 cat >>conftest.
$ac_ext <<_ACEOF
48041 /* end confdefs.h. */
48042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48044 #define $ac_func innocuous_$ac_func
48046 /* System header to define __stub macros and hopefully few prototypes,
48047 which can conflict with char $ac_func (); below.
48048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48049 <limits.h> exists even on freestanding compilers. */
48052 # include <limits.h>
48054 # include <assert.h>
48059 /* Override any GCC internal prototype to avoid an error.
48060 Use char because int might match the return type of a GCC
48061 builtin and then its argument prototype would still apply. */
48066 /* The GNU C library defines this for functions which it implements
48067 to always fail with ENOSYS. Some functions are actually named
48068 something starting with __ and the normal name is an alias. */
48069 #if defined __stub_$ac_func || defined __stub___$ac_func
48076 return $ac_func ();
48081 rm -f conftest.
$ac_objext conftest
$ac_exeext
48082 if { (ac_try
="$ac_link"
48083 case "(($ac_try" in
48084 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48085 *) ac_try_echo=$ac_try;;
48087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48088 (eval "$ac_link") 2>conftest.er1
48090 grep -v '^ *+' conftest.er1 >conftest.err
48092 cat conftest.err >&5
48093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48094 (exit $ac_status); } && {
48095 test -z "$ac_c_werror_flag" ||
48096 test ! -s conftest.err
48097 } && test -s conftest$ac_exeext &&
48098 $as_test_x conftest$ac_exeext; then
48099 eval "$as_ac_var=yes"
48101 echo "$as_me: failed program was:" >&5
48102 sed 's/^/| /' conftest.$ac_ext >&5
48104 eval "$as_ac_var=no"
48107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48108 conftest$ac_exeext conftest.$ac_ext
48110 ac_res=`eval echo '${'$as_ac_var'}'`
48111 { echo "$as_me:$LINENO: result: $ac_res" >&5
48112 echo "${ECHO_T}$ac_res" >&6; }
48113 if test `eval echo '${'$as_ac_var'}'` = yes; then
48114 cat >>confdefs.h <<_ACEOF
48115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48122 if test "$ac_cv_func_gettimeofday" = "yes"; then
48123 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
48124 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
48125 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
48126 echo $ECHO_N "(cached) $ECHO_C" >&6
48129 cat >conftest.$ac_ext <<_ACEOF
48132 cat confdefs.h >>conftest.$ac_ext
48133 cat >>conftest.$ac_ext <<_ACEOF
48134 /* end confdefs.h. */
48136 #include <sys/time.h>
48137 #include <unistd.h>
48144 gettimeofday(&tv, NULL);
48150 rm -f conftest.$ac_objext
48151 if { (ac_try="$ac_compile"
48152 case "(($ac_try" in
48153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48154 *) ac_try_echo
=$ac_try;;
48156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48157 (eval "$ac_compile") 2>conftest.er1
48159 grep -v '^ *+' conftest.er1
>conftest.err
48161 cat conftest.err
>&5
48162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48163 (exit $ac_status); } && {
48164 test -z "$ac_c_werror_flag" ||
48165 test ! -s conftest.err
48166 } && test -s conftest.
$ac_objext; then
48167 wx_cv_func_gettimeofday_has_2_args
=yes
48169 echo "$as_me: failed program was:" >&5
48170 sed 's/^/| /' conftest.
$ac_ext >&5
48172 cat >conftest.
$ac_ext <<_ACEOF
48175 cat confdefs.h
>>conftest.
$ac_ext
48176 cat >>conftest.
$ac_ext <<_ACEOF
48177 /* end confdefs.h. */
48179 #include <sys/time.h>
48180 #include <unistd.h>
48193 rm -f conftest.
$ac_objext
48194 if { (ac_try
="$ac_compile"
48195 case "(($ac_try" in
48196 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48197 *) ac_try_echo=$ac_try;;
48199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48200 (eval "$ac_compile") 2>conftest.er1
48202 grep -v '^ *+' conftest.er1 >conftest.err
48204 cat conftest.err >&5
48205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48206 (exit $ac_status); } && {
48207 test -z "$ac_c_werror_flag" ||
48208 test ! -s conftest.err
48209 } && test -s conftest.$ac_objext; then
48210 wx_cv_func_gettimeofday_has_2_args=no
48212 echo "$as_me: failed program was:" >&5
48213 sed 's/^/| /' conftest.$ac_ext >&5
48216 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
48217 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
48218 wx_cv_func_gettimeofday_has_2_args=unknown
48223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48230 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48231 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48233 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48234 cat >>confdefs.h <<\_ACEOF
48235 #define WX_GETTIMEOFDAY_NO_TZ 1
48241 if test "$wxUSE_DATETIME" = "yes"; then
48242 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
48243 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
48244 if test "${wx_cv_var_timezone+set}" = set; then
48245 echo $ECHO_N "(cached) $ECHO_C" >&6
48249 ac_cpp='$CXXCPP $CPPFLAGS'
48250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48254 cat >conftest.$ac_ext <<_ACEOF
48257 cat confdefs.h >>conftest.$ac_ext
48258 cat >>conftest.$ac_ext <<_ACEOF
48259 /* end confdefs.h. */
48274 rm -f conftest.$ac_objext
48275 if { (ac_try="$ac_compile"
48276 case "(($ac_try" in
48277 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48278 *) ac_try_echo
=$ac_try;;
48280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48281 (eval "$ac_compile") 2>conftest.er1
48283 grep -v '^ *+' conftest.er1
>conftest.err
48285 cat conftest.err
>&5
48286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48287 (exit $ac_status); } && {
48288 test -z "$ac_cxx_werror_flag" ||
48289 test ! -s conftest.err
48290 } && test -s conftest.
$ac_objext; then
48292 wx_cv_var_timezone
=timezone
48295 echo "$as_me: failed program was:" >&5
48296 sed 's/^/| /' conftest.
$ac_ext >&5
48299 cat >conftest.
$ac_ext <<_ACEOF
48302 cat confdefs.h
>>conftest.
$ac_ext
48303 cat >>conftest.
$ac_ext <<_ACEOF
48304 /* end confdefs.h. */
48319 rm -f conftest.
$ac_objext
48320 if { (ac_try
="$ac_compile"
48321 case "(($ac_try" in
48322 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48323 *) ac_try_echo=$ac_try;;
48325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48326 (eval "$ac_compile") 2>conftest.er1
48328 grep -v '^ *+' conftest.er1 >conftest.err
48330 cat conftest.err >&5
48331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48332 (exit $ac_status); } && {
48333 test -z "$ac_cxx_werror_flag" ||
48334 test ! -s conftest.err
48335 } && test -s conftest.$ac_objext; then
48337 wx_cv_var_timezone=_timezone
48340 echo "$as_me: failed program was:" >&5
48341 sed 's/^/| /' conftest.$ac_ext >&5
48344 cat >conftest.$ac_ext <<_ACEOF
48347 cat confdefs.h >>conftest.$ac_ext
48348 cat >>conftest.$ac_ext <<_ACEOF
48349 /* end confdefs.h. */
48364 rm -f conftest.$ac_objext
48365 if { (ac_try="$ac_compile"
48366 case "(($ac_try" in
48367 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48368 *) ac_try_echo
=$ac_try;;
48370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48371 (eval "$ac_compile") 2>conftest.er1
48373 grep -v '^ *+' conftest.er1
>conftest.err
48375 cat conftest.err
>&5
48376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48377 (exit $ac_status); } && {
48378 test -z "$ac_cxx_werror_flag" ||
48379 test ! -s conftest.err
48380 } && test -s conftest.
$ac_objext; then
48382 wx_cv_var_timezone
=__timezone
48385 echo "$as_me: failed program was:" >&5
48386 sed 's/^/| /' conftest.
$ac_ext >&5
48389 if test "$USE_DOS" = 0 ; then
48390 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
48391 echo "$as_me: WARNING: no timezone variable" >&2;}
48397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48409 ac_cpp
='$CPP $CPPFLAGS'
48410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48417 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
48418 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
48420 if test "x$wx_cv_var_timezone" != x
; then
48421 cat >>confdefs.h
<<_ACEOF
48422 #define WX_TIMEZONE $wx_cv_var_timezone
48428 for ac_func
in localtime
48430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48433 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48434 echo $ECHO_N "(cached) $ECHO_C" >&6
48436 cat >conftest.
$ac_ext <<_ACEOF
48439 cat confdefs.h
>>conftest.
$ac_ext
48440 cat >>conftest.
$ac_ext <<_ACEOF
48441 /* end confdefs.h. */
48442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48444 #define $ac_func innocuous_$ac_func
48446 /* System header to define __stub macros and hopefully few prototypes,
48447 which can conflict with char $ac_func (); below.
48448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48449 <limits.h> exists even on freestanding compilers. */
48452 # include <limits.h>
48454 # include <assert.h>
48459 /* Override any GCC internal prototype to avoid an error.
48460 Use char because int might match the return type of a GCC
48461 builtin and then its argument prototype would still apply. */
48466 /* The GNU C library defines this for functions which it implements
48467 to always fail with ENOSYS. Some functions are actually named
48468 something starting with __ and the normal name is an alias. */
48469 #if defined __stub_$ac_func || defined __stub___$ac_func
48476 return $ac_func ();
48481 rm -f conftest.
$ac_objext conftest
$ac_exeext
48482 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
48498 $as_test_x conftest$ac_exeext; then
48499 eval "$as_ac_var=yes"
48501 echo "$as_me: failed program was:" >&5
48502 sed 's/^/| /' conftest.$ac_ext >&5
48504 eval "$as_ac_var=no"
48507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48508 conftest$ac_exeext conftest.$ac_ext
48510 ac_res=`eval echo '${'$as_ac_var'}'`
48511 { echo "$as_me:$LINENO: result: $ac_res" >&5
48512 echo "${ECHO_T}$ac_res" >&6; }
48513 if test `eval echo '${'$as_ac_var'}'` = yes; then
48514 cat >>confdefs.h <<_ACEOF
48515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48522 if test "$ac_cv_func_localtime" = "yes"; then
48523 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
48524 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
48525 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
48526 echo $ECHO_N "(cached) $ECHO_C" >&6
48529 cat >conftest.$ac_ext <<_ACEOF
48532 cat confdefs.h >>conftest.$ac_ext
48533 cat >>conftest.$ac_ext <<_ACEOF
48534 /* end confdefs.h. */
48549 rm -f conftest.$ac_objext
48550 if { (ac_try="$ac_compile"
48551 case "(($ac_try" in
48552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48553 *) ac_try_echo
=$ac_try;;
48555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48556 (eval "$ac_compile") 2>conftest.er1
48558 grep -v '^ *+' conftest.er1
>conftest.err
48560 cat conftest.err
>&5
48561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48562 (exit $ac_status); } && {
48563 test -z "$ac_c_werror_flag" ||
48564 test ! -s conftest.err
48565 } && test -s conftest.
$ac_objext; then
48567 wx_cv_struct_tm_has_gmtoff
=yes
48570 echo "$as_me: failed program was:" >&5
48571 sed 's/^/| /' conftest.
$ac_ext >&5
48573 wx_cv_struct_tm_has_gmtoff
=no
48577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48580 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
48581 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
48584 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
48585 cat >>confdefs.h
<<\_ACEOF
48586 #define WX_GMTOFF_IN_TM 1
48591 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
48595 if test "$wxUSE_SOCKETS" = "yes"; then
48596 if test "$wxUSE_MGL" = 1; then
48597 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
48598 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
48603 if test "$wxUSE_SOCKETS" = "yes"; then
48604 if test "$TOOLKIT" != "MSW"; then
48605 { echo "$as_me:$LINENO: checking for socket" >&5
48606 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48607 if test "${ac_cv_func_socket+set}" = set; then
48608 echo $ECHO_N "(cached) $ECHO_C" >&6
48610 cat >conftest.
$ac_ext <<_ACEOF
48613 cat confdefs.h
>>conftest.
$ac_ext
48614 cat >>conftest.
$ac_ext <<_ACEOF
48615 /* end confdefs.h. */
48616 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48618 #define socket innocuous_socket
48620 /* System header to define __stub macros and hopefully few prototypes,
48621 which can conflict with char socket (); below.
48622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48623 <limits.h> exists even on freestanding compilers. */
48626 # include <limits.h>
48628 # include <assert.h>
48633 /* Override any GCC internal prototype to avoid an error.
48634 Use char because int might match the return type of a GCC
48635 builtin and then its argument prototype would still apply. */
48640 /* The GNU C library defines this for functions which it implements
48641 to always fail with ENOSYS. Some functions are actually named
48642 something starting with __ and the normal name is an alias. */
48643 #if defined __stub_socket || defined __stub___socket
48655 rm -f conftest.
$ac_objext conftest
$ac_exeext
48656 if { (ac_try
="$ac_link"
48657 case "(($ac_try" in
48658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48659 *) ac_try_echo=$ac_try;;
48661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48662 (eval "$ac_link") 2>conftest.er1
48664 grep -v '^ *+' conftest.er1 >conftest.err
48666 cat conftest.err >&5
48667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48668 (exit $ac_status); } && {
48669 test -z "$ac_c_werror_flag" ||
48670 test ! -s conftest.err
48671 } && test -s conftest$ac_exeext &&
48672 $as_test_x conftest$ac_exeext; then
48673 ac_cv_func_socket=yes
48675 echo "$as_me: failed program was:" >&5
48676 sed 's/^/| /' conftest.$ac_ext >&5
48678 ac_cv_func_socket=no
48681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48682 conftest$ac_exeext conftest.$ac_ext
48684 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48685 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48686 if test $ac_cv_func_socket = yes; then
48690 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48691 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48692 if test "${ac_cv_lib_socket_socket+set}" = set; then
48693 echo $ECHO_N "(cached) $ECHO_C" >&6
48695 ac_check_lib_save_LIBS=$LIBS
48696 LIBS="-lsocket $LIBS"
48697 cat >conftest.$ac_ext <<_ACEOF
48700 cat confdefs.h >>conftest.$ac_ext
48701 cat >>conftest.$ac_ext <<_ACEOF
48702 /* end confdefs.h. */
48704 /* Override any GCC internal prototype to avoid an error.
48705 Use char because int might match the return type of a GCC
48706 builtin and then its argument prototype would still apply. */
48719 rm -f conftest.$ac_objext conftest$ac_exeext
48720 if { (ac_try="$ac_link"
48721 case "(($ac_try" in
48722 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48723 *) ac_try_echo
=$ac_try;;
48725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48726 (eval "$ac_link") 2>conftest.er1
48728 grep -v '^ *+' conftest.er1
>conftest.err
48730 cat conftest.err
>&5
48731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48732 (exit $ac_status); } && {
48733 test -z "$ac_c_werror_flag" ||
48734 test ! -s conftest.err
48735 } && test -s conftest
$ac_exeext &&
48736 $as_test_x conftest
$ac_exeext; then
48737 ac_cv_lib_socket_socket
=yes
48739 echo "$as_me: failed program was:" >&5
48740 sed 's/^/| /' conftest.
$ac_ext >&5
48742 ac_cv_lib_socket_socket
=no
48745 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
48746 conftest
$ac_exeext conftest.
$ac_ext
48747 LIBS
=$ac_check_lib_save_LIBS
48749 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48750 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48751 if test $ac_cv_lib_socket_socket = yes; then
48752 if test "$INET_LINK" != " -lsocket"; then
48753 INET_LINK
="$INET_LINK -lsocket"
48757 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48758 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48771 if test "$wxUSE_SOCKETS" = "yes" ; then
48772 if test "$TOOLKIT" != "MSW"; then
48773 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48774 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48775 if test "${wx_cv_type_getsockname3+set}" = set; then
48776 echo $ECHO_N "(cached) $ECHO_C" >&6
48780 ac_cpp
='$CXXCPP $CPPFLAGS'
48781 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48782 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48783 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48785 cat >conftest.
$ac_ext <<_ACEOF
48788 cat confdefs.h
>>conftest.
$ac_ext
48789 cat >>conftest.
$ac_ext <<_ACEOF
48790 /* end confdefs.h. */
48792 #include <sys/types.h>
48793 #include <sys/socket.h>
48800 getsockname(0, 0, &len);
48806 rm -f conftest.
$ac_objext
48807 if { (ac_try
="$ac_compile"
48808 case "(($ac_try" in
48809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48810 *) ac_try_echo=$ac_try;;
48812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48813 (eval "$ac_compile") 2>conftest.er1
48815 grep -v '^ *+' conftest.er1 >conftest.err
48817 cat conftest.err >&5
48818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48819 (exit $ac_status); } && {
48820 test -z "$ac_cxx_werror_flag" ||
48821 test ! -s conftest.err
48822 } && test -s conftest.$ac_objext; then
48823 wx_cv_type_getsockname3=socklen_t
48825 echo "$as_me: failed program was:" >&5
48826 sed 's/^/| /' conftest.$ac_ext >&5
48829 CFLAGS_OLD="$CFLAGS"
48830 if test "$GCC" = yes ; then
48831 CFLAGS="-Werror $CFLAGS"
48834 cat >conftest.$ac_ext <<_ACEOF
48837 cat confdefs.h >>conftest.$ac_ext
48838 cat >>conftest.$ac_ext <<_ACEOF
48839 /* end confdefs.h. */
48841 #include <sys/types.h>
48842 #include <sys/socket.h>
48849 getsockname(0, 0, &len);
48855 rm -f conftest.$ac_objext
48856 if { (ac_try="$ac_compile"
48857 case "(($ac_try" in
48858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48859 *) ac_try_echo
=$ac_try;;
48861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48862 (eval "$ac_compile") 2>conftest.er1
48864 grep -v '^ *+' conftest.er1
>conftest.err
48866 cat conftest.err
>&5
48867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48868 (exit $ac_status); } && {
48869 test -z "$ac_cxx_werror_flag" ||
48870 test ! -s conftest.err
48871 } && test -s conftest.
$ac_objext; then
48872 wx_cv_type_getsockname3
=size_t
48874 echo "$as_me: failed program was:" >&5
48875 sed 's/^/| /' conftest.
$ac_ext >&5
48877 cat >conftest.
$ac_ext <<_ACEOF
48880 cat confdefs.h
>>conftest.
$ac_ext
48881 cat >>conftest.
$ac_ext <<_ACEOF
48882 /* end confdefs.h. */
48884 #include <sys/types.h>
48885 #include <sys/socket.h>
48892 getsockname(0, 0, &len);
48898 rm -f conftest.
$ac_objext
48899 if { (ac_try
="$ac_compile"
48900 case "(($ac_try" in
48901 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48902 *) ac_try_echo=$ac_try;;
48904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48905 (eval "$ac_compile") 2>conftest.er1
48907 grep -v '^ *+' conftest.er1 >conftest.err
48909 cat conftest.err >&5
48910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48911 (exit $ac_status); } && {
48912 test -z "$ac_cxx_werror_flag" ||
48913 test ! -s conftest.err
48914 } && test -s conftest.$ac_objext; then
48915 wx_cv_type_getsockname3=int
48917 echo "$as_me: failed program was:" >&5
48918 sed 's/^/| /' conftest.$ac_ext >&5
48920 wx_cv_type_getsockname3=unknown
48924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48930 CFLAGS="$CFLAGS_OLD"
48935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48937 ac_cpp='$CPP $CPPFLAGS'
48938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48944 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48945 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48947 if test "$wx_cv_type_getsockname3" = "unknown"; then
48949 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48950 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48952 cat >>confdefs.h <<_ACEOF
48953 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48957 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48958 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48959 if test "${wx_cv_type_getsockopt5+set}" = set; then
48960 echo $ECHO_N "(cached) $ECHO_C" >&6
48964 ac_cpp='$CXXCPP $CPPFLAGS'
48965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48969 cat >conftest.$ac_ext <<_ACEOF
48972 cat confdefs.h >>conftest.$ac_ext
48973 cat >>conftest.$ac_ext <<_ACEOF
48974 /* end confdefs.h. */
48976 #include <sys/types.h>
48977 #include <sys/socket.h>
48984 getsockopt(0, 0, 0, 0, &len);
48990 rm -f conftest.$ac_objext
48991 if { (ac_try="$ac_compile"
48992 case "(($ac_try" in
48993 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48994 *) ac_try_echo
=$ac_try;;
48996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48997 (eval "$ac_compile") 2>conftest.er1
48999 grep -v '^ *+' conftest.er1
>conftest.err
49001 cat conftest.err
>&5
49002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49003 (exit $ac_status); } && {
49004 test -z "$ac_cxx_werror_flag" ||
49005 test ! -s conftest.err
49006 } && test -s conftest.
$ac_objext; then
49007 wx_cv_type_getsockopt5
=socklen_t
49009 echo "$as_me: failed program was:" >&5
49010 sed 's/^/| /' conftest.
$ac_ext >&5
49013 cat >conftest.
$ac_ext <<_ACEOF
49016 cat confdefs.h
>>conftest.
$ac_ext
49017 cat >>conftest.
$ac_ext <<_ACEOF
49018 /* end confdefs.h. */
49020 #include <sys/types.h>
49021 #include <sys/socket.h>
49028 getsockopt(0, 0, 0, 0, &len);
49034 rm -f conftest.
$ac_objext
49035 if { (ac_try
="$ac_compile"
49036 case "(($ac_try" in
49037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49038 *) ac_try_echo=$ac_try;;
49040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49041 (eval "$ac_compile") 2>conftest.er1
49043 grep -v '^ *+' conftest.er1 >conftest.err
49045 cat conftest.err >&5
49046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49047 (exit $ac_status); } && {
49048 test -z "$ac_cxx_werror_flag" ||
49049 test ! -s conftest.err
49050 } && test -s conftest.$ac_objext; then
49051 wx_cv_type_getsockopt5=size_t
49053 echo "$as_me: failed program was:" >&5
49054 sed 's/^/| /' conftest.$ac_ext >&5
49056 cat >conftest.$ac_ext <<_ACEOF
49059 cat confdefs.h >>conftest.$ac_ext
49060 cat >>conftest.$ac_ext <<_ACEOF
49061 /* end confdefs.h. */
49063 #include <sys/types.h>
49064 #include <sys/socket.h>
49071 getsockopt(0, 0, 0, 0, &len);
49077 rm -f conftest.$ac_objext
49078 if { (ac_try="$ac_compile"
49079 case "(($ac_try" in
49080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49081 *) ac_try_echo
=$ac_try;;
49083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49084 (eval "$ac_compile") 2>conftest.er1
49086 grep -v '^ *+' conftest.er1
>conftest.err
49088 cat conftest.err
>&5
49089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49090 (exit $ac_status); } && {
49091 test -z "$ac_cxx_werror_flag" ||
49092 test ! -s conftest.err
49093 } && test -s conftest.
$ac_objext; then
49094 wx_cv_type_getsockopt5
=int
49096 echo "$as_me: failed program was:" >&5
49097 sed 's/^/| /' conftest.
$ac_ext >&5
49099 wx_cv_type_getsockopt5
=unknown
49103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49114 ac_cpp
='$CPP $CPPFLAGS'
49115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49121 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
49122 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
49124 if test "$wx_cv_type_getsockopt5" = "unknown"; then
49126 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
49127 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
49129 cat >>confdefs.h
<<_ACEOF
49130 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
49137 if test "$wxUSE_SOCKETS" = "yes" ; then
49138 if test "$wxUSE_IPV6" = "yes"; then
49139 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
49140 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
49141 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
49142 echo $ECHO_N "(cached) $ECHO_C" >&6
49145 cat >conftest.
$ac_ext <<_ACEOF
49148 cat confdefs.h
>>conftest.
$ac_ext
49149 cat >>conftest.
$ac_ext <<_ACEOF
49150 /* end confdefs.h. */
49152 #include <sys/types.h>
49153 #include <sys/socket.h>
49154 #include <netinet/in.h>
49160 struct sockaddr_in6 sa6;
49166 rm -f conftest.
$ac_objext
49167 if { (ac_try
="$ac_compile"
49168 case "(($ac_try" in
49169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49170 *) ac_try_echo=$ac_try;;
49172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49173 (eval "$ac_compile") 2>conftest.er1
49175 grep -v '^ *+' conftest.er1 >conftest.err
49177 cat conftest.err >&5
49178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49179 (exit $ac_status); } && {
49180 test -z "$ac_c_werror_flag" ||
49181 test ! -s conftest.err
49182 } && test -s conftest.$ac_objext; then
49183 wx_cv_type_sockaddr_in6=yes
49185 echo "$as_me: failed program was:" >&5
49186 sed 's/^/| /' conftest.$ac_ext >&5
49188 wx_cv_type_sockaddr_in6=no
49192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49196 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
49197 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
49199 if test "$wx_cv_type_sockaddr_in6"="yes"; then
49200 cat >>confdefs.h <<\_ACEOF
49201 #define wxUSE_IPV6 1
49205 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
49206 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
49210 cat >>confdefs.h <<\_ACEOF
49211 #define wxUSE_SOCKETS 1
49214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49217 if test "$wxUSE_PROTOCOL" = "yes"; then
49218 if test "$wxUSE_SOCKETS" != "yes"; then
49219 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
49220 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
49225 if test "$wxUSE_PROTOCOL" = "yes"; then
49226 cat >>confdefs.h <<\_ACEOF
49227 #define wxUSE_PROTOCOL 1
49231 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
49232 cat >>confdefs.h <<\_ACEOF
49233 #define wxUSE_PROTOCOL_HTTP 1
49237 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
49238 cat >>confdefs.h <<\_ACEOF
49239 #define wxUSE_PROTOCOL_FTP 1
49243 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
49244 cat >>confdefs.h <<\_ACEOF
49245 #define wxUSE_PROTOCOL_FILE 1
49250 if test "$wxUSE_FS_INET" = "yes"; then
49251 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
49252 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
49257 if test "$wxUSE_URL" = "yes"; then
49258 if test "$wxUSE_PROTOCOL" != "yes"; then
49259 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
49260 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
49263 if test "$wxUSE_URL" = "yes"; then
49264 cat >>confdefs.h <<\_ACEOF
49265 #define wxUSE_URL 1
49271 if test "$wxUSE_VARIANT" = "yes"; then
49272 cat >>confdefs.h <<\_ACEOF
49273 #define wxUSE_VARIANT 1
49278 if test "$wxUSE_FS_INET" = "yes"; then
49279 cat >>confdefs.h <<\_ACEOF
49280 #define wxUSE_FS_INET 1
49286 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
49289 if test "$TOOLKIT" = "MSW"; then
49292 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
49293 if test "$USE_DARWIN" = 1; then
49294 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
49295 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
49297 ac_cpp='$CXXCPP $CPPFLAGS'
49298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49302 cat >conftest.$ac_ext <<_ACEOF
49305 cat confdefs.h >>conftest.$ac_ext
49306 cat >>conftest.$ac_ext <<_ACEOF
49307 /* end confdefs.h. */
49308 #include <IOKit/hid/IOHIDLib.h>
49312 IOHIDQueueInterface *qi = NULL;
49313 IOHIDCallbackFunction cb = NULL;
49314 qi->setEventCallout(NULL, cb, NULL, NULL);
49319 rm -f conftest.$ac_objext
49320 if { (ac_try="$ac_compile"
49321 case "(($ac_try" in
49322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49323 *) ac_try_echo
=$ac_try;;
49325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49326 (eval "$ac_compile") 2>conftest.er1
49328 grep -v '^ *+' conftest.er1
>conftest.err
49330 cat conftest.err
>&5
49331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49332 (exit $ac_status); } && {
49333 test -z "$ac_cxx_werror_flag" ||
49334 test ! -s conftest.err
49335 } && test -s conftest.
$ac_objext; then
49339 echo "$as_me: failed program was:" >&5
49340 sed 's/^/| /' conftest.
$ac_ext >&5
49345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49347 ac_cpp
='$CPP $CPPFLAGS'
49348 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49349 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49350 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49352 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
49353 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
49357 if test "$wxUSE_MGL" != 1; then
49359 for ac_header
in linux
/joystick.h
49361 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
49363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
49364 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
49365 echo $ECHO_N "(cached) $ECHO_C" >&6
49367 cat >conftest.
$ac_ext <<_ACEOF
49370 cat confdefs.h
>>conftest.
$ac_ext
49371 cat >>conftest.
$ac_ext <<_ACEOF
49372 /* end confdefs.h. */
49373 $ac_includes_default
49375 #include <$ac_header>
49377 rm -f conftest.
$ac_objext
49378 if { (ac_try
="$ac_compile"
49379 case "(($ac_try" in
49380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49381 *) ac_try_echo=$ac_try;;
49383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49384 (eval "$ac_compile") 2>conftest.er1
49386 grep -v '^ *+' conftest.er1 >conftest.err
49388 cat conftest.err >&5
49389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49390 (exit $ac_status); } && {
49391 test -z "$ac_c_werror_flag" ||
49392 test ! -s conftest.err
49393 } && test -s conftest.$ac_objext; then
49394 eval "$as_ac_Header=yes"
49396 echo "$as_me: failed program was:" >&5
49397 sed 's/^/| /' conftest.$ac_ext >&5
49399 eval "$as_ac_Header=no"
49402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49404 ac_res=`eval echo '${'$as_ac_Header'}'`
49405 { echo "$as_me:$LINENO: result: $ac_res" >&5
49406 echo "${ECHO_T}$ac_res" >&6; }
49407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49408 cat >>confdefs.h <<_ACEOF
49409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49419 if test "$wxUSE_JOYSTICK" = "yes"; then
49420 cat >>confdefs.h <<\_ACEOF
49421 #define wxUSE_JOYSTICK 1
49424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
49426 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49427 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49433 if test "$wxUSE_FONTENUM" = "yes" ; then
49434 cat >>confdefs.h <<\_ACEOF
49435 #define wxUSE_FONTENUM 1
49440 if test "$wxUSE_FONTMAP" = "yes" ; then
49441 cat >>confdefs.h <<\_ACEOF
49442 #define wxUSE_FONTMAP 1
49447 if test "$wxUSE_UNICODE" = "yes" ; then
49448 cat >>confdefs.h <<\_ACEOF
49449 #define wxUSE_UNICODE 1
49453 if test "$USE_WIN32" != 1; then
49454 wxUSE_UNICODE_MSLU=no
49457 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49458 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49459 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49460 if test "${ac_cv_lib_unicows_main+set}" = set; then
49461 echo $ECHO_N "(cached) $ECHO_C" >&6
49463 ac_check_lib_save_LIBS=$LIBS
49464 LIBS="-lunicows $LIBS"
49465 cat >conftest.$ac_ext <<_ACEOF
49468 cat confdefs.h >>conftest.$ac_ext
49469 cat >>conftest.$ac_ext <<_ACEOF
49470 /* end confdefs.h. */
49481 rm -f conftest.$ac_objext conftest$ac_exeext
49482 if { (ac_try="$ac_link"
49483 case "(($ac_try" in
49484 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49485 *) ac_try_echo
=$ac_try;;
49487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49488 (eval "$ac_link") 2>conftest.er1
49490 grep -v '^ *+' conftest.er1
>conftest.err
49492 cat conftest.err
>&5
49493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49494 (exit $ac_status); } && {
49495 test -z "$ac_c_werror_flag" ||
49496 test ! -s conftest.err
49497 } && test -s conftest
$ac_exeext &&
49498 $as_test_x conftest
$ac_exeext; then
49499 ac_cv_lib_unicows_main
=yes
49501 echo "$as_me: failed program was:" >&5
49502 sed 's/^/| /' conftest.
$ac_ext >&5
49504 ac_cv_lib_unicows_main
=no
49507 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
49508 conftest
$ac_exeext conftest.
$ac_ext
49509 LIBS
=$ac_check_lib_save_LIBS
49511 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49512 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49513 if test $ac_cv_lib_unicows_main = yes; then
49515 cat >>confdefs.h
<<\_ACEOF
49516 #define wxUSE_UNICODE_MSLU 1
49522 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49523 Applications will only run on Windows NT/2000/XP!" >&5
49524 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49525 Applications will only run on Windows NT/2000/XP!" >&2;}
49526 wxUSE_UNICODE_MSLU
=no
49533 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
49534 cat >>confdefs.h
<<\_ACEOF
49535 #define wxUSE_UNICODE_UTF8 1
49539 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
49540 cat >>confdefs.h
<<\_ACEOF
49541 #define wxUSE_UTF8_LOCALE_ONLY 1
49548 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49549 cat >>confdefs.h
<<\_ACEOF
49550 #define wxUSE_CONSTRAINTS 1
49553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
49556 if test "$wxUSE_MDI" = "yes"; then
49557 cat >>confdefs.h
<<\_ACEOF
49558 #define wxUSE_MDI 1
49562 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49563 cat >>confdefs.h
<<\_ACEOF
49564 #define wxUSE_MDI_ARCHITECTURE 1
49567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
49571 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49572 cat >>confdefs.h
<<\_ACEOF
49573 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
49579 if test "$wxUSE_HELP" = "yes"; then
49580 cat >>confdefs.h
<<\_ACEOF
49581 #define wxUSE_HELP 1
49584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
49586 if test "$wxUSE_MSW" = 1; then
49587 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49588 cat >>confdefs.h
<<\_ACEOF
49589 #define wxUSE_MS_HTML_HELP 1
49595 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49596 if test "$wxUSE_HTML" = "yes"; then
49597 cat >>confdefs.h
<<\_ACEOF
49598 #define wxUSE_WXHTML_HELP 1
49602 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49603 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49604 wxUSE_WXHTML_HELP
=no
49609 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49610 cat >>confdefs.h
<<\_ACEOF
49611 #define wxUSE_PRINTING_ARCHITECTURE 1
49614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
49617 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49618 cat >>confdefs.h
<<\_ACEOF
49619 #define wxUSE_POSTSCRIPT 1
49624 cat >>confdefs.h
<<\_ACEOF
49625 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49629 if test "$wxUSE_SVG" = "yes"; then
49630 cat >>confdefs.h
<<\_ACEOF
49631 #define wxUSE_SVG 1
49637 if test "$wxUSE_METAFILE" = "yes"; then
49638 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49639 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49640 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49643 elif test "$wxUSE_METAFILE" = "auto"; then
49644 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
49649 if test "$wxUSE_METAFILE" = "yes"; then
49650 cat >>confdefs.h
<<\_ACEOF
49651 #define wxUSE_METAFILE 1
49654 if test "$wxUSE_MSW" = 1; then
49655 cat >>confdefs.h
<<\_ACEOF
49656 #define wxUSE_ENH_METAFILE 1
49663 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
49664 -o "$wxUSE_CLIPBOARD" = "yes" \
49665 -o "$wxUSE_OLE" = "yes" \
49666 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
49667 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49668 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49669 if test "${ac_cv_header_ole2_h+set}" = set; then
49670 echo $ECHO_N "(cached) $ECHO_C" >&6
49672 cat >conftest.
$ac_ext <<_ACEOF
49675 cat confdefs.h
>>conftest.
$ac_ext
49676 cat >>conftest.
$ac_ext <<_ACEOF
49677 /* end confdefs.h. */
49682 rm -f conftest.
$ac_objext
49683 if { (ac_try
="$ac_compile"
49684 case "(($ac_try" in
49685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49686 *) ac_try_echo=$ac_try;;
49688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49689 (eval "$ac_compile") 2>conftest.er1
49691 grep -v '^ *+' conftest.er1 >conftest.err
49693 cat conftest.err >&5
49694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49695 (exit $ac_status); } && {
49696 test -z "$ac_c_werror_flag" ||
49697 test ! -s conftest.err
49698 } && test -s conftest.$ac_objext; then
49699 ac_cv_header_ole2_h=yes
49701 echo "$as_me: failed program was:" >&5
49702 sed 's/^/| /' conftest.$ac_ext >&5
49704 ac_cv_header_ole2_h=no
49707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49709 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49710 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49714 if test "$ac_cv_header_ole2_h" = "yes" ; then
49715 if test "$GCC" = yes ; then
49716 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49717 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49718 cat >conftest.$ac_ext <<_ACEOF
49721 cat confdefs.h >>conftest.$ac_ext
49722 cat >>conftest.$ac_ext <<_ACEOF
49723 /* end confdefs.h. */
49724 #include <windows.h>
49734 rm -f conftest.$ac_objext
49735 if { (ac_try="$ac_compile"
49736 case "(($ac_try" in
49737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49738 *) ac_try_echo
=$ac_try;;
49740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49741 (eval "$ac_compile") 2>conftest.er1
49743 grep -v '^ *+' conftest.er1
>conftest.err
49745 cat conftest.err
>&5
49746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49747 (exit $ac_status); } && {
49748 test -z "$ac_c_werror_flag" ||
49749 test ! -s conftest.err
49750 } && test -s conftest.
$ac_objext; then
49751 { echo "$as_me:$LINENO: result: no" >&5
49752 echo "${ECHO_T}no" >&6; }
49754 echo "$as_me: failed program was:" >&5
49755 sed 's/^/| /' conftest.
$ac_ext >&5
49757 { echo "$as_me:$LINENO: result: yes" >&5
49758 echo "${ECHO_T}yes" >&6; }
49759 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49763 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49764 if test "$wxUSE_OLE" = "yes" ; then
49765 cat >>confdefs.h
<<\_ACEOF
49766 #define wxUSE_OLE 1
49769 cat >>confdefs.h
<<\_ACEOF
49770 #define wxUSE_OLE_AUTOMATION 1
49773 cat >>confdefs.h
<<\_ACEOF
49774 #define wxUSE_ACTIVEX 1
49777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
49781 if test "$wxUSE_DATAOBJ" = "yes" ; then
49782 cat >>confdefs.h
<<\_ACEOF
49783 #define wxUSE_DATAOBJ 1
49788 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49789 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49792 wxUSE_DRAG_AND_DROP
=no
49798 if test "$wxUSE_IPC" = "yes"; then
49799 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49800 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49801 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49805 if test "$wxUSE_IPC" = "yes"; then
49806 cat >>confdefs.h
<<\_ACEOF
49807 #define wxUSE_IPC 1
49810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
49814 if test "$wxUSE_DATAOBJ" = "yes"; then
49815 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49816 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
49817 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
49820 cat >>confdefs.h
<<\_ACEOF
49821 #define wxUSE_DATAOBJ 1
49826 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49827 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49829 wxUSE_DRAG_AND_DROP
=no
49832 if test "$wxUSE_CLIPBOARD" = "yes"; then
49833 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49834 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49835 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49839 if test "$wxUSE_CLIPBOARD" = "yes"; then
49840 cat >>confdefs.h
<<\_ACEOF
49841 #define wxUSE_CLIPBOARD 1
49847 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49848 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
49849 "$wxUSE_DFB" = 1; then
49850 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49851 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49852 wxUSE_DRAG_AND_DROP
=no
49855 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49856 cat >>confdefs.h
<<\_ACEOF
49857 #define wxUSE_DRAG_AND_DROP 1
49864 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
49868 if test "$wxUSE_CLIPBOARD" = "yes"; then
49869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
49872 if test "$wxUSE_SPLINES" = "yes" ; then
49873 cat >>confdefs.h
<<\_ACEOF
49874 #define wxUSE_SPLINES 1
49879 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49880 cat >>confdefs.h
<<\_ACEOF
49881 #define wxUSE_MOUSEWHEEL 1
49886 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
49887 cat >>confdefs.h
<<\_ACEOF
49888 #define wxUSE_UIACTIONSIMULATOR 1
49891 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
49894 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
49895 cat >>confdefs.h
<<\_ACEOF
49896 #define wxUSE_DC_TRANSFORM_MATRIX 1
49903 if test "$wxUSE_CONTROLS" = "yes"; then
49907 if test "$wxUSE_MARKUP" = "yes"; then
49908 cat >>confdefs.h
<<\_ACEOF
49909 #define wxUSE_MARKUP 1
49914 if test "$wxUSE_ACCEL" = "yes"; then
49915 cat >>confdefs.h
<<\_ACEOF
49916 #define wxUSE_ACCEL 1
49922 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49923 cat >>confdefs.h
<<\_ACEOF
49924 #define wxUSE_ANIMATIONCTRL 1
49928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
49931 if test "$wxUSE_BANNERWINDOW" = "yes"; then
49932 cat >>confdefs.h
<<\_ACEOF
49933 #define wxUSE_BANNERWINDOW 1
49938 if test "$wxUSE_BUTTON" = "yes"; then
49939 cat >>confdefs.h
<<\_ACEOF
49940 #define wxUSE_BUTTON 1
49946 if test "$wxUSE_BMPBUTTON" = "yes"; then
49947 cat >>confdefs.h
<<\_ACEOF
49948 #define wxUSE_BMPBUTTON 1
49954 if test "$wxUSE_CALCTRL" = "yes"; then
49955 cat >>confdefs.h
<<\_ACEOF
49956 #define wxUSE_CALENDARCTRL 1
49960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
49963 if test "$wxUSE_CARET" = "yes"; then
49964 cat >>confdefs.h
<<\_ACEOF
49965 #define wxUSE_CARET 1
49969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
49972 if test "$wxUSE_COLLPANE" = "yes"; then
49973 cat >>confdefs.h
<<\_ACEOF
49974 #define wxUSE_COLLPANE 1
49978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
49981 if test "$wxUSE_COMBOBOX" = "yes"; then
49982 cat >>confdefs.h
<<\_ACEOF
49983 #define wxUSE_COMBOBOX 1
49989 if test "$wxUSE_COMBOCTRL" = "yes"; then
49990 cat >>confdefs.h
<<\_ACEOF
49991 #define wxUSE_COMBOCTRL 1
49997 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
49998 cat >>confdefs.h
<<\_ACEOF
49999 #define wxUSE_COMMANDLINKBUTTON 1
50005 if test "$wxUSE_CHOICE" = "yes"; then
50006 cat >>confdefs.h
<<\_ACEOF
50007 #define wxUSE_CHOICE 1
50013 if test "$wxUSE_CHOICEBOOK" = "yes"; then
50014 cat >>confdefs.h
<<\_ACEOF
50015 #define wxUSE_CHOICEBOOK 1
50021 if test "$wxUSE_CHECKBOX" = "yes"; then
50022 cat >>confdefs.h
<<\_ACEOF
50023 #define wxUSE_CHECKBOX 1
50029 if test "$wxUSE_CHECKLST" = "yes"; then
50030 cat >>confdefs.h
<<\_ACEOF
50031 #define wxUSE_CHECKLISTBOX 1
50037 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
50038 cat >>confdefs.h
<<\_ACEOF
50039 #define wxUSE_COLOURPICKERCTRL 1
50045 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
50046 cat >>confdefs.h
<<\_ACEOF
50047 #define wxUSE_DATEPICKCTRL 1
50053 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
50054 cat >>confdefs.h
<<\_ACEOF
50055 #define wxUSE_DIRPICKERCTRL 1
50061 if test "$wxUSE_FILECTRL" = "yes"; then
50062 cat >>confdefs.h
<<\_ACEOF
50063 #define wxUSE_FILECTRL 1
50069 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
50070 cat >>confdefs.h
<<\_ACEOF
50071 #define wxUSE_FILEPICKERCTRL 1
50077 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
50078 cat >>confdefs.h
<<\_ACEOF
50079 #define wxUSE_FONTPICKERCTRL 1
50085 if test "$wxUSE_DISPLAY" = "yes"; then
50086 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
50087 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
50088 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
50091 cat >>confdefs.h
<<\_ACEOF
50092 #define wxUSE_DISPLAY 1
50095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
50099 if test "$wxUSE_DETECT_SM" = "yes"; then
50100 cat >>confdefs.h
<<\_ACEOF
50101 #define wxUSE_DETECT_SM 1
50106 if test "$wxUSE_GAUGE" = "yes"; then
50107 cat >>confdefs.h
<<\_ACEOF
50108 #define wxUSE_GAUGE 1
50114 if test "$wxUSE_GRID" = "yes"; then
50115 cat >>confdefs.h
<<\_ACEOF
50116 #define wxUSE_GRID 1
50120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
50123 if test "$wxUSE_HEADERCTRL" = "yes"; then
50124 cat >>confdefs.h
<<\_ACEOF
50125 #define wxUSE_HEADERCTRL 1
50131 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
50132 cat >>confdefs.h
<<\_ACEOF
50133 #define wxUSE_HYPERLINKCTRL 1
50139 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
50140 cat >>confdefs.h
<<\_ACEOF
50141 #define wxUSE_BITMAPCOMBOBOX 1
50147 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
50148 cat >>confdefs.h
<<\_ACEOF
50149 #define wxUSE_DATAVIEWCTRL 1
50153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
50156 if test "$wxUSE_IMAGLIST" = "yes"; then
50157 cat >>confdefs.h
<<\_ACEOF
50158 #define wxUSE_IMAGLIST 1
50163 if test "$wxUSE_INFOBAR" = "yes"; then
50164 cat >>confdefs.h
<<\_ACEOF
50165 #define wxUSE_INFOBAR 1
50170 if test "$wxUSE_LISTBOOK" = "yes"; then
50171 cat >>confdefs.h
<<\_ACEOF
50172 #define wxUSE_LISTBOOK 1
50178 if test "$wxUSE_LISTBOX" = "yes"; then
50179 cat >>confdefs.h
<<\_ACEOF
50180 #define wxUSE_LISTBOX 1
50186 if test "$wxUSE_LISTCTRL" = "yes"; then
50187 if test "$wxUSE_IMAGLIST" = "yes"; then
50188 cat >>confdefs.h
<<\_ACEOF
50189 #define wxUSE_LISTCTRL 1
50193 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
50195 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
50196 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
50200 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
50201 cat >>confdefs.h
<<\_ACEOF
50202 #define wxUSE_EDITABLELISTBOX 1
50208 if test "$wxUSE_NOTEBOOK" = "yes"; then
50209 cat >>confdefs.h
<<\_ACEOF
50210 #define wxUSE_NOTEBOOK 1
50214 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
50217 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
50218 cat >>confdefs.h
<<\_ACEOF
50219 #define wxUSE_NOTIFICATION_MESSAGE 1
50224 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
50225 cat >>confdefs.h
<<\_ACEOF
50226 #define wxUSE_ODCOMBOBOX 1
50230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
50233 if test "$wxUSE_RADIOBOX" = "yes"; then
50234 cat >>confdefs.h
<<\_ACEOF
50235 #define wxUSE_RADIOBOX 1
50241 if test "$wxUSE_RADIOBTN" = "yes"; then
50242 cat >>confdefs.h
<<\_ACEOF
50243 #define wxUSE_RADIOBTN 1
50249 if test "$wxUSE_REARRANGECTRL" = "yes"; then
50250 cat >>confdefs.h
<<\_ACEOF
50251 #define wxUSE_REARRANGECTRL 1
50256 if test "$wxUSE_RICHMSGDLG" = "yes"; then
50257 cat >>confdefs.h
<<\_ACEOF
50258 #define wxUSE_RICHMSGDLG 1
50263 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
50264 cat >>confdefs.h
<<\_ACEOF
50265 #define wxUSE_RICHTOOLTIP 1
50270 if test "$wxUSE_SASH" = "yes"; then
50271 cat >>confdefs.h
<<\_ACEOF
50272 #define wxUSE_SASH 1
50275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
50278 if test "$wxUSE_SCROLLBAR" = "yes"; then
50279 cat >>confdefs.h
<<\_ACEOF
50280 #define wxUSE_SCROLLBAR 1
50284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
50287 if test "$wxUSE_SEARCHCTRL" = "yes"; then
50288 cat >>confdefs.h
<<\_ACEOF
50289 #define wxUSE_SEARCHCTRL 1
50295 if test "$wxUSE_SLIDER" = "yes"; then
50296 cat >>confdefs.h
<<\_ACEOF
50297 #define wxUSE_SLIDER 1
50303 if test "$wxUSE_SPINBTN" = "yes"; then
50304 cat >>confdefs.h
<<\_ACEOF
50305 #define wxUSE_SPINBTN 1
50311 if test "$wxUSE_SPINCTRL" = "yes"; then
50312 cat >>confdefs.h
<<\_ACEOF
50313 #define wxUSE_SPINCTRL 1
50319 if test "$wxUSE_SPLITTER" = "yes"; then
50320 cat >>confdefs.h
<<\_ACEOF
50321 #define wxUSE_SPLITTER 1
50324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
50327 if test "$wxUSE_STATBMP" = "yes"; then
50328 cat >>confdefs.h
<<\_ACEOF
50329 #define wxUSE_STATBMP 1
50335 if test "$wxUSE_STATBOX" = "yes"; then
50336 cat >>confdefs.h
<<\_ACEOF
50337 #define wxUSE_STATBOX 1
50343 if test "$wxUSE_STATTEXT" = "yes"; then
50344 cat >>confdefs.h
<<\_ACEOF
50345 #define wxUSE_STATTEXT 1
50351 if test "$wxUSE_STATLINE" = "yes"; then
50352 cat >>confdefs.h
<<\_ACEOF
50353 #define wxUSE_STATLINE 1
50359 if test "$wxUSE_STATUSBAR" = "yes"; then
50360 cat >>confdefs.h
<<\_ACEOF
50361 #define wxUSE_NATIVE_STATUSBAR 1
50364 cat >>confdefs.h
<<\_ACEOF
50365 #define wxUSE_STATUSBAR 1
50370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
50373 if test "$wxUSE_TEXTCTRL" = "yes"; then
50374 cat >>confdefs.h
<<\_ACEOF
50375 #define wxUSE_TEXTCTRL 1
50379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
50381 cat >>confdefs.h
<<\_ACEOF
50382 #define wxUSE_RICHEDIT 1
50385 cat >>confdefs.h
<<\_ACEOF
50386 #define wxUSE_RICHEDIT2 1
50391 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
50392 cat >>confdefs.h
<<\_ACEOF
50393 #define wxUSE_TIMEPICKCTRL 1
50399 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50400 if test "$wxUSE_OLD_COCOA" = 1 ; then
50401 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
50402 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
50406 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50407 cat >>confdefs.h
<<\_ACEOF
50408 #define wxUSE_TOGGLEBTN 1
50415 if test "$wxUSE_TOOLBAR" = "yes"; then
50416 cat >>confdefs.h
<<\_ACEOF
50417 #define wxUSE_TOOLBAR 1
50422 if test "$wxUSE_UNIVERSAL" = "yes"; then
50423 wxUSE_TOOLBAR_NATIVE
="no"
50425 wxUSE_TOOLBAR_NATIVE
="yes"
50426 cat >>confdefs.h
<<\_ACEOF
50427 #define wxUSE_TOOLBAR_NATIVE 1
50432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
50435 if test "$wxUSE_TOOLTIPS" = "yes"; then
50436 if test "$wxUSE_MOTIF" = 1; then
50437 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50438 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50440 if test "$wxUSE_UNIVERSAL" = "yes"; then
50441 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50442 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50444 cat >>confdefs.h
<<\_ACEOF
50445 #define wxUSE_TOOLTIPS 1
50452 if test "$wxUSE_TREEBOOK" = "yes"; then
50453 cat >>confdefs.h
<<\_ACEOF
50454 #define wxUSE_TREEBOOK 1
50460 if test "$wxUSE_TOOLBOOK" = "yes"; then
50461 cat >>confdefs.h
<<\_ACEOF
50462 #define wxUSE_TOOLBOOK 1
50468 if test "$wxUSE_TREECTRL" = "yes"; then
50469 if test "$wxUSE_IMAGLIST" = "yes"; then
50470 cat >>confdefs.h
<<\_ACEOF
50471 #define wxUSE_TREECTRL 1
50475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
50477 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50478 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50482 if test "$wxUSE_TREELISTCTRL" = "yes"; then
50483 cat >>confdefs.h
<<\_ACEOF
50484 #define wxUSE_TREELISTCTRL 1
50490 if test "$wxUSE_POPUPWIN" = "yes"; then
50491 if test "$wxUSE_OLD_COCOA" = 1 ; then
50492 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50493 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50495 if test "$wxUSE_PM" = 1; then
50496 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50497 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50499 cat >>confdefs.h
<<\_ACEOF
50500 #define wxUSE_POPUPWIN 1
50503 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
50510 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50511 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
50512 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50513 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50515 cat >>confdefs.h
<<\_ACEOF
50516 #define wxUSE_DIALUP_MANAGER 1
50519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
50523 if test "$wxUSE_TIPWINDOW" = "yes"; then
50524 if test "$wxUSE_PM" = 1; then
50525 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50526 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50528 cat >>confdefs.h
<<\_ACEOF
50529 #define wxUSE_TIPWINDOW 1
50535 if test "$USES_CONTROLS" = 1; then
50536 cat >>confdefs.h
<<\_ACEOF
50537 #define wxUSE_CONTROLS 1
50543 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50544 cat >>confdefs.h
<<\_ACEOF
50545 #define wxUSE_ACCESSIBILITY 1
50548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
50551 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
50552 cat >>confdefs.h
<<\_ACEOF
50553 #define wxUSE_ARTPROVIDER_STD 1
50558 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
50559 if test "$wxUSE_GTK" != 1; then
50560 if test "$wxUSE_LIBPNG" != no
-a \
50561 "$wxUSE_IMAGE" = yes -a \
50562 "$wxUSE_STREAMS" = yes; then
50563 wxUSE_ARTPROVIDER_TANGO
="yes"
50568 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
50569 cat >>confdefs.h
<<\_ACEOF
50570 #define wxUSE_ARTPROVIDER_TANGO 1
50575 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50576 cat >>confdefs.h
<<\_ACEOF
50577 #define wxUSE_DRAGIMAGE 1
50580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
50583 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50584 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50585 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50586 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50588 cat >>confdefs.h
<<\_ACEOF
50589 #define wxUSE_EXCEPTIONS 1
50592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
50597 if test "$wxUSE_HTML" = "yes"; then
50598 cat >>confdefs.h
<<\_ACEOF
50599 #define wxUSE_HTML 1
50603 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50605 if test "$wxUSE_WEBKIT" = "yes"; then
50606 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50607 old_CPPFLAGS
="$CPPFLAGS"
50608 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
50609 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50610 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50611 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50612 echo $ECHO_N "(cached) $ECHO_C" >&6
50614 cat >conftest.
$ac_ext <<_ACEOF
50617 cat confdefs.h
>>conftest.
$ac_ext
50618 cat >>conftest.
$ac_ext <<_ACEOF
50619 /* end confdefs.h. */
50621 #include <Carbon/Carbon.h>
50622 #include <WebKit/WebKit.h>
50625 #include <WebKit/HIWebView.h>
50627 rm -f conftest.
$ac_objext
50628 if { (ac_try
="$ac_compile"
50629 case "(($ac_try" in
50630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50631 *) ac_try_echo=$ac_try;;
50633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50634 (eval "$ac_compile") 2>conftest.er1
50636 grep -v '^ *+' conftest.er1 >conftest.err
50638 cat conftest.err >&5
50639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50640 (exit $ac_status); } && {
50641 test -z "$ac_c_werror_flag" ||
50642 test ! -s conftest.err
50643 } && test -s conftest.$ac_objext; then
50644 ac_cv_header_WebKit_HIWebView_h=yes
50646 echo "$as_me: failed program was:" >&5
50647 sed 's/^/| /' conftest.$ac_ext >&5
50649 ac_cv_header_WebKit_HIWebView_h=no
50652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50654 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50655 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50656 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50658 cat >>confdefs.h <<\_ACEOF
50659 #define wxUSE_WEBKIT 1
50662 WEBKIT_LINK="-framework WebKit"
50666 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50667 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50673 CPPFLAGS="$old_CPPFLAGS"
50674 elif test "$wxUSE_OLD_COCOA" = 1; then
50675 cat >>confdefs.h <<\_ACEOF
50676 #define wxUSE_WEBKIT 1
50682 if test "$wxUSE_WEBKIT" = "yes"; then
50683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
50688 if test "$wxUSE_XRC" = "yes"; then
50689 if test "$wxUSE_XML" != "yes"; then
50690 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50691 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50694 cat >>confdefs.h <<\_ACEOF
50695 #define wxUSE_XRC 1
50699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
50704 if test "$wxUSE_AUI" = "yes"; then
50705 cat >>confdefs.h <<\_ACEOF
50706 #define wxUSE_AUI 1
50710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
50714 if test "$wxUSE_PROPGRID" = "yes"; then
50715 cat >>confdefs.h <<\_ACEOF
50716 #define wxUSE_PROPGRID 1
50720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
50724 if test "$wxUSE_RIBBON" = "yes"; then
50725 cat >>confdefs.h <<\_ACEOF
50726 #define wxUSE_RIBBON 1
50730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
50734 if test "$wxUSE_STC" = "yes"; then
50735 cat >>confdefs.h <<\_ACEOF
50736 #define wxUSE_STC 1
50740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
50742 # Extract the first word of "python", so it can be a program name with args.
50743 set dummy python; ac_word=$2
50744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50746 if test "${ac_cv_path_PYTHON+set}" = set; then
50747 echo $ECHO_N "(cached) $ECHO_C" >&6
50751 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
50754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50755 for as_dir in $PATH
50758 test -z "$as_dir" && as_dir=.
50759 for ac_exec_ext in '' $ac_executable_extensions; do
50760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50761 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
50762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50772 PYTHON=$ac_cv_path_PYTHON
50773 if test -n "$PYTHON"; then
50774 { echo "$as_me:$LINENO: result: $PYTHON" >&5
50775 echo "${ECHO_T}$PYTHON" >&6; }
50777 { echo "$as_me:$LINENO: result: no" >&5
50778 echo "${ECHO_T}no" >&6; }
50782 if test "x$PYTHON" = "x"; then
50788 if test "$wxUSE_MENUS" = "yes"; then
50789 cat >>confdefs.h <<\_ACEOF
50790 #define wxUSE_MENUS 1
50793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
50796 if test "$wxUSE_MIMETYPE" = "yes"; then
50797 cat >>confdefs.h <<\_ACEOF
50798 #define wxUSE_MIMETYPE 1
50803 if test "$wxUSE_MINIFRAME" = "yes"; then
50804 cat >>confdefs.h <<\_ACEOF
50805 #define wxUSE_MINIFRAME 1
50810 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50811 cat >>confdefs.h <<\_ACEOF
50812 #define wxUSE_SYSTEM_OPTIONS 1
50817 if test "$wxUSE_TASKBARICON" = "yes"; then
50818 cat >>confdefs.h <<\_ACEOF
50819 #define wxUSE_TASKBARICON 1
50822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50826 if test "$wxUSE_VALIDATORS" = "yes"; then
50827 cat >>confdefs.h <<\_ACEOF
50828 #define wxUSE_VALIDATORS 1
50831 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50834 if test "$wxUSE_PALETTE" = "yes" ; then
50835 if test "$wxUSE_DFB" = 1; then
50836 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50837 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50840 cat >>confdefs.h <<\_ACEOF
50841 #define wxUSE_PALETTE 1
50847 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50848 LIBS=" -lunicows $LIBS"
50852 if test "$wxUSE_RICHTEXT" = "yes"; then
50853 cat >>confdefs.h <<\_ACEOF
50854 #define wxUSE_RICHTEXT 1
50858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50861 if test "$wxUSE_WEBVIEW" = "yes"; then
50862 USE_WEBVIEW_WEBKIT=0
50863 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
50864 if test "$wxUSE_GTK" = 1; then
50865 { echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
50866 echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
50869 for ac_dir in $SEARCH_LIB
50871 for ac_extension in a so sl dylib dll.a; do
50872 if test -f "$ac_dir/libwebkitgtk-1.0.$ac_extension"; then
50873 ac_find_libraries=$ac_dir
50879 if test "$ac_find_libraries" != "" ; then
50881 if test "$ac_find_libraries" = "default location"; then
50884 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
50886 if test $result = 0; then
50889 ac_path_to_link=" -L$ac_find_libraries"
50893 if test "$ac_path_to_link" != " -L/usr/lib" ; then
50894 LDFLAGS="$LDFLAGS $ac_path_to_link"
50896 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
50897 { echo "$as_me:$LINENO: result: yes" >&5
50898 echo "${ECHO_T}yes" >&6; }
50900 { echo "$as_me:$LINENO: checking for webkitgtk headers" >&5
50901 echo $ECHO_N "checking for webkitgtk headers... $ECHO_C" >&6; }
50904 for ac_dir in $SEARCH_INCLUDE /usr/include/webkit-1.0 /usr/include
50906 if test -f "$ac_dir/webkit/webkit.h"; then
50907 ac_find_includes=$ac_dir
50912 if test "$ac_find_includes" != "" ; then
50913 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50914 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50916 if test "x$ac_find_includes" = "x/usr/include"; then
50917 ac_path_to_include=""
50919 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50921 if test $result = 0; then
50922 ac_path_to_include=""
50924 ac_path_to_include=" -I$ac_find_includes"
50928 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50930 { echo "$as_me:$LINENO: checking for libsoup headers" >&5
50931 echo $ECHO_N "checking for libsoup headers... $ECHO_C" >&6; }
50934 for ac_dir in $SEARCH_INCLUDE /usr/include/libsoup-2.4 /usr/include
50936 if test -f "$ac_dir/libsoup/soup.h"; then
50937 ac_find_includes=$ac_dir
50942 if test "$ac_find_includes" != "" ; then
50943 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50944 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50946 if test "x$ac_find_includes" = "x/usr/include"; then
50947 ac_path_to_include=""
50949 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50951 if test $result = 0; then
50952 ac_path_to_include=""
50954 ac_path_to_include=" -I$ac_find_includes"
50958 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50960 USE_WEBVIEW_WEBKIT=1
50962 { echo "$as_me:$LINENO: result: not found" >&5
50963 echo "${ECHO_T}not found" >&6; }
50964 { echo "$as_me:$LINENO: WARNING: libsoup headers not found; disabling WebKit backend" >&5
50965 echo "$as_me: WARNING: libsoup headers not found; disabling WebKit backend" >&2;}
50968 { echo "$as_me:$LINENO: result: not found" >&5
50969 echo "${ECHO_T}not found" >&6; }
50970 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling WebKit backend" >&5
50971 echo "$as_me: WARNING: WebKit headers not found; disabling WebKit backend" >&2;}
50974 { echo "$as_me:$LINENO: result: no" >&5
50975 echo "${ECHO_T}no" >&6; }
50976 { echo "$as_me:$LINENO: WARNING: WebKit libraries not found; disabling WebKit backend" >&5
50977 echo "$as_me: WARNING: WebKit libraries not found; disabling WebKit backend" >&2;}
50979 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50980 old_CPPFLAGS="$CPPFLAGS"
50981 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50982 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50983 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50984 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50985 echo $ECHO_N "(cached) $ECHO_C" >&6
50987 cat >conftest.$ac_ext <<_ACEOF
50990 cat confdefs.h >>conftest.$ac_ext
50991 cat >>conftest.$ac_ext <<_ACEOF
50992 /* end confdefs.h. */
50994 #include <Carbon/Carbon.h>
50995 #include <WebKit/WebKit.h>
50998 #include <WebKit/HIWebView.h>
51000 rm -f conftest.$ac_objext
51001 if { (ac_try="$ac_compile"
51002 case "(($ac_try" in
51003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51004 *) ac_try_echo
=$ac_try;;
51006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51007 (eval "$ac_compile") 2>conftest.er1
51009 grep -v '^ *+' conftest.er1
>conftest.err
51011 cat conftest.err
>&5
51012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51013 (exit $ac_status); } && {
51014 test -z "$ac_c_werror_flag" ||
51015 test ! -s conftest.err
51016 } && test -s conftest.
$ac_objext; then
51017 ac_cv_header_WebKit_HIWebView_h
=yes
51019 echo "$as_me: failed program was:" >&5
51020 sed 's/^/| /' conftest.
$ac_ext >&5
51022 ac_cv_header_WebKit_HIWebView_h
=no
51025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51027 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
51028 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
51029 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
51031 USE_WEBVIEW_WEBKIT
=1
51032 WEBKIT_LINK
="-framework WebKit"
51036 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
51037 echo "$as_me: WARNING: WebKit headers not found" >&2;}
51042 CPPFLAGS
="$old_CPPFLAGS"
51047 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
51048 if test "$USE_WEBVIEW_WEBKIT" = 1; then
51049 wxUSE_WEBVIEW
="yes"
51050 cat >>confdefs.h
<<\_ACEOF
51051 #define wxUSE_WEBVIEW_WEBKIT 1
51055 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
51056 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
51058 elif test "$wxUSE_MSW" = 1; then
51059 if test "wxUSE_WEBVIEW_IE" = "yes"; then
51060 wxUSE_WEBVIEW
="yes"
51061 cat >>confdefs.h
<<\_ACEOF
51062 #define wxUSE_WEBVIEW_IE 1
51069 if test "$wxUSE_WEBVIEW" = "yes"; then
51071 cat >>confdefs.h
<<\_ACEOF
51072 #define wxUSE_WEBVIEW 1
51075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
51081 if test "$wxUSE_IMAGE" = "yes" ; then
51082 cat >>confdefs.h
<<\_ACEOF
51083 #define wxUSE_IMAGE 1
51087 if test "$wxUSE_GIF" = "yes" ; then
51088 cat >>confdefs.h
<<\_ACEOF
51089 #define wxUSE_GIF 1
51094 if test "$wxUSE_PCX" = "yes" ; then
51095 cat >>confdefs.h
<<\_ACEOF
51096 #define wxUSE_PCX 1
51101 if test "$wxUSE_TGA" = "yes" ; then
51102 cat >>confdefs.h
<<\_ACEOF
51103 #define wxUSE_TGA 1
51108 if test "$wxUSE_IFF" = "yes" ; then
51109 cat >>confdefs.h
<<\_ACEOF
51110 #define wxUSE_IFF 1
51115 if test "$wxUSE_PNM" = "yes" ; then
51116 cat >>confdefs.h
<<\_ACEOF
51117 #define wxUSE_PNM 1
51122 if test "$wxUSE_XPM" = "yes" ; then
51123 cat >>confdefs.h
<<\_ACEOF
51124 #define wxUSE_XPM 1
51129 if test "$wxUSE_ICO_CUR" = "yes" ; then
51130 cat >>confdefs.h
<<\_ACEOF
51131 #define wxUSE_ICO_CUR 1
51138 if test "$wxUSE_ABOUTDLG" = "yes"; then
51139 cat >>confdefs.h
<<\_ACEOF
51140 #define wxUSE_ABOUTDLG 1
51145 if test "$wxUSE_CHOICEDLG" = "yes"; then
51146 cat >>confdefs.h
<<\_ACEOF
51147 #define wxUSE_CHOICEDLG 1
51152 if test "$wxUSE_COLOURDLG" = "yes"; then
51153 cat >>confdefs.h
<<\_ACEOF
51154 #define wxUSE_COLOURDLG 1
51159 if test "$wxUSE_FILEDLG" = "yes"; then
51160 cat >>confdefs.h
<<\_ACEOF
51161 #define wxUSE_FILEDLG 1
51166 if test "$wxUSE_FINDREPLDLG" = "yes"; then
51167 cat >>confdefs.h
<<\_ACEOF
51168 #define wxUSE_FINDREPLDLG 1
51173 if test "$wxUSE_FONTDLG" = "yes"; then
51174 cat >>confdefs.h
<<\_ACEOF
51175 #define wxUSE_FONTDLG 1
51180 if test "$wxUSE_DIRDLG" = "yes"; then
51181 if test "$wxUSE_TREECTRL" != "yes"; then
51182 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
51183 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
51185 cat >>confdefs.h
<<\_ACEOF
51186 #define wxUSE_DIRDLG 1
51192 if test "$wxUSE_MSGDLG" = "yes"; then
51193 cat >>confdefs.h
<<\_ACEOF
51194 #define wxUSE_MSGDLG 1
51199 if test "$wxUSE_NUMBERDLG" = "yes"; then
51200 cat >>confdefs.h
<<\_ACEOF
51201 #define wxUSE_NUMBERDLG 1
51206 if test "$wxUSE_PROGRESSDLG" = "yes"; then
51207 cat >>confdefs.h
<<\_ACEOF
51208 #define wxUSE_PROGRESSDLG 1
51213 if test "$wxUSE_SPLASH" = "yes"; then
51214 cat >>confdefs.h
<<\_ACEOF
51215 #define wxUSE_SPLASH 1
51218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
51221 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
51222 cat >>confdefs.h
<<\_ACEOF
51223 #define wxUSE_STARTUP_TIPS 1
51228 if test "$wxUSE_TEXTDLG" = "yes"; then
51229 cat >>confdefs.h
<<\_ACEOF
51230 #define wxUSE_TEXTDLG 1
51235 if test "$wxUSE_WIZARDDLG" = "yes"; then
51236 cat >>confdefs.h
<<\_ACEOF
51237 #define wxUSE_WIZARDDLG 1
51240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
51244 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
51245 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
51246 cat >>confdefs.h
<<\_ACEOF
51247 #define wxUSE_OWNER_DRAWN 1
51254 if test "$wxUSE_MSW" = 1 ; then
51256 if test "$wxUSE_DC_CACHEING" = "yes"; then
51257 cat >>confdefs.h
<<\_ACEOF
51258 #define wxUSE_DC_CACHEING 1
51263 if test "$wxUSE_DIB" = "yes"; then
51264 cat >>confdefs.h
<<\_ACEOF
51265 #define wxUSE_WXDIB 1
51270 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
51271 cat >>confdefs.h
<<\_ACEOF
51272 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
51277 if test "$wxUSE_UXTHEME" = "yes"; then
51278 cat >>confdefs.h
<<\_ACEOF
51279 #define wxUSE_UXTHEME 1
51286 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
51287 cat >>confdefs.h
<<\_ACEOF
51288 #define wxUSE_AUTOID_MANAGEMENT 1
51293 if test "$USE_WIN32" = 1 ; then
51294 if test "$wxUSE_INICONF" = "yes"; then
51295 cat >>confdefs.h
<<\_ACEOF
51296 #define wxUSE_INICONF 1
51301 if test "$wxUSE_REGKEY" = "yes"; then
51302 cat >>confdefs.h
<<\_ACEOF
51303 #define wxUSE_REGKEY 1
51310 if test "$wxUSE_MAC" = 1; then
51311 wxUSE_GRAPHICS_CONTEXT
="yes"
51314 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
51316 if test "$wxUSE_MSW" = 1; then
51317 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
51318 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
51319 if test "${wx_cv_lib_gdiplus+set}" = set; then
51320 echo $ECHO_N "(cached) $ECHO_C" >&6
51324 ac_cpp
='$CXXCPP $CPPFLAGS'
51325 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51326 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51327 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51329 cat >conftest.
$ac_ext <<_ACEOF
51332 cat confdefs.h
>>conftest.
$ac_ext
51333 cat >>conftest.
$ac_ext <<_ACEOF
51334 /* end confdefs.h. */
51335 #include <windows.h>
51336 #include <gdiplus.h>
51341 using namespace Gdiplus;
51347 rm -f conftest.
$ac_objext
51348 if { (ac_try
="$ac_compile"
51349 case "(($ac_try" in
51350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51351 *) ac_try_echo=$ac_try;;
51353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51354 (eval "$ac_compile") 2>conftest.er1
51356 grep -v '^ *+' conftest.er1 >conftest.err
51358 cat conftest.err >&5
51359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51360 (exit $ac_status); } && {
51361 test -z "$ac_cxx_werror_flag" ||
51362 test ! -s conftest.err
51363 } && test -s conftest.$ac_objext; then
51364 wx_cv_lib_gdiplus=yes
51366 echo "$as_me: failed program was:" >&5
51367 sed 's/^/| /' conftest.$ac_ext >&5
51369 wx_cv_lib_gdiplus=no
51373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51375 ac_cpp='$CPP $CPPFLAGS'
51376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51383 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
51384 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
51385 if test "$wx_cv_lib_gdiplus" = "yes"; then
51388 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
51391 { echo "$as_me:$LINENO: checking for CAIRO" >&5
51392 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
51394 if test -n "$PKG_CONFIG"; then
51395 if test -n "$CAIRO_CFLAGS"; then
51396 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
51398 if test -n "$PKG_CONFIG" && \
51399 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51400 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51403 (exit $ac_status); }; then
51404 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
51412 if test -n "$PKG_CONFIG"; then
51413 if test -n "$CAIRO_LIBS"; then
51414 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
51416 if test -n "$PKG_CONFIG" && \
51417 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51418 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51421 (exit $ac_status); }; then
51422 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
51433 if test $pkg_failed = yes; then
51435 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51436 _pkg_short_errors_supported=yes
51438 _pkg_short_errors_supported=no
51440 if test $_pkg_short_errors_supported = yes; then
51441 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
51443 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
51445 # Put the nasty error message in config.log where it belongs
51446 echo "$CAIRO_PKG_ERRORS" >&5
51448 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51449 echo "$as_me: WARNING: Cairo library not found" >&2;}
51451 elif test $pkg_failed = untried; then
51452 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51453 echo "$as_me: WARNING: Cairo library not found" >&2;}
51456 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
51457 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
51458 { echo "$as_me:$LINENO: result: yes" >&5
51459 echo "${ECHO_T}yes" >&6; }
51462 if test "$wx_has_graphics" = 1; then
51464 LIBS="$LIBS $CAIRO_LIBS"
51466 for ac_func in cairo_push_group
51468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51469 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51471 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51472 echo $ECHO_N "(cached) $ECHO_C" >&6
51474 cat >conftest.$ac_ext <<_ACEOF
51477 cat confdefs.h >>conftest.$ac_ext
51478 cat >>conftest.$ac_ext <<_ACEOF
51479 /* end confdefs.h. */
51480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51482 #define $ac_func innocuous_$ac_func
51484 /* System header to define __stub macros and hopefully few prototypes,
51485 which can conflict with char $ac_func (); below.
51486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51487 <limits.h> exists even on freestanding compilers. */
51490 # include <limits.h>
51492 # include <assert.h>
51497 /* Override any GCC internal prototype to avoid an error.
51498 Use char because int might match the return type of a GCC
51499 builtin and then its argument prototype would still apply. */
51504 /* The GNU C library defines this for functions which it implements
51505 to always fail with ENOSYS. Some functions are actually named
51506 something starting with __ and the normal name is an alias. */
51507 #if defined __stub_$ac_func || defined __stub___$ac_func
51514 return $ac_func ();
51519 rm -f conftest.$ac_objext conftest$ac_exeext
51520 if { (ac_try="$ac_link"
51521 case "(($ac_try" in
51522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51523 *) ac_try_echo
=$ac_try;;
51525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51526 (eval "$ac_link") 2>conftest.er1
51528 grep -v '^ *+' conftest.er1
>conftest.err
51530 cat conftest.err
>&5
51531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51532 (exit $ac_status); } && {
51533 test -z "$ac_c_werror_flag" ||
51534 test ! -s conftest.err
51535 } && test -s conftest
$ac_exeext &&
51536 $as_test_x conftest
$ac_exeext; then
51537 eval "$as_ac_var=yes"
51539 echo "$as_me: failed program was:" >&5
51540 sed 's/^/| /' conftest.
$ac_ext >&5
51542 eval "$as_ac_var=no"
51545 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
51546 conftest
$ac_exeext conftest.
$ac_ext
51548 ac_res
=`eval echo '${'$as_ac_var'}'`
51549 { echo "$as_me:$LINENO: result: $ac_res" >&5
51550 echo "${ECHO_T}$ac_res" >&6; }
51551 if test `eval echo '${'$as_ac_var'}'` = yes; then
51552 cat >>confdefs.h
<<_ACEOF
51553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51560 if test "$ac_cv_func_cairo_push_group" = "no"; then
51562 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
51563 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
51565 cat >>confdefs.h
<<\_ACEOF
51566 #define wxUSE_CAIRO 1
51570 if test "$wxUSE_GTK" != 1; then
51571 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
51572 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
51580 if test "$wx_has_graphics" = 1; then
51581 cat >>confdefs.h
<<\_ACEOF
51582 #define wxUSE_GRAPHICS_CONTEXT 1
51586 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
51587 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
51594 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
51597 if test "$wxUSE_GTK" = 1; then
51598 wxUSE_GSTREAMER
="no"
51600 GST_VERSION_MAJOR
=0
51601 GST_VERSION_MINOR
=10
51602 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
51604 if test "$wxUSE_GSTREAMER8" = "no"; then
51607 { echo "$as_me:$LINENO: checking for GST" >&5
51608 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51610 if test -n "$PKG_CONFIG"; then
51611 if test -n "$GST_CFLAGS"; then
51612 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
51614 if test -n "$PKG_CONFIG" && \
51615 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
51616 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
51618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51619 (exit $ac_status); }; then
51620 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
51628 if test -n "$PKG_CONFIG"; then
51629 if test -n "$GST_LIBS"; then
51630 pkg_cv_GST_LIBS
="$GST_LIBS"
51632 if test -n "$PKG_CONFIG" && \
51633 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
51634 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
51636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51637 (exit $ac_status); }; then
51638 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
51649 if test $pkg_failed = yes; then
51651 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51652 _pkg_short_errors_supported
=yes
51654 _pkg_short_errors_supported
=no
51656 if test $_pkg_short_errors_supported = yes; then
51657 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
51659 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
51661 # Put the nasty error message in config.log where it belongs
51662 echo "$GST_PKG_ERRORS" >&5
51665 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51666 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51667 GST_VERSION_MINOR
=8
51670 elif test $pkg_failed = untried
; then
51672 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51673 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51674 GST_VERSION_MINOR
=8
51678 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
51679 GST_LIBS
=$pkg_cv_GST_LIBS
51680 { echo "$as_me:$LINENO: result: yes" >&5
51681 echo "${ECHO_T}yes" >&6; }
51683 wxUSE_GSTREAMER
="yes"
51684 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
51688 GST_VERSION_MINOR
=8
51691 if test $GST_VERSION_MINOR = "8"; then
51692 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
51695 { echo "$as_me:$LINENO: checking for GST" >&5
51696 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51698 if test -n "$PKG_CONFIG"; then
51699 if test -n "$GST_CFLAGS"; then
51700 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
51702 if test -n "$PKG_CONFIG" && \
51703 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51704 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51707 (exit $ac_status); }; then
51708 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51716 if test -n "$PKG_CONFIG"; then
51717 if test -n "$GST_LIBS"; then
51718 pkg_cv_GST_LIBS
="$GST_LIBS"
51720 if test -n "$PKG_CONFIG" && \
51721 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51722 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51725 (exit $ac_status); }; then
51726 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51737 if test $pkg_failed = yes; then
51739 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51740 _pkg_short_errors_supported
=yes
51742 _pkg_short_errors_supported
=no
51744 if test $_pkg_short_errors_supported = yes; then
51745 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51747 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51749 # Put the nasty error message in config.log where it belongs
51750 echo "$GST_PKG_ERRORS" >&5
51753 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51754 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51756 elif test $pkg_failed = untried
; then
51758 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51759 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51762 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
51763 GST_LIBS
=$pkg_cv_GST_LIBS
51764 { echo "$as_me:$LINENO: result: yes" >&5
51765 echo "${ECHO_T}yes" >&6; }
51766 wxUSE_GSTREAMER
="yes"
51771 if test "$wxUSE_GSTREAMER" = "yes"; then
51772 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
51773 EXTRALIBS_MEDIA
="$GST_LIBS"
51775 cat >>confdefs.h
<<\_ACEOF
51776 #define wxUSE_GSTREAMER 1
51784 if test $USE_MEDIA = 1; then
51785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
51786 cat >>confdefs.h
<<\_ACEOF
51787 #define wxUSE_MEDIACTRL 1
51791 if test "$wxUSE_MEDIACTRL" = "yes"; then
51792 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
51793 echo "$as_me: error: GStreamer not available" >&2;}
51794 { (exit 1); exit 1; }; }
51796 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
51797 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
51803 if test "$cross_compiling" != "no"; then
51806 OSINFO
=`uname -s -r -m`
51807 OSINFO
="\"$OSINFO\""
51810 cat >>confdefs.h
<<_ACEOF
51811 #define WXWIN_OS_DESCRIPTION $OSINFO
51816 if test "x$prefix" != "xNONE"; then
51819 wxPREFIX
=$ac_default_prefix
51822 cat >>confdefs.h
<<_ACEOF
51823 #define wxINSTALL_PREFIX "$wxPREFIX"
51829 STD_BASE_LIBS
="base"
51831 BUILT_WX_LIBS
="base"
51832 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
51834 if test "$wxUSE_SOCKETS" = "yes" ; then
51835 STD_BASE_LIBS
="net $STD_BASE_LIBS"
51836 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
51838 if test "$wxUSE_XML" = "yes" ; then
51839 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
51840 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
51843 if test "$wxUSE_GUI" = "yes"; then
51844 STD_GUI_LIBS
="adv core"
51845 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
51847 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51848 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
51849 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
51851 if test "$wxUSE_HTML" = "yes" ; then
51852 STD_GUI_LIBS
="html $STD_GUI_LIBS"
51853 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
51855 if test "$wxUSE_MEDIACTRL" = "yes" ; then
51856 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
51858 if test "$wxUSE_OPENGL" = "yes" ; then
51859 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
51861 if test "$wxUSE_AUI" = "yes" ; then
51862 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
51864 if test "$wxUSE_PROPGRID" = "yes" ; then
51865 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
51867 if test "$wxUSE_RIBBON" = "yes" ; then
51868 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
51870 if test "$wxUSE_RICHTEXT" = "yes" ; then
51871 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
51873 if test "$wxUSE_STC" = "yes" ; then
51874 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
51876 if test "$wxUSE_WEBVIEW" = "yes" ; then
51877 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
51878 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
51880 if test "$wxUSE_XRC" = "yes" ; then
51881 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
51882 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
51893 if test "$wxUSE_MAC" = 1 ; then
51894 if test "$USE_DARWIN" = 1; then
51895 if test "$wxUSE_OSX_IPHONE" = 1; then
51896 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
51898 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
51902 if test "$wxUSE_OLD_COCOA" = 1 ; then
51903 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
51904 if test "$wxUSE_MEDIACTRL" = "yes"; then
51905 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
51908 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
51909 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
51912 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
51913 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
51915 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
51917 if test "$wxUSE_GUI" = "yes"; then
51920 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
51921 erase event exec font image minimal render \
51922 shaped svg taborder vscroll widgets wrapsizer"
51924 if test "$wxUSE_MONOLITHIC" != "yes"; then
51925 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
51927 if test "$TOOLKIT" = "MSW"; then
51928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
51929 if test "$wxUSE_UNIVERSAL" != "yes"; then
51930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
51933 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
51934 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
51937 SAMPLES_SUBDIRS
="console"
51938 if test "$wxUSE_SOCKETS" = "yes" ; then
51939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
51941 if test "$wxUSE_IPC" = "yes" ; then
51942 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
51947 if test "x$INTELCC" = "xyes" ; then
51948 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
51949 elif test "$GCC" = yes ; then
51950 CWARNINGS
="-Wall -Wundef"
51953 if test "x$INTELCXX" = "xyes" ; then
51954 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
51955 elif test "$GXX" = yes ; then
51956 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
51957 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
51958 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
51959 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
51960 echo $ECHO_N "(cached) $ECHO_C" >&6
51962 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
51965 ac_cpp
='$CXXCPP $CPPFLAGS'
51966 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51967 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51968 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51970 ac_save_CXXFLAGS
="$CXXFLAGS"
51971 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
51972 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
51973 cat >conftest.
$ac_ext <<_ACEOF
51976 cat confdefs.h
>>conftest.
$ac_ext
51977 cat >>conftest.
$ac_ext <<_ACEOF
51978 /* end confdefs.h. */
51988 rm -f conftest.
$ac_objext
51989 if { (ac_try
="$ac_compile"
51990 case "(($ac_try" in
51991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51992 *) ac_try_echo=$ac_try;;
51994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51995 (eval "$ac_compile") 2>conftest.er1
51997 grep -v '^ *+' conftest.er1 >conftest.err
51999 cat conftest.err >&5
52000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52001 (exit $ac_status); } && {
52002 test -z "$ac_cxx_werror_flag" ||
52003 test ! -s conftest.err
52004 } && test -s conftest.$ac_objext; then
52005 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
52007 echo "$as_me: failed program was:" >&5
52008 sed 's/^/| /' conftest.$ac_ext >&5
52013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52015 CXXFLAGS="$ac_save_CXXFLAGS"
52017 ac_cpp='$CPP $CPPFLAGS'
52018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52024 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
52025 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
52026 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
52030 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
52031 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
52032 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
52034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52035 (exit $ac_status); }
52036 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
52037 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
52039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52040 (exit $ac_status); }
52041 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
52047 if test "$wxUSE_MAC" = 1 ; then
52048 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
52053 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
52054 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
52057 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
52058 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
52059 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
52062 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
52063 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
52064 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
52065 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
52066 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
52068 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
52071 if test "x$MWCC" = "xyes"; then
52073 CC="$CC -cwd source -I-"
52074 CXX="$CXX -cwd source -I-"
52079 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
52080 EXTRALIBS_XML="$EXPAT_LINK"
52081 EXTRALIBS_HTML="$MSPACK_LINK"
52082 EXTRALIBS_MEDIA="$GST_LIBS"
52083 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
52084 if test "$wxUSE_GUI" = "yes"; then
52085 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
52087 if test "$wxUSE_OPENGL" = "yes"; then
52088 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
52091 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
52093 WXCONFIG_LIBS="$LIBS"
52095 if test "$wxUSE_REGEX" = "builtin" ; then
52096 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
52098 if test "$wxUSE_EXPAT" = "builtin" ; then
52099 wxconfig_3rdparty="expat $wxconfig_3rdparty"
52101 if test "$wxUSE_LIBTIFF" = "builtin" ; then
52102 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
52104 if test "$wxUSE_LIBJPEG" = "builtin" ; then
52105 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
52107 if test "$wxUSE_LIBPNG" = "builtin" ; then
52108 wxconfig_3rdparty="png $wxconfig_3rdparty"
52110 if test "$wxUSE_ZLIB" = "builtin" ; then
52111 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
52114 for i in $wxconfig_3rdparty ; do
52115 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
52119 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
52122 case "$wxUNIV_THEMES" in
52124 cat >>confdefs.h <<\_ACEOF
52125 #define wxUSE_ALL_THEMES 1
52131 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
52132 cat >>confdefs.h <<_ACEOF
52133 #define wxUSE_THEME_$t 1
52149 if test $wxUSE_MONOLITHIC = "yes" ; then
52155 if test $wxUSE_PLUGINS = "yes" ; then
52161 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
52167 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
52199 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
52212 TOOLKIT_DESC="GTK+"
52213 if test "$WXGTK2" = 1; then
52214 TOOLKIT_DESC="$TOOLKIT_DESC 2"
52215 if test "$wxUSE_GTKPRINT" = "yes" ; then
52216 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
52218 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
52219 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
52221 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
52222 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
52224 if test "$wxUSE_LIBHILDON" = "yes"; then
52225 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52227 if test "$wxUSE_LIBHILDON2" = "yes"; then
52228 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52231 if test "$TOOLKIT_EXTRA" != ""; then
52232 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
52238 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
52242 TOOLKIT_DESC="base only"
52246 if test "$wxUSE_WINE" = "yes"; then
52247 BAKEFILE_FORCE_PLATFORM=win32
52250 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
52252 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
52253 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
52254 if test "${wx_cv_gcc_pch_bug+set}" = set; then
52255 echo $ECHO_N "(cached) $ECHO_C" >&6
52258 echo '#include <stdio.h>
52259 const wchar_t test_var[] = L"awidetest";' > conftest.h
52261 echo '#include "conftest.h"
52264 printf("%ls", test_var);
52268 wx_cv_gcc_pch_bug="pch not supported"
52270 if $CXX conftest.h >/dev/null 2>&1
52274 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
52276 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
52277 grep awidetest >/dev/null
52279 wx_cv_gcc_pch_bug=no
52281 wx_cv_gcc_pch_bug=yes
52286 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
52289 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
52290 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
52292 if test "$wx_cv_gcc_pch_bug" = yes; then
52303 if test "x$BAKEFILE_HOST" = "x"; then
52304 if test "x${host}" = "x" ; then
52305 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
52306 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
52307 { (exit 1); exit 1; }; }
52310 BAKEFILE_HOST="${host}"
52313 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
52315 if test -n "$ac_tool_prefix"; then
52316 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
52317 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
52318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52320 if test "${ac_cv_prog_RANLIB+set}" = set; then
52321 echo $ECHO_N "(cached) $ECHO_C" >&6
52323 if test -n "$RANLIB"; then
52324 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
52326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52327 for as_dir in $PATH
52330 test -z "$as_dir" && as_dir=.
52331 for ac_exec_ext in '' $ac_executable_extensions; do
52332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52333 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
52334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52343 RANLIB=$ac_cv_prog_RANLIB
52344 if test -n "$RANLIB"; then
52345 { echo "$as_me:$LINENO: result: $RANLIB" >&5
52346 echo "${ECHO_T}$RANLIB" >&6; }
52348 { echo "$as_me:$LINENO: result: no" >&5
52349 echo "${ECHO_T}no" >&6; }
52354 if test -z "$ac_cv_prog_RANLIB"; then
52355 ac_ct_RANLIB=$RANLIB
52356 # Extract the first word of "ranlib", so it can be a program name with args.
52357 set dummy ranlib; ac_word=$2
52358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52360 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
52361 echo $ECHO_N "(cached) $ECHO_C" >&6
52363 if test -n "$ac_ct_RANLIB"; then
52364 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
52366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52367 for as_dir in $PATH
52370 test -z "$as_dir" && as_dir=.
52371 for ac_exec_ext in '' $ac_executable_extensions; do
52372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52373 ac_cv_prog_ac_ct_RANLIB="ranlib"
52374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52383 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
52384 if test -n "$ac_ct_RANLIB"; then
52385 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
52386 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
52388 { echo "$as_me:$LINENO: result: no" >&5
52389 echo "${ECHO_T}no" >&6; }
52392 if test "x$ac_ct_RANLIB" = x; then
52395 case $cross_compiling:$ac_tool_warned in
52397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52398 whose name does not start with the host triplet. If you think this
52399 configuration is useful to you, please write to autoconf@gnu.org." >&5
52400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52401 whose name does not start with the host triplet. If you think this
52402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52403 ac_tool_warned=yes ;;
52405 RANLIB=$ac_ct_RANLIB
52408 RANLIB="$ac_cv_prog_RANLIB"
52411 # Find a good install program. We prefer a C program (faster),
52412 # so one script is as good as another. But avoid the broken or
52413 # incompatible versions:
52414 # SysV /etc/install, /usr/sbin/install
52415 # SunOS /usr/etc/install
52416 # IRIX /sbin/install
52418 # AmigaOS /C/install, which installs bootblocks on floppy discs
52419 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
52420 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
52421 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
52422 # OS/2's system install, which has a completely different semantic
52423 # ./install, which can be erroneously created by make from ./install.sh.
52424 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
52425 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
52426 if test -z "$INSTALL"; then
52427 if test "${ac_cv_path_install+set}" = set; then
52428 echo $ECHO_N "(cached) $ECHO_C" >&6
52430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52431 for as_dir in $PATH
52434 test -z "$as_dir" && as_dir=.
52435 # Account for people who put trailing slashes in PATH elements.
52437 ./ | .// | /cC/* | \
52438 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
52439 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
52442 # OSF1 and SCO ODT 3.0 have their own names for install.
52443 # Don't use installbsd from OSF since it installs stuff as root
52445 for ac_prog in ginstall scoinst install; do
52446 for ac_exec_ext in '' $ac_executable_extensions; do
52447 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
52448 if test $ac_prog = install &&
52449 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52450 # AIX install. It has an incompatible calling convention.
52452 elif test $ac_prog = install &&
52453 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52454 # program-specific install script used by HP pwplus--don't use.
52457 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
52470 if test "${ac_cv_path_install+set}" = set; then
52471 INSTALL=$ac_cv_path_install
52473 # As a last resort, use the slow shell script. Don't cache a
52474 # value for INSTALL within a source directory, because that will
52475 # break other packages using the cache if that directory is
52476 # removed, or if the value is a relative name.
52477 INSTALL=$ac_install_sh
52480 { echo "$as_me:$LINENO: result: $INSTALL" >&5
52481 echo "${ECHO_T}$INSTALL" >&6; }
52483 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
52484 # It thinks the first close brace ends the variable substitution.
52485 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
52487 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
52489 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
52491 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
52492 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
52494 if test "$LN_S" = "ln -s"; then
52495 { echo "$as_me:$LINENO: result: yes" >&5
52496 echo "${ECHO_T}yes" >&6; }
52498 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
52499 echo "${ECHO_T}no, using $LN_S" >&6; }
52503 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52504 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52505 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52506 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52507 echo $ECHO_N "(cached) $ECHO_C" >&6
52509 cat >conftest.make <<\_ACEOF
52512 @echo '@@@%%%=$(MAKE)=@@@%%%'
52514 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52515 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52516 *@@@%%%=?*=@@@%%%*)
52517 eval ac_cv_prog_make_${ac_make}_set=yes;;
52519 eval ac_cv_prog_make_${ac_make}_set=no;;
52521 rm -f conftest.make
52523 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52524 { echo "$as_me:$LINENO: result: yes" >&5
52525 echo "${ECHO_T}yes" >&6; }
52528 { echo "$as_me:$LINENO: result: no" >&5
52529 echo "${ECHO_T}no" >&6; }
52530 SET_MAKE="MAKE=${MAKE-make}"
52535 if test "x$SUNCXX" = "xyes"; then
52537 AROPTIONS="-xar -o"
52539 elif test "x$SGICC" = "xyes"; then
52544 if test -n "$ac_tool_prefix"; then
52545 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
52546 set dummy ${ac_tool_prefix}ar; ac_word=$2
52547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52549 if test "${ac_cv_prog_AR+set}" = set; then
52550 echo $ECHO_N "(cached) $ECHO_C" >&6
52552 if test -n "$AR"; then
52553 ac_cv_prog_AR="$AR" # Let the user override the test.
52555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52556 for as_dir in $PATH
52559 test -z "$as_dir" && as_dir=.
52560 for ac_exec_ext in '' $ac_executable_extensions; do
52561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52562 ac_cv_prog_AR="${ac_tool_prefix}ar"
52563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52573 if test -n "$AR"; then
52574 { echo "$as_me:$LINENO: result: $AR" >&5
52575 echo "${ECHO_T}$AR" >&6; }
52577 { echo "$as_me:$LINENO: result: no" >&5
52578 echo "${ECHO_T}no" >&6; }
52583 if test -z "$ac_cv_prog_AR"; then
52585 # Extract the first word of "ar", so it can be a program name with args.
52586 set dummy ar; ac_word=$2
52587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52589 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
52590 echo $ECHO_N "(cached) $ECHO_C" >&6
52592 if test -n "$ac_ct_AR"; then
52593 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
52595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52596 for as_dir in $PATH
52599 test -z "$as_dir" && as_dir=.
52600 for ac_exec_ext in '' $ac_executable_extensions; do
52601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52602 ac_cv_prog_ac_ct_AR="ar"
52603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52612 ac_ct_AR=$ac_cv_prog_ac_ct_AR
52613 if test -n "$ac_ct_AR"; then
52614 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
52615 echo "${ECHO_T}$ac_ct_AR" >&6; }
52617 { echo "$as_me:$LINENO: result: no" >&5
52618 echo "${ECHO_T}no" >&6; }
52621 if test "x$ac_ct_AR" = x; then
52624 case $cross_compiling:$ac_tool_warned in
52626 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52627 whose name does not start with the host triplet. If you think this
52628 configuration is useful to you, please write to autoconf@gnu.org." >&5
52629 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52630 whose name does not start with the host triplet. If you think this
52631 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52632 ac_tool_warned=yes ;;
52637 AR="$ac_cv_prog_AR"
52644 if test -n "$ac_tool_prefix"; then
52645 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
52646 set dummy ${ac_tool_prefix}strip; ac_word=$2
52647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52649 if test "${ac_cv_prog_STRIP+set}" = set; then
52650 echo $ECHO_N "(cached) $ECHO_C" >&6
52652 if test -n "$STRIP"; then
52653 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
52655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52656 for as_dir in $PATH
52659 test -z "$as_dir" && as_dir=.
52660 for ac_exec_ext in '' $ac_executable_extensions; do
52661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52662 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
52663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52672 STRIP=$ac_cv_prog_STRIP
52673 if test -n "$STRIP"; then
52674 { echo "$as_me:$LINENO: result: $STRIP" >&5
52675 echo "${ECHO_T}$STRIP" >&6; }
52677 { echo "$as_me:$LINENO: result: no" >&5
52678 echo "${ECHO_T}no" >&6; }
52683 if test -z "$ac_cv_prog_STRIP"; then
52685 # Extract the first word of "strip", so it can be a program name with args.
52686 set dummy strip; ac_word=$2
52687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52689 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
52690 echo $ECHO_N "(cached) $ECHO_C" >&6
52692 if test -n "$ac_ct_STRIP"; then
52693 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
52695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52696 for as_dir in $PATH
52699 test -z "$as_dir" && as_dir=.
52700 for ac_exec_ext in '' $ac_executable_extensions; do
52701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52702 ac_cv_prog_ac_ct_STRIP="strip"
52703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52712 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
52713 if test -n "$ac_ct_STRIP"; then
52714 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
52715 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
52717 { echo "$as_me:$LINENO: result: no" >&5
52718 echo "${ECHO_T}no" >&6; }
52721 if test "x$ac_ct_STRIP" = x; then
52724 case $cross_compiling:$ac_tool_warned in
52726 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52727 whose name does not start with the host triplet. If you think this
52728 configuration is useful to you, please write to autoconf@gnu.org." >&5
52729 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52730 whose name does not start with the host triplet. If you think this
52731 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52732 ac_tool_warned=yes ;;
52737 STRIP="$ac_cv_prog_STRIP"
52740 if test -n "$ac_tool_prefix"; then
52741 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
52742 set dummy ${ac_tool_prefix}nm; ac_word=$2
52743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52745 if test "${ac_cv_prog_NM+set}" = set; then
52746 echo $ECHO_N "(cached) $ECHO_C" >&6
52748 if test -n "$NM"; then
52749 ac_cv_prog_NM="$NM" # Let the user override the test.
52751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52752 for as_dir in $PATH
52755 test -z "$as_dir" && as_dir=.
52756 for ac_exec_ext in '' $ac_executable_extensions; do
52757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52758 ac_cv_prog_NM="${ac_tool_prefix}nm"
52759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52769 if test -n "$NM"; then
52770 { echo "$as_me:$LINENO: result: $NM" >&5
52771 echo "${ECHO_T}$NM" >&6; }
52773 { echo "$as_me:$LINENO: result: no" >&5
52774 echo "${ECHO_T}no" >&6; }
52779 if test -z "$ac_cv_prog_NM"; then
52781 # Extract the first word of "nm", so it can be a program name with args.
52782 set dummy nm; ac_word=$2
52783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52785 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
52786 echo $ECHO_N "(cached) $ECHO_C" >&6
52788 if test -n "$ac_ct_NM"; then
52789 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
52791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52792 for as_dir in $PATH
52795 test -z "$as_dir" && as_dir=.
52796 for ac_exec_ext in '' $ac_executable_extensions; do
52797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52798 ac_cv_prog_ac_ct_NM="nm"
52799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52808 ac_ct_NM=$ac_cv_prog_ac_ct_NM
52809 if test -n "$ac_ct_NM"; then
52810 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
52811 echo "${ECHO_T}$ac_ct_NM" >&6; }
52813 { echo "$as_me:$LINENO: result: no" >&5
52814 echo "${ECHO_T}no" >&6; }
52817 if test "x$ac_ct_NM" = x; then
52820 case $cross_compiling:$ac_tool_warned in
52822 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52823 whose name does not start with the host triplet. If you think this
52824 configuration is useful to you, please write to autoconf@gnu.org." >&5
52825 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52826 whose name does not start with the host triplet. If you think this
52827 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52828 ac_tool_warned=yes ;;
52833 NM="$ac_cv_prog_NM"
52837 INSTALL_DIR="mkdir -p"
52841 case ${BAKEFILE_HOST} in
52842 *-*-cygwin* | *-*-mingw32* )
52843 LDFLAGS_GUI="-mwindows"
52849 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
52850 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
52851 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
52852 echo $ECHO_N "(cached) $ECHO_C" >&6
52855 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
52856 egrep -s GNU > /dev/null); then
52857 bakefile_cv_prog_makeisgnu="yes"
52859 bakefile_cv_prog_makeisgnu="no"
52863 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
52864 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
52866 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
52883 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
52884 case "${BAKEFILE_HOST}" in
52891 *-pc-os2_emx | *-pc-os2-emx )
52901 powerpc-apple-macos* )
52910 case "$BAKEFILE_FORCE_PLATFORM" in
52931 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
52932 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
52933 { (exit 1); exit 1; }; }
52948 # Check whether --enable-omf was given.
52949 if test "${enable_omf+set}" = set; then
52950 enableval=$enable_omf; bk_os2_use_omf="$enableval"
52954 case "${BAKEFILE_HOST}" in
52956 if test "x$GCC" = "xyes"; then
52957 CFLAGS="$CFLAGS -fno-common"
52958 CXXFLAGS="$CXXFLAGS -fno-common"
52960 if test "x$XLCC" = "xyes"; then
52961 CFLAGS="$CFLAGS -qnocommon"
52962 CXXFLAGS="$CXXFLAGS -qnocommon"
52966 *-pc-os2_emx | *-pc-os2-emx )
52967 if test "x$bk_os2_use_omf" = "xyes" ; then
52970 LDFLAGS="-Zomf $LDFLAGS"
52971 CFLAGS="-Zomf $CFLAGS"
52972 CXXFLAGS="-Zomf $CXXFLAGS"
52980 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
52986 SO_SUFFIX_MODULE="so"
52991 DLLPREFIX_MODULE=""
52995 case "${BAKEFILE_HOST}" in
53000 SO_SUFFIX_MODULE="sl"
53004 SO_SUFFIX_MODULE="a"
53008 SO_SUFFIX_MODULE="dll"
53009 DLLIMP_SUFFIX="dll.a"
53016 SO_SUFFIX_MODULE="dll"
53017 DLLIMP_SUFFIX="dll.a"
53027 *-pc-os2_emx | *-pc-os2-emx )
53029 SO_SUFFIX_MODULE="dll"
53030 DLLIMP_SUFFIX=$OS2_LIBEXT
53034 LIBEXT=".$OS2_LIBEXT"
53039 SO_SUFFIX_MODULE="bundle"
53043 if test "x$DLLIMP_SUFFIX" = "x" ; then
53044 DLLIMP_SUFFIX="$SO_SUFFIX"
53059 if test "x$GCC" = "xyes"; then
53063 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
53064 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
53067 case "${BAKEFILE_HOST}" in
53069 if test "x$GCC" != "xyes"; then
53070 LDFLAGS="$LDFLAGS -L/usr/lib"
53072 SHARED_LD_CC="${CC} -b -o"
53073 SHARED_LD_CXX="${CXX} -b -o"
53079 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
53081 elif test "x$SUNCXX" = "xyes"; then
53082 SHARED_LD_CC="${CC} -G -o"
53083 SHARED_LD_CXX="${CXX} -G -o"
53089 if test "x$SUNCXX" = xyes ; then
53090 SHARED_LD_CC="${CC} -G -o"
53091 SHARED_LD_CXX="${CXX} -G -o"
53099 cat <<EOF >shared-ld-sh
53101 #-----------------------------------------------------------------------------
53102 #-- Name: distrib/mac/shared-ld-sh
53103 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
53104 #-- Author: Gilles Depeyrot
53105 #-- Copyright: (c) 2002 Gilles Depeyrot
53106 #-- Licence: any use permitted
53107 #-----------------------------------------------------------------------------
53112 linking_flag="-dynamiclib"
53113 ldargs="-r -keep_private_externs -nostdlib"
53115 if test "x${D}CXX" = "x"; then
53119 while test ${D}# -gt 0; do
53126 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
53127 # collect these options and values
53128 args="${D}{args} ${D}1 ${D}2"
53133 # collect these options and values
53134 ldargs="${D}{ldargs} ${D}1 ${D}2"
53139 # collect these load args
53140 ldargs="${D}{ldargs} ${D}1"
53143 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
53144 # collect these options
53145 args="${D}{args} ${D}1"
53148 -dynamiclib|-bundle)
53149 linking_flag="${D}1"
53153 echo "shared-ld: unhandled option '${D}1'"
53157 *.o | *.a | *.dylib)
53158 # collect object files
53159 objects="${D}{objects} ${D}1"
53163 echo "shared-ld: unhandled argument '${D}1'"
53174 # Link one module containing all the others
53176 if test ${D}{verbose} = 1; then
53177 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
53179 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
53183 # Link the shared library from the single module created, but only if the
53184 # previous command didn't fail:
53186 if test ${D}{status} = 0; then
53187 if test ${D}{verbose} = 1; then
53188 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
53190 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
53195 # Remove intermediate module
53197 rm -f master.${D}${D}.o
53202 chmod +x shared-ld-sh
53204 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
53205 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
53208 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
53209 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
53210 if test "${bakefile_cv_gcc31+set}" = set; then
53211 echo $ECHO_N "(cached) $ECHO_C" >&6
53214 cat >conftest.$ac_ext <<_ACEOF
53217 cat confdefs.h >>conftest.$ac_ext
53218 cat >>conftest.$ac_ext <<_ACEOF
53219 /* end confdefs.h. */
53225 #if (__GNUC__ < 3) || \
53226 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
53234 rm -f conftest.$ac_objext
53235 if { (ac_try="$ac_compile"
53236 case "(($ac_try" in
53237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
53238 *) ac_try_echo
=$ac_try;;
53240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53241 (eval "$ac_compile") 2>conftest.er1
53243 grep -v '^ *+' conftest.er1
>conftest.err
53245 cat conftest.err
>&5
53246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53247 (exit $ac_status); } && {
53248 test -z "$ac_c_werror_flag" ||
53249 test ! -s conftest.err
53250 } && test -s conftest.
$ac_objext; then
53252 bakefile_cv_gcc31
=yes
53255 echo "$as_me: failed program was:" >&5
53256 sed 's/^/| /' conftest.
$ac_ext >&5
53259 bakefile_cv_gcc31
=no
53264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53267 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
53268 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
53269 if test "$bakefile_cv_gcc31" = "no"; then
53270 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
53271 SHARED_LD_CXX
="$SHARED_LD_CC"
53273 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
53274 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
53277 if test "x$GCC" == "xyes"; then
53278 PIC_FLAG
="-dynamic -fPIC"
53280 if test "x$XLCC" = "xyes"; then
53281 PIC_FLAG
="-dynamic -DPIC"
53286 if test "x$GCC" = "xyes"; then
53289 case "${BAKEFILE_HOST}" in
53291 LD_EXPFULL
="-Wl,-bexpfull"
53295 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
53296 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
53298 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
53299 set dummy makeC
++SharedLib
; ac_word
=$2
53300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53302 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
53303 echo $ECHO_N "(cached) $ECHO_C" >&6
53305 if test -n "$AIX_CXX_LD"; then
53306 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
53308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53309 for as_dir
in $PATH
53312 test -z "$as_dir" && as_dir
=.
53313 for ac_exec_ext
in '' $ac_executable_extensions; do
53314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53315 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
53316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53323 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
53326 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
53327 if test -n "$AIX_CXX_LD"; then
53328 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
53329 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
53331 { echo "$as_me:$LINENO: result: no" >&5
53332 echo "${ECHO_T}no" >&6; }
53336 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
53337 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
53342 SHARED_LD_CC
="${LD} -nostart -o"
53343 SHARED_LD_CXX
="${LD} -nostart -o"
53347 if test "x$GCC" != "xyes"; then
53352 *-*-cygwin* | *-*-mingw32* )
53354 SHARED_LD_CC
="\$(CC) -shared -o"
53355 SHARED_LD_CXX
="\$(CXX) -shared -o"
53359 *-pc-os2_emx | *-pc-os2-emx )
53360 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53361 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53365 cat <<EOF >dllar.sh
53368 # dllar - a tool to build both a .dll and an .a file
53369 # from a set of object (.o) files for EMX/OS2.
53371 # Written by Andrew Zabolotny, bit@freya.etu.ru
53372 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
53374 # This script will accept a set of files on the command line.
53375 # All the public symbols from the .o files will be exported into
53376 # a .DEF file, then linker will be run (through gcc) against them to
53377 # build a shared library consisting of all given .o files. All libraries
53378 # (.a) will be first decompressed into component .o files then act as
53379 # described above. You can optionally give a description (-d "description")
53380 # which will be put into .DLL. To see the list of accepted options (as well
53381 # as command-line format) simply run this program without options. The .DLL
53382 # is built to be imported by name (there is no guarantee that new versions
53383 # of the library you build will have same ordinals for same symbols).
53385 # dllar is free software; you can redistribute it and/or modify
53386 # it under the terms of the GNU General Public License as published by
53387 # the Free Software Foundation; either version 2, or (at your option)
53388 # any later version.
53390 # dllar is distributed in the hope that it will be useful,
53391 # but WITHOUT ANY WARRANTY; without even the implied warranty of
53392 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53393 # GNU General Public License for more details.
53395 # You should have received a copy of the GNU General Public License
53396 # along with dllar; see the file COPYING. If not, write to the Free
53397 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
53400 # To successfuly run this program you will need:
53401 # - Current drive should have LFN support (HPFS, ext2, network, etc)
53402 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
53404 # (used to build the .dll)
53406 # (used to create .def file from .o files)
53408 # (used to create .a file from .def file)
53409 # - GNU text utilites (cat, sort, uniq)
53410 # used to process emxexp output
53411 # - GNU file utilities (mv, rm)
53413 # - lxlite (optional, see flag below)
53414 # (used for general .dll cleanup)
53421 # basnam, variant of basename, which does _not_ remove the path, _iff_
53422 # second argument (suffix to remove) is given
53426 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
53429 echo ${D}1 | sed 's/'${D}2'${D}//'
53432 echo "error in basnam ${D}*"
53438 # Cleanup temporary files and output
53441 for i in ${D}inputFiles ; do
53444 rm -rf \`basnam ${D}i !\`
53451 # Kill result in case of failure as there is just to many stupid make/nmake
53452 # things out there which doesn't do this.
53453 if [ ${D}# -eq 0 ]; then
53454 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
53458 # Print usage and exit script with rc=1.
53460 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
53461 echo ' [-name-mangler-script script.sh]'
53462 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
53463 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
53464 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
53465 echo ' [*.o] [*.a]'
53466 echo '*> "output_file" should have no extension.'
53467 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
53468 echo ' The import library name is derived from this and is set to "name".a,'
53469 echo ' unless overridden by -import'
53470 echo '*> "importlib_name" should have no extension.'
53471 echo ' If it has the .o, or .a extension, it is automatically removed.'
53472 echo ' This name is used as the import library name and may be longer and'
53473 echo ' more descriptive than the DLL name which has to follow the old '
53474 echo ' 8.3 convention of FAT.'
53475 echo '*> "script.sh may be given to override the output_file name by a'
53476 echo ' different name. It is mainly useful if the regular make process'
53477 echo ' of some package does not take into account OS/2 restriction of'
53478 echo ' DLL name lengths. It takes the importlib name as input and is'
53479 echo ' supposed to procude a shorter name as output. The script should'
53480 echo ' expect to get importlib_name without extension and should produce'
53481 echo ' a (max.) 8 letter name without extension.'
53482 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
53483 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
53484 echo ' These flags will be put at the start of GCC command line.'
53485 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
53486 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
53487 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
53488 echo ' If the last character of a symbol is "*", all symbols beginning'
53489 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
53490 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
53491 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
53492 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
53493 echo ' C runtime DLLs.'
53494 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
53495 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
53496 echo ' unchanged to GCC at the end of command line.'
53497 echo '*> If you create a DLL from a library and you do not specify -o,'
53498 echo ' the basename for DLL and import library will be set to library name,'
53499 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
53500 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
53501 echo ' library will be renamed into gcc_s.a.'
53504 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
53505 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
53510 # Execute a command.
53511 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
53512 # @Uses Whatever CleanUp() uses.
53518 if [ ${D}rcCmd -ne 0 ]; then
53519 echo "command failed, exit code="${D}rcCmd
53534 CFLAGS="-s -Zcrtdll"
53536 EXPORT_BY_ORDINALS=0
53541 case ${D}curDirS in
53545 curDirS=${D}{curDirS}"/"
53548 # Parse commandline
53551 while [ ${D}1 ]; do
53554 EXPORT_BY_ORDINALS=1;
53564 -name-mangler-script)
53585 exclude_symbols=${D}{exclude_symbols}${D}1" "
53589 library_flags=${D}{library_flags}${D}1" "
53608 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53611 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
53612 if [ ${D}omfLinking -eq 1 ]; then
53613 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
53615 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
53620 if [ ${D}libsToLink -ne 0 ]; then
53621 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53623 for file in ${D}1 ; do
53624 if [ -f ${D}file ]; then
53625 inputFiles="${D}{inputFiles} ${D}file"
53629 if [ ${D}found -eq 0 ]; then
53630 echo "ERROR: No file(s) found: "${D}1
53637 done # iterate cmdline words
53640 if [ -z "${D}inputFiles" ]; then
53641 echo "dllar: no input files"
53645 # Now extract all .o files from .a files
53647 for file in ${D}inputFiles ; do
53658 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
53663 dirname=\`basnam ${D}file ${D}suffix\`"_%"
53665 if [ ${D}? -ne 0 ]; then
53666 echo "Failed to create subdirectory ./${D}dirname"
53670 # Append '!' to indicate archive
53671 newInputFiles="${D}newInputFiles ${D}{dirname}!"
53672 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
53675 for subfile in ${D}dirname/*.o* ; do
53676 if [ -f ${D}subfile ]; then
53678 if [ -s ${D}subfile ]; then
53679 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
53680 newInputFiles="${D}newInputFiles ${D}subfile"
53684 if [ ${D}found -eq 0 ]; then
53685 echo "WARNING: there are no files in archive \\'${D}file\\'"
53689 newInputFiles="${D}{newInputFiles} ${D}file"
53693 inputFiles="${D}newInputFiles"
53695 # Output filename(s).
53697 if [ -z ${D}outFile ]; then
53699 set outFile ${D}inputFiles; outFile=${D}2
53702 # If it is an archive, remove the '!' and the '_%' suffixes
53703 case ${D}outFile in
53705 outFile=\`basnam ${D}outFile _%!\`
53710 case ${D}outFile in
53712 outFile=\`basnam ${D}outFile .dll\`
53715 outFile=\`basnam ${D}outFile .DLL\`
53718 outFile=\`basnam ${D}outFile .o\`
53721 outFile=\`basnam ${D}outFile .obj\`
53724 outFile=\`basnam ${D}outFile .a\`
53727 outFile=\`basnam ${D}outFile .lib\`
53732 case ${D}outimpFile in
53734 outimpFile=\`basnam ${D}outimpFile .a\`
53737 outimpFile=\`basnam ${D}outimpFile .lib\`
53742 if [ -z ${D}outimpFile ]; then
53743 outimpFile=${D}outFile
53745 defFile="${D}{outFile}.def"
53746 arcFile="${D}{outimpFile}.a"
53747 arcFile2="${D}{outimpFile}.lib"
53749 #create ${D}dllFile as something matching 8.3 restrictions,
53750 if [ -z ${D}renameScript ] ; then
53751 dllFile="${D}outFile"
53753 dllFile=\`${D}renameScript ${D}outimpFile\`
53756 if [ ${D}do_backup -ne 0 ] ; then
53757 if [ -f ${D}arcFile ] ; then
53758 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
53760 if [ -f ${D}arcFile2 ] ; then
53761 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
53765 # Extract public symbols from all the object files.
53766 tmpdefFile=${D}{defFile}_%
53767 rm -f ${D}tmpdefFile
53768 for file in ${D}inputFiles ; do
53773 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
53778 # Create the def file.
53780 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
53781 dllFile="${D}{dllFile}.dll"
53782 if [ ! -z ${D}description ]; then
53783 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
53785 echo "EXPORTS" >> ${D}defFile
53787 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
53788 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
53790 # Checks if the export is ok or not.
53791 for word in ${D}exclude_symbols; do
53792 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
53793 mv ${D}{tmpdefFile}% ${D}tmpdefFile
53797 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53798 sed "=" < ${D}tmpdefFile | \\
53802 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
53804 ' > ${D}{tmpdefFile}%
53805 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
53807 rm -f ${D}{tmpdefFile}%
53809 cat ${D}tmpdefFile >> ${D}defFile
53810 rm -f ${D}tmpdefFile
53812 # Do linking, create implib, and apply lxlite.
53814 for file in ${D}inputFiles ; do
53819 gccCmdl="${D}gccCmdl ${D}file"
53823 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
53824 touch "${D}{outFile}.dll"
53826 doCommand "emximp -o ${D}arcFile ${D}defFile"
53827 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
53829 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53832 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
53834 doCommand "emxomf -s -l ${D}arcFile"
53844 powerpc
-apple-macos* | \
53845 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
53855 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
53856 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
53857 { (exit 1); exit 1; }; }
53860 if test "x$PIC_FLAG" != "x" ; then
53861 PIC_FLAG
="$PIC_FLAG -DPIC"
53864 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
53865 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
53867 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
53868 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
53883 USE_SOTWOSYMLINKS
=0
53887 case "${BAKEFILE_HOST}" in
53888 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
53889 *-*-k*bsd
*-gnu | *-*-mirbsd* )
53890 if test "x$SUNCXX" = "xyes"; then
53893 SONAME_FLAG
="-Wl,-soname,"
53897 USE_SOTWOSYMLINKS
=1
53909 USE_SOTWOSYMLINKS
=1
53927 # Check whether --enable-dependency-tracking was given.
53928 if test "${enable_dependency_tracking+set}" = set; then
53929 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
53933 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
53934 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
53937 if test "x$bk_use_trackdeps" = "xno" ; then
53939 { echo "$as_me:$LINENO: result: disabled" >&5
53940 echo "${ECHO_T}disabled" >&6; }
53944 if test "x$GCC" = "xyes"; then
53946 case "${BAKEFILE_HOST}" in
53948 DEPSFLAG
="-no-cpp-precomp -MMD"
53954 { echo "$as_me:$LINENO: result: gcc" >&5
53955 echo "${ECHO_T}gcc" >&6; }
53956 elif test "x$MWCC" = "xyes"; then
53959 { echo "$as_me:$LINENO: result: mwcc" >&5
53960 echo "${ECHO_T}mwcc" >&6; }
53961 elif test "x$SUNCC" = "xyes"; then
53964 { echo "$as_me:$LINENO: result: Sun cc" >&5
53965 echo "${ECHO_T}Sun cc" >&6; }
53966 elif test "x$SGICC" = "xyes"; then
53969 { echo "$as_me:$LINENO: result: SGI cc" >&5
53970 echo "${ECHO_T}SGI cc" >&6; }
53971 elif test "x$HPCC" = "xyes"; then
53974 { echo "$as_me:$LINENO: result: HP cc" >&5
53975 echo "${ECHO_T}HP cc" >&6; }
53976 elif test "x$COMPAQCC" = "xyes"; then
53979 { echo "$as_me:$LINENO: result: Compaq cc" >&5
53980 echo "${ECHO_T}Compaq cc" >&6; }
53983 { echo "$as_me:$LINENO: result: none" >&5
53984 echo "${ECHO_T}none" >&6; }
53987 if test $DEPS_TRACKING = 1 ; then
53993 # This script is part of Bakefile (http://www.bakefile.org) autoconf
53994 # script. It is used to track C/C++ files dependencies in portable way.
53996 # Permission is given to use this file in any way.
53998 DEPSMODE=${DEPSMODE}
53999 DEPSFLAG="${DEPSFLAG}"
54002 if test ${D}DEPSMODE = gcc ; then
54003 ${D}* ${D}{DEPSFLAG}
54006 # determine location of created files:
54007 while test ${D}# -gt 0; do
54021 objfilebase=\`basename ${D}objfile\`
54022 builddir=\`dirname ${D}objfile\`
54023 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
54024 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
54025 depsdir=${D}builddir/${D}DEPSDIRBASE
54026 mkdir -p ${D}depsdir
54028 # if the compiler failed, we're done:
54029 if test ${D}{status} != 0 ; then
54034 # move created file to the location we want it in:
54035 if test -f ${D}depfile ; then
54036 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
54039 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
54040 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
54041 if test ! -f ${D}depfile ; then
54042 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
54043 depfile="${D}objfile.d"
54045 if test -f ${D}depfile ; then
54046 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
54052 elif test ${D}DEPSMODE = mwcc ; then
54053 ${D}* || exit ${D}?
54054 # Run mwcc again with -MM and redirect into the dep file we want
54055 # NOTE: We can't use shift here because we need ${D}* to be valid
54057 for arg in ${D}* ; do
54058 if test "${D}prevarg" = "-o"; then
54072 objfilebase=\`basename ${D}objfile\`
54073 builddir=\`dirname ${D}objfile\`
54074 depsdir=${D}builddir/${D}DEPSDIRBASE
54075 mkdir -p ${D}depsdir
54077 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
54080 elif test ${D}DEPSMODE = unixcc; then
54081 ${D}* || exit ${D}?
54082 # Run compiler again with deps flag and redirect into the dep file.
54083 # It doesn't work if the '-o FILE' option is used, but without it the
54084 # dependency file will contain the wrong name for the object. So it is
54085 # removed from the command line, and the dep file is fixed with sed.
54087 while test ${D}# -gt 0; do
54094 eval arg${D}#=\\${D}1
54095 cmd="${D}cmd \\${D}arg${D}#"
54101 objfilebase=\`basename ${D}objfile\`
54102 builddir=\`dirname ${D}objfile\`
54103 depsdir=${D}builddir/${D}DEPSDIRBASE
54104 mkdir -p ${D}depsdir
54106 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
54116 BK_DEPS
="`pwd`/bk-deps"
54124 case ${BAKEFILE_HOST} in
54125 *-*-cygwin* | *-*-mingw32* )
54126 if test -n "$ac_tool_prefix"; then
54127 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
54128 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
54129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54131 if test "${ac_cv_prog_WINDRES+set}" = set; then
54132 echo $ECHO_N "(cached) $ECHO_C" >&6
54134 if test -n "$WINDRES"; then
54135 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
54137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54138 for as_dir
in $PATH
54141 test -z "$as_dir" && as_dir
=.
54142 for ac_exec_ext
in '' $ac_executable_extensions; do
54143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54144 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
54145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54154 WINDRES
=$ac_cv_prog_WINDRES
54155 if test -n "$WINDRES"; then
54156 { echo "$as_me:$LINENO: result: $WINDRES" >&5
54157 echo "${ECHO_T}$WINDRES" >&6; }
54159 { echo "$as_me:$LINENO: result: no" >&5
54160 echo "${ECHO_T}no" >&6; }
54165 if test -z "$ac_cv_prog_WINDRES"; then
54166 ac_ct_WINDRES
=$WINDRES
54167 # Extract the first word of "windres", so it can be a program name with args.
54168 set dummy windres
; ac_word
=$2
54169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54171 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
54172 echo $ECHO_N "(cached) $ECHO_C" >&6
54174 if test -n "$ac_ct_WINDRES"; then
54175 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
54177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54178 for as_dir
in $PATH
54181 test -z "$as_dir" && as_dir
=.
54182 for ac_exec_ext
in '' $ac_executable_extensions; do
54183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54184 ac_cv_prog_ac_ct_WINDRES
="windres"
54185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54194 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
54195 if test -n "$ac_ct_WINDRES"; then
54196 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
54197 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
54199 { echo "$as_me:$LINENO: result: no" >&5
54200 echo "${ECHO_T}no" >&6; }
54203 if test "x$ac_ct_WINDRES" = x
; then
54206 case $cross_compiling:$ac_tool_warned in
54208 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54209 whose name does not start with the host triplet. If you think this
54210 configuration is useful to you, please write to autoconf@gnu.org." >&5
54211 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54212 whose name does not start with the host triplet. If you think this
54213 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54214 ac_tool_warned
=yes ;;
54216 WINDRES
=$ac_ct_WINDRES
54219 WINDRES
="$ac_cv_prog_WINDRES"
54224 *-*-darwin* | powerpc
-apple-macos* )
54225 # Extract the first word of "Rez", so it can be a program name with args.
54226 set dummy Rez
; ac_word
=$2
54227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54229 if test "${ac_cv_prog_REZ+set}" = set; then
54230 echo $ECHO_N "(cached) $ECHO_C" >&6
54232 if test -n "$REZ"; then
54233 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
54235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54236 for as_dir
in $PATH
54239 test -z "$as_dir" && as_dir
=.
54240 for ac_exec_ext
in '' $ac_executable_extensions; do
54241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54242 ac_cv_prog_REZ
="Rez"
54243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54250 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
54253 REZ
=$ac_cv_prog_REZ
54254 if test -n "$REZ"; then
54255 { echo "$as_me:$LINENO: result: $REZ" >&5
54256 echo "${ECHO_T}$REZ" >&6; }
54258 { echo "$as_me:$LINENO: result: no" >&5
54259 echo "${ECHO_T}no" >&6; }
54263 # Extract the first word of "SetFile", so it can be a program name with args.
54264 set dummy SetFile
; ac_word
=$2
54265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54267 if test "${ac_cv_prog_SETFILE+set}" = set; then
54268 echo $ECHO_N "(cached) $ECHO_C" >&6
54270 if test -n "$SETFILE"; then
54271 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
54273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54274 for as_dir
in $PATH
54277 test -z "$as_dir" && as_dir
=.
54278 for ac_exec_ext
in '' $ac_executable_extensions; do
54279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54280 ac_cv_prog_SETFILE
="SetFile"
54281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54288 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
54291 SETFILE
=$ac_cv_prog_SETFILE
54292 if test -n "$SETFILE"; then
54293 { echo "$as_me:$LINENO: result: $SETFILE" >&5
54294 echo "${ECHO_T}$SETFILE" >&6; }
54296 { echo "$as_me:$LINENO: result: no" >&5
54297 echo "${ECHO_T}no" >&6; }
54312 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
54315 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
54319 # Check whether --enable-precomp-headers was given.
54320 if test "${enable_precomp_headers+set}" = set; then
54321 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
54330 case ${BAKEFILE_HOST} in
54336 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
54337 if test "x$GCC" = "xyes"; then
54338 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
54339 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
54340 cat >conftest.
$ac_ext <<_ACEOF
54343 cat confdefs.h
>>conftest.
$ac_ext
54344 cat >>conftest.
$ac_ext <<_ACEOF
54345 /* end confdefs.h. */
54351 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
54352 There is no PCH support
54355 There is no PCH support
54357 #if (__GNUC__ == 3) && \
54358 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
54359 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
54360 ( defined(__INTEL_COMPILER) )
54361 There is no PCH support
54368 rm -f conftest.
$ac_objext
54369 if { (ac_try
="$ac_compile"
54370 case "(($ac_try" in
54371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
54372 *) ac_try_echo=$ac_try;;
54374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54375 (eval "$ac_compile") 2>conftest.er1
54377 grep -v '^ *+' conftest.er1 >conftest.err
54379 cat conftest.err >&5
54380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54381 (exit $ac_status); } && {
54382 test -z "$ac_c_werror_flag" ||
54383 test ! -s conftest.err
54384 } && test -s conftest.$ac_objext; then
54386 { echo "$as_me:$LINENO: result: yes" >&5
54387 echo "${ECHO_T}yes" >&6; }
54391 echo "$as_me: failed program was:" >&5
54392 sed 's/^/| /' conftest.$ac_ext >&5
54395 if test "$INTELCXX8" = "yes"; then
54396 { echo "$as_me:$LINENO: result: yes" >&5
54397 echo "${ECHO_T}yes" >&6; }
54399 if test "$INTELCXX10" = "yes"; then
54400 ICC_PCH_CREATE_SWITCH="-pch-create"
54401 ICC_PCH_USE_SWITCH="-pch-use"
54403 ICC_PCH_CREATE_SWITCH="-create-pch"
54404 ICC_PCH_USE_SWITCH="-use-pch"
54407 { echo "$as_me:$LINENO: result: no" >&5
54408 echo "${ECHO_T}no" >&6; }
54413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54414 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
54418 cat <<EOF >bk-make-pch
54421 # This script is part of Bakefile (http://www.bakefile.org) autoconf
54422 # script. It is used to generated precompiled headers.
54424 # Permission is given to use this file in any way.
54431 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
54436 while test ${D}{#} -gt 0; do
54440 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
54441 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
54442 headerfile="${D}{incdir}/${D}{header}"
54445 -use-pch|-use_pch|-pch-use )
54450 if test ${D}add_to_cmdline = 1 ; then
54451 compiler="${D}{compiler} ${D}{1}"
54456 if test "x${D}{headerfile}" = "x" ; then
54457 echo "error: can't find header ${D}{header} in include paths" >&2
54459 if test -f ${D}{outfile} ; then
54460 rm -f ${D}{outfile}
54462 mkdir -p \`dirname ${D}{outfile
}\
`
54464 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
54465 mkdir -p ${D}{builddir}/.deps
54466 if test "x${GCC_PCH}" = "x1" ; then
54467 # can do this because gcc is >= 3.4:
54468 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
54469 elif test "x${ICC_PCH}" = "x1" ; then
54470 filename=pch_gen-${D}${D}
54471 file=${D}{filename}.c
54472 dfile=${D}{filename}.d
54473 cat > ${D}file <<EOT
54474 #include "${D}header"
54476 # using -MF icc complains about differing command lines in creation/use
54477 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
54478 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
54479 rm -f ${D}file ${D}dfile ${D}{filename}.o
54485 chmod +x bk-make-pch
54486 BK_MAKE_PCH="`pwd`/bk-make-pch"
54497 COND_BUILD_DEBUG="#"
54498 if test "x$BUILD" = "xdebug" ; then
54499 COND_BUILD_DEBUG=""
54502 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
54503 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54504 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
54507 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
54508 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54509 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
54512 COND_BUILD_DEBUG_UNICODE_0="#"
54513 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54514 COND_BUILD_DEBUG_UNICODE_0=""
54517 COND_BUILD_DEBUG_UNICODE_1="#"
54518 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54519 COND_BUILD_DEBUG_UNICODE_1=""
54522 COND_BUILD_RELEASE="#"
54523 if test "x$BUILD" = "xrelease" ; then
54524 COND_BUILD_RELEASE=""
54527 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
54528 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54529 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
54532 COND_BUILD_RELEASE_UNICODE_0="#"
54533 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54534 COND_BUILD_RELEASE_UNICODE_0=""
54537 COND_BUILD_RELEASE_UNICODE_1="#"
54538 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54539 COND_BUILD_RELEASE_UNICODE_1=""
54542 COND_BUILD_debug="#"
54543 if test "x$BUILD" = "xdebug" ; then
54544 COND_BUILD_debug=""
54547 COND_BUILD_debug_DEBUG_FLAG_default="#"
54548 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54549 COND_BUILD_debug_DEBUG_FLAG_default=""
54552 COND_BUILD_debug_DEBUG_INFO_default="#"
54553 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54554 COND_BUILD_debug_DEBUG_INFO_default=""
54557 COND_BUILD_debug_UNICODE_0="#"
54558 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54559 COND_BUILD_debug_UNICODE_0=""
54562 COND_BUILD_debug_UNICODE_1="#"
54563 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54564 COND_BUILD_debug_UNICODE_1=""
54567 COND_BUILD_release="#"
54568 if test "x$BUILD" = "xrelease" ; then
54569 COND_BUILD_release=""
54572 COND_BUILD_release_DEBUG_INFO_default="#"
54573 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54574 COND_BUILD_release_DEBUG_INFO_default=""
54577 COND_BUILD_release_UNICODE_0="#"
54578 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54579 COND_BUILD_release_UNICODE_0=""
54582 COND_BUILD_release_UNICODE_1="#"
54583 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54584 COND_BUILD_release_UNICODE_1=""
54587 COND_DEBUG_FLAG_0="#"
54588 if test "x$DEBUG_FLAG" = "x0" ; then
54589 COND_DEBUG_FLAG_0=""
54592 COND_DEBUG_FLAG_1="#"
54593 if test "x$DEBUG_FLAG" = "x1" ; then
54594 COND_DEBUG_FLAG_1=""
54597 COND_DEBUG_INFO_0="#"
54598 if test "x$DEBUG_INFO" = "x0" ; then
54599 COND_DEBUG_INFO_0=""
54602 COND_DEBUG_INFO_1="#"
54603 if test "x$DEBUG_INFO" = "x1" ; then
54604 COND_DEBUG_INFO_1=""
54607 COND_DEPS_TRACKING_0="#"
54608 if test "x$DEPS_TRACKING" = "x0" ; then
54609 COND_DEPS_TRACKING_0=""
54612 COND_DEPS_TRACKING_1="#"
54613 if test "x$DEPS_TRACKING" = "x1" ; then
54614 COND_DEPS_TRACKING_1=""
54618 if test "x$GCC_PCH" = "x1" ; then
54623 if test "x$ICC_PCH" = "x1" ; then
54627 COND_MONOLITHIC_0="#"
54628 if test "x$MONOLITHIC" = "x0" ; then
54629 COND_MONOLITHIC_0=""
54632 COND_MONOLITHIC_0_SHARED_0="#"
54633 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
54634 COND_MONOLITHIC_0_SHARED_0=""
54637 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
54638 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
54639 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
54642 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
54643 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
54644 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
54647 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
54648 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54649 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
54652 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
54653 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54654 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
54657 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
54658 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54659 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
54662 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
54663 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54664 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
54667 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
54668 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54669 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
54672 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
54673 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54674 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
54677 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
54678 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54679 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
54682 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
54683 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54684 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
54687 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
54688 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
54689 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
54692 COND_MONOLITHIC_0_SHARED_1="#"
54693 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
54694 COND_MONOLITHIC_0_SHARED_1=""
54697 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
54698 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
54699 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
54702 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
54703 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
54704 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
54707 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
54708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54709 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
54712 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
54713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54714 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
54717 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
54718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54719 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
54722 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
54723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54724 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
54727 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
54728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
54729 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
54732 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
54733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
54734 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
54737 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
54738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
54739 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
54742 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
54743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
54744 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
54747 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
54748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54749 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
54752 COND_MONOLITHIC_0_USE_AUI_1="#"
54753 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
54754 COND_MONOLITHIC_0_USE_AUI_1=""
54757 COND_MONOLITHIC_0_USE_GUI_1="#"
54758 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
54759 COND_MONOLITHIC_0_USE_GUI_1=""
54762 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
54763 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54764 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
54767 COND_MONOLITHIC_0_USE_HTML_1="#"
54768 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
54769 COND_MONOLITHIC_0_USE_HTML_1=""
54772 COND_MONOLITHIC_0_USE_MEDIA_1="#"
54773 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
54774 COND_MONOLITHIC_0_USE_MEDIA_1=""
54777 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
54778 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54779 COND_MONOLITHIC_0_USE_PROPGRID_1=""
54782 COND_MONOLITHIC_0_USE_QA_1="#"
54783 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
54784 COND_MONOLITHIC_0_USE_QA_1=""
54787 COND_MONOLITHIC_0_USE_RIBBON_1="#"
54788 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54789 COND_MONOLITHIC_0_USE_RIBBON_1=""
54792 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
54793 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54794 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
54797 COND_MONOLITHIC_0_USE_STC_1="#"
54798 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
54799 COND_MONOLITHIC_0_USE_STC_1=""
54802 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
54803 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
54804 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
54807 COND_MONOLITHIC_0_USE_XRC_1="#"
54808 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
54809 COND_MONOLITHIC_0_USE_XRC_1=""
54812 COND_MONOLITHIC_1="#"
54813 if test "x$MONOLITHIC" = "x1" ; then
54814 COND_MONOLITHIC_1=""
54817 COND_MONOLITHIC_1_SHARED_0="#"
54818 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
54819 COND_MONOLITHIC_1_SHARED_0=""
54822 COND_MONOLITHIC_1_SHARED_1="#"
54823 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
54824 COND_MONOLITHIC_1_SHARED_1=""
54827 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
54828 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
54829 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
54832 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
54833 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
54834 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
54837 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
54838 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54839 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
54842 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
54843 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54844 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
54847 COND_PLATFORM_MACOSX_1="#"
54848 if test "x$PLATFORM_MACOSX" = "x1" ; then
54849 COND_PLATFORM_MACOSX_1=""
54852 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
54853 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
54854 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
54857 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
54858 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54859 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
54862 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54863 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54864 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54867 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
54868 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54869 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
54872 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54873 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54874 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54877 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
54878 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54879 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
54882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54883 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54888 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54892 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
54893 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
54894 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
54897 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
54898 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54899 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
54902 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
54903 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54904 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
54907 COND_PLATFORM_MACOS_1="#"
54908 if test "x$PLATFORM_MACOS" = "x1" ; then
54909 COND_PLATFORM_MACOS_1=""
54912 COND_PLATFORM_MAC_0="#"
54913 if test "x$PLATFORM_MAC" = "x0" ; then
54914 COND_PLATFORM_MAC_0=""
54917 COND_PLATFORM_MAC_1="#"
54918 if test "x$PLATFORM_MAC" = "x1" ; then
54919 COND_PLATFORM_MAC_1=""
54922 COND_PLATFORM_MSDOS_0="#"
54923 if test "x$PLATFORM_MSDOS" = "x0" ; then
54924 COND_PLATFORM_MSDOS_0=""
54927 COND_PLATFORM_MSDOS_1="#"
54928 if test "x$PLATFORM_MSDOS" = "x1" ; then
54929 COND_PLATFORM_MSDOS_1=""
54932 COND_PLATFORM_OS2_1="#"
54933 if test "x$PLATFORM_OS2" = "x1" ; then
54934 COND_PLATFORM_OS2_1=""
54937 COND_PLATFORM_UNIX_0="#"
54938 if test "x$PLATFORM_UNIX" = "x0" ; then
54939 COND_PLATFORM_UNIX_0=""
54942 COND_PLATFORM_UNIX_1="#"
54943 if test "x$PLATFORM_UNIX" = "x1" ; then
54944 COND_PLATFORM_UNIX_1=""
54947 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
54948 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
54949 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
54952 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
54953 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
54954 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
54957 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
54958 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
54959 COND_PLATFORM_UNIX_1_USE_GUI_1=""
54962 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
54963 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
54964 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
54967 COND_PLATFORM_WIN32_0="#"
54968 if test "x$PLATFORM_WIN32" = "x0" ; then
54969 COND_PLATFORM_WIN32_0=""
54972 COND_PLATFORM_WIN32_1="#"
54973 if test "x$PLATFORM_WIN32" = "x1" ; then
54974 COND_PLATFORM_WIN32_1=""
54977 COND_PLATFORM_WIN32_1_SHARED_0="#"
54978 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54979 COND_PLATFORM_WIN32_1_SHARED_0=""
54983 if test "x$SHARED" = "x0" ; then
54987 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
54988 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
54989 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
54992 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
54993 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54994 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
54997 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
54998 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
54999 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
55002 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
55003 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55004 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
55007 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55008 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55009 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55012 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55013 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55014 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55017 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55018 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55019 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55022 COND_SHARED_0_USE_STC_1="#"
55023 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
55024 COND_SHARED_0_USE_STC_1=""
55027 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
55028 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
55029 COND_SHARED_0_wxUSE_EXPAT_builtin=""
55032 COND_SHARED_0_wxUSE_REGEX_builtin="#"
55033 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
55034 COND_SHARED_0_wxUSE_REGEX_builtin=""
55037 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
55038 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
55039 COND_SHARED_0_wxUSE_ZLIB_builtin=""
55043 if test "x$SHARED" = "x1" ; then
55047 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
55048 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55049 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
55053 if test "x$TOOLKIT" = "x" ; then
55057 COND_TOOLKIT_COCOA="#"
55058 if test "x$TOOLKIT" = "xCOCOA" ; then
55059 COND_TOOLKIT_COCOA=""
55062 COND_TOOLKIT_COCOA_USE_GUI_1="#"
55063 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
55064 COND_TOOLKIT_COCOA_USE_GUI_1=""
55067 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
55068 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55069 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
55072 COND_TOOLKIT_DFB="#"
55073 if test "x$TOOLKIT" = "xDFB" ; then
55074 COND_TOOLKIT_DFB=""
55077 COND_TOOLKIT_DFB_USE_GUI_1="#"
55078 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
55079 COND_TOOLKIT_DFB_USE_GUI_1=""
55082 COND_TOOLKIT_GTK="#"
55083 if test "x$TOOLKIT" = "xGTK" ; then
55084 COND_TOOLKIT_GTK=""
55087 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
55088 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
55089 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
55092 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
55093 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
55094 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
55097 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
55098 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
55099 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
55102 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
55103 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55104 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
55107 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
55108 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
55109 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
55112 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
55113 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55114 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
55117 COND_TOOLKIT_GTK_USE_GUI_1="#"
55118 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
55119 COND_TOOLKIT_GTK_USE_GUI_1=""
55122 COND_TOOLKIT_MAC="#"
55123 if test "x$TOOLKIT" = "xMAC" ; then
55124 COND_TOOLKIT_MAC=""
55127 COND_TOOLKIT_MGL="#"
55128 if test "x$TOOLKIT" = "xMGL" ; then
55129 COND_TOOLKIT_MGL=""
55132 COND_TOOLKIT_MGL_USE_GUI_1="#"
55133 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
55134 COND_TOOLKIT_MGL_USE_GUI_1=""
55137 COND_TOOLKIT_MOTIF="#"
55138 if test "x$TOOLKIT" = "xMOTIF" ; then
55139 COND_TOOLKIT_MOTIF=""
55142 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
55143 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
55144 COND_TOOLKIT_MOTIF_USE_GUI_1=""
55147 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
55148 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55149 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
55152 COND_TOOLKIT_MSW="#"
55153 if test "x$TOOLKIT" = "xMSW" ; then
55154 COND_TOOLKIT_MSW=""
55157 COND_TOOLKIT_MSW_USE_GUI_1="#"
55158 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
55159 COND_TOOLKIT_MSW_USE_GUI_1=""
55162 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
55163 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55164 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
55167 COND_TOOLKIT_MSW_WXUNIV_0="#"
55168 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
55169 COND_TOOLKIT_MSW_WXUNIV_0=""
55172 COND_TOOLKIT_OSX_CARBON="#"
55173 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
55174 COND_TOOLKIT_OSX_CARBON=""
55177 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
55178 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
55179 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
55182 COND_TOOLKIT_OSX_COCOA="#"
55183 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
55184 COND_TOOLKIT_OSX_COCOA=""
55187 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
55188 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
55189 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
55192 COND_TOOLKIT_OSX_IPHONE="#"
55193 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
55194 COND_TOOLKIT_OSX_IPHONE=""
55197 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
55198 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
55199 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
55202 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
55203 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55204 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
55207 COND_TOOLKIT_PM="#"
55208 if test "x$TOOLKIT" = "xPM" ; then
55212 COND_TOOLKIT_PM_USE_GUI_1="#"
55213 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
55214 COND_TOOLKIT_PM_USE_GUI_1=""
55217 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
55218 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55219 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
55222 COND_TOOLKIT_WINCE="#"
55223 if test "x$TOOLKIT" = "xWINCE" ; then
55224 COND_TOOLKIT_WINCE=""
55227 COND_TOOLKIT_WINCE_USE_GUI_1="#"
55228 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
55229 COND_TOOLKIT_WINCE_USE_GUI_1=""
55232 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
55233 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55234 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
55237 COND_TOOLKIT_WINCE_WXUNIV_0="#"
55238 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
55239 COND_TOOLKIT_WINCE_WXUNIV_0=""
55242 COND_TOOLKIT_X11="#"
55243 if test "x$TOOLKIT" = "xX11" ; then
55244 COND_TOOLKIT_X11=""
55247 COND_TOOLKIT_X11_USE_GUI_1="#"
55248 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
55249 COND_TOOLKIT_X11_USE_GUI_1=""
55253 if test "x$UNICODE" = "x1" ; then
55257 COND_USE_CAIRO_1="#"
55258 if test "x$USE_CAIRO" = "x1" ; then
55259 COND_USE_CAIRO_1=""
55262 COND_USE_EXCEPTIONS_0="#"
55263 if test "x$USE_EXCEPTIONS" = "x0" ; then
55264 COND_USE_EXCEPTIONS_0=""
55267 COND_USE_EXCEPTIONS_1="#"
55268 if test "x$USE_EXCEPTIONS" = "x1" ; then
55269 COND_USE_EXCEPTIONS_1=""
55273 if test "x$USE_GUI" = "x0" ; then
55278 if test "x$USE_GUI" = "x1" ; then
55282 COND_USE_GUI_1_USE_OPENGL_1="#"
55283 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55284 COND_USE_GUI_1_USE_OPENGL_1=""
55287 COND_USE_GUI_1_WXUNIV_0="#"
55288 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55289 COND_USE_GUI_1_WXUNIV_0=""
55292 COND_USE_GUI_1_WXUNIV_1="#"
55293 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
55294 COND_USE_GUI_1_WXUNIV_1=""
55297 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
55298 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55299 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
55302 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
55303 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55304 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
55307 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
55308 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55309 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
55312 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55313 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55314 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55317 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55318 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55319 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55322 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55323 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55324 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55327 COND_USE_OPENGL_1="#"
55328 if test "x$USE_OPENGL" = "x1" ; then
55329 COND_USE_OPENGL_1=""
55333 if test "x$USE_PCH" = "x1" ; then
55337 COND_USE_PLUGINS_0="#"
55338 if test "x$USE_PLUGINS" = "x0" ; then
55339 COND_USE_PLUGINS_0=""
55342 COND_USE_RTTI_0="#"
55343 if test "x$USE_RTTI" = "x0" ; then
55347 COND_USE_RTTI_1="#"
55348 if test "x$USE_RTTI" = "x1" ; then
55352 COND_USE_SOTWOSYMLINKS_1="#"
55353 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
55354 COND_USE_SOTWOSYMLINKS_1=""
55357 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
55358 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
55359 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
55362 COND_USE_SOVERLINUX_1="#"
55363 if test "x$USE_SOVERLINUX" = "x1" ; then
55364 COND_USE_SOVERLINUX_1=""
55367 COND_USE_SOVERSION_0="#"
55368 if test "x$USE_SOVERSION" = "x0" ; then
55369 COND_USE_SOVERSION_0=""
55372 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
55373 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
55374 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
55377 COND_USE_SOVERSOLARIS_1="#"
55378 if test "x$USE_SOVERSOLARIS" = "x1" ; then
55379 COND_USE_SOVERSOLARIS_1=""
55383 if test "x$USE_STC" = "x1" ; then
55387 COND_USE_THREADS_0="#"
55388 if test "x$USE_THREADS" = "x0" ; then
55389 COND_USE_THREADS_0=""
55392 COND_USE_THREADS_1="#"
55393 if test "x$USE_THREADS" = "x1" ; then
55394 COND_USE_THREADS_1=""
55398 if test "x$USE_XRC" = "x1" ; then
55402 COND_WINDOWS_IMPLIB_1="#"
55403 if test "x$WINDOWS_IMPLIB" = "x1" ; then
55404 COND_WINDOWS_IMPLIB_1=""
55407 COND_WITH_PLUGIN_SDL_1="#"
55408 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
55409 COND_WITH_PLUGIN_SDL_1=""
55413 if test "x$WXUNIV" = "x0" ; then
55418 if test "x$WXUNIV" = "x1" ; then
55422 COND_WXUSE_EXPAT_BUILTIN="#"
55423 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55424 COND_WXUSE_EXPAT_BUILTIN=""
55427 COND_WXUSE_LIBJPEG_BUILTIN="#"
55428 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55429 COND_WXUSE_LIBJPEG_BUILTIN=""
55432 COND_WXUSE_LIBPNG_BUILTIN="#"
55433 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55434 COND_WXUSE_LIBPNG_BUILTIN=""
55437 COND_WXUSE_LIBTIFF_BUILTIN="#"
55438 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55439 COND_WXUSE_LIBTIFF_BUILTIN=""
55442 COND_WXUSE_REGEX_BUILTIN="#"
55443 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55444 COND_WXUSE_REGEX_BUILTIN=""
55447 COND_WXUSE_ZLIB_BUILTIN="#"
55448 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55449 COND_WXUSE_ZLIB_BUILTIN=""
55452 COND_wxUSE_EXPAT_builtin="#"
55453 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55454 COND_wxUSE_EXPAT_builtin=""
55457 COND_wxUSE_LIBJPEG_builtin="#"
55458 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55459 COND_wxUSE_LIBJPEG_builtin=""
55462 COND_wxUSE_LIBPNG_builtin="#"
55463 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55464 COND_wxUSE_LIBPNG_builtin=""
55467 COND_wxUSE_LIBTIFF_builtin="#"
55468 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55469 COND_wxUSE_LIBTIFF_builtin=""
55472 COND_wxUSE_REGEX_builtin="#"
55473 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55474 COND_wxUSE_REGEX_builtin=""
55477 COND_wxUSE_ZLIB_builtin="#"
55478 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55479 COND_wxUSE_ZLIB_builtin=""
55484 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
55485 { { 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
55486 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;}
55487 { (exit 1); exit 1; }; }
55490 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
55491 { { 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
55492 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;}
55493 { (exit 1); exit 1; }; }
55500 ?:* ) # Drive letter, considered as absolute.
55503 INSTALL=`pwd`/${INSTALL} ;;
55506 if test "$wxUSE_GUI" = "yes"; then
55508 if test "$wxUSE_MSW" = 1 ; then
55509 if test "x$WINDRES" = "x"; then
55510 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
55511 echo "$as_me: error: Required windres program not found" >&2;}
55512 { (exit 1); exit 1; }; }
55518 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
55519 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
55520 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
55522 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
55524 # Extract the first word of "DeRez", so it can be a program name with args.
55525 set dummy DeRez; ac_word=$2
55526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55528 if test "${ac_cv_prog_DEREZ+set}" = set; then
55529 echo $ECHO_N "(cached) $ECHO_C" >&6
55531 if test -n "$DEREZ"; then
55532 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
55534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55535 for as_dir in $PATH
55538 test -z "$as_dir" && as_dir=.
55539 for ac_exec_ext in '' $ac_executable_extensions; do
55540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55541 ac_cv_prog_DEREZ="DeRez"
55542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55549 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
55552 DEREZ=$ac_cv_prog_DEREZ
55553 if test -n "$DEREZ"; then
55554 { echo "$as_me:$LINENO: result: $DEREZ" >&5
55555 echo "${ECHO_T}$DEREZ" >&6; }
55557 { echo "$as_me:$LINENO: result: no" >&5
55558 echo "${ECHO_T}no" >&6; }
55563 MACSETFILE="\$(SETFILE)"
55565 if test "$wxUSE_OSX_CARBON" = 1; then
55566 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
55568 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
55570 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
55571 RESCOMP="cat /dev/null \| $REZ"
55572 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
55578 if test "$wxUSE_PM" = 1; then
55580 WXCONFIG_RESFLAGS="-ep"
55582 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
55584 POSTLINK_COMMAND="@true"
55591 if test $GCC_PCH = 1
55593 if test "$wx_cv_gcc_pch_bug" = yes; then
55594 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
55595 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
55596 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
55597 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
55598 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
55599 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
55602 # Our WX_PRECOMP flag does not make sense for any language except C++ because
55603 # the headers that benefit from precompilation are mostly C++ headers.
55604 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55605 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
55606 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55610 if test "$wxUSE_MAC" = 1 ; then
55611 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
55612 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
55618 if test "$wxUSE_SHARED" = "yes"; then
55620 *-pc-os2_emx | *-pc-os2-emx )
55621 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55622 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55623 cp -p ${srcdir}/src/os2/dllnames.sh .
55624 cp -p ${srcdir}/src/os2/dllar.sh .
55628 if test "$wxUSE_OMF" = "yes"; then
55630 *-pc-os2_emx | *-pc-os2-emx )
55631 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
55632 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55633 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55638 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
55643 if test "$GCC" = yes; then
55644 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
55645 LIBS=`echo $LIBS | sed 's/-mt//'`
55646 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
55651 if test "x$SUNCXX" = xyes; then
55652 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
55653 LIBS=`echo $LIBS | sed 's/-pthread//'`
55654 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
55659 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
55660 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
55661 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
55662 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
55664 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
55725 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
55726 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
55727 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
55728 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
55729 echo $ECHO_N "(cached) $ECHO_C" >&6
55731 cat >conftest.make <<\_ACEOF
55734 @echo '@@@%%%=$(MAKE)=@@@%%%'
55736 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
55737 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
55738 *@@@%%%=?*=@@@%%%*)
55739 eval ac_cv_prog_make_${ac_make}_set=yes;;
55741 eval ac_cv_prog_make_${ac_make}_set=no;;
55743 rm -f conftest.make
55745 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
55746 { echo "$as_me:$LINENO: result: yes" >&5
55747 echo "${ECHO_T}yes" >&6; }
55750 { echo "$as_me:$LINENO: result: no" >&5
55751 echo "${ECHO_T}no" >&6; }
55752 SET_MAKE="MAKE=${MAKE-make}"
55757 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
55760 if test "$USE_WIN32" = 1; then
55761 ac_config_commands="$ac_config_commands rcdefs.h"
55765 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
55768 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
55771 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
55774 if test "$wx_cv_version_script" = "yes"; then
55775 ac_config_files="$ac_config_files version-script"
55778 ac_config_files="$ac_config_files Makefile"
55781 ac_config_commands="$ac_config_commands wx-config"
55785 if test "$wxWITH_SUBDIRS" != "no"; then
55786 if test "$wxUSE_GUI" = "yes"; then
55787 SUBDIRS="samples demos utils"
55789 SUBDIRS="samples utils"
55794 # Check whether --with-cppunit-prefix was given.
55795 if test "${with_cppunit_prefix+set}" = set; then
55796 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
55798 cppunit_config_prefix=""
55802 # Check whether --with-cppunit-exec-prefix was given.
55803 if test "${with_cppunit_exec_prefix+set}" = set; then
55804 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
55806 cppunit_config_exec_prefix=""
55810 if test x$cppunit_config_exec_prefix != x ; then
55811 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
55812 if test x${CPPUNIT_CONFIG+set} != xset ; then
55813 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
55816 if test x$cppunit_config_prefix != x ; then
55817 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
55818 if test x${CPPUNIT_CONFIG+set} != xset ; then
55819 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
55823 # Extract the first word of "cppunit-config", so it can be a program name with args.
55824 set dummy cppunit-config; ac_word=$2
55825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55827 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
55828 echo $ECHO_N "(cached) $ECHO_C" >&6
55830 case $CPPUNIT_CONFIG in
55832 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
55835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55836 for as_dir in $PATH
55839 test -z "$as_dir" && as_dir=.
55840 for ac_exec_ext in '' $ac_executable_extensions; do
55841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55842 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
55843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55850 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
55854 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
55855 if test -n "$CPPUNIT_CONFIG"; then
55856 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
55857 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
55859 { echo "$as_me:$LINENO: result: no" >&5
55860 echo "${ECHO_T}no" >&6; }
55864 cppunit_version_min=1.8.0
55866 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
55867 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
55869 if test "$CPPUNIT_CONFIG" = "no" ; then
55870 { echo "$as_me:$LINENO: result: no" >&5
55871 echo "${ECHO_T}no" >&6; }
55874 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
55875 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
55876 cppunit_version=`$CPPUNIT_CONFIG --version`
55878 cppunit_major_version=`echo $cppunit_version | \
55879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55880 cppunit_minor_version=`echo $cppunit_version | \
55881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55882 cppunit_micro_version=`echo $cppunit_version | \
55883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55885 cppunit_major_min=`echo $cppunit_version_min | \
55886 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55887 cppunit_minor_min=`echo $cppunit_version_min | \
55888 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55889 cppunit_micro_min=`echo $cppunit_version_min | \
55890 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55892 cppunit_version_proper=`expr \
55893 $cppunit_major_version \
> $cppunit_major_min \
| \
55894 $cppunit_major_version \
= $cppunit_major_min \
& \
55895 $cppunit_minor_version \
> $cppunit_minor_min \
| \
55896 $cppunit_major_version \
= $cppunit_major_min \
& \
55897 $cppunit_minor_version \
= $cppunit_minor_min \
& \
55898 $cppunit_micro_version \
>= $cppunit_micro_min `
55900 if test "$cppunit_version_proper" = "1" ; then
55901 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
55902 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
55904 { echo "$as_me:$LINENO: result: no" >&5
55905 echo "${ECHO_T}no" >&6; }
55910 if test "x$no_cppunit" = x ; then
55911 SUBDIRS="$SUBDIRS tests"
55922 for subdir in $SUBDIRS; do
55923 if test -d ${srcdir}/${subdir} ; then
55924 if test "$wxUSE_GUI" = "yes"; then
55925 if test ${subdir} = "samples"; then
55926 makefiles="samples/Makefile.in $makefiles"
55927 for sample in $SAMPLES_SUBDIRS; do
55928 if test -d $srcdir/samples/$sample; then
55929 makefiles="samples/$sample/Makefile.in $makefiles"
55933 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
55934 eval "disabled=\$$disabled_var"
55935 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
55936 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
55939 if test ${subdir} = "samples"; then
55940 makefiles="samples/Makefile.in $makefiles"
55941 for sample in `echo $SAMPLES_SUBDIRS`; do
55942 if test -d $srcdir/samples/$sample; then
55943 makefiles="samples/$sample/Makefile.in $makefiles"
55946 elif test ${subdir} = "utils"; then
55948 for util in ifacecheck ; do
55949 if test -d $srcdir/utils/$util ; then
55950 makefiles="utils/$util/src/Makefile.in \
55955 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
55959 for mkin in $makefiles ; do
55960 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
55961 ac_config_files="$ac_config_files $mk"
55967 cat >confcache <<\_ACEOF
55968 # This file is a shell script that caches the results of configure
55969 # tests run on this system so they can be shared between configure
55970 # scripts and configure runs, see configure's option --config-cache.
55971 # It is not useful on other systems. If it contains results you don't
55972 # want to keep, you may remove or edit it.
55974 # config.status only pays attention to the cache file if you give it
55975 # the --recheck option to rerun configure.
55977 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
55978 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55979 # following values.
55983 # The following way of writing the cache mishandles newlines in values,
55984 # but we know of no workaround that is simple, portable, and efficient.
55985 # So, we kill variables containing newlines.
55986 # Ultrix sh set writes to stderr and can't be redirected directly,
55987 # and sets the high bit in the cache file unless we assign to the vars.
55989 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55990 eval ac_val
=\$
$ac_var
55994 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55995 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
55998 _
| IFS
| as_nl
) ;; #(
55999 *) $as_unset $ac_var ;;
56005 case $as_nl`(ac_space=' '; set) 2>&1` in #(
56006 *${as_nl}ac_space
=\
*)
56007 # `set' does not quote correctly, so add quotes (double-quote
56008 # substitution turns \\\\ into \\, and sed turns \\ into \).
56011 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
56014 # `set' quotes correctly as required by POSIX, so do not add quotes.
56015 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
56024 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
56026 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
56028 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
56029 if test -w "$cache_file"; then
56030 test "x$cache_file" != "x/dev/null" &&
56031 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
56032 echo "$as_me: updating cache $cache_file" >&6;}
56033 cat confcache
>$cache_file
56035 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
56036 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
56041 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
56042 # Let make expand exec_prefix.
56043 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
56045 DEFS
=-DHAVE_CONFIG_H
56049 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
56050 # 1. Remove the extension, and $U if already installed.
56051 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
56052 ac_i
=`echo "$ac_i" | sed "$ac_script"`
56053 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
56054 # will be set to the directory where LIBOBJS objects are built.
56055 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
56056 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
56058 LIBOBJS
=$ac_libobjs
56060 LTLIBOBJS
=$ac_ltlibobjs
56064 : ${CONFIG_STATUS=./config.status}
56065 ac_clean_files_save
=$ac_clean_files
56066 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
56067 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
56068 echo "$as_me: creating $CONFIG_STATUS" >&6;}
56069 cat >$CONFIG_STATUS <<_ACEOF
56071 # Generated by $as_me.
56072 # Run this file to recreate the current configuration.
56073 # Compiler output produced by configure, useful for debugging
56074 # configure, is in config.log if it exists.
56077 ac_cs_recheck=false
56079 SHELL=\${CONFIG_SHELL-$SHELL}
56082 cat >>$CONFIG_STATUS <<\_ACEOF
56083 ## --------------------- ##
56084 ## M4sh Initialization. ##
56085 ## --------------------- ##
56087 # Be more Bourne compatible
56088 DUALCASE
=1; export DUALCASE
# for MKS sh
56089 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
56092 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
56093 # is contrary to our usage. Disable this feature.
56094 alias -g '${1+"$@"}'='"$@"'
56095 setopt NO_GLOB_SUBST
56097 case `(set -o) 2>/dev/null` in
56098 *posix
*) set -o posix
;;
56107 # Avoid depending upon Character Ranges.
56108 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
56109 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
56110 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
56111 as_cr_digits
='0123456789'
56112 as_cr_alnum
=$as_cr_Letters$as_cr_digits
56114 # The user is always right.
56115 if test "${PATH_SEPARATOR+set}" != set; then
56116 echo "#! /bin/sh" >conf$$.sh
56117 echo "exit 0" >>conf$$.sh
56119 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56127 # Support unset when possible.
56128 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
56136 # We need space, tab and new line, in precisely that order. Quoting is
56137 # there to prevent editors from complaining about space-tab.
56138 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
56139 # splitting by setting IFS to empty value.)
56144 # Find who we are. Look in the path if we contain no directory separator.
56146 *[\\/]* ) as_myself
=$0 ;;
56147 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
56148 for as_dir
in $PATH
56151 test -z "$as_dir" && as_dir
=.
56152 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
56158 # We did not find ourselves, most probably we were run as `sh COMMAND'
56159 # in which case we are not to be found in the path.
56160 if test "x$as_myself" = x
; then
56163 if test ! -f "$as_myself"; then
56164 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
56165 { (exit 1); exit 1; }
56168 # Work around bugs in pre-3.0 UWIN ksh.
56169 for as_var
in ENV MAIL MAILPATH
56170 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
56178 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
56179 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
56180 LC_TELEPHONE LC_TIME
56182 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
56183 eval $as_var=C
; export $as_var
56185 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
56189 # Required to use basename.
56190 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
56191 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
56197 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
56198 as_basename
=basename
56204 # Name of the executable.
56205 as_me
=`$as_basename -- "$0" ||
56206 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
56207 X"$0" : 'X\(//\)$' \| \
56208 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
56210 sed '/^.*\/\([^/][^/]*\)\/*$/{
56229 as_lineno_1
=$LINENO
56230 as_lineno_2
=$LINENO
56231 test "x$as_lineno_1" != "x$as_lineno_2" &&
56232 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
56234 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
56235 # uniformly replaced by the line number. The first 'sed' inserts a
56236 # line-number line after each line using $LINENO; the second 'sed'
56237 # does the real work. The second script uses 'N' to pair each
56238 # line-number line with the line containing $LINENO, and appends
56239 # trailing '-' during substitution so that $LINENO is not a special
56240 # case at line end.
56241 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
56242 # scripts with optimization help from Paolo Bonzini. Blame Lee
56243 # E. McMahon (1931-1989) for sed's syntax. :-)
56255 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
56258 ' >$as_me.lineno
&&
56259 chmod +x
"$as_me.lineno" ||
56260 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
56261 { (exit 1); exit 1; }; }
56263 # Don't try to exec as it changes $[0], causing all sort of problems
56264 # (the dirname of $[0] is not the place where we might find the
56265 # original and so on. Autoconf is especially sensitive to this).
56266 .
"./$as_me.lineno"
56267 # Exit status is that of the last command.
56272 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
56278 ECHO_C
= ECHO_N
= ECHO_T
=
56279 case `echo -n x` in
56281 case `echo 'x\c'` in
56282 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
56289 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
56290 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
56296 rm -f conf$$ conf$$.exe conf$$.
file
56297 if test -d conf$$.dir
; then
56298 rm -f conf$$.dir
/conf$$.
file
56304 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
56306 # ... but there are two gotchas:
56307 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56308 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56309 # In both cases, we have to default to `cp -p'.
56310 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
56312 elif ln conf$$.
file conf$$
2>/dev
/null
; then
56317 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
56318 rmdir conf$$.dir
2>/dev
/null
56320 if mkdir -p .
2>/dev
/null
; then
56323 test -d .
/-p && rmdir .
/-p
56327 if test -x / >/dev
/null
2>&1; then
56328 as_test_x
='test -x'
56330 if ls -dL / >/dev
/null
2>&1; then
56337 if test -d "$1"; then
56343 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56344 ???[sx]*):;;*)false;;esac;fi
56348 as_executable_p
=$as_test_x
56350 # Sed expression to map a string onto a valid CPP name.
56351 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56353 # Sed expression to map a string onto a valid variable name.
56354 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56359 # Save the log message, to keep $[0] and so on meaningful, and to
56360 # report actual input values of CONFIG_FILES etc. instead of their
56361 # values after options handling.
56363 This file was extended by wxWidgets $as_me 2.9.3, which was
56364 generated by GNU Autoconf 2.61. Invocation command line was
56366 CONFIG_FILES = $CONFIG_FILES
56367 CONFIG_HEADERS = $CONFIG_HEADERS
56368 CONFIG_LINKS = $CONFIG_LINKS
56369 CONFIG_COMMANDS = $CONFIG_COMMANDS
56372 on `(hostname || uname -n) 2>/dev/null | sed 1q`
56377 cat >>$CONFIG_STATUS <<_ACEOF
56378 # Files that config.status was made for.
56379 config_files="$ac_config_files"
56380 config_headers="$ac_config_headers"
56381 config_commands="$ac_config_commands"
56385 cat >>$CONFIG_STATUS <<\_ACEOF
56387 \`$as_me' instantiates files from templates according to the
56388 current configuration.
56390 Usage: $0 [OPTIONS] [FILE]...
56392 -h, --help print this help, then exit
56393 -V, --version print version number and configuration settings, then exit
56394 -q, --quiet do not print progress messages
56395 -d, --debug don't remove temporary files
56396 --recheck update $as_me by reconfiguring in the same conditions
56397 --file=FILE[:TEMPLATE]
56398 instantiate the configuration file FILE
56399 --header=FILE[:TEMPLATE]
56400 instantiate the configuration header FILE
56402 Configuration files:
56405 Configuration headers:
56408 Configuration commands:
56411 Report bugs to <bug-autoconf@gnu.org>."
56414 cat >>$CONFIG_STATUS <<_ACEOF
56416 wxWidgets config.status 2.9.3
56417 configured by $0, generated by GNU Autoconf 2.61,
56418 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
56420 Copyright (C) 2006 Free Software Foundation, Inc.
56421 This config.status script is free software; the Free Software Foundation
56422 gives unlimited permission to copy, distribute and modify it."
56429 cat >>$CONFIG_STATUS <<\_ACEOF
56430 # If no file are specified by the user, then we need to provide default
56431 # value. By we need to know if files were specified by the user.
56437 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
56438 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
56449 # Handling of the options.
56450 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
56452 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56453 echo "$ac_cs_version"; exit ;;
56454 --debug | --debu | --deb | --de | --d | -d )
56456 --file | --fil | --fi | --f )
56458 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
56459 ac_need_defaults
=false
;;
56460 --header | --heade | --head | --hea )
56462 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
56463 ac_need_defaults
=false
;;
56465 # Conflict between --help and --header
56466 { echo "$as_me: error: ambiguous option: $1
56467 Try \`$0 --help' for more information." >&2
56468 { (exit 1); exit 1; }; };;
56469 --help | --hel | -h )
56470 echo "$ac_cs_usage"; exit ;;
56471 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56472 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56475 # This is an error.
56476 -*) { echo "$as_me: error: unrecognized option: $1
56477 Try \`$0 --help' for more information." >&2
56478 { (exit 1); exit 1; }; } ;;
56480 *) ac_config_targets
="$ac_config_targets $1"
56481 ac_need_defaults
=false
;;
56487 ac_configure_extra_args
=
56489 if $ac_cs_silent; then
56491 ac_configure_extra_args
="$ac_configure_extra_args --silent"
56495 cat >>$CONFIG_STATUS <<_ACEOF
56496 if \$ac_cs_recheck; then
56497 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56498 CONFIG_SHELL=$SHELL
56499 export CONFIG_SHELL
56500 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56504 cat >>$CONFIG_STATUS <<\_ACEOF
56508 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56509 ## Running $as_me. ##
56515 cat >>$CONFIG_STATUS <<_ACEOF
56521 infile="$srcdir/include/wx/msw/genrcdefs.h"
56522 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
56525 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56526 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56527 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56533 cat >>$CONFIG_STATUS <<\_ACEOF
56535 # Handling of arguments.
56536 for ac_config_target
in $ac_config_targets
56538 case $ac_config_target in
56539 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
56540 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
56541 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
56542 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
56543 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
56544 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
56545 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
56546 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
56547 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
56549 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56550 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56551 { (exit 1); exit 1; }; };;
56556 # If the user did not use the arguments to specify the items to instantiate,
56557 # then the envvar interface is used. Set only those that are not.
56558 # We use the long form for the default assignment because of an extremely
56559 # bizarre bug on SunOS 4.1.3.
56560 if $ac_need_defaults; then
56561 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
56562 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
56563 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
56566 # Have a temporary directory for convenience. Make it in the build tree
56567 # simply because there is no reason against having it here, and in addition,
56568 # creating and moving files from /tmp can sometimes cause problems.
56569 # Hook for its removal unless debugging.
56570 # Note that there is a small window in which the directory will not be cleaned:
56571 # after its creation but before its name has been assigned to `$tmp'.
56575 trap 'exit_status=$?
56576 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56578 trap '{ (exit 1); exit 1; }' 1 2 13 15
56580 # Create a (secure) tmp directory for tmp files.
56583 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56584 test -n "$tmp" && test -d "$tmp"
56587 tmp
=.
/conf$$
-$RANDOM
56588 (umask 077 && mkdir "$tmp")
56591 echo "$me: cannot create a temporary directory in ." >&2
56592 { (exit 1); exit 1; }
56596 # Set up the sed scripts for CONFIG_FILES section.
56599 # No need to generate the scripts if there are no CONFIG_FILES.
56600 # This happens for instance when ./config.status config.h
56601 if test -n "$CONFIG_FILES"; then
56608 for ac_last_try
in false false false false false
:; do
56609 cat >conf$
$subs.
sed <<_ACEOF
56610 SHELL!$SHELL$ac_delim
56611 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56612 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56613 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56614 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56615 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56616 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56617 exec_prefix!$exec_prefix$ac_delim
56618 prefix!$prefix$ac_delim
56619 program_transform_name!$program_transform_name$ac_delim
56620 bindir!$bindir$ac_delim
56621 sbindir!$sbindir$ac_delim
56622 libexecdir!$libexecdir$ac_delim
56623 datarootdir!$datarootdir$ac_delim
56624 datadir!$datadir$ac_delim
56625 sysconfdir!$sysconfdir$ac_delim
56626 sharedstatedir!$sharedstatedir$ac_delim
56627 localstatedir!$localstatedir$ac_delim
56628 includedir!$includedir$ac_delim
56629 oldincludedir!$oldincludedir$ac_delim
56630 docdir!$docdir$ac_delim
56631 infodir!$infodir$ac_delim
56632 htmldir!$htmldir$ac_delim
56633 dvidir!$dvidir$ac_delim
56634 pdfdir!$pdfdir$ac_delim
56635 psdir!$psdir$ac_delim
56636 libdir!$libdir$ac_delim
56637 localedir!$localedir$ac_delim
56638 mandir!$mandir$ac_delim
56639 DEFS!$DEFS$ac_delim
56640 ECHO_C!$ECHO_C$ac_delim
56641 ECHO_N!$ECHO_N$ac_delim
56642 ECHO_T!$ECHO_T$ac_delim
56643 LIBS!$LIBS$ac_delim
56644 build_alias!$build_alias$ac_delim
56645 host_alias!$host_alias$ac_delim
56646 target_alias!$target_alias$ac_delim
56647 build!$build$ac_delim
56648 build_cpu!$build_cpu$ac_delim
56649 build_vendor!$build_vendor$ac_delim
56650 build_os!$build_os$ac_delim
56651 host!$host$ac_delim
56652 host_cpu!$host_cpu$ac_delim
56653 host_vendor!$host_vendor$ac_delim
56654 host_os!$host_os$ac_delim
56655 wx_top_builddir!$wx_top_builddir$ac_delim
56657 CFLAGS!$CFLAGS$ac_delim
56658 LDFLAGS!$LDFLAGS$ac_delim
56659 CPPFLAGS!$CPPFLAGS$ac_delim
56660 ac_ct_CC!$ac_ct_CC$ac_delim
56661 EXEEXT!$EXEEXT$ac_delim
56662 OBJEXT!$OBJEXT$ac_delim
56664 GREP!$GREP$ac_delim
56665 EGREP!$EGREP$ac_delim
56667 CXXFLAGS!$CXXFLAGS$ac_delim
56668 ac_ct_CXX!$ac_ct_CXX$ac_delim
56670 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
56671 CXXCPP!$CXXCPP$ac_delim
56672 subdirs!$subdirs$ac_delim
56673 PKG_CONFIG!$PKG_CONFIG$ac_delim
56674 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
56675 GTK_LIBS!$GTK_LIBS$ac_delim
56676 GTK_CONFIG!$GTK_CONFIG$ac_delim
56677 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
56678 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
56679 XMKMF!$XMKMF$ac_delim
56680 X_CFLAGS!$X_CFLAGS$ac_delim
56681 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
56682 X_LIBS!$X_LIBS$ac_delim
56683 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
56684 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
56685 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
56686 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
56687 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
56688 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
56689 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
56690 Xinerama_CFLAGS!$Xinerama_CFLAGS$ac_delim
56691 Xinerama_LIBS!$Xinerama_LIBS$ac_delim
56692 Xxf86vm_CFLAGS!$Xxf86vm_CFLAGS$ac_delim
56693 Xxf86vm_LIBS!$Xxf86vm_LIBS$ac_delim
56694 SM_CFLAGS!$SM_CFLAGS$ac_delim
56695 SM_LIBS!$SM_LIBS$ac_delim
56696 GL_CFLAGS!$GL_CFLAGS$ac_delim
56697 GL_LIBS!$GL_LIBS$ac_delim
56698 GLU_CFLAGS!$GLU_CFLAGS$ac_delim
56699 GLU_LIBS!$GLU_LIBS$ac_delim
56700 MesaGL_CFLAGS!$MesaGL_CFLAGS$ac_delim
56701 MesaGL_LIBS!$MesaGL_LIBS$ac_delim
56702 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
56703 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
56704 LIBICONV!$LIBICONV$ac_delim
56705 GXX_VERSION!$GXX_VERSION$ac_delim
56706 SDL_CONFIG!$SDL_CONFIG$ac_delim
56709 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56711 elif $ac_last_try; then
56712 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56713 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56714 { (exit 1); exit 1; }; }
56716 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56720 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56721 if test -n "$ac_eof"; then
56722 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56723 ac_eof
=`expr $ac_eof + 1`
56726 cat >>$CONFIG_STATUS <<_ACEOF
56727 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56728 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56731 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56732 s/^/s,@/; s/!/@,|#_!!_#|/
56735 s/'"$ac_delim"'$/,g/; t
56737 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56738 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56739 rm -f conf$
$subs.
sed
56740 cat >>$CONFIG_STATUS <<_ACEOF
56746 for ac_last_try
in false false false false false
:; do
56747 cat >conf$
$subs.
sed <<_ACEOF
56748 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
56749 SDL_LIBS!$SDL_LIBS$ac_delim
56750 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
56751 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
56752 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
56753 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
56754 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
56755 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
56756 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
56757 HILDON_LIBS!$HILDON_LIBS$ac_delim
56758 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
56759 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
56760 PYTHON!$PYTHON$ac_delim
56761 COND_PYTHON!$COND_PYTHON$ac_delim
56762 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
56763 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
56764 GST_CFLAGS!$GST_CFLAGS$ac_delim
56765 GST_LIBS!$GST_LIBS$ac_delim
56766 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
56767 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
56768 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
56769 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
56770 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
56771 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
56772 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
56773 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
56774 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
56775 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
56776 VENDOR!$VENDOR$ac_delim
56777 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
56778 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
56779 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
56780 WXUNIV!$WXUNIV$ac_delim
56781 MONOLITHIC!$MONOLITHIC$ac_delim
56782 USE_PLUGINS!$USE_PLUGINS$ac_delim
56783 CXXWARNINGS!$CXXWARNINGS$ac_delim
56784 EXTRALIBS!$EXTRALIBS$ac_delim
56785 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
56786 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
56787 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
56788 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
56789 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
56790 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
56791 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
56792 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
56793 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
56794 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
56795 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
56796 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
56797 UNICODE!$UNICODE$ac_delim
56798 DEBUG_INFO!$DEBUG_INFO$ac_delim
56799 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
56800 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
56801 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
56802 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
56803 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
56804 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
56805 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
56806 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
56807 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
56808 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
56809 RANLIB!$RANLIB$ac_delim
56810 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56811 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56812 INSTALL_DATA!$INSTALL_DATA$ac_delim
56813 LN_S!$LN_S$ac_delim
56814 SET_MAKE!$SET_MAKE$ac_delim
56815 MAKE_SET!$MAKE_SET$ac_delim
56816 AROPTIONS!$AROPTIONS$ac_delim
56817 STRIP!$STRIP$ac_delim
56819 INSTALL_DIR!$INSTALL_DIR$ac_delim
56820 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
56821 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
56822 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
56823 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
56824 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
56825 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
56826 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
56827 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
56828 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
56829 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
56830 SO_SUFFIX!$SO_SUFFIX$ac_delim
56831 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
56832 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
56833 LIBPREFIX!$LIBPREFIX$ac_delim
56834 LIBEXT!$LIBEXT$ac_delim
56835 DLLPREFIX!$DLLPREFIX$ac_delim
56836 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
56837 dlldir!$dlldir$ac_delim
56838 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
56839 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
56840 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
56841 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
56842 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
56843 PIC_FLAG!$PIC_FLAG$ac_delim
56844 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
56847 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56849 elif $ac_last_try; then
56850 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56851 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56852 { (exit 1); exit 1; }; }
56854 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56858 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56859 if test -n "$ac_eof"; then
56860 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56861 ac_eof
=`expr $ac_eof + 1`
56864 cat >>$CONFIG_STATUS <<_ACEOF
56865 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56866 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56869 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56870 s/^/s,@/; s/!/@,|#_!!_#|/
56873 s/'"$ac_delim"'$/,g/; t
56875 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56876 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56877 rm -f conf$
$subs.
sed
56878 cat >>$CONFIG_STATUS <<_ACEOF
56884 for ac_last_try
in false false false false false
:; do
56885 cat >conf$
$subs.
sed <<_ACEOF
56886 USE_SOVERSION!$USE_SOVERSION$ac_delim
56887 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
56888 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
56889 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
56890 USE_MACVERSION!$USE_MACVERSION$ac_delim
56891 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
56892 SONAME_FLAG!$SONAME_FLAG$ac_delim
56893 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
56894 BK_DEPS!$BK_DEPS$ac_delim
56895 WINDRES!$WINDRES$ac_delim
56897 SETFILE!$SETFILE$ac_delim
56898 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
56899 GCC_PCH!$GCC_PCH$ac_delim
56900 ICC_PCH!$ICC_PCH$ac_delim
56901 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
56902 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
56903 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
56904 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
56905 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
56906 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
56907 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
56908 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
56909 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
56910 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
56911 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
56912 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
56913 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
56914 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
56915 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
56916 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
56917 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
56918 COND_BUILD_release!$COND_BUILD_release$ac_delim
56919 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
56920 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
56921 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
56922 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
56923 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
56924 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
56925 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
56926 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
56927 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
56928 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
56929 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
56930 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
56931 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
56932 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
56933 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
56934 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
56935 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56936 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
56937 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56938 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
56939 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
56940 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
56941 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
56942 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
56943 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
56944 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
56945 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
56946 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
56947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
56948 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
56949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56950 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
56951 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
56952 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
56953 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
56954 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
56955 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
56956 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
56957 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56958 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
56959 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
56960 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
56961 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
56962 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
56963 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
56964 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
56965 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
56966 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
56967 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
56968 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
56969 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
56970 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
56971 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
56972 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
56973 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
56974 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
56975 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
56976 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
56977 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56978 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
56979 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56980 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
56981 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56982 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56985 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56987 elif $ac_last_try; then
56988 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56989 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56990 { (exit 1); exit 1; }; }
56992 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56996 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56997 if test -n "$ac_eof"; then
56998 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56999 ac_eof
=`expr $ac_eof + 1`
57002 cat >>$CONFIG_STATUS <<_ACEOF
57003 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
57004 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57007 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57008 s/^/s,@/; s/!/@,|#_!!_#|/
57011 s/'"$ac_delim"'$/,g/; t
57013 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57014 ' >>$CONFIG_STATUS <conf$
$subs.
sed
57015 rm -f conf$
$subs.
sed
57016 cat >>$CONFIG_STATUS <<_ACEOF
57022 for ac_last_try
in false false false false false
:; do
57023 cat >conf$
$subs.
sed <<_ACEOF
57024 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
57025 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
57026 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
57027 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
57028 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
57029 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
57030 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
57031 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
57032 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
57033 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
57034 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
57035 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
57036 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
57037 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
57038 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
57039 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
57040 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
57041 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
57042 COND_SHARED_0!$COND_SHARED_0$ac_delim
57043 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
57044 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
57045 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
57046 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
57047 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
57048 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
57049 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
57050 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
57051 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
57052 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
57053 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
57054 COND_SHARED_1!$COND_SHARED_1$ac_delim
57055 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
57056 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
57057 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
57058 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
57059 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
57060 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
57061 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
57062 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
57063 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
57064 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
57065 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
57066 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
57067 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
57068 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
57069 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
57070 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
57071 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
57072 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
57073 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
57074 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
57075 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
57076 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
57077 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
57078 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
57079 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
57080 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
57081 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
57082 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
57083 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
57084 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
57085 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
57086 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
57087 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
57088 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
57089 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
57090 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
57091 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
57092 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
57093 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
57094 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
57095 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
57096 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
57097 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
57098 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
57099 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
57100 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
57101 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
57102 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
57103 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
57104 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
57105 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
57106 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
57107 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
57108 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
57109 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
57110 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
57111 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
57112 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
57113 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
57114 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
57115 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
57116 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
57117 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
57118 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
57119 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
57120 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
57123 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
57125 elif $ac_last_try; then
57126 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57127 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57128 { (exit 1); exit 1; }; }
57130 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
57134 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57135 if test -n "$ac_eof"; then
57136 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
57137 ac_eof
=`expr $ac_eof + 1`
57140 cat >>$CONFIG_STATUS <<_ACEOF
57141 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
57142 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57145 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57146 s/^/s,@/; s/!/@,|#_!!_#|/
57149 s/'"$ac_delim"'$/,g/; t
57151 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57152 ' >>$CONFIG_STATUS <conf$
$subs.
sed
57153 rm -f conf$
$subs.
sed
57154 cat >>$CONFIG_STATUS <<_ACEOF
57160 for ac_last_try
in false false false false false
:; do
57161 cat >conf$
$subs.
sed <<_ACEOF
57162 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
57163 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
57164 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
57165 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
57166 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
57167 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
57168 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
57169 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
57170 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
57171 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
57172 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
57173 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
57174 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
57175 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
57176 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
57177 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
57178 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
57179 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
57180 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
57181 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
57182 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
57183 DEREZ!$DEREZ$ac_delim
57184 SHARED!$SHARED$ac_delim
57185 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
57186 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
57187 USE_GUI!$USE_GUI$ac_delim
57188 AFMINSTALL!$AFMINSTALL$ac_delim
57189 WIN32INSTALL!$WIN32INSTALL$ac_delim
57190 TOOLKIT!$TOOLKIT$ac_delim
57191 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
57192 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
57193 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
57194 cross_compiling!$cross_compiling$ac_delim
57195 WIDGET_SET!$WIDGET_SET$ac_delim
57196 WX_RELEASE!$WX_RELEASE$ac_delim
57197 WX_VERSION!$WX_VERSION$ac_delim
57198 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
57199 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
57200 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
57201 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
57202 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
57203 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
57204 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
57205 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
57206 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
57207 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
57208 GUIDIST!$GUIDIST$ac_delim
57209 DISTDIR!$DISTDIR$ac_delim
57210 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
57211 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
57212 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
57213 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
57214 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
57215 RESCOMP!$RESCOMP$ac_delim
57216 RESFLAGS!$RESFLAGS$ac_delim
57217 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
57218 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
57219 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
57220 LIBWXMACRES!$LIBWXMACRES$ac_delim
57221 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
57222 MACSETFILE!$MACSETFILE$ac_delim
57224 DLLTOOL!$DLLTOOL$ac_delim
57225 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
57226 LIBOBJS!$LIBOBJS$ac_delim
57227 LTLIBOBJS!$LTLIBOBJS$ac_delim
57230 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
57232 elif $ac_last_try; then
57233 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57234 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57235 { (exit 1); exit 1; }; }
57237 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
57241 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57242 if test -n "$ac_eof"; then
57243 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
57244 ac_eof
=`expr $ac_eof + 1`
57247 cat >>$CONFIG_STATUS <<_ACEOF
57248 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
57249 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
57252 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57253 s/^/s,@/; s/!/@,|#_!!_#|/
57256 s/'"$ac_delim"'$/,g/; t
57258 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57259 ' >>$CONFIG_STATUS <conf$
$subs.
sed
57260 rm -f conf$
$subs.
sed
57261 cat >>$CONFIG_STATUS <<_ACEOF
57268 # VPATH may cause trouble with some makes, so we remove $(srcdir),
57269 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
57270 # trailing colons and then remove the whole line if VPATH becomes empty
57271 # (actually we leave an empty line to preserve line numbers).
57272 if test "x$srcdir" = x.
; then
57273 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
57274 s/:*\$(srcdir):*/:/
57275 s/:*\${srcdir}:*/:/
57277 s/^\([^=]*=[ ]*\):*/\1/
57283 cat >>$CONFIG_STATUS <<\_ACEOF
57284 fi # test -n "$CONFIG_FILES"
57287 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
57290 :[FHLC
]) ac_mode
=$ac_tag; continue;;
57292 case $ac_mode$ac_tag in
57294 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
57295 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
57296 { (exit 1); exit 1; }; };;
57297 :[FH
]-) ac_tag
=-:-;;
57298 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
57315 -) ac_f
="$tmp/stdin";;
57316 *) # Look for the file first in the build tree, then in the source tree
57317 # (if the path is not absolute). The absolute path cannot be DOS-style,
57318 # because $ac_f cannot contain `:'.
57322 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
57324 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
57325 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
57326 { (exit 1); exit 1; }; };;
57328 ac_file_inputs
="$ac_file_inputs $ac_f"
57331 # Let's still pretend it is `configure' which instantiates (i.e., don't
57332 # use $as_me), people would be surprised to read:
57333 # /* config.h. Generated by config.status. */
57334 configure_input
="Generated from "`IFS=:
57335 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57336 if test x
"$ac_file" != x
-; then
57337 configure_input
="$ac_file. $configure_input"
57338 { echo "$as_me:$LINENO: creating $ac_file" >&5
57339 echo "$as_me: creating $ac_file" >&6;}
57343 *:-:* | *:-) cat >"$tmp/stdin";;
57348 ac_dir
=`$as_dirname -- "$ac_file" ||
57349 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57350 X"$ac_file" : 'X\(//\)[^/]' \| \
57351 X"$ac_file" : 'X\(//\)$' \| \
57352 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57358 /^X\(\/\/\)[^/].*/{
57373 -*) as_dir
=.
/$as_dir;;
57375 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57379 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57380 *) as_qdir
=$as_dir;;
57382 as_dirs
="'$as_qdir' $as_dirs"
57383 as_dir
=`$as_dirname -- "$as_dir" ||
57384 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57385 X"$as_dir" : 'X\(//\)[^/]' \| \
57386 X"$as_dir" : 'X\(//\)$' \| \
57387 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57393 /^X\(\/\/\)[^/].*/{
57406 test -d "$as_dir" && break
57408 test -z "$as_dirs" || eval "mkdir $as_dirs"
57409 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57410 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57411 { (exit 1); exit 1; }; }; }
57415 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57417 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57418 # A ".." for each directory in $ac_dir_suffix.
57419 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57420 case $ac_top_builddir_sub in
57421 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57422 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
57425 ac_abs_top_builddir
=$ac_pwd
57426 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
57427 # for backward compatibility:
57428 ac_top_builddir
=$ac_top_build_prefix
57431 .
) # We are building in place.
57433 ac_top_srcdir
=$ac_top_builddir_sub
57434 ac_abs_top_srcdir
=$ac_pwd ;;
57435 [\\/]* | ?
:[\\/]* ) # Absolute name.
57436 ac_srcdir
=$srcdir$ac_dir_suffix;
57437 ac_top_srcdir
=$srcdir
57438 ac_abs_top_srcdir
=$srcdir ;;
57439 *) # Relative name.
57440 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
57441 ac_top_srcdir
=$ac_top_build_prefix$srcdir
57442 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
57444 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
57454 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
57455 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
57459 cat >>$CONFIG_STATUS <<\_ACEOF
57460 # If the template does not know about datarootdir, expand it.
57461 # FIXME: This hack should be removed a few years after 2.60.
57462 ac_datarootdir_hack
=; ac_datarootdir_seen
=
57464 case `sed -n '/datarootdir/ {
57473 ' $ac_file_inputs` in
57474 *datarootdir
*) ac_datarootdir_seen
=yes;;
57475 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
57476 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
57477 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
57479 cat >>$CONFIG_STATUS <<_ACEOF
57480 ac_datarootdir_hack='
57481 s&@datadir@&$datadir&g
57482 s&@docdir@&$docdir&g
57483 s&@infodir@&$infodir&g
57484 s&@localedir@&$localedir&g
57485 s&@mandir@&$mandir&g
57486 s&\\\${datarootdir}&$datarootdir&g' ;;
57490 # Neutralize VPATH when `$srcdir' = `.'.
57491 # Shell code in configure.ac might set extrasub.
57492 # FIXME: do we really want to maintain this feature?
57493 cat >>$CONFIG_STATUS <<_ACEOF
57497 cat >>$CONFIG_STATUS <<\_ACEOF
57499 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
57500 s
&@configure_input@
&$configure_input&;t t
57501 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
57502 s
&@srcdir@
&$ac_srcdir&;t t
57503 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
57504 s
&@top_srcdir@
&$ac_top_srcdir&;t t
57505 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
57506 s
&@builddir@
&$ac_builddir&;t t
57507 s
&@abs_builddir@
&$ac_abs_builddir&;t t
57508 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
57509 s
&@INSTALL@
&$ac_INSTALL&;t t
57510 $ac_datarootdir_hack
57511 " $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
57513 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57514 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
57515 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
57516 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
57517 which seems to be undefined. Please make sure it is defined." >&5
57518 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
57519 which seems to be undefined. Please make sure it is defined." >&2;}
57523 -) cat "$tmp/out"; rm -f "$tmp/out";;
57524 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
57533 # Transform confdefs.h into a sed script `conftest.defines', that
57534 # substitutes the proper values into config.h.in to produce config.h.
57535 rm -f conftest.defines conftest.
tail
57536 # First, append a space to every undef/define line, to ease matching.
57537 echo 's/$/ /' >conftest.defines
57538 # Then, protect against being on the right side of a sed subst, or in
57539 # an unquoted here document, in config.status. If some macros were
57540 # called several times there might be several #defines for the same
57541 # symbol, which is useless. But do not sort them, since the last
57542 # AC_DEFINE must be honored.
57543 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
57544 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57545 # NAME is the cpp macro being defined, VALUE is the value it is being given.
57546 # PARAMS is the parameter list in the macro definition--in most cases, it's
57547 # just an empty string.
57548 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57549 ac_dB
='\\)[ (].*,\\1define\\2'
57557 s/^[ ]*#[ ]*define[ ][ ]*//
57562 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57563 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57564 ' >>conftest.defines
57566 # Remove the space that was appended to ease matching.
57567 # Then replace #undef with comments. This is necessary, for
57568 # example, in the case of _POSIX_SOURCE, which is predefined and required
57569 # on some systems where configure will not decide to define it.
57570 # (The regexp can be short, since the line contains either #define or #undef.)
57572 s,^[ #]*u.*,/* & */,' >>conftest.defines
57574 # Break up conftest.defines:
57575 ac_max_sed_lines
=50
57577 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57578 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57579 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57581 ac_in
='$ac_file_inputs'
57582 ac_out
='"$tmp/out1"'
57583 ac_nxt
='"$tmp/out2"'
57587 # Write a here document:
57588 cat >>$CONFIG_STATUS <<_ACEOF
57589 # First, check the format of the line:
57590 cat >"\$tmp/defines.sed" <<\\CEOF
57591 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57592 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57596 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
57598 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57599 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
57600 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
57601 grep . conftest.
tail >/dev
/null
|| break
57602 rm -f conftest.defines
57603 mv conftest.
tail conftest.defines
57605 rm -f conftest.defines conftest.
tail
57607 echo "ac_result=$ac_in" >>$CONFIG_STATUS
57608 cat >>$CONFIG_STATUS <<\_ACEOF
57609 if test x
"$ac_file" != x
-; then
57610 echo "/* $configure_input */" >"$tmp/config.h"
57611 cat "$ac_result" >>"$tmp/config.h"
57612 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
57613 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57614 echo "$as_me: $ac_file is unchanged" >&6;}
57617 mv "$tmp/config.h" $ac_file
57620 echo "/* $configure_input */"
57626 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57627 echo "$as_me: executing $ac_file commands" >&6;}
57632 case $ac_file$ac_mode in
57634 mkdir -p $outdir &&
57635 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
57637 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
57638 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
57639 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
57640 "wx-config":C
) rm -f wx
-config
57641 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
57648 { (exit 0); exit 0; }
57650 chmod +x
$CONFIG_STATUS
57651 ac_clean_files
=$ac_clean_files_save
57654 # configure is writing to config.log, and then calls config.status.
57655 # config.status does its own redirection, appending to config.log.
57656 # Unfortunately, on DOS this fails, as config.log is still kept open
57657 # by configure, so config.status won't be able to write to it; its
57658 # output is simply discarded. So we exec the FD to /dev/null,
57659 # effectively closing config.log, so it can be properly (re)opened and
57660 # appended to by config.status. When coming back to configure, we
57661 # need to make the FD available again.
57662 if test "$no_create" != yes; then
57664 ac_config_status_args
=
57665 test "$silent" = yes &&
57666 ac_config_status_args
="$ac_config_status_args --quiet"
57668 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
57670 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57671 # would make configure fail if this is the last instruction.
57672 $ac_cs_success || { (exit 1); exit 1; }
57676 # CONFIG_SUBDIRS section.
57678 if test "$no_recursion" != yes; then
57680 # Remove --cache-file and --srcdir arguments so they do not pile up.
57681 ac_sub_configure_args
=
57683 eval "set x $ac_configure_args"
57687 if test -n "$ac_prev"; then
57692 -cache-file | --cache-file | --cache-fil | --cache-fi \
57693 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
57694 ac_prev
=cache_file
;;
57695 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
57696 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
57699 --config-cache | -C)
57701 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
57703 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
57705 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
57707 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
57711 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57713 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
57717 # Always prepend --prefix to ensure using the same prefix
57718 # in subdir configurations.
57719 ac_arg
="--prefix=$prefix"
57721 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57723 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
57726 if test "$silent" = yes; then
57727 ac_sub_configure_args
="--silent $ac_sub_configure_args"
57731 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
57733 # Do not complain, so a configure script can configure whichever
57734 # parts of a large source tree are present.
57735 test -d "$srcdir/$ac_dir" || continue
57737 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
57738 echo "$as_me:$LINENO: $ac_msg" >&5
57742 -*) as_dir
=.
/$as_dir;;
57744 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57748 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57749 *) as_qdir
=$as_dir;;
57751 as_dirs
="'$as_qdir' $as_dirs"
57752 as_dir
=`$as_dirname -- "$as_dir" ||
57753 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57754 X"$as_dir" : 'X\(//\)[^/]' \| \
57755 X"$as_dir" : 'X\(//\)$' \| \
57756 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57762 /^X\(\/\/\)[^/].*/{
57775 test -d "$as_dir" && break
57777 test -z "$as_dirs" || eval "mkdir $as_dirs"
57778 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57779 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57780 { (exit 1); exit 1; }; }; }
57784 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57786 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57787 # A ".." for each directory in $ac_dir_suffix.
57788 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57789 case $ac_top_builddir_sub in
57790 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57791 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
57794 ac_abs_top_builddir
=$ac_pwd
57795 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
57796 # for backward compatibility:
57797 ac_top_builddir
=$ac_top_build_prefix
57800 .
) # We are building in place.
57802 ac_top_srcdir
=$ac_top_builddir_sub
57803 ac_abs_top_srcdir
=$ac_pwd ;;
57804 [\\/]* | ?
:[\\/]* ) # Absolute name.
57805 ac_srcdir
=$srcdir$ac_dir_suffix;
57806 ac_top_srcdir
=$srcdir
57807 ac_abs_top_srcdir
=$srcdir ;;
57808 *) # Relative name.
57809 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
57810 ac_top_srcdir
=$ac_top_build_prefix$srcdir
57811 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
57813 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
57818 # Check for guested configure; otherwise get Cygnus style configure.
57819 if test -f "$ac_srcdir/configure.gnu"; then
57820 ac_sub_configure
=$ac_srcdir/configure.gnu
57821 elif test -f "$ac_srcdir/configure"; then
57822 ac_sub_configure
=$ac_srcdir/configure
57823 elif test -f "$ac_srcdir/configure.in"; then
57824 # This should be Cygnus configure.
57825 ac_sub_configure
=$ac_aux_dir/configure
57827 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
57828 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
57832 # The recursion is here.
57833 if test -n "$ac_sub_configure"; then
57834 # Make the cache file name correct relative to the subdirectory.
57835 case $cache_file in
57836 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
57837 *) # Relative name.
57838 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
57841 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
57842 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
57843 # The eval makes quoting arguments work.
57844 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
57845 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
57846 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
57847 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
57848 { (exit 1); exit 1; }; }
57857 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
57859 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
57860 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
57861 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
57862 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
57863 if test "$wxUSE_UNICODE" = "yes"; then
57864 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
57865 echo " (using UTF-8)"
57867 echo " (using wchar_t)"
57873 echo " What level of wxWidgets compatibility should be enabled?"
57874 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
57875 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
57877 echo " Which libraries should wxWidgets use?"
57878 echo " STL ${wxUSE_STL}"
57879 echo " jpeg ${wxUSE_LIBJPEG-none}"
57880 echo " png ${wxUSE_LIBPNG-none}"
57881 echo " regex ${wxUSE_REGEX}"
57882 echo " tiff ${wxUSE_LIBTIFF-none}"
57883 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
57884 echo " xpm ${wxUSE_LIBXPM-none}"
57886 echo " zlib ${wxUSE_ZLIB}"
57887 echo " expat ${wxUSE_EXPAT}"
57888 echo " libmspack ${wxUSE_LIBMSPACK}"
57889 echo " sdl ${wxUSE_LIBSDL}"